/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | DeviceReportLog.java | 72 ResultUnit unit) { in addValue() argument 73 super.addValue(source, message, value, type, unit); in addValue() 85 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() argument 86 super.addValue(message, value, type, unit); in addValue() 99 ResultUnit unit) { in addValues() argument 100 super.addValues(source, message, values, type, unit); in addValues() 112 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues() argument 113 super.addValues(message, values, type, unit); in addValues() 125 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() argument 137 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue() argument [all …]
|
D | BlockingCallback.java | 97 public E await(long timeout, TimeUnit unit) throws InterruptedException { in await() argument 98 if (!mLatch.await(timeout, unit)) { in await()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | VoiceInteractionTestReceiver.java | 44 public static void waitSessionStarted(long timeout, TimeUnit unit) throws InterruptedException { in waitSessionStarted() argument 45 Intent intent = sServiceStartedQueue.poll(timeout, unit); in waitSessionStarted() 56 public static boolean waitScreenshotReceived(long timeout, TimeUnit unit) in waitScreenshotReceived() argument 58 Intent intent = sScreenshotReceivedQueue.poll(timeout, unit); in waitScreenshotReceived() 70 public static boolean waitAssistDataReceived(long timeout, TimeUnit unit) in waitAssistDataReceived() argument 72 Intent intent = sAssistDataReceivedQueue.poll(timeout, unit); in waitAssistDataReceived() 85 public static Bundle waitOnShowReceived(long timeout, TimeUnit unit) in waitOnShowReceived() argument 87 Intent intent = sOnShowReceivedQueue.poll(timeout, unit); in waitOnShowReceived()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | CtsVerifierReportLog.java | 124 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues() argument 137 ResultUnit unit) { in addValues() argument 149 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() argument 162 ResultUnit unit) { in addValue() argument 174 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() argument 186 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue() argument 198 public void addValue(String message, float value, ResultType type, ResultUnit unit) { in addValue() argument 210 public void addValue(String message, boolean value, ResultType type, ResultUnit unit) { in addValue() argument 222 public void addValue(String message, String value, ResultType type, ResultUnit unit) { in addValue() argument 234 public void addValues(String message, int[] values, ResultType type, ResultUnit unit) { in addValues() argument [all …]
|
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/functions/ |
D | TestAppFunctionServiceLifecycleReceiver.java | 63 public static boolean waitForServiceOnDestroy(long timeout, TimeUnit unit) in waitForServiceOnDestroy() argument 65 return sOnDestroyedLatch.await(timeout, unit); in waitForServiceOnDestroy() 77 public static boolean waitForServiceOnCreate(long timeout, TimeUnit unit) in waitForServiceOnCreate() argument 79 return sOnCreateLatch.await(timeout, unit); in waitForServiceOnCreate()
|
D | ActivityCreationSynchronizer.java | 59 public static boolean waitForActivityCreated(long timeout, TimeUnit unit) in waitForActivityCreated() argument 61 return sLatch.await(timeout, unit); in waitForActivityCreated()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | StubSimpleImeAccessibilityService.java | 28 public boolean awaitOnCreateInputMethod(long timeout, TimeUnit unit) in awaitOnCreateInputMethod() argument 30 return mOnCreateInputMethodLatch.await(timeout, unit); in awaitOnCreateInputMethod()
|
/cts/tests/tests/assist/common/src/android/assist/common/ |
D | AutoResetLatch.java | 47 public boolean await(long timeout, TimeUnit unit) throws InterruptedException { in await() argument 49 return mLatch.await(timeout, unit); in await()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | CtsWindowInfoUtils.java | 83 long timeout, @NonNull TimeUnit unit, @Nullable UiAutomation uiAutomation) in waitForWindowInfos() argument 104 latch.await(timeout, unit); in waitForWindowInfos() 141 long timeout, @NonNull TimeUnit unit) throws InterruptedException { in waitForWindowInfos() argument 142 return waitForWindowInfos(predicate, timeout, unit, null /* uiAutomation */); in waitForWindowInfos() 167 @NonNull TimeUnit unit, @NonNull Supplier<IBinder> windowTokenSupplier, int displayId) in waitForWindowInfo() argument 188 return waitForWindowInfos(wrappedPredicate, timeout, unit); in waitForWindowInfo() 241 public static boolean waitForWindowOnTop(long timeout, @NonNull TimeUnit unit, in waitForWindowOnTop() argument 322 latch.await(timeout, unit); in waitForWindowOnTop() 373 public static boolean waitForWindowOnTop(long timeout, @NonNull TimeUnit unit, in waitForWindowOnTop() argument 376 return waitForWindowOnTop(timeout, unit, windowInfo -> { in waitForWindowOnTop() [all …]
|
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/ |
D | TestBaseQuickAccessWalletService.java | 147 public static void awaitBinding(long timeout, TimeUnit unit) throws InterruptedException { in awaitBinding() argument 148 sBindCounter.await(timeout, unit); in awaitBinding() 155 public static void awaitUnbinding(long timeout, TimeUnit unit) throws InterruptedException { in awaitUnbinding() argument 156 sUnbindCounter.await(timeout, unit); in awaitUnbinding()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BlockingCallback.java | 97 public E await(long timeout, TimeUnit unit) throws InterruptedException { in await() argument 98 if (!mLatch.await(timeout, unit)) { in await()
|
D | BlockingIntentSenderService.java | 93 public static Intent await(Intent intent, long timeout, TimeUnit unit) { in await() argument 103 latch.await(timeout, unit); in await()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | BlockingBroadcastReceiver.java | 47 public String getParam(long timeout, TimeUnit unit) throws InterruptedException { in getParam() argument 48 latch.await(timeout, unit); in getParam()
|
/cts/libs/rollback/src/com/android/cts/rollback/lib/ |
D | RollbackBroadcastReceiver.java | 61 public Intent poll(long timeout, TimeUnit unit) throws InterruptedException { in poll() argument 62 return mRollbackBroadcasts.poll(timeout, unit); in poll()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | GetResultActivity.java | 79 public Result getResult(long timeout, TimeUnit unit) { in getResult() argument 81 return sResult.poll(timeout, unit); in getResult()
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/ |
D | GetResultActivity.java | 77 public Result getResult(long timeout, TimeUnit unit) { in getResult() argument 79 return sResult.poll(timeout, unit); in getResult()
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | GetResultActivity.java | 77 public Result getResult(long timeout, TimeUnit unit) { in getResult() argument 79 return sResult.poll(timeout, unit); in getResult()
|
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/ |
D | WallpaperManagerTestUtils.java | 70 public static boolean runAndAwaitChanges(long timeout, TimeUnit unit, in runAndAwaitChanges() argument 80 result = callback.awaitEvents(timeout, unit); in runAndAwaitChanges() 103 public static boolean runAndAwaitColorChanges(long timeout, TimeUnit unit, in runAndAwaitColorChanges() argument 112 result = callback.waitForChanges(timeout, unit); in runAndAwaitColorChanges() 423 public boolean waitForChanges(long timeout, TimeUnit unit) { in waitForChanges() argument 425 return mHomeCountDownLatch.await(timeout, unit) in waitForChanges() 426 && mLockCountDownLatch.await(timeout, unit); in waitForChanges()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | TestForegroundService.java | 82 public static Service waitFor(long timeout, TimeUnit unit) in waitFor() argument 84 return sQueue.poll(timeout, unit); in waitFor()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/types/main/java/com/android/bedstead/remoteframeworkclasses/ |
D | SimpleAccountManagerFuture.java | 84 public V getResult(long timeout, TimeUnit unit) in getResult() argument 87 mIsDone.await(timeout, unit); in getResult()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | LocalIntentSender.java | 78 public Intent pollResult(long timeout, TimeUnit unit) throws InterruptedException { in pollResult() argument 79 return mResults.poll(timeout, unit); in pollResult()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyWideGamutViewProducerActivity.java | 93 public void waitForFirstDrawCompleted(int timeout, TimeUnit unit) { in waitForFirstDrawCompleted() argument 95 if (!mFence.await(timeout, unit)) { in waitForFirstDrawCompleted()
|
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/ |
D | QuickAccessWalletClientTest.java | 575 public void await(int time, TimeUnit unit) throws InterruptedException { in await() argument 576 mLatch.await(time, unit); in await() 592 public void await(int time, TimeUnit unit) throws InterruptedException { in await() argument 593 mLatch.await(time, unit); in await() 608 public void await(int time, TimeUnit unit) throws InterruptedException { in await() argument 609 mLatch.await(time, unit); in await() 625 public void await(int time, TimeUnit unit) throws InterruptedException { in await() argument 626 mLatch.await(time, unit); in await()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ |
D | ContentCaptureConditionTest.java | 16 package android.contentcaptureservice.cts.unit;
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SurfaceViewCtsActivity.java | 204 boolean awaitSurfaceCreated(long timeout, TimeUnit unit) { in awaitSurfaceCreated() argument 206 return mSurfaceCreatedLatch.await(timeout, unit); in awaitSurfaceCreated()
|