/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
SecuritySettingsLaunchTest.java | 45 private UiDevice mDevice; 50 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); 53 mDevice.setOrientationNatural(); 62 mDevice.pressHome(); 72 SettingsTestUtils.assertTitleMatch(mDevice, category);
|
StorageSettingsUITest.java | 47 private UiDevice mDevice; 53 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); 57 mDevice.setOrientationNatural(); 65 mDevice.pressHome(); 76 SettingsTestUtils.assertTitleMatch(mDevice, category);
|
AboutPhoneSettingsTests.java | 59 private UiDevice mDevice; 65 mDevice = UiDevice.getInstance(mInstrumentation); 67 mDevice.setOrientationNatural(); 73 mDevice.pressHome(); 79 mDevice.wait( 89 mDevice.pressBack(); 90 mDevice.pressHome(); // finish settings activity 91 mDevice.waitForIdle(TIMEOUT * 2); // give UI time to finish animating 96 searchForItemsAndTakeAction(mDevice, sResourceTexts);
|
MoreWirelessSettingsTests.java | 35 private UiDevice mDevice; 40 mDevice = UiDevice.getInstance(getInstrumentation()); 42 mDevice.setOrientationNatural(); 50 mDevice.pressBack(); 51 mDevice.pressHome(); 75 mDevice.wait(Until 79 UiObject2 usbTethering = mDevice.wait(Until 88 mDevice.wait(Until 92 UiObject2 usbTethering = mDevice.wait(Until 121 mDevice.wait(Unti [all...] |
WirelessNetworkSettingsTests.java | 59 private UiDevice mDevice; 64 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); 66 mDevice.setOrientationNatural(); 83 mDevice.pressBack(); 85 mDevice.pressHome(); 102 mDevice.wait(Until.findObject(By.res(SETTINGS_PACKAGE, "switch_widget")), TIMEOUT)
|
/packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/ |
ChannelZappingJankTest.java | 46 Utils.pressKeysForChannelNumber(STARTING_CHANNEL, mDevice); 55 mDevice.pressDPadUp(); 56 mDevice.waitForIdle(); 58 mDevice.pressBack(); 59 mDevice.waitForIdle(); 66 mDevice.pressDPadUp(); 67 mDevice.waitForIdle(); 70 mDevice.pressBack(); 71 mDevice.waitForIdle();
|
MenuJankTest.java | 45 mMenuHelper = new MenuHelper(mDevice, mTargetResources); 46 Utils.pressKeysForChannelNumber(STARTING_CHANNEL, mDevice); 56 mDevice.pressBack(); 57 mDevice.waitForIdle(); 64 mDevice.pressDPadUp(); 65 mDevice.waitForIdle();
|
/platform_testing/libraries/system-helpers/device-helper/src/android/system/helpers/ |
DeviceHelper.java | 40 private UiDevice mDevice = null; 44 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); 92 mDevice.sleep(); 94 mDevice.wakeUp();
|
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
UiBenchRenderingJankTests.java | 38 private UiDevice mDevice; 44 mDevice = UiDevice.getInstance(getInstrumentation()); 45 mDevice.setOrientationNatural(); 47 mDevice); 52 mDevice.unfreezeRotation(); 73 mHelper.mContents = mDevice.wait(Until.findObject(
|
UiBenchTextJankTests.java | 38 private UiDevice mDevice; 44 mDevice = UiDevice.getInstance(getInstrumentation()); 45 mDevice.setOrientationNatural(); 47 this.getInstrumentation().getContext(), mDevice); 52 mDevice.unfreezeRotation(); 74 mHelper.mContents = mDevice.wait(Until.findObject( 91 mHelper.mContents = mDevice.wait(Until.findObject(
|
UiBenchWebView.java | 35 private UiDevice mDevice; 41 mDevice = UiDevice.getInstance(getInstrumentation()); 42 mDevice.setOrientationNatural(); 44 mDevice); 49 mDevice.unfreezeRotation(); 57 mHelper.mContents = mDevice.wait(Until.findObject(
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
SampleHostDeviceInfo.java | 26 private ITestDevice mDevice; 31 mDevice = getDevice(); 53 return mDevice.executeShellCommand("getprop " + prop).replace("\n", "");
|
/frameworks/av/media/libaudiohal/2.0/ |
StreamHalLocal.h | 85 sp<DeviceHalLocal> mDevice;
|
/hardware/interfaces/audio/core/all-versions/default/include/core/all-versions/default/ |
Device.h | 130 audio_hw_device_t* device() const { return mDevice; } 133 audio_hw_device_t* mDevice; 141 uint32_t version() const { return mDevice->common.version; }
|
PrimaryDevice.h | 131 sp<Device> mDevice;
|
/hardware/interfaces/ir/1.0/default/ |
ConsumerIr.h | 46 consumerir_device_t *mDevice;
|
/hardware/interfaces/vibrator/1.0/default/ |
Vibrator.h | 40 vibrator_device_t *mDevice;
|
/hardware/interfaces/vr/1.0/default/ |
Vr.h | 40 vr_module_t *mDevice;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
HeadsetVendorSpecificResultCode.java | 21 BluetoothDevice mDevice; 26 mDevice = device; 38 .append(mDevice)
|
/packages/apps/Settings/tests/unit/src/com/android/settings/password/ |
ChooseLockGenericTest.java | 69 private UiDevice mDevice; 82 mDevice = UiDevice.getInstance(getInstrumentation()); 101 mDevice.waitForIdle(); 120 mDevice.waitForIdle(); 153 mDevice.waitForIdle(); 161 mDevice.waitForIdle(); 178 mDevice.waitForIdle(); 181 mDevice.pressBack(); 195 mDevice.waitForIdle(); 202 mDevice.pressBack() [all...] |
/packages/apps/Settings/tests/unit/src/com/android/settings/users/ |
UserSettingsTest.java | 51 private UiDevice mDevice; 57 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); 66 mDevice.findObject(new UiSelector().text(EMERGNENCY_INFO)); 75 mDevice.findObject(new UiSelector().text(ADD_USERS_WHEN_LOCKED)); 84 mDevice.openQuickSettings(); 85 mDevice.findObject(new UiSelector().resourceId(SETTINGS_BUTTON)).click(); 91 mDevice.findObject(new UiSelector().text(titleSystem)).click(); 92 mDevice.findObject(new UiSelector().text(ADVANCED)).click(); 94 final boolean hasUsersSettings = mDevice.findObject(new UiSelector().text(USERS)).exists(); 97 mDevice.openQuickSettings() [all...] |
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
NexusLauncherStrategy.java | 70 mDevice.pressHome(); 79 if (!mDevice.hasObject(getAllAppsSelector()) || mDevice.hasObject( 83 mDevice.waitForIdle(); 85 !mDevice.hasObject(getAllAppsSelector()) && !mDevice.hasObject( 88 int midX = mDevice.getDisplayWidth() / 2; 89 int height = mDevice.getDisplayHeight(); 91 mDevice.swipe( 99 UiObject2 hotseat = mDevice.wait(Until.findObject(getHotSeatSelector()), 2500) [all...] |
/platform_testing/tests/functional/systemmetrics/src/com/android/systemmetrics/functional/ |
AppStartTests.java | 65 private UiDevice mDevice = null; 72 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); 74 mDevice.setOrientationNatural(); 82 mDevice.unfreezeRotation(); 84 mDevice.waitForIdle(); 102 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), LONG_TIMEOUT_MS); 144 mDevice.wait(Until.hasObject(By.pkg(mContext.getPackageName()).depth(0)), LONG_TIMEOUT_MS);
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
LightBarThemeTest.java | 45 private UiDevice mDevice; 53 mDevice = UiDevice.getInstance(getInstrumentation()); 76 mDevice.waitForIdle();
|
/packages/apps/Settings/tests/unit/src/com/android/settings/core/ |
LifecycleEventHandlingTest.java | 48 private UiDevice mDevice; 52 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); 68 final UiObject2 view = mDevice.wait( 73 assertThat(mDevice.wait(Until.findObject(By.text(footerText)), TIMEOUT))
|