/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | PackageMatchingCacheTest.java | 42 private final Supplier<String> supplier = mock(Supplier.class); field in PackageMatchingCacheTest 43 private final PackageMatchingCache cache = new PackageMatchingCache(supplier); 49 verify(supplier, never()).get(); in testNulls() 53 verify(supplier).get(); in testNulls() 58 when(supplier.get()).thenReturn("ret.pkg"); in testCaching() 64 verify(supplier, times(1)).get(); in testCaching() 69 when(supplier.get()).thenReturn("ret.pkg"); in testGetOnFailure() 72 when(supplier.get()).thenReturn("other.pkg"); in testGetOnFailure() 74 verify(supplier, times(2)).get(); in testGetOnFailure()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ContextHubClientBroker.java | 237 Supplier<Intent> supplier = in sendMessageToClient() local 240 sendPendingIntent(supplier, message.getNanoAppId()); in sendMessageToClient() 282 Supplier<Intent> supplier = in onNanoAppAborted() local 285 sendPendingIntent(supplier, nanoAppId); in onNanoAppAborted() 363 private synchronized void sendPendingIntent(Supplier<Intent> supplier) { in sendPendingIntent() argument 365 doSendPendingIntent(mPendingIntentRequest.getPendingIntent(), supplier.get()); in sendPendingIntent() 375 private synchronized void sendPendingIntent(Supplier<Intent> supplier, long nanoAppId) { in sendPendingIntent() argument 378 doSendPendingIntent(mPendingIntentRequest.getPendingIntent(), supplier.get()); in sendPendingIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ExtensionControllerImpl.java | 118 Supplier<T> supplier) { in withUiMode() argument 119 mExtension.addUiMode(uiMode, supplier); in withUiMode() 125 Supplier<T> supplier) { in withFeature() argument 126 mExtension.addFeature(feature, supplier); in withFeature() 307 public UiModeItem(int uiMode, Supplier<T> supplier) { in UiModeItem() argument 309 mSupplier = supplier; in UiModeItem() 345 public FeatureItem(String feature, Supplier<T> supplier) { in FeatureItem() argument 346 mSupplier = supplier; in FeatureItem() 370 public Default(Supplier<T> supplier) { in Default() argument 371 mSupplier = supplier; in Default()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/ |
D | RemoteCallTest.java | 252 private static <T> Future<T> runInWorkerThreadAsync(Callable<T> supplier) { in runInWorkerThreadAsync() argument 254 new Thread(() -> future.complete(uncheck(supplier)), "test-worker-thread").start(); in runInWorkerThreadAsync() 258 private static <T> T runInWorkerThread(Callable<T> supplier) throws Exception { in runInWorkerThread() argument 259 return runInWorkerThreadAsync(supplier).get(); in runInWorkerThread()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | RemoteViewsAdapterTest.java | 225 private <T> T getOnUiThread(Supplier<T> supplier) throws Throwable { in getOnUiThread() argument 226 return getOnHandler(mMainHandler, supplier); in getOnUiThread() 235 private static <T> T getOnHandler(Handler handler, Supplier<T> supplier) throws Throwable { in getOnHandler() argument 237 handler.post(() -> result.set(supplier.get())); in getOnHandler()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | NsdServiceTest.java | 147 DaemonConnectionSupplier supplier = (callback) -> { in makeService() local 151 NsdService service = new NsdService(mContext, mSettings, mHandler, supplier); in makeService()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/ |
D | TransportClientTest.java | 526 private <T> T runInWorkerThread(Supplier<T> supplier) throws Exception { in runInWorkerThread() argument 528 mWorkerHandler.post(() -> future.complete(supplier.get())); in runInWorkerThread()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 12475 final Supplier<TextClassification> supplier = () -> in handleClick() local 12493 CompletableFuture.supplyAsync(supplier) in handleClick()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 30227 HSPLjava/util/stream/Collectors$CollectorImpl;->supplier()Ljava/util/function/Supplier;
|
D | hiddenapi-greylist-max-o.txt | 111708 Ljava/lang/ThreadLocal$SuppliedThreadLocal;->supplier:Ljava/util/function/Supplier; 118897 Ljava/util/stream/Collectors$CollectorImpl;->supplier:Ljava/util/function/Supplier;
|
/frameworks/base/api/ |
D | current.txt | 73413 method public java.util.function.Supplier<A> supplier();
|