/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/ |
H A D | PlayControlsRowViewTest.java | 47 mDevice.pressDPadUp(); 60 mDevice.pressBack(); 70 mDevice.pressKeyCode(KeyEvent.KEYCODE_MEDIA_FAST_FORWARD); 73 mDevice.pressBack(); 76 mDevice.pressKeyCode(KeyEvent.KEYCODE_MEDIA_NEXT); 79 mDevice.pressBack(); 89 mDevice.pressKeyCode(KeyEvent.KEYCODE_MEDIA_PREVIOUS); 92 mDevice.pressBack(); 95 mDevice.pressKeyCode(KeyEvent.KEYCODE_MEDIA_REWIND); 98 mDevice [all...] |
H A D | LiveChannelsAppTest.java | 53 assertWaitForCondition(mDevice, Until.hasObject(byChannelSourcesSidePanel)); 54 mDevice.pressBack(); 55 assertWaitForCondition(mDevice, Until.gone(byChannelSourcesSidePanel)); 56 assertHas(mDevice, Constants.MENU, false); 63 assertWaitForCondition(mDevice, Until.hasObject(byClosedCaptionSidePanel)); 64 mDevice.pressBack(); 65 assertWaitForCondition(mDevice, Until.gone(byClosedCaptionSidePanel)); 66 assertHas(mDevice, Constants.MENU, false); 79 assertWaitForCondition(mDevice, Until.hasObject(byDisplayModeSidePanel)); 80 mDevice [all...] |
H A D | ChannelSourcesTest.java | 46 assertWaitForCondition(mDevice, Until.hasObject(mBySettingsSidePanel)); 49 mDevice.pressDPadCenter(); 51 assertWaitForCondition(mDevice, 53 mDevice.pressBack(); 60 assertWaitForCondition(mDevice, Until.hasObject(mBySettingsSidePanel)); 63 mDevice.pressDPadCenter(); 64 mDevice.pressDPadCenter(); 66 assertWaitForCondition(mDevice, 68 mDevice.pressBack();
|
H A D | ParentalControlsTest.java | 54 assertWaitForCondition(mDevice, Until.hasObject(bySidePanel)); 56 mDevice.pressDPadCenter(); 59 assertWaitForCondition(mDevice, Until.hasObject(bySidePanel)); 69 mDevice.pressDPadCenter(); 73 mDevice.pressDPadCenter(); 76 mDevice.pressDPadCenter(); 78 mDevice.pressBack(); 79 mDevice.pressBack(); 109 mDevice.pressDPadCenter(); 112 assertWaitForCondition(mDevice, Unti [all...] |
H A D | ChannelBannerViewTest.java | 41 mDevice.pressDPadCenter(); 42 assertWaitForCondition(mDevice, Until.hasObject(Constants.CHANNEL_BANNER)); 43 assertWaitForCondition(mDevice, Until.gone(Constants.CHANNEL_BANNER), mShowDurationMillis); 47 mDevice.pressDPadDown(); 48 assertWaitForCondition(mDevice, Until.hasObject(Constants.CHANNEL_BANNER)); 49 mDevice.pressDPadUp(); 50 assertWaitForCondition(mDevice, Until.hasObject(Constants.CHANNEL_BANNER));
|
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(); 86 UiDeviceUtils.pressKeys(mDevice, channe [all...] |
H A D | ProgramGuideTest.java | 36 assertWaitForCondition(mDevice, 38 mDevice.pressBack(); 39 assertWaitForCondition(mDevice, Until.gone(Constants.PROGRAM_GUIDE)); 40 assertHas(mDevice, Constants.MENU, false);
|
H A D | TimeoutTest.java | 38 mDevice.pressMenu(); 40 assertWaitForCondition(mDevice, Until.hasObject(Constants.MENU)); 41 assertWaitForCondition(mDevice, Until.gone(Constants.MENU), 48 assertWaitForCondition(mDevice, 50 assertWaitForCondition(mDevice, Until.gone(Constants.PROGRAM_GUIDE), 52 assertHas(mDevice, Constants.MENU, false);
|
H A D | ProgramGuidePerformanceTest.java | 44 mDevice.pressDPadCenter(); 45 assertWaitForCondition(mDevice, Until.hasObject(Constants.PROGRAM_GUIDE)); 50 mDevice.pressBack();
|
/packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/ |
H A D | ProgramGuideJankTest.java | 61 protected UiDevice mDevice; field in class:ProgramGuideJankTest 70 mDevice = UiDevice.getInstance(getInstrumentation()); 72 mMenuHelper = new MenuHelper(mDevice, mTargetResources); 73 mLiveChannelsHelper = new LiveChannelsUiDeviceHelper(mDevice, mTargetResources, 100 mDevice.pressDPadDown(); 112 mDevice.pressDPadRight(); 118 UiDeviceUtils.pressKeys(mDevice, channel); 119 mDevice.pressDPadCenter(); 126 mDevice.waitForIdle(); 132 mDevice [all...] |
/packages/apps/Nfc/src/com/android/nfc/handover/ |
H A D | ConfirmConnectActivity.java | 30 BluetoothDevice mDevice; field in class:ConfirmConnectActivity 38 mDevice = launchIntent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 39 if (mDevice == null) finish(); 41 String deviceName = mDevice.getName() != null ? mDevice.getName() : ""; 49 allowIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 59 denyIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 75 denyIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice);
|
H A D | BluetoothPeripheralHandover.java | 83 final BluetoothDevice mDevice; field in class:BluetoothPeripheralHandover 113 mDevice = device; 195 if (mInput.getConnectedDevices().contains(mDevice)) { 196 Log.i(TAG, "ACTION_DISCONNECT addr=" + mDevice + " name=" + mName); 199 Log.i(TAG, "ACTION_CONNECT addr=" + mDevice + " name=" + mName); 203 if (mA2dp.getConnectedDevices().contains(mDevice) || 204 mHeadset.getConnectedDevices().contains(mDevice)) { 205 Log.i(TAG, "ACTION_DISCONNECT addr=" + mDevice + " name=" + mName); 208 Log.i(TAG, "ACTION_CONNECT addr=" + mDevice + " name=" + mName); 224 if (mInput.getConnectionState(mDevice) [all...] |
/packages/apps/Settings/tests/app/src/com/android/settings/ |
H A D | ChooseLockGenericTest.java | 68 private UiDevice mDevice; field in class:ChooseLockGenericTest 81 mDevice = UiDevice.getInstance(getInstrumentation()); 132 mDevice.waitForIdle(); 145 mDevice.waitForIdle(); 153 mDevice.waitForIdle(); 160 mDevice.waitForIdle(); 168 mDevice.waitForIdle(); 180 mDevice.pressBack(); 192 mDevice.pressBack(); 193 mDevice [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
H A D | NowPlaying.java | 39 RemoteDevice mDevice; field in class:NowPlaying 45 mDevice = mRemoteDevice; 51 mDevice = null; 59 return mDevice;
|
H A D | RemoteMediaPlayers.java | 39 RemoteDevice mDevice; field in class:RemoteMediaPlayers 45 mDevice = mRemoteDevice; 52 mDevice = null;
|
/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, 0); 72 mHeadsetProfile.holdCall(mDevice); 83 mHeadsetProfile.acceptCall(mDevice, BluetoothHeadsetClient.CALL_ACCEPT_HOLD); 90 mHeadsetProfile.sendDTMF(mDevice, (byte) c); 102 mHeadsetProfile.acceptCall(mDevice, BluetoothHeadsetClient.CALL_ACCEPT_NONE);
|
H A D | HfpClientConnection.java | 33 private final BluetoothDevice mDevice; field in class:HfpClientConnection 44 mDevice = device; 49 mClientHasEcc = HfpClientConnectionService.hasHfpClientEcc(mHeadsetProfile, mDevice); 62 mClientHasEcc = HfpClientConnectionService.hasHfpClientEcc(mHeadsetProfile, mDevice); 85 mHeadsetProfile.enterPrivateMode(mDevice, mCurrentCall.getId()); 133 mHeadsetProfile.dial(mDevice, number); 158 mHeadsetProfile.sendDTMF(mDevice, (byte) c); 167 mHeadsetProfile.terminateCall(mDevice, mClientHasEcc ? mCurrentCall.getId() : 0); 185 mHeadsetProfile.holdCall(mDevice); 197 mHeadsetProfile.acceptCall(mDevice, BluetoothHeadsetClien [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
H A D | BluetoothAccessoryFragment.java | 68 private BluetoothDevice mDevice; field in class:BluetoothAccessoryFragment 128 mDevice = device; 135 if (mDevice == null) { 145 if (mDevice != null && 146 (mDevice.getType() == BluetoothDevice.DEVICE_TYPE_LE || 147 mDevice.getType() == BluetoothDevice.DEVICE_TYPE_DUAL)) { 149 mDeviceGatt = mDevice.connectGatt(getActivity(), true, new GattBatteryCallbacks()); 154 mBroadcastReceiver = new UnpairReceiver(this, mDevice); 156 if (mDevice != null && mDevice 294 private final BluetoothDevice mDevice; field in class:BluetoothAccessoryFragment.UnpairReceiver 323 private BluetoothDevice mDevice; field in class:BluetoothAccessoryFragment.UnpairConfirmFragment [all...] |
H A D | BluetoothPairingDialog.java | 68 private BluetoothDevice mDevice; field in class:BluetoothPairingDialog 74 * pairing was canceled for {@link #mDevice}. 92 if (device == null || device.equals(mDevice)) { 111 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 115 Log.d(TAG, "Requested pairing Type = " + mType + " , Device = " + mDevice); 262 mDevice.cancelPairingUserInput(); 267 .replace(android.R.id.content, EntryDialogFragment.newInstance(mDevice, mType)) 278 ConfirmationDialogFragment.newInstance(mDevice, mPairingKey, mType); 293 mDevice.setPin(pinBytes); 299 mDevice 329 private BluetoothDevice mDevice; field in class:BluetoothPairingDialog.EntryDialogFragment 409 private BluetoothDevice mDevice; field in class:BluetoothPairingDialog.ConfirmationDialogFragment [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
H A D | PbapPCEClient.java | 66 private BluetoothDevice mDevice; field in class:PbapPCEClient 90 if (mDevice == null) { 115 return mDevice; 157 onConnectionStateChanged(mDevice, BluetoothProfile.STATE_CONNECTING, 162 onConnectionStateChanged(mDevice, BluetoothProfile.STATE_CONNECTING, 196 if (mDevice == null) { 201 if (!mDevice.equals(device)) { 225 } else if (mDevice != null && !mDevice.equals(device)) { 230 "existing = " + mDevice [all...] |
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
H A D | RotationPreferenceTest.java | 26 mDevice = UiDevice.getInstance(getInstrumentation()); 46 mDevice.setOrientationRight(); 60 mDevice.setOrientationRight(); 72 UiObject hotseat = mDevice.findObject(
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | BluetoothPairingDialog.java | 64 private BluetoothDevice mDevice; field in class:BluetoothPairingDialog 74 * or if pairing was canceled for {@link #mDevice}. 89 if (device == null || device.equals(mDevice)) { 118 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 133 mDevice.setPairingConfirmation(false); 181 mCachedDeviceManager.getName(mDevice)); 201 mCachedDeviceManager.getName(mDevice))); 205 if (mDevice.getPhonebookAccessPermission() == BluetoothDevice.ACCESS_ALLOWED) { 207 } else if (mDevice.getPhonebookAccessPermission() == BluetoothDevice.ACCESS_REJECTED){ 210 if (mDevice [all...] |
H A D | BluetoothPermissionRequest.java | 51 BluetoothDevice mDevice; field in class:BluetoothPermissionRequest 70 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 105 connectionAccessIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 109 String deviceAddress = mDevice != null ? mDevice.getAddress() : null; 110 String deviceName = mDevice != null ? mDevice.getName() : null; 134 deleteIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); 138 String deviceAlias = mDevice != null ? mDevice [all...] |
/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/Gallery2/src/com/android/gallery3d/ingest/data/ |
H A D | ImportTask.java | 55 private MtpDevice mDevice; field in class:ImportTask 62 mDevice = device; 85 importedPath = new File(dest, object.getName(mDevice)).getAbsolutePath(); 86 if (!mDevice.importFile(object.getObjectHandle(), importedPath)) {
|