Home
last modified time | relevance | path

Searched defs:supplier (Results 1 – 25 of 38) sorted by relevance

12

/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DPermissionHelper.java233 String packageName, String permission, ThrowingSupplier<T> supplier) throws Exception { in runWithRevokedPermission()
239 ThrowingSupplier<T> supplier, String packageName, String... permissions) in runWithRevokedPermissions()
266 String packageName, String permission, ThrowingSupplier<T> supplier) throws Exception { in runWithUserFixedPermission()
286 String key, String value, ThrowingSupplier<T> supplier) throws Exception { in runWithDeviceConfigForController()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DCachedSupplierTest.java34 final Supplier<Integer> supplier = new Supplier<Integer>() { in testSimple() local
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/common/
DShellHelper.java36 public static <T> T invokeWithShellPermissions(Supplier<T> supplier) { in invokeWithShellPermissions()
DSingletonTester.java62 public <T> void assertAllInstancesAreTheSame(Supplier<T> supplier) throws InterruptedException { in assertAllInstancesAreTheSame()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/util/
DListenableSupplier.java36 public ListenableSupplier(Supplier<V> supplier) { in ListenableSupplier()
/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DDriverDistractionExperimentalFeatureService.java400 IDriverAwarenessSupplier supplier = awarenessEventWrapper.mSupplier; in handleDriverAwarenessEventLocked() local
611 IDriverAwarenessSupplier supplier = mSupplierBinders.get(componentName); in removeDriverAwarenessSupplier() local
811 IDriverAwarenessSupplier supplier; in onDriverAwarenessUpdated() local
856 IDriverAwarenessSupplier supplier, in DriverAwarenessEventWrapper()
/packages/apps/Dialer/java/com/android/dialer/strictmode/
DStrictModeUtils.java50 public static <T> T bypass(Supplier<T> supplier) { in bypass()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DTraceHelper.java90 public static <T> T allowIpcs(String rpcName, Supplier<T> supplier) { in allowIpcs()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiThreadRunner.java85 public <T> T call(@NonNull Supplier<T> supplier, T valueToReturnOnTimeout, String taskName) { in call()
110 public <T> T call(@NonNull Supplier<T> supplier, T valueToReturnOnTimeout) { in call()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DTrafficStatsRateLimitCacheTest.kt133 val supplier = mock(Supplier::class.java) as Supplier<Entry> in testGetOrCompute_cacheMiss() constant
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiApIface.java55 private <T> T validateAndCall(String methodStr, T defaultVal, @NonNull Supplier<T> supplier) { in validateAndCall()
DWifiHal.java147 private <T> T validateAndCall(String methodStr, T defaultVal, @NonNull Supplier<T> supplier) { in validateAndCall()
DWifiApIfaceHidlImpl.java218 private <T> T validateAndCall(String methodStr, T defaultVal, @NonNull Supplier<T> supplier) { in validateAndCall()
DWifiRttController.java203 private <T> T validateAndCall(String methodStr, T defaultVal, @NonNull Supplier<T> supplier) { in validateAndCall()
DWifiHalHidlImpl.java591 private <T> T validateAndCall(String methodStr, T defaultVal, @NonNull Supplier<T> supplier) { in validateAndCall()
DWifiStaIface.java185 private <T> T validateAndCall(String methodStr, T defaultVal, @NonNull Supplier<T> supplier) { in validateAndCall()
DWifiRttControllerHidlImpl.java981 private <T> T validateAndCall(String methodStr, T defaultVal, @NonNull Supplier<T> supplier) { in validateAndCall()
/packages/services/Car/car-lib/src/android/car/util/concurrent/
DAndroidFuture.java469 public static <T> AndroidFuture<T> supply(Supplier<T> supplier) { in supply()
476 public static <T> AndroidFuture<T> supplyAsync(Supplier<T> supplier, Executor executor) { in supplyAsync()
483 SupplyAsync(Supplier<T> supplier, Executor executor) { in SupplyAsync()
/packages/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/
DDialogsActivity.java174 private Button addAction(String title, Supplier<PendingIntent> supplier) { in addAction()
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/
DInteractionServiceClient.java162 private <T> T getRemote(RemoteSupplier<T> supplier) { in getRemote()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DTrafficStatsRateLimitCache.java124 @NonNull Supplier<NetworkStats.Entry> supplier) { in getOrCompute()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAppManifestConfig.java247 String tag, @Nullable T config, Supplier<T> supplier) { in getConfig()
/packages/services/Telephony/tests/src/com/android/phone/callcomposer/
DPictureManagerTest.java273 public void testGbaCredLookup(GbaCredentialsSupplier supplier, boolean forceExpected) in testGbaCredLookup()
/packages/services/Car/experimental/tests/experimentalcarservice_unit_test/src/com/android/experimentalcar/
DDriverDistractionExperimentalFeatureServiceTest.java719 private void emitDriverAwarenessEvent(IDriverAwarenessSupplier supplier, long time, float value) in emitDriverAwarenessEvent()
/packages/services/Car/car-lib/src/android/car/cluster/renderer/
DInstrumentClusterRenderingService.java571 private <E> E runAndWaitResult(final Supplier<E> supplier) { in runAndWaitResult()

12