/cts/suite/audio_quality/lib/src/ |
Adb.h | 36 android::String8 mDevice;
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/ |
CellBroadcastSettingsTest.java | 41 private UiDevice mDevice; 47 mDevice = UiDevice.getInstance(mInstrumentation); 54 mDevice.wakeUp(); 55 mDevice.pressMenu(); 65 mDevice.setOrientationLeft(); 66 mDevice.setOrientationNatural(); 67 mDevice.setOrientationRight();
|
/frameworks/av/media/libaudiohal/2.0/ |
DeviceHalHidl.h | 117 sp<IDevice> mDevice;
|
/packages/apps/Traceur/uitests/src/com/android/settings/ui/ |
TraceurAppTests.java | 43 private UiDevice mDevice; 47 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); 50 mDevice.setOrientationNatural(); 61 mDevice.wait(Until.hasObject(By.pkg(TRACEUR_PACKAGE).depth(0)), TIMEOUT); 67 mDevice.pressBack(); 68 mDevice.pressHome(); 75 mDevice.wait(Until.findObject(By.text("Record trace")), 78 mDevice.wait(Until.findObject(By.text("Trace debuggable applications")), 81 mDevice.wait(Until.findObject(By.text("Categories")), 84 mDevice.wait(Until.findObject(By.text("Restore default categories")) [all...] |
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
SyncSettingsTest.java | 42 private UiDevice mDevice; 46 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); 49 mDevice.setOrientationNatural(); 58 mDevice.pressHome(); 66 UiObject2 addAccount = mDevice.wait(
|
ConnectedDeviceTests.java | 46 private UiDevice mDevice; 50 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); 52 mDevice.setOrientationNatural(); 60 mDevice.pressBack(); 61 mDevice.pressHome(); 77 UiObject2 nfcSetting = mDevice.wait(Until.findObject(By.text("NFC")), TIMEOUT);
|
DataUsageSettingsTests.java | 33 private UiDevice mDevice; 38 mDevice = UiDevice.getInstance(getInstrumentation()); 40 mDevice.setOrientationNatural(); 49 mDevice.pressBack(); 50 mDevice.pressHome(); 58 mDevice.wait(Until.findObject(By.text("Usage")), 61 mDevice.wait(Until.findObject(By.res(SETTINGS_PACKAGE, 64 mDevice.wait(Until.findObject(By.text("Wi-Fi data usage")), 67 mDevice.wait(Until.findObject(By.text("Network restrictions")), 74 mDevice.wait(Unti [all...] |
BatterySettingsUITest.java | 44 private UiDevice mDevice; 49 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); 52 mDevice.setOrientationNatural(); 61 mDevice.pressHome(); 71 SettingsTestUtils.assertTitleMatch(mDevice, category);
|
HomepageDisplayTests.java | 61 private UiDevice mDevice; 65 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); 67 mDevice.setOrientationNatural(); 76 mDevice.pressHome(); 87 final UiObject2 view = mDevice.wait( 94 SettingsTestUtils.assertTitleMatch(mDevice, item);
|
/frameworks/av/media/libaudiohal/4.0/ |
DeviceHalHidl.h | 118 sp<IDevice> mDevice;
|
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/edit/ |
EditMedicalInfoActivityTest.java | 43 private UiDevice mDevice; 50 mDevice = UiDevice.getInstance(mInstrumentation); 51 mInitialRotation = mDevice.getDisplayRotation(); 60 mDevice.setOrientationRight(); 63 mDevice.setOrientationLeft(); 66 mDevice.setOrientationNatural(); 85 mDevice.setOrientationLeft(); 86 mDevice.setOrientationNatural(); 87 mDevice.setOrientationRight();
|
/platform_testing/tests/functional/overviewtests/src/com/android/overview/functional/ |
MultiWindowTests.java | 52 private UiDevice mDevice; 61 mDevice = UiDevice.getInstance(getInstrumentation()); 64 mDevice.setOrientationNatural(); 65 mLauncherStrategy = LauncherStrategyFactory.getInstance(mDevice).getLauncherStrategy(); 66 mOverviewHelper = new OverviewHelper(mDevice, getInstrumentation()); 71 mDevice.pressHome(); 72 mDevice.unfreezeRotation(); 73 mDevice.waitForIdle(); 78 return mDevice.getLauncherPackageName(); 86 mDevice.click(mDevice.getDisplayHeight() * 3/4, mDevice.getDisplayWidth() / 2) [all...] |
OverviewHelper.java | 49 private UiDevice mDevice; 55 this.mDevice = device; 61 return mDevice.getLauncherPackageName(); 86 mDevice.pressRecentApps(); 87 mDevice.waitForIdle(); 88 return mDevice.wait(Until.findObject(By.res(RECENTS)), TIMEOUT); 115 mDevice.swipe(r.width() / 2, top, r.width() / 2, bottom, 5); 116 mDevice.waitForIdle(); 127 mDevice.pressRecentApps(); 128 mDevice.waitForIdle() [all...] |
RecentsTests.java | 49 private UiDevice mDevice; 57 mDevice = UiDevice.getInstance(getInstrumentation()); 59 mDevice.setOrientationNatural(); 60 mLauncherStrategy = LauncherStrategyFactory.getInstance(mDevice).getLauncherStrategy(); 61 mOverviewHelper = new OverviewHelper(mDevice, getInstrumentation()); 66 mDevice.pressHome(); 67 mDevice.unfreezeRotation(); 68 mDevice.waitForIdle(); 84 UiObject2 dismissCalculator = mDevice.wait(Until.findObject 88 mDevice.waitForIdle() [all...] |
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
UiBenchTransitionsJankTests.java | 37 private UiDevice mDevice; 43 mDevice = UiDevice.getInstance(getInstrumentation()); 44 mDevice.setOrientationNatural(); 46 this.getInstrumentation().getContext(), mDevice); 51 mDevice.unfreezeRotation(); 63 UiObject2 image = mDevice.wait(Until.findObject( 67 mDevice.pressBack();
|
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/ |
LiveChannelsTestController.java | 55 private UiDevice mDevice; 95 mDevice = UiDevice.getInstance(mInstrumentation); 97 menuHelper = new MenuHelper(mDevice, mTargetResources); 98 sidePanelHelper = new SidePanelHelper(mDevice, mTargetResources); 99 liveChannelsHelper = new LiveChannelsUiDeviceHelper(mDevice, mTargetResources, context); 112 if (mDevice.hasObject(Constants.SIDE_PANEL) 113 || mDevice.hasObject(Constants.MENU) 114 || mDevice.hasObject(Constants.PROGRAM_GUIDE)) { 115 mDevice.pressBack(); 118 mDevice.pressBack() [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
CaptureSessionCreator.java | 34 private final CameraDeviceProxy mDevice; 43 mDevice = device; 58 mDevice.createCaptureSession(surfaces, new CameraCaptureSessionProxy.StateCallback() {
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
KeyboardBot.java | 39 mDevice.pressBack(); 58 mDevice.pressKeyCode(keyCode); 62 mDevice.pressKeyCode(keyCode, metaState);
|
/packages/apps/Settings/tests/unit/src/com/android/settings/ |
DisplaySettingsTest.java | 41 private UiDevice mDevice; 47 mDevice = UiDevice.getInstance(mInstrumentation); 56 mDevice.pressBack(); // dismiss the brightness dialog
|
/packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/ |
ProgramGuideJankTest.java | 51 mMenuHelper = new MenuHelper(mDevice, mTargetResources); 52 Utils.pressKeysForChannelNumber(STARTING_CHANNEL, mDevice); 76 mDevice.pressDPadDown(); 90 mDevice.pressDPadRight(); 98 mDevice.waitForIdle(); 105 mDevice.pressDPadCenter(); 106 assertWaitForCondition(mDevice, Until.hasObject(Constants.PROGRAM_GUIDE)); 107 mDevice.pressBack(); 112 mDevice.pressBack(); 113 assertWaitForCondition(mDevice, Until.gone(Constants.PROGRAM_GUIDE)) [all...] |
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/ |
SettingsJankTests.java | 54 private UiDevice mDevice; 57 mDevice = UiDevice.getInstance(getInstrumentation()); 60 mDevice.setOrientationNatural(); 65 mDevice.pressHome(); 66 mDevice.waitForIdle(); 73 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), TIMEOUT); 79 mDevice.unfreezeRotation(); 84 UiObject2 list = mDevice.wait(Until.findObject(SETTINGS_DASHBOARD), TIMEOUT); 87 mDevice.wait(Until.findObject(By.text("SEE ALL")), TIMEOUT).click(); 88 list = mDevice.wait(Until.findObject(SETTINGS_DASHBOARD), TIMEOUT) [all...] |
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/ |
SystemAppJankTests.java | 43 private UiDevice mDevice; 47 mDevice = UiDevice.getInstance(getInstrumentation()); 56 mDevice.pressHome(); 61 mDevice.pressHome(); 65 UiObject2 youtubeScreen = mDevice.wait( 82 mDevice.pressDPadRight(); 85 UiObject2 youtubeScreen = mDevice.wait( Until.findObject(By.scrollable(true) 102 mDevice.pressDPadDown(); 106 mDevice.pressDPadUp();
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
OverviewHelper.java | 51 private UiDevice mDevice = null; 58 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); 77 mDevice.pressRecentApps(); 78 mDevice.waitForIdle(); 79 return mDevice.wait(Until.findObject(By.res(RECENTS)), TIMEOUT); 128 while (mDevice.hasObject(By.textContains("has stopped"))) { 129 UiObject2 crashDialog = mDevice.findObject(By.text("Close")); 152 mDevice.swipe(r.width() / 2, top, r.width() / 2, bottom, 5); 153 mDevice.waitForIdle(); 164 mDevice.pressRecentApps() [all...] |
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/ |
PackageManagerOTATestUtils.java | 44 private ITestDevice mDevice = null; 54 mDevice = device; 64 File prop = mDevice.pullFile("/data/local.prop"); 65 mDevice.rebootIntoBootloader(); 66 mDevice.fastbootWipePartition(USERDATA_PARTITION); 67 mDevice.rebootUntilOnline(); 69 mDevice.pushFile(prop, "/data/local.prop"); 70 mDevice.executeShellCommand("chmod 644 /data/local.prop"); 71 mDevice.reboot(); 84 mDevice.remountSystemWritable() [all...] |
/cts/tests/jank/src/android/jank/cts/ |
CtsJankTestBase.java | 31 private UiDevice mDevice; 57 mDevice = UiDevice.getInstance(getInstrumentation()); 58 mDevice.setOrientationNatural(); 65 mDevice.unfreezeRotation(); 70 return mDevice;
|