/packages/apps/Settings/tests/app/src/com/android/settings/ |
H A D | DisplaySettingsTest.java | 40 private UiDevice mDevice; field in class:DisplaySettingsTest 46 mDevice = UiDevice.getInstance(mInstrumentation); 55 mDevice.pressBack(); // dismiss the brightness dialog
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
H A D | CaptureSessionCreator.java | 34 private final CameraDeviceProxy mDevice; field in class:CaptureSessionCreator 43 mDevice = device; 58 mDevice.createCaptureSession(surfaces, new CameraCaptureSessionProxy.StateCallback() {
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastSettingsTest.java | 40 private UiDevice mDevice; field in class:CellBroadcastSettingsTest 46 mDevice = UiDevice.getInstance(mInstrumentation); 57 mDevice.setOrientationLeft(); 58 mDevice.setOrientationNatural(); 59 mDevice.setOrientationRight();
|
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/edit/ |
H A D | EditMedicalInfoActivityTest.java | 43 private UiDevice mDevice; field in class:EditMedicalInfoActivityTest 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();
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
H A D | ConfirmConnectActivity.java | 33 BluetoothDevice mDevice; field in class:ConfirmConnectActivity 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);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | ForgetDeviceDialogFragment.java | 40 private CachedBluetoothDevice mDevice; field in class:ForgetDeviceDialogFragment 66 mDevice.unpair(); 73 mDevice = getDevice(context); 81 mDevice.getName()));
|
H A D | RemoteDeviceNameDialogFragment.java | 34 private CachedBluetoothDevice mDevice; field in class:RemoteDeviceNameDialogFragment 55 mDevice = getDevice(context); 70 if (mDevice != null) { 71 return mDevice.getName(); 78 if (mDevice != null) { 79 mDevice.setName(deviceName);
|
H A D | BluetoothPairingService.java | 52 private BluetoothDevice mDevice; field in class:BluetoothPairingService 86 Log.d(TAG, "Notification cancel " + mDevice.getAddress() + " (" + 87 mDevice.getName() + ")"); 88 mDevice.cancelPairingUserInput(); 92 Log.d(TAG, "Dismiss pairing for " + mDevice.getAddress() + " (" + 93 mDevice.getName() + "), BondState: " + bondState); 132 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 134 if (mDevice != null && mDevice.getBondState() != BluetoothDevice.BOND_BONDING) { 135 Log.w(TAG, "Device " + mDevice [all...] |
H A D | BluetoothPermissionRequest.java | 58 BluetoothDevice mDevice; field in class:BluetoothPermissionRequest 77 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 112 connectionAccessIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 116 String deviceAddress = mDevice != null ? mDevice.getAddress() : null; 117 String deviceName = mDevice != null ? mDevice.getName() : null; 134 deleteIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 138 String deviceAlias = Utils.createRemoteName(context, mDevice); 232 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); [all...] |
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/ |
H A D | BluetoothAnomalyTest.java | 47 private UiDevice mDevice; field in class:BluetoothAnomalyTest 53 mDevice = UiDevice.getInstance(instrumentation); 58 TestUtils.startAnomalyApp(context, mDevice); 70 TestUtils.setEditTextWithValue(mDevice, RES_BT_EDITTEXT, durationMs); 73 TestUtils.clickButton(mDevice, RES_BT_BUTTON); 76 mDevice.pressHome(); 77 TestUtils.wait(mDevice, durationMs); 83 mDevice.wait(Until.findObject(By.text("AnomalyTester draining battery")), 91 TestUtils.setEditTextWithValue(mDevice, RES_BT_EDITTEXT, durationMs); 94 TestUtils.clickButton(mDevice, RES_BT_BUTTO [all...] |
H A D | WakelockAnomalyTest.java | 47 private UiDevice mDevice; field in class:WakelockAnomalyTest 53 mDevice = UiDevice.getInstance(instrumentation); 58 TestUtils.startAnomalyApp(context, mDevice); 70 TestUtils.setEditTextWithValue(mDevice, RES_WAKELOCK_EDITTEXT, durationMs); 73 TestUtils.clickButton(mDevice, RES_WAKELOCK_BUTTON); 76 mDevice.pressHome(); 78 TestUtils.wait(mDevice, durationMs - TIME_OUT); 84 mDevice.wait(Until.findObject(By.text("AnomalyTester draining battery")), 92 TestUtils.setEditTextWithValue(mDevice, RES_WAKELOCK_EDITTEXT, durationMs); 95 TestUtils.clickButton(mDevice, RES_WAKELOCK_BUTTO [all...] |
/packages/apps/Settings/tests/app/src/com/android/settings/applications/ |
H A D | DefaultAppSettingsTest.java | 37 private UiDevice mDevice; field in class:DefaultAppSettingsTest 44 mDevice = UiDevice.getInstance(getInstrumentation()); 53 mDevice.findObject(new UiSelector().text(titleHomeApp)).click(); 54 final UiObject actionBar = mDevice.findObject(new UiSelector().resourceId( 69 mDevice.findObject(new UiSelector().text(titleApps)).click(); 72 mDevice.findObject(new UiSelector().text(titleDefaultApps)).click();
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/ |
H A D | WifiTetherSettingsTest.java | 50 private UiDevice mDevice; field in class:WifiTetherSettingsTest 55 mDevice = UiDevice.getInstance(mInstrumentation); 64 mDevice.pressHome(); 83 UiObject2 item = mDevice.wait(Until.findObject(By.text("Portable Wi‑Fi hotspot")), TIMEOUT);
|
/packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/ |
H A D | LiveChannelsTestCase.java | 28 protected UiDevice mDevice; field in class:LiveChannelsTestCase 35 mDevice = UiDevice.getInstance(getInstrumentation()); 37 mLiveChannelsHelper = new LiveChannelsUiDeviceHelper(mDevice, mTargetResources,
|
/packages/apps/DocumentsUI/app-perf-tests/src/com/android/documentsui/ |
H A D | FilesAppPerfTest.java | 49 private UiDevice mDevice; field in class:FilesAppPerfTest 53 mDevice = UiDevice.getInstance(getInstrumentation()); 70 mDevice.executeShellCommand("am force-stop " + TARGET_PACKAGE); 72 mDevice.waitForIdle();
|
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/view/ |
H A D | ViewInfoActivityTest.java | 51 private UiDevice mDevice; field in class:ViewInfoActivityTest 59 mDevice = UiDevice.getInstance(mInstrumentation); 60 mInitialRotation = mDevice.getDisplayRotation(); 69 mDevice.setOrientationRight(); 72 mDevice.setOrientationLeft(); 75 mDevice.setOrientationNatural(); 218 mDevice.setOrientationLeft(); 219 mDevice.setOrientationNatural(); 220 mDevice.setOrientationRight();
|
/packages/apps/Settings/tests/app/src/com/android/settings/users/ |
H A D | UserSettingsTest.java | 39 private UiDevice mDevice; field in class:UserSettingsTest 46 mDevice = UiDevice.getInstance(getInstrumentation()); 55 mDevice.findObject(new UiSelector().text(EMERGNENCY_INFO)); 63 mDevice.findObject(new UiSelector().text(ADD_USERS_WHEN_LOCKED)); 81 mDevice.findObject(new UiSelector().text(titleUsersAndAccounts)).click(); 82 mDevice.findObject(new UiSelector().text(USERS)).click();
|
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/ |
H A D | LiveChannelsTestCase.java | 43 protected UiDevice mDevice; field in class:LiveChannelsTestCase 55 mDevice = UiDevice.getInstance(getInstrumentation()); 57 mMenuHelper = new MenuHelper(mDevice, mTargetResources); 58 mSidePanelHelper = new SidePanelHelper(mDevice, mTargetResources); 59 mLiveChannelsHelper = new LiveChannelsUiDeviceHelper(mDevice, mTargetResources, context); 72 if (mDevice.hasObject(Constants.SIDE_PANEL) || mDevice.hasObject(Constants.MENU) || mDevice 74 mDevice.pressBack(); 77 mDevice [all...] |
/packages/services/Car/obd2-lib/src/com/android/car/obd2/connections/ |
H A D | BluetoothConnection.java | 37 private final BluetoothDevice mDevice; field in class:BluetoothConnection 47 mDevice = Objects.requireNonNull(device); 53 return mDevice.getAddress(); 68 mSocket = mDevice.createRfcommSocketToServiceRecord(SERIAL_PORT_PROFILE);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
H A D | RemoteDevice.java | 50 RemoteDevice(BluetoothDevice mDevice) { argument 51 mBTDevice = mDevice;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
H A D | HfpClientConference.java | 34 private BluetoothDevice mDevice; field in class:HfpClientConference 40 mDevice = device; 52 mHeadsetProfile.terminateCall(mDevice, null); 71 mHeadsetProfile.holdCall(mDevice); 77 mHeadsetProfile.acceptCall(mDevice, BluetoothHeadsetClient.CALL_ACCEPT_HOLD); 84 mHeadsetProfile.sendDTMF(mDevice, (byte) c); 96 mHeadsetProfile.acceptCall(mDevice, BluetoothHeadsetClient.CALL_ACCEPT_NONE);
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/ |
H A D | MapMessage.java | 28 private BluetoothDevice mDevice; field in class:MapMessage 82 mDevice = device; 91 return mDevice; 136 "mDevice=" + mDevice +
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
H A D | BluetoothDetailFragment.java | 52 private BluetoothDevice mDevice; field in class:BluetoothDetailFragment 73 mDevice = getArguments().getParcelable(EXTRA_BT_DEVICE); 80 mCachedDevice = mDeviceManager.findDevice(mDevice); 85 mDevice); 91 if (mDevice == null) {
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
H A D | SimImportActivityTest.java | 94 private UiDevice mDevice; field in class:SimImportActivityTest 106 mDevice = UiDevice.getInstance(mInstrumentation); 141 mDevice.waitForIdle(); 143 assertTrue(mDevice.wait(Until.hasObject(By.text("Sim One")), TIMEOUT)); 145 assertTrue(mDevice.hasObject(By.text("Sim One"))); 146 assertTrue(mDevice.hasObject(By.text("Sim Two"))); 147 assertTrue(mDevice.hasObject(By.text("5550103"))); 157 mDevice.waitForIdle(); 159 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("No contacts")), TIMEOUT)); 170 assertTrue(mDevice [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
H A D | MtpDeviceIndexRunnable.java | 69 private final MtpDevice mDevice; field in class:MtpDeviceIndexRunnable 87 mDevice = index.getDevice(); 134 if (!mIndex.setIndexingResults(mDevice, mIndexGeneration, 158 for (int storageId : mDevice.getStorageIds()) { 159 if (!mIndex.isAtGeneration(mDevice, mIndexGeneration)) { 165 if (!mIndex.isAtGeneration(mDevice, mIndexGeneration)) { 169 for (int objectHandle : mDevice.getObjectHandles(storageId, 0, dirHandle)) { 170 MtpObjectInfo mtpObjectInfo = mDevice.getObjectInfo(objectHandle);
|