/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | PermissionHelper.java | 233 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/ |
D | CachedSupplierTest.java | 34 final Supplier<Integer> supplier = new Supplier<Integer>() { in testSimple() local
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/common/ |
D | ShellHelper.java | 36 public static <T> T invokeWithShellPermissions(Supplier<T> supplier) { in invokeWithShellPermissions()
|
D | SingletonTester.java | 62 public <T> void assertAllInstancesAreTheSame(Supplier<T> supplier) throws InterruptedException { in assertAllInstancesAreTheSame()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/util/ |
D | ListenableSupplier.java | 36 public ListenableSupplier(Supplier<V> supplier) { in ListenableSupplier()
|
/packages/services/Car/experimental/service/src/com/android/experimentalcar/ |
D | DriverDistractionExperimentalFeatureService.java | 400 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/ |
D | StrictModeUtils.java | 50 public static <T> T bypass(Supplier<T> supplier) { in bypass()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | TraceHelper.java | 90 public static <T> T allowIpcs(String rpcName, Supplier<T> supplier) { in allowIpcs()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiThreadRunner.java | 85 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/ |
D | TrafficStatsRateLimitCacheTest.kt | 133 val supplier = mock(Supplier::class.java) as Supplier<Entry> in testGetOrCompute_cacheMiss() constant
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiApIface.java | 55 private <T> T validateAndCall(String methodStr, T defaultVal, @NonNull Supplier<T> supplier) { in validateAndCall()
|
D | WifiHal.java | 147 private <T> T validateAndCall(String methodStr, T defaultVal, @NonNull Supplier<T> supplier) { in validateAndCall()
|
D | WifiApIfaceHidlImpl.java | 218 private <T> T validateAndCall(String methodStr, T defaultVal, @NonNull Supplier<T> supplier) { in validateAndCall()
|
D | WifiRttController.java | 203 private <T> T validateAndCall(String methodStr, T defaultVal, @NonNull Supplier<T> supplier) { in validateAndCall()
|
D | WifiHalHidlImpl.java | 591 private <T> T validateAndCall(String methodStr, T defaultVal, @NonNull Supplier<T> supplier) { in validateAndCall()
|
D | WifiStaIface.java | 185 private <T> T validateAndCall(String methodStr, T defaultVal, @NonNull Supplier<T> supplier) { in validateAndCall()
|
D | WifiRttControllerHidlImpl.java | 981 private <T> T validateAndCall(String methodStr, T defaultVal, @NonNull Supplier<T> supplier) { in validateAndCall()
|
/packages/services/Car/car-lib/src/android/car/util/concurrent/ |
D | AndroidFuture.java | 469 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/ |
D | DialogsActivity.java | 174 private Button addAction(String title, Supplier<PendingIntent> supplier) { in addAction()
|
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/ |
D | InteractionServiceClient.java | 162 private <T> T getRemote(RemoteSupplier<T> supplier) { in getRemote()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | TrafficStatsRateLimitCache.java | 124 @NonNull Supplier<NetworkStats.Entry> supplier) { in getOrCompute()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | AppManifestConfig.java | 247 String tag, @Nullable T config, Supplier<T> supplier) { in getConfig()
|
/packages/services/Telephony/tests/src/com/android/phone/callcomposer/ |
D | PictureManagerTest.java | 273 public void testGbaCredLookup(GbaCredentialsSupplier supplier, boolean forceExpected) in testGbaCredLookup()
|
/packages/services/Car/experimental/tests/experimentalcarservice_unit_test/src/com/android/experimentalcar/ |
D | DriverDistractionExperimentalFeatureServiceTest.java | 719 private void emitDriverAwarenessEvent(IDriverAwarenessSupplier supplier, long time, float value) in emitDriverAwarenessEvent()
|
/packages/services/Car/car-lib/src/android/car/cluster/renderer/ |
D | InstrumentClusterRenderingService.java | 571 private <E> E runAndWaitResult(final Supplier<E> supplier) { in runAndWaitResult()
|