/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...] |
LocalBluetoothProfileManagerTest.java | 62 private BluetoothDevice mDevice; 77 when(mDeviceManager.findDevice(mDevice)).thenReturn(mCachedBluetoothDevice); 123 mDevice); 143 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 166 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 192 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 215 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 238 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 260 mIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice);
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
HwcLayer.h | 104 int mDevice;
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
HwcLayer.h | 97 int mDevice;
|
/hardware/libhardware_legacy/audio/ |
AudioDumpInterface.h | 58 uint32_t device() { return mDevice; } 69 uint32_t mDevice; // current device this output is routed to 101 uint32_t device() { return mDevice; } 109 uint32_t mDevice; // current device this output is routed to
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
BluetoothDetailFragment.java | 47 private BluetoothDevice mDevice; 68 mDevice = getArguments().getParcelable(EXTRA_BT_DEVICE); 76 mCachedDevice = mDeviceManager.findDevice(mDevice); 81 mDevice); 87 if (mDevice == null) {
|
BluetoothPairingService.java | 52 private BluetoothDevice mDevice; 85 LOG.d("Notification cancel " + mDevice.getAddress() + " (" 86 + mDevice.getName() + ")"); 87 mDevice.cancelPairingUserInput(); 91 LOG.d("Dismiss pairing for " + mDevice.getAddress() + " (" 92 + mDevice.getName() + "), BondState: " + bondState); 131 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 133 if (mDevice != null && mDevice.getBondState() != BluetoothDevice.BOND_BONDING) { 134 LOG.w("Device " + mDevice + " not bonding: " + mDevice.getBondState()) [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);
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
ConfirmConnectActivity.java | 33 BluetoothDevice mDevice; 41 mDevice = launchIntent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 42 if (mDevice == null) finish(); 52 allowIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 62 denyIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 81 denyIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice);
|
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/ |
SettingsHelper.java | 80 private UiDevice mDevice = null; 85 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); 102 mDevice.wait(Until.hasObject(By.res(RES_ID_SEARCH_UI_TEXT_BOX)), 112 mDevice.wait(Until.findObject(By.res(ANDROID_PACKAGE, RES_ID_SEARCH_UI_TEXT_BOX)), TIMEOUT) 115 mDevice.wait(Until.hasObject(By.res(RES_ID_SEARCH_UI_NO_RESULT_IMAGE)), 117 mDevice.wait(Until.findObject(By.res(ANDROID_PACKAGE, RES_ID_SEARCH_UI_TEXT_BOX)), TIMEOUT) 179 int w = mDevice.getDisplayWidth(); 180 int h = mDevice.getDisplayHeight(); 181 mDevice.swipe(w / 2, h / 2, w / 2, isUp ? h : 0, 2); 191 UiObject2 settingsDashboard = mDevice.wait(Until.findObject(SETTINGS_DASHBOARD) [all...] |
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
NotificationSecurityLargeTests.java | 38 private UiDevice mDevice = null; 46 mDevice = UiDevice.getInstance(getInstrumentation()); 51 mHelper = new NotificationHelper(mDevice, getInstrumentation(), mNotificationManager); 74 assertFalse(mDevice.wait(Until.hasObject(By.res("android:id/title").text(title)),
|
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/ |
AppLauncherFlingJankTest.java | 39 private UiDevice mDevice; 51 mDevice = UiDevice.getInstance(getInstrumentation()); 52 mHelper = SysAppTestHelper.getInstance(mDevice, this.getInstrumentation()); 79 UiObject2 recyclerViewContents = mDevice.wait(Until.findObject(
|
WatchFaceJankTest.java | 33 private UiDevice mDevice; 43 mDevice = UiDevice.getInstance(getInstrumentation()); 44 mHelper = SysAppTestHelper.getInstance(mDevice, getInstrumentation()); 45 mWfHelper = WatchFaceHelper.getInstance(mDevice, getInstrumentation());
|
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
UiBenchJankTestsHelper.java | 55 private UiDevice mDevice; 62 mDevice = device; 88 UiObject2 expectedTextCmp = mDevice.wait(Until.findObject( 100 mContents = mDevice.wait(Until.findObject(By.res("android", "content")), TIMEOUT); 141 mDevice.pressKeyCode(keyCode);
|
/platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/ |
AppTransitionTests.java | 95 private UiDevice mDevice; 125 mDevice = UiDevice.getInstance(getInstrumentation()); 126 LauncherStrategyFactory factory = LauncherStrategyFactory.getInstance(mDevice); 168 mDevice.setOrientationNatural(); 215 mDevice.pressHome(); 216 mDevice.waitForIdle(); 262 mDevice.pressHome(); 308 mDevice.pressHome(); 353 mDevice.pressHome(); 373 mDevice.pressHome() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
AMReceiver.java | 38 private final IDevice mDevice; 51 mDevice = device; 120 mLaunchController.launchApp(mLaunchInfo, mDevice);
|
/system/vold/model/ |
Disk.h | 61 dev_t getDevice() { return mDevice; } 92 dev_t mDevice;
|
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/ |
RootProcessScanner.java | 33 private ITestDevice mDevice; 36 mDevice = device; 143 return mDevice.executeShellCommand(String.format("cat %s/statm", processDir)); 195 return mDevice.executeShellCommand(String.format("cat %s/status", processDir));
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
DevicePropertyInfo.java | 39 private final String mDevice; 67 mDevice = device; 99 propertyMap.put(prefix + "device", mDevice);
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/util/ |
CmdUtilTest.java | 42 @Mock private ITestDevice mDevice; 54 doReturn("").when(mDevice).executeShellCommand(TEST_CMD); 55 assertTrue(mCmdUtil.waitCmdResultWithDelay(mDevice, TEST_CMD, mCheckEmpty)); 60 when(mDevice.executeShellCommand(TEST_CMD)).thenReturn("something").thenReturn(""); 61 assertTrue(mCmdUtil.waitCmdResultWithDelay(mDevice, TEST_CMD, mCheckEmpty)); 66 doReturn("something").when(mDevice).executeShellCommand(TEST_CMD); 67 assertFalse(mCmdUtil.waitCmdResultWithDelay(mDevice, TEST_CMD, mCheckEmpty)); 72 doReturn("").when(mDevice).executeShellCommand(TEST_CMD); 73 assertTrue(mCmdUtil.retry(mDevice, RUN_CMD, TEST_CMD, mCheckEmpty)); 74 verify(mDevice, times(1)).executeShellCommand(eq(RUN_CMD)) [all...] |
/tools/tradefederation/core/prod-tests/src/com/android/app/tests/ |
AppLaunchTest.java | 49 private ITestDevice mDevice; 57 mDevice = device; 65 return mDevice;
|
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/ |
AppInstallTest.java | 53 private ITestDevice mDevice; 60 mDevice = device; 68 return mDevice; 117 if (!mDevice.pushFile(packageFile, remotePath)) { 121 String output = mDevice.executeShellCommand( 128 mDevice.executeShellCommand(String.format("rm \"%s\"", remotePath)); 131 mDevice.uninstallPackage(packageName);
|
/tools/tradefederation/core/prod-tests/src/com/android/sdk/ |
EmulatorBootTest.java | 51 private ITestDevice mDevice; 83 return mDevice; 91 mDevice = device; 105 mAvdPreparer.setUp(mDevice, mBuildInfo); 106 mSmsPreparer.setUp(mDevice, mBuildInfo); 107 mGpsPreparer.setUp(mDevice, mBuildInfo); 108 checkLauncherRunningOnEmulator(mDevice); 114 mDevice.getSerialNumber()); 139 CLog.i("%s on device %s is %s", cmd, mDevice.getSerialNumber(), cmdResult);
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
DeviceFileReporter.java | 41 private final ITestDevice mDevice; 75 mDevice = device; 158 final String fileList = mDevice.executeShellCommand(searchCmd); 174 mDevice.getSerialNumber()); 175 file = mDevice.pullFile(filename);
|
LogcatCrashResultForwarder.java | 42 private ITestDevice mDevice; 47 mDevice = device; 94 mLogcatItem = extractLogcat(mDevice, startTime);
|