Searched refs:mWatcher (Results 1 – 6 of 6) sorted by relevance
/cts/tests/smartspace/src/android/smartspace/cts/ |
D | SmartspaceManagerTest.java | 88 private CtsSmartspaceService.Watcher mWatcher; field in SmartspaceManagerTest 92 mWatcher = CtsSmartspaceService.setWatcher(); in setUp() 97 await(mWatcher.created, "Waiting for onCreate()"); in setUp() 98 reset(mWatcher.verifier); in setUp() 103 Log.d(TAG, "Starting tear down, watcher is: " + mWatcher); in tearDown() 106 await(mWatcher.destroyed, "Waiting for onDestroy()"); in tearDown() 108 mWatcher = null; in tearDown() 115 assertNotNull(mWatcher.verifier); in testCreateSmartspaceSession() 122 await(mWatcher.destroyed, "Waiting for onDestroy()"); in testDestroySession() 137 mWatcher.queried.countDown(); in testRequestSmartspaceUpdate() [all …]
|
/cts/tests/searchui/src/android/searchuiservice/cts/ |
D | SearchUiManagerTest.java | 97 private CtsSearchUiService.Watcher mWatcher; field in SearchUiManagerTest 101 mWatcher = CtsSearchUiService.setWatcher(); in setUp() 106 await(mWatcher.created, "Waiting for onCreate()"); in setUp() 107 reset(mWatcher.verifier); in setUp() 112 Log.d(TAG, "Starting tear down, watcher is: " + mWatcher); in tearDown() 115 await(mWatcher.destroyed, "Waiting for onDestroy()"); in tearDown() 117 mWatcher = null; in tearDown() 124 assertNotNull(mWatcher.verifier); in testCreateSearchSession() 125 assertEquals(mWatcher.searchContext.getPackageName(), getContext().getPackageName()); in testCreateSearchSession() 126 assertEquals(mWatcher.searchContext.getResultTypes(), RESULT_TYPES); in testCreateSearchSession() [all …]
|
/cts/tests/musicrecognition/src/android/musicrecognition/cts/ |
D | MusicRecognitionManagerTest.java | 87 private CtsMusicRecognitionService.Watcher mWatcher; field in MusicRecognitionManagerTest 98 mWatcher = CtsMusicRecognitionService.setWatcher(); in setUp() 106 mWatcher = null; in tearDown() 136 mWatcher.failureCode = MusicRecognitionManager.RECOGNITION_FAILED_NO_CONNECTIVITY; in testOnRecognitionFailed() 148 mWatcher.result = new MediaMetadata.Builder() in testOnRecognitionSucceeded() 157 eq(mWatcher.result), eq(null)); in testOnRecognitionSucceeded() 160 assertThat(mWatcher.stream).hasLength(256_000 - 32_000); in testOnRecognitionSucceeded() 166 mWatcher.result = new MediaMetadata.Builder().build(); in testRemovesBindersFromBundle() 167 mWatcher.resultExtras = new Bundle(); in testRemovesBindersFromBundle() 168 mWatcher.resultExtras.putString("stringKey", "stringValue"); in testRemovesBindersFromBundle() [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ActivityLauncher.java | 34 private final ActivityWatcher mWatcher; field in ActivityLauncher 40 mWatcher = watcher.watch(activityClass); in ActivityLauncher() 50 return mWatcher; in getWatcher()
|
/cts/tests/contentsuggestions/src/android/contentsuggestions/cts/ |
D | ContentSuggestionsManagerTest.java | 73 private CtsContentSuggestionsService.Watcher mWatcher; field in ContentSuggestionsManagerTest 77 mWatcher = CtsContentSuggestionsService.setWatcher(); in setup() 92 await(mWatcher.created, "Waiting for create"); in setup() 93 reset(mWatcher.verifier); in setup() 99 Log.d(TAG, "Starting tear down, watcher is: " + mWatcher); in tearDown() 101 await(mWatcher.destroyed, "Waiting for service destroyed"); in tearDown() 103 mWatcher = null; in tearDown() 169 return verify(mWatcher.verifier, timeout(VERIFY_TIMEOUT_MS)); in verifyService()
|
/cts/tests/app/AppExitTest/src/android/app/cts/ |
D | ActivityManagerAppExitInfoTest.java | 125 private WatchUidRunner mWatcher; field in ActivityManagerAppExitInfoTest 149 mWatcher = new WatchUidRunner(mInstrumentation, mStubPackageUid, WAITFOR_MSEC); in setUp() 226 mWatcher.finish(); in tearDown() 326 WatchUidRunner watcher = other ? mOtherUidWatcher : mWatcher; in startService() 562 waitForGone(mWatcher); in testAnr() 723 waitForGone(mWatcher); in testPermissionChange() 776 waitForGone(mWatcher); in testPermissionChangeWithReason() 809 waitForGone(mWatcher); in testCrash() 869 waitForGone(mWatcher); in testUserRequested() 913 waitForGone(mWatcher); in testDependencyDied()
|