/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | MoreWirelessSettingsTest2.java | 156 UiObject2 configureWiFiHeading = mDevice.wait(Until.findObject in testWifiMenuLoadConfigure() 176 assertFalse(mDevice.wait(Until.findObject( in testAddNetworkMenu_Default() 178 assertTrue(mDevice.wait(Until.findObject( in testAddNetworkMenu_Default() 182 assertEquals("Enter the SSID", mDevice.wait(Until.findObject(By in testAddNetworkMenu_Default() 188 assertEquals("None", mDevice.wait(Until.findObject(By in testAddNetworkMenu_Default() 194 assertFalse(mDevice.wait(Until.findObject(By in testAddNetworkMenu_Default() 206 mDevice.wait(Until.findObject(By in testAddNetworkMenu_Proxy() 215 assertEquals("None", mDevice.wait(Until.findObject(proxySettingsBySelector), TIMEOUT) in testAddNetworkMenu_Proxy() 220 mDevice.wait(Until.findObject(proxySettingsBySelector), TIMEOUT).click(); in testAddNetworkMenu_Proxy() 221 mDevice.wait(Until.findObject(By.text("Manual")), TIMEOUT).click(); in testAddNetworkMenu_Proxy() [all …]
|
D | NotificationSettingsTests.java | 76 UiObject2 configureNotifications = mDevice.wait( in testNotificationsSettingsListForCalculator() 79 mDevice.wait(Until.findObject(By.text("Blink light")), TIMEOUT); in testNotificationsSettingsListForCalculator() 80 UiObject2 appNotifications = mDevice.wait( in testNotificationsSettingsListForCalculator() 84 mDevice.wait( in testNotificationsSettingsListForCalculator() 87 UiObject2 app = mDevice.wait(Until.findObject(By.text("Calculator")), TIMEOUT); in testNotificationsSettingsListForCalculator() 94 UiObject2 configureNotifications = mDevice.wait( in testNotificationsSettingsListForPhone() 97 mDevice.wait(Until.findObject(By.text("Blink light")), TIMEOUT); in testNotificationsSettingsListForPhone() 98 UiObject2 appNotifications = mDevice.wait( in testNotificationsSettingsListForPhone() 102 mDevice.wait( in testNotificationsSettingsListForPhone() 107 UiObject2 apps = mDevice.wait(Until.findObject(preferenceListSelector), TIMEOUT); in testNotificationsSettingsListForPhone() [all …]
|
D | LocationSettingsTests.java | 65 UiObject2 settingsPanel = mDevice.wait(Until.findObject in testLoadingLocationSettings() 70 locationTitle = mDevice.wait(Until.findObject(By.text("Location")), TIMEOUT); in testLoadingLocationSettings() 80 mDevice.wait(Until.findObject(By.text("Location services")), TIMEOUT)); in testLoadingLocationSettings() 129 mDevice.wait(Until.findObject(By.text(element)), TIMEOUT)); in testLocationSettingsElements() 139 mDevice.wait(Until.findObject(By.desc("Help & feedback")), TIMEOUT)); in testLocationSettingsOverflowMenuElements() 142 mDevice.wait(Until.findObject(By.text("Scanning")), TIMEOUT)); in testLocationSettingsOverflowMenuElements() 162 mDevice.wait(Until.findObject(By.text("Mode")), TIMEOUT).click(); in verifyLocationSettingsMode() 164 assertNotNull("Location mode screen not loaded", mDevice.wait(Until.findObject in verifyLocationSettingsMode() 167 mDevice.wait(Until.findObject(By.text(textMode)), TIMEOUT).click(); in verifyLocationSettingsMode() 170 mDevice.wait(Until.findObject(By.desc("Navigate up")), TIMEOUT).click(); in verifyLocationSettingsMode() [all …]
|
D | AppsSettingsTests.java | 71 mDevice.wait( in setUp() 86 UiObject2 calculator = mDevice.wait( in testAppSettingsListForCalculator() 91 mDevice.wait( in testAppSettingsListForCalculator() 101 UiObject2 calculator = mDevice.wait( in testDisablingAndEnablingSystemApp() 105 UiObject2 appInfoList = mDevice.wait( in testDisablingAndEnablingSystemApp() 108 UiObject2 disableButton = mDevice.wait( in testDisablingAndEnablingSystemApp() 113 mDevice.wait( in testDisablingAndEnablingSystemApp() 116 UiObject2 enableButton = mDevice.wait( in testDisablingAndEnablingSystemApp() 121 disableButton = mDevice.wait( in testDisablingAndEnablingSystemApp()
|
D | DataUsageSettingsTests.java | 57 mDevice.wait(Until.findObject(By.text("Usage")), in testElementsOnDataUsageScreen() 60 mDevice.wait(Until.findObject(By.res(SETTINGS_PACKAGE, in testElementsOnDataUsageScreen() 63 mDevice.wait(Until.findObject(By.text("Wi-Fi data usage")), in testElementsOnDataUsageScreen() 66 mDevice.wait(Until.findObject(By.text("Network restrictions")), in testElementsOnDataUsageScreen() 73 mDevice.wait(Until in launchDataUsageSettings() 77 assertNotNull("Network & internet screen not loaded", mDevice.wait( in launchDataUsageSettings() 79 mDevice.wait(Until in launchDataUsageSettings()
|
D | AppsSettingsRetainFilterTests.java | 62 UiObject2 calculator = mDevice.wait( in testDisablingSystemAppAndRotateDevice() 68 UiObject2 disableButton = mDevice.wait( in testDisablingSystemAppAndRotateDevice() 75 UiObject2 dialogDisableButton = mDevice.wait( in testDisablingSystemAppAndRotateDevice() 81 UiObject2 enableButton = mDevice.wait( in testDisablingSystemAppAndRotateDevice() 88 UiObject2 spinnerHeader = mDevice.wait( in testDisablingSystemAppAndRotateDevice() 93 UiObject2 optionDisabledApps = mDevice.wait( in testDisablingSystemAppAndRotateDevice() 113 UiObject2 spinnerDisabledApps = mDevice.wait( in testDisablingSystemAppAndRotateDevice()
|
D | ZonePickerSettingsTest.java | 98 UiObject2 selectTimeZone = wait(SELECTOR_SELECT_TIME_ZONE); in zonePickerDisabled() 120 UiObject2 selectTimeZone = wait(SELECTOR_SELECT_TIME_ZONE); in testSelectTimeZone() 124 wait(By.text("Region")).click(); in testSelectTimeZone() 126 wait(By.res("android", "search_src_text")).setText(region.substring(0, 2)); in testSelectTimeZone() 133 wait(By.text("Time zone")); in testSelectTimeZone() 195 private UiObject2 wait(BySelector selector) throws UiObjectNotFoundException { in wait() method in ZonePickerSettingsTest 196 UiObject2 item = mDevice.wait(Until.findObject(selector), TIMEOUT); in wait()
|
D | MoreWirelessSettingsTests.java | 75 mDevice.wait(Until in testTetheringMenuLoad() 79 UiObject2 usbTethering = mDevice.wait(Until in testTetheringMenuLoad() 88 mDevice.wait(Until in testVPNMenuLoad() 92 UiObject2 usbTethering = mDevice.wait(Until in testVPNMenuLoad() 121 mDevice.wait(Until in toggleAirplaneModeSwitch()
|
D | SoundSettingsTest.java | 270 mDevice.wait(Until.findObject(By.text("SAVE")), TIMEOUT).click(); in verifyRingtone() 273 mDevice.wait(Until.findObject(By.text("OK")), TIMEOUT).click(); in verifyRingtone() 310 UiObject2 more = mDevice.wait(Until.findObject(By.text("Advanced")), TIMEOUT); in clickMore() 320 UiObject2 ringToneObject = mDevice.wait(Until.findObject(By.text(ringtone)), TIMEOUT); in findRingtoneInList() 325 ringToneObject = mDevice.wait(Until.findObject(By.text(ringtone)), TIMEOUT); in findRingtoneInList()
|
D | AboutPhoneSettingsTests.java | 80 mDevice.wait( in setUp() 112 UiObject2 item = device.wait(Until.findObject(By.text(itemText)), TIMEOUT); in removeItemsAndTakeAction() 138 device.wait( in searchForItemsAndTakeAction()
|
/packages/apps/Traceur/uitests/src/com/android/traceur/uitest/ |
D | TraceurAppTests.java | 77 mDevice.wait(Until.hasObject(By.pkg(TRACEUR_PACKAGE).depth(0)), TIMEOUT); in setUp() 92 mDevice.wait(Until.findObject(By.text("Record trace")), in testElementsOnMainScreen() 95 mDevice.wait(Until.findObject(By.text("Trace debuggable applications")), in testElementsOnMainScreen() 98 mDevice.wait(Until.findObject(By.text("Categories")), in testElementsOnMainScreen() 101 mDevice.wait(Until.findObject(By.text("Restore default categories")), in testElementsOnMainScreen() 104 mDevice.wait(Until.findObject(By.text("Per-CPU buffer size")), in testElementsOnMainScreen() 115 mDevice.wait(Until.findObject(By.text("Clear saved traces")), in testElementsOnMainScreen() 118 mDevice.wait(Until.findObject(By.text("Long traces")), in testElementsOnMainScreen() 121 mDevice.wait(Until.findObject(By.text("Maximum long trace size")), in testElementsOnMainScreen() 124 mDevice.wait(Until.findObject(By.text("Maximum long trace duration")), in testElementsOnMainScreen() [all …]
|
/packages/apps/Nfc/nci/jni/ |
D | RoutingManager.cpp | 144 mEeRegisterEvent.wait(); in initialize() 152 mEeInfoEvent.wait(); in initialize() 190 mRoutingEvent.wait(); in enableRoutingToHost() 201 mRoutingEvent.wait(); in enableRoutingToHost() 214 mRoutingEvent.wait(); in enableRoutingToHost() 227 mRoutingEvent.wait(); in enableRoutingToHost() 240 mRoutingEvent.wait(); in enableRoutingToHost() 256 mRoutingEvent.wait(); in disableRoutingToHost() 266 mRoutingEvent.wait(); in disableRoutingToHost() 276 mRoutingEvent.wait(); in disableRoutingToHost() [all …]
|
D | SyncEvent.h | 57 void wait() { mCondVar.wait(mMutex); } in wait() function 69 bool wait(long millisec) { in wait() function 70 bool retVal = mCondVar.wait(mMutex, millisec); in wait()
|
D | CondVar.h | 58 void wait(Mutex& mutex); 70 bool wait(Mutex& mutex, long millisec);
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
D | SimImportActivityTest.java | 146 assertTrue(mDevice.wait(Until.hasObject(By.text("Sim One")), TIMEOUT)); in shouldDisplaySimContacts() 162 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("No contacts")), TIMEOUT)); in shouldHaveEmptyState() 173 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("No contacts")), TIMEOUT)); in smokeRotateInEmptyState() 179 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("No contacts")), TIMEOUT)); in smokeRotateInEmptyState() 191 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("Name One")), TIMEOUT)); in smokeRotateInNonEmptyState() 197 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("Name One")), TIMEOUT)); in smokeRotateInNonEmptyState() 263 assertTrue(mDevice.wait(Until.hasObject(By.desc("Show more")), TIMEOUT)); in selectionsAreImportedAndDisabledOnSubsequentImports() 268 assertTrue(mDevice.wait(Until.hasObject(By.text("Skip Two")), TIMEOUT)); in selectionsAreImportedAndDisabledOnSubsequentImports() 279 mDevice.wait(Until.hasObject(By.text("Import One")), TIMEOUT); in selectionsAreImportedAndDisabledOnSubsequentImports() 281 mDevice.wait(Until.hasObject(By.text("Import One")), TIMEOUT); in selectionsAreImportedAndDisabledOnSubsequentImports() [all …]
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/ |
D | WakelockAnomalyTest.java | 79 TestUtils.wait(mDevice, durationMs - TIME_OUT); in testWakelockAnomaly_longTimeWhileRunning_report() 85 mDevice.wait(Until.findObject(By.text("AnomalyTester draining battery")), in testWakelockAnomaly_longTimeWhileRunning_report() 100 TestUtils.wait(mDevice, durationMs); in testWakelockAnomaly_shortTime_notReport() 106 mDevice.wait(Until.findObject(By.text("AnomalyTester draining battery")), in testWakelockAnomaly_shortTime_notReport() 123 TestUtils.wait(mDevice, durationMs + TIME_OUT); in testWakelockAnomaly_longTimeWhileNotRunning_notReport() 129 mDevice.wait(Until.findObject(By.text("AnomalyTester draining battery")), in testWakelockAnomaly_longTimeWhileNotRunning_notReport()
|
D | BluetoothAnomalyTest.java | 78 TestUtils.wait(mDevice, durationMs); in testBluetoothAnomaly_longScanningTime_reportAnomaly() 84 mDevice.wait(Until.findObject(By.text("AnomalyTester draining battery")), in testBluetoothAnomaly_longScanningTime_reportAnomaly() 99 TestUtils.wait(mDevice, durationMs); in testBluetoothAnomaly_shortScanningTime_notReport() 105 mDevice.wait(Until.findObject(By.text("AnomalyTester draining battery")), in testBluetoothAnomaly_shortScanningTime_notReport()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ActionServiceSystemTest.java | 109 mWorker.wait(2000); in testChatActionSucceeds() 131 tracker.wait(2000); in testChatActionSucceeds() 157 mWorker.wait(2000); in testChatActionFails() 177 tracker.wait(2000); in testChatActionFails() 198 mWorker.wait(2000); in testChatActionNoMonitor() 215 mWorker.wait(2000); in testChatActionNoMonitor() 242 mWorker.wait(2000); in testChatActionUnregisterListener() 265 mWorker.wait(2000); in testChatActionUnregisterListener()
|
/packages/services/Car/evs/sampleDriver/ |
D | ConfigManager.h | 134 mConfigCond.wait(lock, [this] { return mIsReady; }); in getSystemInfo() 148 mConfigCond.wait(lock, [this] { return mIsReady; }); in getCameraIdList() 168 mConfigCond.wait(lock, [this] { return mIsReady; }); in getCameraGroupIdList() 186 mConfigCond.wait(lock, [this] { return mIsReady; }); in getCameraGroupInfo() 204 mConfigCond.wait(lock, [this] { return mIsReady; }); in getCameraInfo()
|
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
D | DownloadServiceTest.kt | 221 assertTrue(device.wait(Until.hasObject( in makeDownloadIntent() 230 assertTrue(device.wait(Until.hasObject(By.res(NOTIFICATION_SHADE_TYPE).hasDescendant( in makeDownloadIntent() 253 assertTrue(device.wait(Until.hasObject( in makeDownloadIntent() 281 val note = device.wait(Until.findObject(By.text(doneText)), TEST_TIMEOUT_MS) in testTapDoneNotification() 287 assertTrue(device.wait(Until.hasObject(By.text(fileContents)), TEST_TIMEOUT_MS)) in testTapDoneNotification() 293 assertTrue(device.wait(Until.hasObject(By.res(NOTIFICATION_SHADE_TYPE)), TEST_TIMEOUT_MS)) in openNotificationShade()
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/testutils/ |
D | SettingsTestUtils.java | 36 view = device.wait( in scrollToTop() 49 item = device.wait(Until.findObject(By.res("android:id/title").text(title)), TIMEOUT); in assertTitleMatch() 51 view = device.wait( in assertTitleMatch()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/ |
D | StateMachineTest.java | 219 smQuitTest.wait(); in testStateMachineQuit() 323 smQuitNowTest.wait(); in testStateMachineQuitNow() 528 smEnterExitTranstionToTest.wait(); in testStateMachineEnterExitTransitionToTest() 651 sm0.wait(); in testStateMachine0() 752 sm1.wait(); in testStateMachine1() 859 sm2.wait(); in testStateMachine2() 953 sm3.wait(); in testStateMachine3() 1049 sm4.wait(); in testStateMachine4() 1348 sm5.wait(); in testStateMachine5() 1471 sm6.wait(); in testStateMachine6() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/pm/ |
D | ActivityBlockingActivityTest.java | 94 assertThat(mDevice.wait(Until.findObject(By.text( in testBlockingActivity_doActivity_isNotBlocked() 104 assertThat(mDevice.wait(Until.findObject(By.res(ACTIVITY_BLOCKING_ACTIVITY_TEXTVIEW_ID)), in testBlockingActivity_nonDoActivity_isBlocked() 144 assertThat(mDevice.wait(Until.findObject(By.res(ACTIVITY_BLOCKING_ACTIVITY_TEXTVIEW_ID)), in testBlockingActivity_nonDoNoHistory_isBlocked() 149 assertThat(mDevice.wait(Until.gone(By.res(ACTIVITY_BLOCKING_ACTIVITY_TEXTVIEW_ID)), in assertBlockingActivityNotFound()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/ |
D | UiDeviceAsserts.java | 42 assertTrue(uiObject.wait(Until.focused(true), Constants.MAX_FOCUSED_DELAY_MILLIS)); in assertWaitUntilFocused() 88 return uiDevice.wait(searchCondition, adjustedTimeout); in waitForCondition() 118 container.wait( in assertNavigateTo()
|
/packages/services/Car/tests/BugReportApp/utils/ |
D | bugreport_app_tester_test.py | 48 self._mock_popen.wait.return_value = 0 57 self._mock_popen.wait = SimpleMagicMock(return_value=1) 63 self._mock_popen.wait.return_value = 0
|