Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DTestUtils.java38 public static <T> T getOnMainSync(@NonNull Supplier<T> supplier) { in getOnMainSync()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DPackageMatchingCacheTest.java42 private final Supplier<String> supplier = mock(Supplier.class); field in PackageMatchingCacheTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionControllerImpl.java118 Supplier<T> supplier) { in withUiMode()
125 Supplier<T> supplier) { in withFeature()
307 public UiModeItem(int uiMode, Supplier<T> supplier) { in UiModeItem()
345 public FeatureItem(String feature, Supplier<T> supplier) { in FeatureItem()
370 public Default(Supplier<T> supplier) { in Default()
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubClientBroker.java511 Supplier<Intent> supplier = in sendMessageToClient() local
560 Supplier<Intent> supplier = in onNanoAppAborted() local
749 Supplier<Intent> supplier = in sendAuthStateCallback() local
803 private synchronized void sendPendingIntent(Supplier<Intent> supplier) { in sendPendingIntent()
815 private synchronized void sendPendingIntent(Supplier<Intent> supplier, long nanoAppId) { in sendPendingIntent()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/
DRemoteCallTest.java252 private static <T> Future<T> runInWorkerThreadAsync(Callable<T> supplier) { in runInWorkerThreadAsync()
258 private static <T> T runInWorkerThread(Callable<T> supplier) throws Exception { in runInWorkerThread()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
DStaticMockFixtureRule.java71 public StaticMockFixtureRule(Supplier<? extends StaticMockFixture>... supplier) { in StaticMockFixtureRule()
/frameworks/base/core/tests/coretests/src/android/widget/
DRemoteViewsAdapterTest.java225 private <T> T getOnUiThread(Supplier<T> supplier) throws Throwable { in getOnUiThread()
235 private static <T> T getOnHandler(Handler handler, Supplier<T> supplier) throws Throwable { in getOnHandler()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDejankUtils.java201 public static <T> T whitelistIpcs(Supplier<T> supplier) { in whitelistIpcs()
/frameworks/base/core/java/com/android/internal/infra/
DAndroidFuture.java477 public static <T> AndroidFuture<T> supply(Supplier<T> supplier) { in supply()
484 public static <T> AndroidFuture<T> supplyAsync(Supplier<T> supplier, Executor executor) { in supplyAsync()
491 SupplyAsync(Supplier<T> supplier, Executor executor) { in SupplyAsync()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackManagerServiceImpl.java301 private <U> U awaitResult(Supplier<U> supplier) { in awaitResult()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
DTransportClientTest.java526 private <T> T runInWorkerThread(Supplier<T> supplier) throws Exception { in runInWorkerThread()
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java115 private boolean retry(Supplier<Boolean> supplier) throws Exception { in retry()
/frameworks/base/core/java/android/app/
DResourcesManager.java975 final ApkAssetsSupplier supplier = new ApkAssetsSupplier(); in createApkAssetsSupplierNotLocked() local
/frameworks/base/core/java/android/widget/
DTextView.java12896 final Supplier<TextClassification> supplier = () -> in handleClick() local
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java657 @NonNull String id, @Nullable BooleanSupplier supplier) { in queueRestoreWithRemovalIfTrue()