Home
last modified time | relevance | path

Searched defs:T (Results 1 – 25 of 109) sorted by relevance

12345

/packages/modules/Virtualization/vmclient/src/
Dsync.rs37 pub fn wait_while(&self, condition: impl FnMut(&mut T) -> bool) -> LockResult<MutexGuard<T>> { in wait_while()
50 ) -> Result<(MutexGuard<T>, WaitTimeoutResult), PoisonError<MutexGuard<T>>> { in wait_timeout_while()
57 fn convert_poison_error<T>(err: PoisonError<(T, WaitTimeoutResult)>) -> PoisonError<T> { in convert_poison_error()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/collect/
DImmutableHelpers.java41 Function<? super T, ? extends K> keyMap, Function<? super T, ? extends V> valueMap) { in toImmutableMap()
51 Function<? super T, ? extends K> keyMap, Function<? super T, ? extends V> valueMap) { in toImmutableListMultimap()
/packages/modules/Uwb/service/uci/jni/src/
Dhelper.rs22 pub(crate) fn boolean_result_helper<T>(result: Result<T>, error_msg: &str) -> jboolean { in boolean_result_helper()
33 pub(crate) fn byte_result_helper<T>(result: Result<T>, error_msg: &str) -> jbyte { in byte_result_helper()
39 fn result_to_status_code<T>(result: Result<T>, error_msg: &str) -> StatusCode { in result_to_status_code()
55 pub(crate) fn option_result_helper<T>(result: Result<T>, error_msg: &str) -> Option<T> { in option_result_helper()
/packages/modules/Virtualization/compos/common/
Dbinder.rs26 pub fn to_binder_result<T, E: Debug>(result: Result<T, E>) -> BinderResult<T> { in to_binder_result()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DResult.h100 bool nnTryHasValue(const base::expected<T, E>& o) { in nnTryHasValue()
105 T nnTryGetValue(base::expected<T, E> o) { in nnTryGetValue()
110 base::unexpected<E> nnTryGetError(base::expected<T, E> o) { in nnTryGetError()
125 std::nullopt_t nnTryGetError(std::optional<T> /*o*/) { in nnTryGetError()
/packages/services/Car/car-lib/src/android/car/util/concurrent/
DAndroidFuture.java180 public AndroidFuture<T> whenComplete(@NonNull BiConsumer<? super T, ? super Throwable> action) { in whenComplete()
185 public AndroidFuture<T> whenCompleteAsync( in whenCompleteAsync()
226 private void callListenerAsync(BiConsumer<? super T, ? super Throwable> listener, in callListenerAsync()
299 public <U> AndroidFuture<U> thenCompose( in thenCompose()
305 public <U> AndroidFuture<U> thenComposeAsync( in thenComposeAsync()
318 @NonNull Function<? super T, ? extends CompletionStage<U>> fn, in ThenComposeAsync()
361 public <U> AndroidFuture<U> thenApply(@NonNull Function<? super T, ? extends U> fn) { in thenApply()
366 public <U> AndroidFuture<U> thenApplyAsync(@NonNull Function<? super T, ? extends U> fn, in thenApplyAsync()
378 @NonNull Function<? super T, ? extends U> fn, in ThenApplyAsync()
410 @NonNull BiFunction<? super T, ? super U, ? extends V> combineResults) { in thenCombine()
[all …]
DAsyncFuture.java59 AsyncFuture<T> whenCompleteAsync(@NonNull BiConsumer<? super T, ? super Throwable> action, in whenCompleteAsync()
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DBluetoothLeUtils.java73 static <T> String toString(Map<T, byte[]> map) { in toString()
118 static <T> boolean equals(Map<T, byte[]> map, Map<T, byte[]> otherMap) { in equals()
/packages/modules/NeuralNetworks/common/cpu_operations/
DEmbeddingLookupTest.cpp102 #define SetInputOrWeight(X, T) \ in Invoke() argument
111 #define SetOutput(X, T) \ in Invoke() argument
123 #define DefineSetter(X, T) \ argument
148 #define DefineTensor(X, T) std::vector<T> X##_; argument
DHashtableLookupTest.cpp117 #define SetInputOrWeight(X, T) \ in Invoke() argument
126 #define SetOutput(X, T) \ in Invoke() argument
138 #define DefineSetter(X, T) \ argument
161 #define DefineTensor(X, T) std::vector<T> X##_; argument
DLSHProjectionTest.cpp89 #define DefineSetter(X, T) \ argument
105 #define SetInputOrWeight(X, T) \ in Invoke() argument
114 #define SetOutput(X, T) \ in Invoke() argument
/packages/apps/TV/common/src/com/android/tv/common/feature/
DFlagFeature.java28 Function<Context, T> toFlag, Function<T, Boolean> toBoolean) { in from()
32 private FlagFeature(Function<Context, T> toFlag, Function<T, Boolean> toBoolean) { in FlagFeature()
/packages/modules/Bluetooth/system/rust/src/core/
Dshared_box.rs33 pub fn downgrade(&self) -> WeakBox<T> { in downgrade()
38 pub fn as_ref(&self) -> WeakBoxRef<T> { in as_ref()
85 pub fn downgrade(&self) -> WeakBox<T> { in downgrade()
/packages/modules/Virtualization/libs/apkverify/src/
Dbytes_ext.rs37 pub fn into_inner(self) -> T { in into_inner()
43 fn read<T: ReadFromBytes>(&mut self) -> Result<T>; in read()
47 fn read<T: ReadFromBytes>(&mut self) -> Result<T> { in read()
/packages/services/Car/tools/watchdog/parser/
Dperf_stats_proto_utils.py284 T = TypeVar("T") variable
287 def _read_proto_from_file(pb_file: str, proto: T) -> Optional[T]:
/packages/apps/Dialer/java/com/android/dialer/metrics/
DFutureTimer.java95 ListenableFuture<T> future, Function<T, String> eventNameFromResultFunction) { in applyTiming()
101 Function<T, String> eventNameFromResultFunction, in applyTiming()
/packages/modules/Virtualization/libs/avflog/src/
Dlib.rs23 fn with_log(self) -> Result<T, E>; in with_log()
27 fn with_log(self) -> Result<T, E> { in with_log()
/packages/modules/Connectivity/remoteauth/service/jni/src/
Dutils.rs20 pub(crate) fn get_boolean_result<T>(result: anyhow::Result<T>, error_msg: &str) -> jboolean { in get_boolean_result()
/packages/modules/Bluetooth/system/rust/src/utils/
Dtask.rs48 ) -> Result<T, impl Future<Output = T>> { in try_await()
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DAsyncTaskExecutor.java50 <T> AsyncTask<T, ?, ?> submit(Object identifier, AsyncTask<T, ?, ?> task, T... params); in submit()
/packages/modules/Virtualization/vmbase/src/
Dutil.rs21 pub fn flatten<T, const N: usize>(original: &[[T; N]]) -> &[T] { in flatten()
/packages/modules/Virtualization/libs/cborutil/src/
Dlib.rs40 pub fn deserialize<T: DeserializeOwned>(mut data: &[u8]) -> Result<T> { in deserialize()
70 pub fn value_to_num<T: TryFrom<Integer>>(v: Value, context: &'static str) -> Result<T> { in value_to_num()
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/utils/
Dbyte_value.cc31 void GetBytes(std::vector<char>* result, const std::function<size_t(T*, size_t)>& f) { in GetBytes()
/packages/modules/Bluetooth/system/gd/hci/fuzz/
Dfuzz_hci_layer.h39 std::unique_ptr<T> /* command */, in EnqueueCommand()
43 std::unique_ptr<T> /* command */, in EnqueueCommand()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DPropertyResetListener.java32 public PropertyResetListener(Property<T, V> propertyToReset, V resetToValue) { in PropertyResetListener()

12345