Home
last modified time | relevance | path

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

123

/packages/modules/Virtualization/compos/common/
Dbinder.rs28 pub fn to_binder_result<T, E: Debug>(result: Result<T, E>) -> BinderResult<T> { in to_binder_result()
/packages/modules/Gki/build/
Dkmi_test.go23 func expectValid(t *testing.T, kmi string, expectedApexName string) {
34 func expectInvalid(t *testing.T, kmi string) {
42 func TestParse(t *testing.T) {
/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.java187 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()
311 public <U> AndroidFuture<U> thenCompose( in thenCompose()
318 public <U> AndroidFuture<U> thenComposeAsync( in thenComposeAsync()
331 @NonNull Function<? super T, ? extends CompletionStage<U>> fn, in ThenComposeAsync()
375 public <U> AndroidFuture<U> thenApply(@NonNull Function<? super T, ? extends U> fn) { in thenApply()
381 public <U> AndroidFuture<U> thenApplyAsync(@NonNull Function<? super T, ? extends U> fn, in thenApplyAsync()
393 @NonNull Function<? super T, ? extends U> fn, in ThenApplyAsync()
426 @NonNull BiFunction<? super T, ? super U, ? extends V> combineResults) { in thenCombine()
[all …]
DAsyncFuture.java63 AsyncFuture<T> whenCompleteAsync(@NonNull BiConsumer<? super T, ? super Throwable> action, in whenCompleteAsync()
DAndroidAsyncFuture.java55 public AsyncFuture<T> whenCompleteAsync(BiConsumer<? super T, ? super Throwable> action, in whenCompleteAsync()
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DBluetoothLeUtils.java71 static <T> String toString(Map<T, byte[]> map) { in toString()
120 static <T> boolean equals(Map<T, byte[]> map, Map<T, byte[]> otherMap) { in equals()
/packages/modules/NeuralNetworks/common/cpu_operations/
DEmbeddingLookupTest.cpp101 #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
DHashtableLookupTest.cpp116 #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
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/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Ditoatest.cpp58 static void VerifyValue(T value, void(*f)(T, char*), char* (*g)(T, char*)) { in VerifyValue() argument
70 static void Verify(void(*f)(T, char*), char* (*g)(T, char*)) { in Verify() argument
/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/Bluetooth/system/gd/rust/stack/src/
Dlib.rs63 pub async fn get<T: 'static + Clone + Send + Sync + Stoppable>(&self) -> T { in get()
68 pub fn get_blocking<T: 'static + Clone + Send + Sync + Stoppable>(&self) -> T { in get_blocking()
/packages/modules/Virtualization/libs/binder_common/
Drpc_client.rs26 ) -> Result<Strong<T>, StatusCode> { in connect_rpc_binder()
/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/libs/apkverify/src/
Dbytes_ext.rs36 fn read<T: ReadFromBytes>(&mut self) -> Result<T>; in read()
40 fn read<T: ReadFromBytes>(&mut self) -> Result<T> { in read()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DPropertyResetListener.java32 public PropertyResetListener(Property<T, V> propertyToReset, V resetToValue) { in PropertyResetListener()
/packages/modules/Bluetooth/system/gd/fuzz/
Dhelpers.h34 #define CONSTRUCT_VALID_UNIQUE_OTHERWISE_BAIL(T, name, data) \ argument
/packages/modules/Bluetooth/system/gd/rust/gddi/src/
Dlib.rs79 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/Connectivity/nearby/service/java/com/android/server/nearby/common/ble/util/
DStringUtils.java49 public static <T> String toString(@Nullable Map<T, byte[]> map) { in toString()
/packages/modules/DnsResolver/tests/doh/src/
Dffi.rs189 fn logging_and_return_err<T, U: std::fmt::Debug>(e: U) -> Result<T> { in logging_and_return_err()
/packages/modules/Uwb/service/uci/jni/rust/
Dlib.rs553 fn session_init<'a, T: Context<'a>>( in session_init()
568 fn session_deinit<'a, T: Context<'a>>(context: &T, session_id: u32) -> Result<(), UwbErr> { in session_deinit() argument
588 fn ranging_start<'a, T: Context<'a>>(context: &T, session_id: u32) -> Result<(), UwbErr> { in ranging_start() argument
597 fn ranging_stop<'a, T: Context<'a>>(context: &T, session_id: u32) -> Result<(), UwbErr> { in ranging_stop() argument
606 fn get_session_state<'a, T: Context<'a>>(context: &T, session_id: u32) -> Result<jbyte, UwbErr> { in get_session_state() argument
614 fn set_app_configurations<'a, T: Context<'a>>( in set_app_configurations()
634 fn get_app_configurations<'a, T: Context<'a>>( in get_app_configurations()
662 fn multicast_list_update<'a, T: Context<'a>>( in multicast_list_update()
689 fn set_country_code<'a, T: Context<'a>>( in set_country_code()
734 fn send_raw_vendor_cmd<'a, T: Context<'a>>( in send_raw_vendor_cmd()
[all …]
/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/
DAtomFieldAccessor.java40 @NonNull Function<T, F> getField) { in AtomFieldAccessor()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dtopstack.rs79 pub fn get<T: 'static + Clone + Send + Sync>(&self) -> Option<T> { in get()

123