Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 25 of 218) sorted by relevance

123456789

/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DMoreWirelessSettingsTest2.java156 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 …]
DNotificationSettingsTests.java76 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 …]
DLocationSettingsTests.java65 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 …]
DAppsSettingsTests.java71 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()
DDataUsageSettingsTests.java57 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()
DAppsSettingsRetainFilterTests.java62 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()
DZonePickerSettingsTest.java98 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()
DMoreWirelessSettingsTests.java75 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()
DSoundSettingsTest.java270 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()
/packages/apps/Traceur/uitests/src/com/android/traceur/uitest/
DTraceurAppTests.java78 mDevice.wait(Until.hasObject(By.pkg(TRACEUR_PACKAGE).depth(0)), TIMEOUT); in setUp()
131 mDevice.wait(Until.findObject(By.text("Record trace")), in testElementsOnMainScreen()
134 mDevice.wait(Until.findObject(By.text("Trace debuggable applications")), in testElementsOnMainScreen()
137 mDevice.wait(Until.findObject(By.text("Categories")), in testElementsOnMainScreen()
140 mDevice.wait(Until.findObject(By.text("Restore default categories")), in testElementsOnMainScreen()
143 mDevice.wait(Until.findObject(By.text("Per-CPU buffer size")), in testElementsOnMainScreen()
146 mDevice.wait(Until.findObject(By.text("Clear saved traces")), in testElementsOnMainScreen()
149 mDevice.wait(Until.findObject(By.text("Long traces")), in testElementsOnMainScreen()
152 mDevice.wait(Until.findObject(By.text("Maximum long trace size")), in testElementsOnMainScreen()
155 mDevice.wait(Until.findObject(By.text("Maximum long trace duration")), in testElementsOnMainScreen()
[all …]
/packages/apps/Nfc/nci/jni/
DRoutingManager.cpp144 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 …]
DSyncEvent.h57 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()
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DSimImportActivityTest.java148 assertTrue(mDevice.wait(Until.hasObject(By.text("Sim One")), TIMEOUT)); in shouldDisplaySimContacts()
164 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("No contacts")), TIMEOUT)); in shouldHaveEmptyState()
175 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("No contacts")), TIMEOUT)); in smokeRotateInEmptyState()
181 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("No contacts")), TIMEOUT)); in smokeRotateInEmptyState()
193 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("Name One")), TIMEOUT)); in smokeRotateInNonEmptyState()
199 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("Name One")), TIMEOUT)); in smokeRotateInNonEmptyState()
266 assertTrue(mDevice.wait(Until.hasObject(By.desc("Show more")), TIMEOUT)); in selectionsAreImportedAndDisabledOnSubsequentImports()
271 assertTrue(mDevice.wait(Until.hasObject(By.text("Skip Two")), TIMEOUT)); in selectionsAreImportedAndDisabledOnSubsequentImports()
282 mDevice.wait(Until.hasObject(By.text("Import One")), TIMEOUT); in selectionsAreImportedAndDisabledOnSubsequentImports()
284 mDevice.wait(Until.hasObject(By.text("Import One")), TIMEOUT); in selectionsAreImportedAndDisabledOnSubsequentImports()
[all …]
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/
DWakelockAnomalyTest.java79 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()
DBluetoothAnomalyTest.java78 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/modules/NeuralNetworks/runtime/test/
DPreparedModelCallback.cpp61 void PreparedModelCallback::wait() const { in wait() function in android::nn::PreparedModelCallback
63 mCondition.wait(lock, [this] { return mNotified; }); in wait()
67 wait(); in getStatus()
72 wait(); in getPreparedModel()
77 wait(); in isDeadObject()
/packages/modules/NeuralNetworks/runtime/
DExecutionCallback.cpp34 void ExecutionCallback::wait() const { in wait() function in android::nn::ExecutionCallback
36 mCondition.wait(lock, [this] { return mNotified; }); in wait()
55 wait(); in getStatus()
60 wait(); in getOutputShapes()
65 wait(); in getTiming()
DEvent.h34 virtual ErrorStatus wait() const = 0;
46 ErrorStatus wait() const override { in wait() function
47 kExecutionCallback->wait(); in wait()
79 ErrorStatus wait() const override { in wait() function
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionServiceSystemTest.java108 mWorker.wait(2000); in testChatActionSucceeds()
130 tracker.wait(2000); in testChatActionSucceeds()
156 mWorker.wait(2000); in testChatActionFails()
176 tracker.wait(2000); in testChatActionFails()
197 mWorker.wait(2000); in testChatActionNoMonitor()
214 mWorker.wait(2000); in testChatActionNoMonitor()
241 mWorker.wait(2000); in testChatActionUnregisterListener()
264 mWorker.wait(2000); in testChatActionUnregisterListener()
/packages/services/Car/cpp/evs/sampleDriver/
DConfigManager.h134 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/adb/pairing_connection/tests/
Dpairing_connection_test.cpp349 client_waiter.cv_.wait(client_lock, [&]() { return client_waiter.is_valid_.has_value(); }); in TEST_F()
362 server_waiter.cv_.wait(server_lock, [&]() { return server_waiter.is_valid_.has_value(); }); in TEST_F()
388 client_waiter.cv_.wait(client_lock, [&]() { return client_waiter.is_valid_.has_value(); }); in TEST_F()
424 client_waiter.cv_.wait(client_lock, in TEST_F()
435 global_cv_.wait(global_clients_lock, [&]() { return num_clients_done == test_num_clients; }); in TEST_F()
470 client_waiter.cv_.wait(client_lock, in TEST_F()
490 global_cv_.wait(global_clients_lock, [&]() { return num_clients_done == test_num_clients; }); in TEST_F()
491 server_waiter.cv_.wait(server_lock, [&]() { return server_waiter.is_valid_.has_value(); }); in TEST_F()
/packages/modules/StatsD/statsd/tests/utils/
DMultiConditionTrigger_test.cpp66 cv.wait(unique_lk, [&triggerCalled] { in TEST()
93 cv.wait(unique_lk, [&triggerCalled] { return triggerCalled; }); in TEST()
125 cv.wait(unique_lk, [&triggerCalled] { return triggerCalled; }); in TEST()
152 cv.wait(unique_lk, [&triggerCalled] { return triggerCalled; }); in TEST()
/packages/modules/Virtualization/microdroid/
Dfstab1 system /system ext4 noatime,ro,errors=panic wait,first_stage_mount,logical
2 vendor /vendor ext4 noatime,ro,errors=panic wait,first_stage_mount,logical
5 /dev/block/by-name/userdata /data ext4 noatime,nosuid,nodev,errors=panic latemount,wait,check
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/testutils/
DSettingsTestUtils.java36 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/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLauncherInstrumentation.java371 if (!mDevice.wait(Until.hasObject(getAnyObjectSelector()), WAIT_TIME_MS)) { in getSystemAnomalyMessage()
559 if (!mDevice.wait(Until.hasObject(By.res(SYSTEMUI_PACKAGE, "recent_apps")), waitTime)) { in getNavigationModeMismatchError()
563 if (!mDevice.wait(Until.gone(By.res(SYSTEMUI_PACKAGE, "recent_apps")), waitTime)) { in getNavigationModeMismatchError()
569 if (!mDevice.wait(Until.gone(By.res(SYSTEMUI_PACKAGE, "home")), waitTime)) { in getNavigationModeMismatchError()
573 if (!mDevice.wait(Until.hasObject(By.res(SYSTEMUI_PACKAGE, "home")), waitTime)) { in getNavigationModeMismatchError()
879 mDevice.wait(Until.gone(launcherSelector), in waitUntilGoneBySelector()
889 final UiObject2 object = mDevice.wait( in waitForSystemUiObject()
918 final UiObject2 object = container.wait( in waitForObjectInContainer()
934 object.wait(Until.enabled(true), WAIT_TIME_MS)); in waitForObjectEnabled()
943 final UiObject2 object = container.wait( in waitForObjectInContainer()
[all …]

123456789