Home
last modified time | relevance | path

Searched defs:static (Results 1 – 25 of 1680) sorted by relevance

12345678910>>...68

/aosp_15_r20/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
H A DCoreApiTest.kt304 import static java.lang.annotation.ElementType.ANNOTATION_TYPE; import
305 import static java.lang.annotation.ElementType.CONSTRUCTOR; import
306 import static java.lang.annotation.ElementType.FIELD; import
307 import static java.lang.annotation.ElementType.METHOD; import
308 import static java.lang.annotation.ElementType.PACKAGE; import
309 import static java.lang.annotation.ElementType.TYPE; import
333 import static java.lang.annotation.ElementType.ANNOTATION_TYPE; import
334 import static java.lang.annotation.ElementType.CONSTRUCTOR; import
335 import static java.lang.annotation.ElementType.FIELD; import
336 import static java.lang.annotation.ElementType.METHOD; import
[all …]
H A DDriverTest.kt1510 import static java.lang.annotation.ElementType.*; import
1511 import static java.lang.annotation.RetentionPolicy.SOURCE; import
1529 import static java.lang.annotation.ElementType.*; import
1530 import static java.lang.annotation.RetentionPolicy.SOURCE; import
1548 import static java.lang.annotation.ElementType.*; import
1549 import static java.lang.annotation.RetentionPolicy.SOURCE; import
1569 import static java.lang.annotation.ElementType.*; import
1570 import static java.lang.annotation.RetentionPolicy.SOURCE; import
1586 import static java.lang.annotation.ElementType.*; import
1587 import static java.lang.annotation.RetentionPolicy.SOURCE; import
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/axum/src/routing/
Dmethod_routing.rs327 T: Service<Request<B>> + Clone + Send + 'static, in on_service()
328 T::Response: IntoResponse + 'static, in on_service()
329 T::Future: Send + 'static, in on_service()
330 B: HttpBody + Send + 'static, in on_service()
391 T: Service<Request<B>> + Clone + Send + 'static, in any_service()
392 T::Response: IntoResponse + 'static, in any_service()
393 T::Future: Send + 'static, in any_service()
394 B: HttpBody + Send + 'static, in any_service()
433 B: HttpBody + Send + 'static, in on()
434 T: 'static, in on()
[all …]
Dmod.rs133 T::Future: Send + 'static, in route_service()
177 T::Future: Send + 'static, in nest_service()
235 L: Layer<Route<B>> + Clone + Send + 'static, in layer()
236 L::Service: Service<Request<NewReqBody>> + Clone + Send + 'static, in layer()
237 <L::Service as Service<Request<NewReqBody>>>::Response: IntoResponse + 'static, in layer()
238 <L::Service as Service<Request<NewReqBody>>>::Error: Into<Infallible> + 'static, in layer()
239 <L::Service as Service<Request<NewReqBody>>>::Future: Send + 'static, in layer()
240 NewReqBody: HttpBody + 'static, in layer()
254 L: Layer<Route<B>> + Clone + Send + 'static, in route_layer()
255 L::Service: Service<Request<B>> + Clone + Send + 'static, in route_layer()
[all …]
Dpath_router.rs46 ) -> Result<(), Cow<'static, str>> { in route()
90 ) -> Result<(), Cow<'static, str>> in route_service()
94 T::Future: Send + 'static, in route_service()
103 ) -> Result<(), Cow<'static, str>> { in route_endpoint()
130 ) -> Result<(), Cow<'static, str>> { in merge()
171 ) -> Result<(), Cow<'static, str>> { in nest()
201 pub(super) fn nest_service<T>(&mut self, path: &str, svc: T) -> Result<(), Cow<'static, str>> in nest_service()
205 T::Future: Send + 'static, in nest_service()
234 L: Layer<Route<B>> + Clone + Send + 'static, in layer()
235 L::Service: Service<Request<NewReqBody>> + Clone + Send + 'static, in layer()
[all …]
Droute.rs36 T::Response: IntoResponse + 'static, in new()
37 T::Future: Send + 'static, in new()
53 L: Layer<Route<B, E>> + Clone + Send + 'static, in layer()
54 L::Service: Service<Request<NewReqBody>> + Clone + Send + 'static, in layer()
55 <L::Service as Service<Request<NewReqBody>>>::Response: IntoResponse + 'static, in layer()
56 <L::Service as Service<Request<NewReqBody>>>::Error: Into<NewError> + 'static, in layer()
57 <L::Service as Service<Request<NewReqBody>>>::Future: Send + 'static, in layer()
58 NewReqBody: 'static, in layer()
59 NewError: 'static, in layer()
/aosp_15_r20/external/rust/android-crates-io/crates/miette/src/eyreish/
Derror.rs26 E: Diagnostic + Send + Sync + 'static, in new()
71 M: Display + Debug + Send + Sync + 'static, in msg()
91 E: Diagnostic + Send + Sync + 'static, in from_std()
112 M: Display + Debug + Send + Sync + 'static, in from_adhoc()
136 D: Display + Send + Sync + 'static, in from_msg()
137 E: Diagnostic + Send + Sync + 'static, in from_msg()
189 E: Diagnostic + Send + Sync + 'static, in construct()
217 D: Display + Send + Sync + 'static, in wrap_err()
239 D: Display + Send + Sync + 'static, in context()
274 pub fn root_cause(&self) -> &(dyn StdError + 'static) { in root_cause()
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/anyhow-1.0.82/src/
H A Derror.rs34 E: StdError + Send + Sync + 'static, in new()
81 M: Display + Debug + Send + Sync + 'static, in msg()
90 E: StdError + Send + Sync + 'static, in from_std()
116 M: Display + Debug + Send + Sync + 'static, in from_adhoc()
145 M: Display + Send + Sync + 'static, in from_display()
175 C: Display + Send + Sync + 'static, in from_context()
176 E: StdError + Send + Sync + 'static, in from_context()
243 E: StdError + Send + Sync + 'static, in construct()
318 C: Display + Send + Sync + 'static, in context()
416 pub fn root_cause(&self) -> &(dyn StdError + 'static) { in root_cause()
[all …]
H A Dcontext.rs15 C: Display + Send + Sync + 'static; in ext_context()
25 C: Display + Send + Sync + 'static, in ext_context()
35 C: Display + Send + Sync + 'static, in ext_context()
48 C: Display + Send + Sync + 'static, in context()
60 C: Display + Send + Sync + 'static, in with_context()
93 C: Display + Send + Sync + 'static, in context()
105 C: Display + Send + Sync + 'static, in with_context()
142 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
156 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
/aosp_15_r20/external/rust/android-crates-io/crates/anyhow/src/
Derror.rs34 E: StdError + Send + Sync + 'static, in new()
81 M: Display + Debug + Send + Sync + 'static, in msg()
90 E: StdError + Send + Sync + 'static, in from_std()
116 M: Display + Debug + Send + Sync + 'static, in from_adhoc()
145 M: Display + Send + Sync + 'static, in from_display()
175 C: Display + Send + Sync + 'static, in from_context()
176 E: StdError + Send + Sync + 'static, in from_context()
243 E: StdError + Send + Sync + 'static, in construct()
318 C: Display + Send + Sync + 'static, in context()
416 pub fn root_cause(&self) -> &(dyn StdError + 'static) { in root_cause()
[all …]
Dcontext.rs15 C: Display + Send + Sync + 'static; in ext_context()
25 C: Display + Send + Sync + 'static, in ext_context()
35 C: Display + Send + Sync + 'static, in ext_context()
48 C: Display + Send + Sync + 'static, in context()
60 C: Display + Send + Sync + 'static, in with_context()
93 C: Display + Send + Sync + 'static, in context()
105 C: Display + Send + Sync + 'static, in with_context()
142 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
156 fn source(&self) -> Option<&(dyn StdError + 'static)> { in source()
/aosp_15_r20/tools/metalava/metalava-testing/src/main/java/com/android/tools/metalava/testing/
H A DKnownSourceFiles.kt47 import static java.lang.annotation.ElementType.*; import
59 import static java.lang.annotation.ElementType.*; import
79 import static java.lang.annotation.ElementType.*; import
80 import static java.lang.annotation.RetentionPolicy.CLASS; import
100 import static java.lang.annotation.ElementType.*; import
101 import static java.lang.annotation.RetentionPolicy.CLASS; import
128 import static java.lang.annotation.ElementType.*; import
129 import static java.lang.annotation.RetentionPolicy.SOURCE; import
143 import static java.lang.annotation.ElementType.*; import
144 import static java.lang.annotation.RetentionPolicy.SOURCE; import
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/tokio/src/task/
Dbuilder.rs87 pub fn spawn<Fut>(self, future: Fut) -> io::Result<JoinHandle<Fut::Output>> in spawn()
90 Fut::Output: Send + 'static, in spawn()
108 pub fn spawn_on<Fut>(self, future: Fut, handle: &Handle) -> io::Result<JoinHandle<Fut::Output>> in spawn_on()
111 Fut::Output: Send + 'static, in spawn_on()
136 pub fn spawn_local<Fut>(self, future: Fut) -> io::Result<JoinHandle<Fut::Output>> in spawn_local()
139 Fut::Output: 'static, in spawn_local()
161 ) -> io::Result<JoinHandle<Fut::Output>> in spawn_local_on()
164 Fut::Output: 'static, in spawn_local_on()
188 Function: FnOnce() -> Output + Send + 'static, in spawn_blocking()
189 Output: Send + 'static, in spawn_blocking()
[all …]
Djoin_set.rs135 F: Send + 'static, in spawn()
154 F: Send + 'static, in spawn_on()
178 F: 'static, in spawn_local()
198 F: 'static, in spawn_local_on()
243 F: Send + 'static, in spawn_blocking()
258 F: Send + 'static, in spawn_blocking_on()
666 F: Send + 'static, in spawn()
686 F: Send + 'static, in spawn_on()
709 F: Send + 'static, in spawn_blocking()
729 F: Send + 'static, in spawn_blocking_on()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/tonic/src/client/
Dgrpc.rs213 T::ResponseBody: Body + Send + 'static, in unary()
216 M1: Send + Sync + 'static, in unary()
217 M2: Send + Sync + 'static, in unary()
232 T::ResponseBody: Body + Send + 'static, in client_streaming()
236 M1: Send + Sync + 'static, in client_streaming()
237 M2: Send + Sync + 'static, in client_streaming()
269 T::ResponseBody: Body + Send + 'static, in server_streaming()
272 M1: Send + Sync + 'static, in server_streaming()
273 M2: Send + Sync + 'static, in server_streaming()
288 T::ResponseBody: Body + Send + 'static, in streaming()
[all …]
/aosp_15_r20/external/crosvm/cros_async/src/
H A Dexecutor.rs219 F: Future + Send + 'static, in spawn()
220 F::Output: Send + 'static; in spawn()
224 F: FnOnce() -> R + Send + 'static, in spawn_blocking()
225 R: Send + 'static; in spawn_blocking()
227 fn spawn_local<F>(&self, f: F) -> TaskHandle<F::Output> in spawn_local()
230 F::Output: 'static; in spawn_local()
464 F: Future + Send + 'static, in spawn()
465 F::Output: Send + 'static, in spawn()
508 pub fn spawn_local<F>(&self, f: F) -> TaskHandle<F::Output> in spawn_local()
511 F::Output: 'static, in spawn_local()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/axum-core/src/ext_traits/
Drequest.rs71 fn extract<E, M>(self) -> BoxFuture<'static, Result<E, E::Rejection>> in extract()
73 E: FromRequest<(), B, M> + 'static, in extract()
74 M: 'static; in extract()
132 E: FromRequest<S, B, M> + 'static, in extract_with_state()
186 E: FromRequestParts<()> + 'static; in extract_parts()
257 E: FromRequestParts<S> + 'static, in extract_parts_with_state()
275 fn extract<E, M>(self) -> BoxFuture<'static, Result<E, E::Rejection>> in extract()
277 E: FromRequest<(), B, M> + 'static, in extract()
278 M: 'static, in extract()
285 E: FromRequest<S, B, M> + 'static, in extract_with_state()
[all …]
/aosp_15_r20/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/internal/
H A DMakeAnnotationsPackagePrivateCommandTest.kt105 import static java.lang.annotation.ElementType.FIELD; in Test copying private annotations from one of the stubs() import
106 import static java.lang.annotation.ElementType.METHOD; in Test copying private annotations from one of the stubs() import
107 import static java.lang.annotation.ElementType.PARAMETER; in Test copying private annotations from one of the stubs() import
108 import static java.lang.annotation.ElementType.TYPE_USE; in Test copying private annotations from one of the stubs() import
109 import static java.lang.annotation.RetentionPolicy.CLASS; in Test copying private annotations from one of the stubs() import
133 import static java.lang.annotation.ElementType.FIELD; in Test stub-annotations containing unknown annotation() import
134 import static java.lang.annotation.ElementType.METHOD; in Test stub-annotations containing unknown annotation() import
135 import static java.lang.annotation.ElementType.PARAMETER; in Test stub-annotations containing unknown annotation() import
136 import static java.lang.annotation.RetentionPolicy.SOURCE; in Test stub-annotations containing unknown annotation() import
/aosp_15_r20/external/rust/android-crates-io/crates/futures-task/src/
Dspawn.rs15 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError>; in spawn_obj()
40 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError>; in spawn_local_obj()
87 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
97 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
107 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
117 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
132 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
142 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
152 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj()
162 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/tokio-util/src/task/
Dtask_tracker.rs376 pub fn spawn<F>(&self, task: F) -> JoinHandle<F::Output> in spawn()
379 F::Output: Send + 'static, in spawn()
391 pub fn spawn_on<F>(&self, task: F, handle: &Handle) -> JoinHandle<F::Output> in spawn_on()
394 F::Output: Send + 'static, in spawn_on()
408 pub fn spawn_local<F>(&self, task: F) -> JoinHandle<F::Output> in spawn_local()
411 F::Output: 'static, in spawn_local()
425 pub fn spawn_local_on<F>(&self, task: F, local_set: &LocalSet) -> JoinHandle<F::Output> in spawn_local_on()
428 F::Output: 'static, in spawn_local_on()
444 F: Send + 'static, in spawn_blocking()
445 T: Send + 'static, in spawn_blocking()
[all …]
Dspawn_pinned.rs123 F: Send + 'static, in spawn_pinned()
124 Fut: Future + 'static, in spawn_pinned()
125 Fut::Output: Send + 'static, in spawn_pinned()
176 F: Send + 'static, in spawn_pinned_by_idx()
177 Fut: Future + 'static, in spawn_pinned_by_idx()
178 Fut::Output: Send + 'static, in spawn_pinned_by_idx()
210 F: Send + 'static, in spawn_pinned()
211 Fut: Future + 'static, in spawn_pinned()
212 Fut::Output: Send + 'static, in spawn_pinned()
/aosp_15_r20/tools/metalava/metalava/src/test/java/com/android/tools/metalava/stub/
H A DStubsAnnotationTest.kt45 import static java.lang.annotation.ElementType.*; in Generate stubs for annotation type() import
91 import static java.lang.annotation.ElementType.*; in Remove Hidden Annotations() import
92 import static java.lang.annotation.RetentionPolicy.SOURCE; in Remove Hidden Annotations() import
425 import static java.lang.annotation.RetentionPolicy.SOURCE; in Annotation default values() import
653 import static java.lang.annotation.RetentionPolicy.SOURCE; in Ensure we emit runtime and deprecated annotations in stubs with exclude-annotations() import
663 import static java.lang.annotation.RetentionPolicy.CLASS; in Ensure we emit runtime and deprecated annotations in stubs with exclude-annotations() import
673 import static java.lang.annotation.RetentionPolicy.RUNTIME; in Ensure we emit runtime and deprecated annotations in stubs with exclude-annotations() import
724 import static java.lang.annotation.RetentionPolicy.SOURCE; in Ensure we include class and runtime and not source annotations in stubs with include-annotations() import
734 import static java.lang.annotation.RetentionPolicy.CLASS; in Ensure we include class and runtime and not source annotations in stubs with include-annotations() import
744 import static java.lang.annotation.RetentionPolicy.RUNTIME; in Ensure we include class and runtime and not source annotations in stubs with include-annotations() import
/aosp_15_r20/external/rust/android-crates-io/crates/tonic/src/transport/server/
Dmod.rs348 F: Fn(&http::Request<()>) -> tracing::Span + Send + Sync + 'static, in trace_fn()
367 S::Future: Send + 'static, in add_service()
388 S::Future: Send + 'static, in add_optional_service()
498 <<L as Layer<S>>::Service as Service<Request<Body>>>::Future: Send + 'static, in serve_with_shutdown()
501 IO: AsyncRead + AsyncWrite + Connected + Unpin + Send + 'static, in serve_with_shutdown()
502 IO::ConnectInfo: Clone + Send + Sync + 'static, in serve_with_shutdown()
577 S::Future: Send + 'static, in add_service()
596 S::Future: Send + 'static, in add_optional_service()
618 <<L as Layer<Routes>>::Service as Service<Request<Body>>>::Future: Send + 'static, in serve()
648 <<L as Layer<Routes>>::Service as Service<Request<Body>>>::Future: Send + 'static, in serve_with_shutdown()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/async-task/src/
Drunnable.rs365 Fut: Future + Send + 'static, in spawn()
366 Fut::Output: Send + 'static, in spawn()
367 S: Schedule<M> + Send + Sync + 'static, in spawn()
412 Fut: Future + 'static, in spawn_local()
413 Fut::Output: 'static, in spawn_local()
414 S: Schedule<M> + Send + Sync + 'static, in spawn_local()
569 F: Future + Send + 'static, in spawn()
570 F::Output: Send + 'static, in spawn()
571 S: Schedule + Send + Sync + 'static, in spawn()
611 F: Future + 'static, in spawn_local()
[all …]
/aosp_15_r20/frameworks/base/tools/lint/global/checks/src/test/java/com/google/android/lint/aidl/
H A DStubs.kt47 import static java.lang.annotation.ElementType.METHOD; import
48 import static java.lang.annotation.RetentionPolicy.CLASS; import
63 import static java.lang.annotation.ElementType.FIELD; import
64 import static java.lang.annotation.ElementType.LOCAL_VARIABLE; import
65 import static java.lang.annotation.ElementType.METHOD; import
66 import static java.lang.annotation.ElementType.PARAMETER; import
67 import static java.lang.annotation.RetentionPolicy.CLASS; import

12345678910>>...68