HomeSort by relevance Sort by last modified time
    Searched refs:mDevice (Results 101 - 125 of 1114) sorted by null

1 2 3 45 6 7 8 91011>>

  /cts/suite/audio_quality/lib/src/
Adb.cpp 22 : mDevice(device)
67 if (mDevice.empty()) {
72 if (adbCommand.appendFormat("adb -s %s %s", mDevice.string(),
  /frameworks/base/packages/Shell/tests/src/com/android/shell/
UiBot.java 41 private final UiDevice mDevice;
46 mDevice = UiDevice.getInstance(instrumentation);
57 boolean opened = mDevice.openNotification();
59 boolean gotIt = mDevice.wait(Until.hasObject(By.pkg(SYSTEMUI_PACKAGE)), mTimeout);
66 // TODO: mDevice should provide such method..
88 boolean gotIt = mDevice.wait(Until.hasObject(By.text(text)), mTimeout);
99 boolean gotIt = mDevice.wait(Until.hasObject(By.res(id)), mTimeout);
110 UiObject uiObject = mDevice.findObject(new UiSelector().text(text));
121 UiObject uiObject = mDevice.findObject(new UiSelector().resourceId(id));
132 boolean hasIt = mDevice.hasObject(By.res(id))
    [all...]
  /packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/
LiveChannelsTestCase.java 25 protected UiDevice mDevice;
32 mDevice = UiDevice.getInstance(getInstrumentation());
36 mDevice, mTargetResources, getInstrumentation().getContext());
  /platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
AuptTestCase.java 69 private UiDevice mDevice;
80 mDevice = UiDevice.getInstance(getInstrumentation());
84 mDevice.registerWatcher("LockScreenWatcher", new LockScreenWatcher());
85 mDevice.setOrientationNatural();
93 mDevice.removeWatcher("LockScreenWatcher");
94 mDevice.unfreezeRotation();
106 return mDevice;
127 String launcherPkg = mDevice.getLauncherPackageName();
128 while (!launcherPkg.equals(mDevice.getCurrentPackageName())
130 mDevice.pressBack()
    [all...]
  /platform_testing/tests/jank/touch_latency_wear/src/com/android/wearable/touch/janktests/
BouncingBallJankTest.java 28 private UiDevice mDevice;
34 mDevice = UiDevice.getInstance(getInstrumentation());
35 mTouchLatencyHelper = TouchLatencyHelper.getInstance(mDevice, getInstrumentation());
  /tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DataIdleTestHelper.java 28 private ITestDevice mDevice;
33 mDevice = device;
47 String res = mDevice.executeShellCommand("ping -c 10 -w 100 " + host);
  /hardware/interfaces/camera/device/1.0/default/
CameraDevice.cpp 117 if (mDevice != nullptr) {
128 if (mDevice == nullptr) {
388 mem->handle.mDevice = object;
397 CameraDevice* device = mem->handle.mDevice;
633 if (mDevice != nullptr) {
634 if (mDevice->ops->dump) { // It's fine if the HAL doesn't implement dump()
635 return getHidlStatus(mDevice->ops->dump(mDevice, fd));
658 (hw_device_t **)&mDevice);
660 rc = mModule->open(mCameraId.c_str(), (hw_device_t **)&mDevice);
    [all...]
  /cts/hostsidetests/monkey/src/com/android/cts/monkey/
AbstractMonkeyTest.java 27 ITestDevice mDevice;
42 mDevice = getDevice();
46 mDevice.uninstallPackage(PKGS[i]);
48 mDevice.installPackage(app, false, options);
57 mDevice.uninstallPackage(PKGS[i]);
62 mDevice.executeAdbCommand("logcat", "-c");
  /frameworks/base/services/core/java/com/android/server/hdmi/
DelayedMessageBuffer.java 30 private final HdmiCecLocalDevice mDevice;
33 mDevice = device;
91 mDevice.onMessage(message);
116 && !mDevice.isInputReady(HdmiDeviceInfo.idForCecDevice(address))) {
120 mDevice.onMessage(message);
142 mDevice.onMessage(message);
  /packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
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);
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);
MoreWirelessSettingsTest2.java 123 private UiDevice mDevice;
129 mDevice = UiDevice.getInstance(getInstrumentation());
131 mDevice.setOrientationNatural();
147 mDevice.pressBack();
149 mDevice.pressHome();
157 UiObject2 configureWiFiHeading = mDevice.wait(Until.findObject
177 assertFalse(mDevice.wait(Until.findObject(
179 assertTrue(mDevice.wait(Until.findObject(
183 assertEquals("Enter the SSID", mDevice.wait(Until.findObject(By
189 assertEquals("None", mDevice.wait(Until.findObject(B
    [all...]
  /frameworks/rs/rsov/driver/
rsovContext.h 33 VkDevice getDevice() const { return mDevice; }
50 VkDevice mDevice;
  /hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/
HwcHal.h 59 if (mDevice) {
60 hwc2_close(mDevice);
77 mDevice = device;
83 mDevice->common.close(&mDevice->common);
84 mDevice = nullptr;
89 mDevice->common.close(&mDevice->common);
90 mDevice = nullptr;
103 mDispatch.dump(mDevice, &len, nullptr)
    [all...]
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
Bots.java 67 public final UiDevice mDevice;
72 mDevice = device;
81 UiObject2 candidate = mDevice.findObject(By.res(resourceName));
87 mDevice.wait(Until.findObject(selector), mTimeout);
88 return mDevice.findObject(selector);
93 return mDevice.findObject(object);
100 return mDevice.findObject(selector);
104 mDevice.waitForIdle(mTimeout);
  /platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
AccessibilityScannerHelper.java 48 private UiDevice mDevice = null;
54 mDevice = UiDevice.getInstance(instr);
125 UiObject2 swt = mDevice.wait(Until.findObject(
134 UiObject2 okBtn = mDevice.wait(Until.findObject(By.text("OK")), SHORT_TIMEOUT);
139 mDevice.pressBack();
150 UiObject2 auth1 = mDevice.wait(Until.findObject(
155 UiObject2 chk = mDevice.wait(Until.findObject(
159 mDevice.findObject(By.text("START NOW")).click();
161 UiObject2 auth2 = mDevice.wait(Until.findObject(
166 UiObject2 tapOk = mDevice.wait(Until.findObject
    [all...]
AccessibilityHelper.java 48 private UiDevice mDevice = null;
59 mDevice = UiDevice.getInstance(instr);
78 UiObject2 swtBar = mDevice.wait(
83 UiObject2 confirmBtn = mDevice.wait(
89 if (mDevice.wait(Until.hasObject(By.text("TalkBack tutorial")), SHORT_TIMEOUT)) {
90 mDevice.pressBack(); // back to talkback setting page
93 mDevice.pressBack();
118 UiObject2 actionBar = mDevice.wait(Until.findObject(
130 mDevice.wait(Until.findObject(By.res(SETTINGS_PACKAGE, "action_bar")
154 UiObject2 okBtn = mDevice.wait(Until.findObject
    [all...]
  /platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
UiBenchRenderingJankTests.java 45 private UiDevice mDevice;
51 mDevice = UiDevice.getInstance(getInstrumentation());
52 mDevice.setOrientationNatural();
53 mHelper = UiBenchJankTestsHelper.getInstance(mDevice,
59 mDevice.unfreezeRotation();
93 UiObject2 shadowGridContents = mDevice.wait(Until.findObject(
98 shadowGridContents = mDevice.wait(Until.findObject(
102 shadowGridContents = mDevice.wait(Until.findObject(
  /tools/tradefederation/core/prod-tests/src/com/android/wireless/tests/
RadioHelper.java 36 private ITestDevice mDevice;
39 mDevice = device;
53 return mDevice.getProperty("gsm.current.phone-type");
60 return mDevice.getProperty("gsm.sim.state");
100 return mDevice.getProperty("ro.carrier").contains(WIFI_ONLY);
104 mDevice.executeShellCommand("setprop dev.bootcomplete 0");
113 String res = mDevice.executeShellCommand("ping -c 10 -w 100 " + host);
142 mDevice.executeShellCommand("radiooptions 8 *22899");
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
CachedBluetoothDevice.java 56 private final BluetoothDevice mDevice;
107 Log.d(TAG, "setHiSyncId: mDevice " + mDevice + ", id " + id);
136 sb.append("Address:").append(mDevice);
157 profile.setPreferred(mDevice, true);
163 ((PanProfile) profile).isLocalRoleNap(mDevice)) {
170 profile.setPreferred(mDevice, false);
172 ((PanProfile) profile).isLocalRoleNap(mDevice) &&
190 mDevice = device;
204 if (PbapProfile.getConnectionStatus(mDevice) == BluetoothProfile.STATE_CONNECTED
    [all...]
  /platform_testing/tests/functional/applinktests/src/com/android/functional/applinktests/
AppLinkTests.java 48 private UiDevice mDevice = null;
55 mDevice = UiDevice.getInstance(getInstrumentation());
58 mDevice.setOrientationNatural();
76 mDevice.wait(Until.findObject(By.text("AppLinkTestApp")), TIMEOUT).click();
77 mDevice.wait(Until.findObject(By.res("android:id/button_once")), TIMEOUT).click();
82 mDevice.wait(Until.hasObject(By.text("Open with AppLinkTestApp")), TIMEOUT));
83 mDevice.wait(Until.findObject(By.res("android:id/button_once")), TIMEOUT)
87 mDevice.pressHome();
91 mDevice.wait(Until.findObject(By.res("android:id/button_always")), TIMEOUT).click();
92 mDevice.pressHome()
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/result/
DeviceFileReporterTest.java 35 ITestDevice mDevice = null;
63 mDevice = EasyMock.createMock(ITestDevice.class);
64 EasyMock.expect(mDevice.getSerialNumber()).andStubReturn("serial");
68 new DeviceFileReporter(mDevice, mListener) {
82 EasyMock.expect(mDevice.executeShellCommand(EasyMock.eq("ls /data/tombstones/*")))
85 EasyMock.expect(mDevice.pullFile(EasyMock.eq(filename)))
107 EasyMock.expect(mDevice.executeShellCommand(EasyMock.eq("ls /data/tombstones/*")))
110 EasyMock.expect(mDevice.pullFile(EasyMock.eq(filename)))
133 EasyMock.expect(mDevice.executeShellCommand((String)EasyMock.anyObject()))
138 EasyMock.expect(mDevice.pullFile(EasyMock.eq(filename))).andReturn
    [all...]
  /cts/hostsidetests/security/src/android/security/cts/
KernelConfigTest.java 50 private ITestDevice mDevice;
67 mDevice = device;
73 configSet = getDeviceConfig(mDevice, cachedConfigGzSet);
147 if (PropertyUtil.getFirstApiLevel(mDevice) < 28) {
162 if (PropertyUtil.getFirstApiLevel(mDevice) < 28) {
166 if (CpuFeatures.isArm64(mDevice)) {
171 } else if (CpuFeatures.isArm32(mDevice)) {
184 if (PropertyUtil.getFirstApiLevel(mDevice) < 28) {
188 if (CpuFeatures.isArm64(mDevice) && !CpuFeatures.kernelVersionLessThan(mDevice, 4, 4))
    [all...]
  /cts/hostsidetests/usage/src/android/app/usage/cts/
AppIdleHostTest.java 50 private ITestDevice mDevice;
55 mDevice = getDevice();
65 String result = mDevice.executeShellCommand(String.format("am get-inactive %s", appPackage));
75 mDevice.executeShellCommand(String.format("settings put global %s \"%s\"",
84 String result = mDevice.executeShellCommand(String.format("settings get global %s",
95 mDevice.executeShellCommand(
103 mDevice.executeShellCommand(
124 mDevice.executeShellCommand(
129 final String result = mDevice.executeShellCommand(
135 String bucketString = mDevice.executeShellCommand
    [all...]
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
A2dpProfileTest.java 50 @Mock BluetoothDevice mDevice;
78 assertThat(mProfile.supportsHighQualityAudio(mDevice)).isTrue();
82 assertThat(mProfile.supportsHighQualityAudio(mDevice)).isFalse();
86 assertThat(mProfile.supportsHighQualityAudio(mDevice)).isFalse();
93 assertThat(mProfile.isHighQualityAudioEnabled(mDevice)).isTrue();
97 assertThat(mProfile.isHighQualityAudioEnabled(mDevice)).isFalse();
110 assertThat(mProfile.isHighQualityAudioEnabled(mDevice)).isFalse();
114 assertThat(mProfile.isHighQualityAudioEnabled(mDevice)).isTrue();
119 when(mBluetoothA2dpWrapper.getCodecStatus(mDevice)).thenReturn(status);
123 assertThat(mProfile.isHighQualityAudioEnabled(mDevice)).isTrue()
    [all...]

Completed in 871 milliseconds

1 2 3 45 6 7 8 91011>>