| /packages/modules/Uwb/service/uci/jni/src/ |
| D | helper.rs | 22 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() 53 pub(crate) fn option_result_helper<T>(result: Result<T>, error_msg: &str) -> Option<T> { in option_result_helper()
|
| /packages/modules/Virtualization/vmclient/src/ |
| D | sync.rs | 37 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/Virtualization/compos/common/ |
| D | binder.rs | 26 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/ |
| D | Result.h | 100 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/modules/Virtualization/pvmfw/avb/src/ |
| D | utils.rs | 23 pub(crate) fn write<T>(ptr: *mut T, value: T) -> Result<()> { in write() 32 pub(crate) fn as_ref<'a, T>(ptr: *mut T) -> Result<&'a T> { in as_ref() argument 38 pub(crate) fn to_nonnull<T>(ptr: *mut T) -> Result<NonNull<T>> { in to_nonnull()
|
| /packages/services/Car/car-lib/src/android/car/util/concurrent/ |
| D | AndroidFuture.java | 187 public AndroidFuture<T> whenComplete(@NonNull BiConsumer<? super T, ? super Throwable> action) { in whenComplete() 193 public AndroidFuture<T> whenCompleteAsync( in whenCompleteAsync() 234 private void callListenerAsync(BiConsumer<? super T, ? super Throwable> listener, in callListenerAsync() 309 public <U> AndroidFuture<U> thenCompose( in thenCompose() 316 public <U> AndroidFuture<U> thenComposeAsync( in thenComposeAsync() 329 @NonNull Function<? super T, ? extends CompletionStage<U>> fn, in ThenComposeAsync() 373 public <U> AndroidFuture<U> thenApply(@NonNull Function<? super T, ? extends U> fn) { in thenApply() 379 public <U> AndroidFuture<U> thenApplyAsync(@NonNull Function<? super T, ? extends U> fn, in thenApplyAsync() 391 @NonNull Function<? super T, ? extends U> fn, in ThenApplyAsync() 424 @NonNull BiFunction<? super T, ? super U, ? extends V> combineResults) { in thenCombine() [all …]
|
| D | AsyncFuture.java | 63 AsyncFuture<T> whenCompleteAsync(@NonNull BiConsumer<? super T, ? super Throwable> action, in whenCompleteAsync()
|
| /packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
| D | BluetoothLeUtils.java | 93 static <T> String toString(Map<T, byte[]> map) { in toString() 142 static <T> boolean equals(Map<T, byte[]> map, Map<T, byte[]> otherMap) { in equals()
|
| /packages/modules/Bluetooth/tools/pdl/src/ |
| D | utils.rs | 17 pub fn drain_filter<T, F>(input: &mut Vec<T>, predicate: F) -> Vec<T> in drain_filter()
|
| /packages/modules/NeuralNetworks/common/cpu_operations/ |
| D | EmbeddingLookupTest.cpp | 101 #define SetInputOrWeight(X, T) \ in Invoke() argument 110 #define SetOutput(X, T) \ in Invoke() argument 122 #define DefineSetter(X, T) \ argument 147 #define DefineTensor(X, T) std::vector<T> X##_; argument
|
| D | HashtableLookupTest.cpp | 116 #define SetInputOrWeight(X, T) \ in Invoke() argument 125 #define SetOutput(X, T) \ in Invoke() argument 137 #define DefineSetter(X, T) \ argument 160 #define DefineTensor(X, T) std::vector<T> X##_; argument
|
| D | LSHProjectionTest.cpp | 89 #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/ |
| D | FlagFeature.java | 28 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/ |
| D | shared_box.rs | 33 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/ |
| D | bytes_ext.rs | 37 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/modules/Virtualization/vm_payload/src/ |
| D | api.rs | 68 fn unwrap_or_abort<T, E: Debug>(result: Result<T, E>) -> T { in unwrap_or_abort()
|
| /packages/apps/Dialer/java/com/android/dialer/metrics/ |
| D | FutureTimer.java | 95 ListenableFuture<T> future, Function<T, String> eventNameFromResultFunction) { in applyTiming() 101 Function<T, String> eventNameFromResultFunction, in applyTiming()
|
| /packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
| D | callbacks.rs | 65 pub fn get_by_id(&self, id: u32) -> Option<&Box<T>> { in get_by_id() 70 pub fn get_by_id_mut(&mut self, id: u32) -> Option<&mut Box<T>> { in get_by_id_mut()
|
| /packages/modules/Bluetooth/system/gd/rust/stack/src/ |
| D | lib.rs | 60 pub async fn get<T: 'static + Clone + Send + Sync + Stoppable>(&self) -> T { in get() 65 pub fn get_blocking<T: 'static + Clone + Send + Sync + Stoppable>(&self) -> T { in get_blocking()
|
| /packages/apps/Dialer/java/com/android/dialer/common/concurrent/ |
| D | AsyncTaskExecutor.java | 50 <T> AsyncTask<T, ?, ?> submit(Object identifier, AsyncTask<T, ?, ?> task, T... params); in submit()
|
| /packages/modules/Bluetooth/system/rust/src/utils/ |
| D | task.rs | 48 ) -> Result<T, impl Future<Output = T>> { in try_await()
|
| /packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/src/ |
| D | lib.rs | 193 ) -> Result<(T,), dbus::Error> { in async_method() 216 ) -> Result<(T,), dbus::Error> { in method_withresult() 229 ) -> T { in method()
|
| /packages/apps/Launcher3/src/com/android/launcher3/anim/ |
| D | PropertyResetListener.java | 32 public PropertyResetListener(Property<T, V> propertyToReset, V resetToValue) { in PropertyResetListener()
|
| /packages/modules/Bluetooth/system/gd/rust/gddi/src/ |
| D | lib.rs | 79 pub async fn get<T: 'static + Clone + Send + Sync + Stoppable>(self: &Arc<Self>) -> T { in get() 104 pub async fn inject<T: 'static + Clone + Send + Sync>(self: &Arc<Self>, obj: T) { in inject()
|
| /packages/modules/Bluetooth/system/gd/fuzz/ |
| D | helpers.h | 34 #define CONSTRUCT_VALID_UNIQUE_OTHERWISE_BAIL(T, name, data) \ argument
|