Home
last modified time | relevance | path

Searched refs:mDevice (Results 1 – 25 of 79) sorted by relevance

1234

/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/dvr/
DDvrLibraryTest.java62 assertWaitForCondition(mDevice, Until.hasObject(Constants.DVR_LIBRARY)); in testCancel()
63 mDevice.pressBack(); in testCancel()
64 assertWaitForCondition(mDevice, Until.gone(Constants.DVR_LIBRARY)); in testCancel()
65 assertHas(mDevice, Constants.MENU, false); in testCancel()
70 assertWaitForCondition(mDevice, Until.hasObject(Constants.DVR_LIBRARY)); in testEmptyLibrary()
73 assertHas(mDevice, mRecentRow, false); in testEmptyLibrary()
74 assertHas(mDevice, mScheduledRow, true); in testEmptyLibrary()
75 assertHas(mDevice, mSeriesRow, false); in testEmptyLibrary()
77 mDevice.pressDPadCenter(); in testEmptyLibrary()
78 assertWaitUntilFocused(mDevice, mFullScheduleCard); in testEmptyLibrary()
[all …]
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DPlayControlsRowViewTest.java46 assertWaitForCondition(mDevice, Until.hasObject(CHANNEL_BANNER)); in setUp()
48 mDevice.pressDPadUp(); in setUp()
61 mDevice.pressBack(); in testFocusedViewInNormalCase()
71 mDevice.pressKeyCode(KeyEvent.KEYCODE_MEDIA_FAST_FORWARD); in testFocusedViewWithDisabledActionForward()
74 mDevice.pressBack(); in testFocusedViewWithDisabledActionForward()
77 mDevice.pressKeyCode(KeyEvent.KEYCODE_MEDIA_NEXT); in testFocusedViewWithDisabledActionForward()
80 mDevice.pressBack(); in testFocusedViewWithDisabledActionForward()
85 mDevice.pressKeyCode(KeyEvent.KEYCODE_MEDIA_PLAY); in testFocusedViewInMenu()
88 mDevice.pressKeyCode(KeyEvent.KEYCODE_MEDIA_NEXT); in testFocusedViewInMenu()
94 mDevice.pressKeyCode(KeyEvent.KEYCODE_MEDIA_PAUSE); in testKeepPausedWhileParentalControlChange()
[all …]
DLiveChannelsAppTest.java53 assertWaitForCondition(mDevice, Until.hasObject(byChannelSourcesSidePanel)); in testSettingsCancel()
54 mDevice.pressBack(); in testSettingsCancel()
55 assertWaitForCondition(mDevice, Until.gone(byChannelSourcesSidePanel)); in testSettingsCancel()
56 assertHas(mDevice, Constants.MENU, false); in testSettingsCancel()
63 assertWaitForCondition(mDevice, Until.hasObject(byClosedCaptionSidePanel)); in testClosedCaptionsCancel()
64 mDevice.pressBack(); in testClosedCaptionsCancel()
65 assertWaitForCondition(mDevice, Until.gone(byClosedCaptionSidePanel)); in testClosedCaptionsCancel()
66 assertHas(mDevice, Constants.MENU, false); in testClosedCaptionsCancel()
79 assertWaitForCondition(mDevice, Until.hasObject(byDisplayModeSidePanel)); in testDisplayModeCancel()
80 mDevice.pressBack(); in testDisplayModeCancel()
[all …]
DParentalControlsTest.java54 assertWaitForCondition(mDevice, Until.hasObject(bySidePanel)); in testRatingDependentSelect()
56 mDevice.pressDPadCenter(); in testRatingDependentSelect()
59 assertWaitForCondition(mDevice, Until.hasObject(bySidePanel)); in testRatingDependentSelect()
69 mDevice.pressDPadCenter(); in testRatingDependentSelect()
73 mDevice.pressDPadCenter(); in testRatingDependentSelect()
76 mDevice.pressDPadCenter(); in testRatingDependentSelect()
78 mDevice.pressBack(); in testRatingDependentSelect()
79 mDevice.pressBack(); in testRatingDependentSelect()
109 mDevice.pressDPadCenter(); in prepareParentalControl()
112 assertWaitForCondition(mDevice, Until.hasObject(bySidePanel)); in prepareParentalControl()
[all …]
DLiveChannelsTestCase.java43 protected UiDevice mDevice; field in LiveChannelsTestCase
55 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
57 mMenuHelper = new MenuHelper(mDevice, mTargetResources); in setUp()
58 mSidePanelHelper = new SidePanelHelper(mDevice, mTargetResources); in setUp()
59 mLiveChannelsHelper = new LiveChannelsUiDeviceHelper(mDevice, mTargetResources, context); in setUp()
72 if (mDevice.hasObject(Constants.SIDE_PANEL) || mDevice.hasObject(Constants.MENU) || mDevice in tearDown()
74 mDevice.pressBack(); in tearDown()
77 mDevice.pressBack(); in tearDown()
88 UiDeviceUtils.pressKeys(mDevice, channel.number); in pressKeysForChannel()
89 assertWaitForCondition(mDevice, Until.hasObject(Constants.KEYPAD_CHANNEL_SWITCH)); in pressKeysForChannel()
[all …]
DChannelBannerViewTest.java41 mDevice.pressDPadCenter(); in testChannelBannerAppearDisappear()
42 assertWaitForCondition(mDevice, Until.hasObject(Constants.CHANNEL_BANNER)); in testChannelBannerAppearDisappear()
43 assertWaitForCondition(mDevice, Until.gone(Constants.CHANNEL_BANNER), mShowDurationMillis); in testChannelBannerAppearDisappear()
47 mDevice.pressDPadDown(); in testChannelBannerShownWhenTune()
48 assertWaitForCondition(mDevice, Until.hasObject(Constants.CHANNEL_BANNER)); in testChannelBannerShownWhenTune()
49 mDevice.pressDPadUp(); in testChannelBannerShownWhenTune()
50 assertWaitForCondition(mDevice, Until.hasObject(Constants.CHANNEL_BANNER)); in testChannelBannerShownWhenTune()
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DSimImportActivityTest.java94 private UiDevice mDevice; field in SimImportActivityTest
106 mDevice = UiDevice.getInstance(mInstrumentation); in setUp()
141 mDevice.waitForIdle(); in shouldDisplaySimContacts()
143 assertTrue(mDevice.wait(Until.hasObject(By.text("Sim One")), TIMEOUT)); in shouldDisplaySimContacts()
145 assertTrue(mDevice.hasObject(By.text("Sim One"))); in shouldDisplaySimContacts()
146 assertTrue(mDevice.hasObject(By.text("Sim Two"))); in shouldDisplaySimContacts()
147 assertTrue(mDevice.hasObject(By.text("5550103"))); in shouldDisplaySimContacts()
157 mDevice.waitForIdle(); in shouldHaveEmptyState()
159 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("No contacts")), TIMEOUT)); in shouldHaveEmptyState()
170 assertTrue(mDevice.wait(Until.hasObject(By.textStartsWith("No contacts")), TIMEOUT)); in smokeRotateInEmptyState()
[all …]
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/
DWakelockAnomalyTest.java47 private UiDevice mDevice; field in WakelockAnomalyTest
53 mDevice = UiDevice.getInstance(instrumentation); in setUp()
58 TestUtils.startAnomalyApp(context, mDevice); in setUp()
70 TestUtils.setEditTextWithValue(mDevice, RES_WAKELOCK_EDITTEXT, durationMs); in testWakelockAnomaly_longTimeWhileRunning_report()
73 TestUtils.clickButton(mDevice, RES_WAKELOCK_BUTTON); in testWakelockAnomaly_longTimeWhileRunning_report()
76 mDevice.pressHome(); in testWakelockAnomaly_longTimeWhileRunning_report()
78 TestUtils.wait(mDevice, durationMs - TIME_OUT); in testWakelockAnomaly_longTimeWhileRunning_report()
84 mDevice.wait(Until.findObject(By.text("AnomalyTester draining battery")), in testWakelockAnomaly_longTimeWhileRunning_report()
92 TestUtils.setEditTextWithValue(mDevice, RES_WAKELOCK_EDITTEXT, durationMs); in testWakelockAnomaly_shortTime_notReport()
95 TestUtils.clickButton(mDevice, RES_WAKELOCK_BUTTON); in testWakelockAnomaly_shortTime_notReport()
[all …]
DBluetoothAnomalyTest.java47 private UiDevice mDevice; field in BluetoothAnomalyTest
53 mDevice = UiDevice.getInstance(instrumentation); in setUp()
58 TestUtils.startAnomalyApp(context, mDevice); in setUp()
70 TestUtils.setEditTextWithValue(mDevice, RES_BT_EDITTEXT, durationMs); in testBluetoothAnomaly_longScanningTime_reportAnomaly()
73 TestUtils.clickButton(mDevice, RES_BT_BUTTON); in testBluetoothAnomaly_longScanningTime_reportAnomaly()
76 mDevice.pressHome(); in testBluetoothAnomaly_longScanningTime_reportAnomaly()
77 TestUtils.wait(mDevice, durationMs); in testBluetoothAnomaly_longScanningTime_reportAnomaly()
83 mDevice.wait(Until.findObject(By.text("AnomalyTester draining battery")), in testBluetoothAnomaly_longScanningTime_reportAnomaly()
91 TestUtils.setEditTextWithValue(mDevice, RES_BT_EDITTEXT, durationMs); in testBluetoothAnomaly_shortScanningTime_notReport()
94 TestUtils.clickButton(mDevice, RES_BT_BUTTON); in testBluetoothAnomaly_shortScanningTime_notReport()
[all …]
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java91 final BluetoothDevice mDevice; field in BluetoothPeripheralHandover
125 mDevice = device; in BluetoothPeripheralHandover()
218 if (mInput.getConnectedDevices().contains(mDevice)) { in nextStepInit()
219 Log.i(TAG, "ACTION_DISCONNECT addr=" + mDevice + " name=" + mName); in nextStepInit()
222 Log.i(TAG, "ACTION_CONNECT addr=" + mDevice + " name=" + mName); in nextStepInit()
226 if (mA2dp.getConnectedDevices().contains(mDevice) || in nextStepInit()
227 mHeadset.getConnectedDevices().contains(mDevice)) { in nextStepInit()
228 Log.i(TAG, "ACTION_DISCONNECT addr=" + mDevice + " name=" + mName); in nextStepInit()
232 if (mHeadset.getPriority(mDevice) == BluetoothProfile.PRIORITY_OFF) { in nextStepInit()
235 if (mA2dp.getPriority(mDevice) == BluetoothProfile.PRIORITY_OFF) { in nextStepInit()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryFragment.java73 private BluetoothDevice mDevice; field in BluetoothAccessoryFragment
134 mDevice = device; in onCreate()
141 if (mDevice == null) { in onCreate()
151 if (mDevice != null && in onStart()
152 (mDevice.getType() == BluetoothDevice.DEVICE_TYPE_LE || in onStart()
153 mDevice.getType() == BluetoothDevice.DEVICE_TYPE_DUAL)) { in onStart()
155 mDeviceGatt = mDevice.connectGatt(getActivity(), true, new GattBatteryCallbacks()); in onStart()
160 mBroadcastReceiver = new UnpairReceiver(this, mDevice); in onStart()
162 if (mDevice != null && mDevice.getBondState() == BluetoothDevice.BOND_NONE) { in onStart()
200 mUnpairPref.getExtras(), mDevice, mDeviceName, mDeviceImgId); in onCreatePreferences() local
[all …]
DBluetoothPairingDialog.java68 private BluetoothDevice mDevice; field in BluetoothPairingDialog
93 if (device == null || device.equals(mDevice)) {
112 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onCreate()
116 Log.d(TAG, "Requested pairing Type = " + mType + " , Device = " + mDevice); in onCreate()
265 mDevice.cancelPairingUserInput(); in cancelPairing()
270 .replace(android.R.id.content, EntryDialogFragment.newInstance(mDevice, mType)) in createUserEntryDialog()
281 ConfirmationDialogFragment.newInstance(mDevice, mPairingKey, mType); in createConfirmationDialog()
296 mDevice.setPin(pinBytes); in onPair()
303 mDevice.setPasskey(passkey); in onPair()
312 mDevice.setPairingConfirmation(true); in onPair()
[all …]
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/sidepanel/
DCustomizeChannelListFragmentTest.java42 mTvView = mDevice.findObject(Constants.TV_VIEW); in setUp()
47 assertWaitForCondition(mDevice, Until.hasObject(Constants.CHANNEL_BANNER)); in setUp()
64 assertWaitForCondition(mDevice, Until.hasObject(mBySettingsSidePanel)); in testCustomizeChannelList_noraml()
67 mDevice.pressDPadCenter(); in testCustomizeChannelList_noraml()
70 assertWaitForCondition(mDevice, Until.hasObject(bySidePanel)); in testCustomizeChannelList_noraml()
75 mDevice.pressDPadCenter(); in testCustomizeChannelList_noraml()
77 assertWaitForCondition(mDevice, Until.hasObject(bySidePanel)); in testCustomizeChannelList_noraml()
81 mDevice.pressBack(); in testCustomizeChannelList_noraml()
84 assertWaitForCondition(mDevice, Until.hasObject(bySidePanel)); in testCustomizeChannelList_noraml()
88 mDevice.pressBack(); in testCustomizeChannelList_noraml()
[all …]
/packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/
DProgramGuideJankTest.java53 mMenuHelper = new MenuHelper(mDevice, mTargetResources); in setUp()
54 Utils.pressKeysForChannelNumber(STARTING_CHANNEL, mDevice); in setUp()
77 mDevice.pressDPadDown(); in testScrollDown()
89 mDevice.pressDPadRight(); in testScrollRight()
97 mDevice.waitForIdle(); in selectProgramGuideMenuItem()
104 mDevice.pressDPadCenter(); in warmProgramGuide()
105 assertWaitForCondition(mDevice, Until.hasObject(Constants.PROGRAM_GUIDE)); in warmProgramGuide()
106 mDevice.pressBack(); in warmProgramGuide()
111 mDevice.pressBack(); in clearProgramGuide()
112 assertWaitForCondition(mDevice, Until.gone(Constants.PROGRAM_GUIDE)); in clearProgramGuide()
[all …]
DChannelZappingJankTest.java46 Utils.pressKeysForChannelNumber(STARTING_CHANNEL, mDevice); in setUp()
56 mDevice.pressDPadUp(); in testChannelZapping()
57 mDevice.waitForIdle(); in testChannelZapping()
59 mDevice.pressBack(); in testChannelZapping()
60 mDevice.waitForIdle(); in testChannelZapping()
67 mDevice.pressDPadUp(); in warmChannelZapping()
68 mDevice.waitForIdle(); in warmChannelZapping()
71 mDevice.pressBack(); in warmChannelZapping()
72 mDevice.waitForIdle(); in warmChannelZapping()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingController.java58 BluetoothDevice mDevice; field in BluetoothPairingController
77 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in BluetoothPairingController()
82 } else if (mDevice == null) { in BluetoothPairingController()
88 mDeviceName = mBluetoothManager.getCachedDeviceManager().getName(mDevice); in BluetoothPairingController()
105 mDevice.setPhonebookAccessPermission(BluetoothDevice.ACCESS_ALLOWED); in onDialogPositiveClick()
107 mDevice.setPhonebookAccessPermission(BluetoothDevice.ACCESS_REJECTED); in onDialogPositiveClick()
119 mDevice.setPhonebookAccessPermission(BluetoothDevice.ACCESS_REJECTED); in onDialogNegativeClick()
173 switch (mDevice.getPhonebookAccessPermission()) { in getContactSharingState()
179 if (mDevice.getBluetoothClass().getDeviceClass() in getContactSharingState()
280 mDevice.setPairingConfirmation(true); in notifyDialogDisplayed()
[all …]
DBluetoothPairingService.java52 private BluetoothDevice mDevice; field in 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); in onStartCommand()
134 if (mDevice != null && mDevice.getBondState() != BluetoothDevice.BOND_BONDING) { in onStartCommand()
135 Log.w(TAG, "Device " + mDevice + " not bonding: " + mDevice.getBondState()); in onStartCommand()
146 Log.d(TAG, "Show pairing notification for " + mDevice.getAddress() + " (" + name + ")"); in onStartCommand()
DBluetoothPermissionRequest.java58 BluetoothDevice mDevice; field in BluetoothPermissionRequest
77 mDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onReceive()
112 connectionAccessIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onReceive()
116 String deviceAddress = mDevice != null ? mDevice.getAddress() : null; in onReceive()
117 String deviceName = mDevice != null ? mDevice.getName() : null; in onReceive()
134 deleteIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onReceive()
138 String deviceAlias = Utils.createRemoteName(context, mDevice); in onReceive()
232 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); in checkUserChoice()
235 bluetoothManager.getProfileManager(), mDevice); in checkUserChoice()
297 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in sendReplyIntentToReceiver()
DBluetoothPermissionActivity.java53 private BluetoothDevice mDevice; field in BluetoothPermissionActivity
67 if (mDevice.equals(device)) dismissDialog();
90 mDevice = i.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); in onCreate()
158 String mRemoteName = Utils.createRemoteName(this, mDevice); in createConnectionDialogView()
167 String mRemoteName = Utils.createRemoteName(this, mDevice); in createPhonebookDialogView()
176 String mRemoteName = Utils.createRemoteName(this, mDevice); in createMapDialogView()
185 String mRemoteName = Utils.createRemoteName(this, mDevice); in createSapDialogView()
207 CachedBluetoothDevice cachedDevice = cachedDeviceManager.findDevice(mDevice); in onNegative()
211 mDevice); in onNegative()
232 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in sendReplyIntentToReceiver()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnection.java37 private final BluetoothDevice mDevice; field in HfpClientConnection
52 mDevice = device; in HfpClientConnection()
69 mDevice = device; in HfpClientConnection()
78 mDevice, number.getSchemeSpecificPart()); in HfpClientConnection()
92 mClientHasEcc = HfpClientConnectionService.hasHfpClientEcc(mHeadsetProfile, mDevice); in finishInitializing()
124 mHeadsetProfile.enterPrivateMode(mDevice, mCurrentCall.getId()); in enterPrivateMode()
202 return mDevice; in getDevice()
211 mHeadsetProfile.sendDTMF(mDevice, (byte) c); in onPlayDtmfTone()
222 mHeadsetProfile.terminateCall(mDevice, mCurrentCall); in onDisconnect()
242 mHeadsetProfile.holdCall(mDevice); in onHold()
[all …]
/packages/apps/Settings/tests/app/src/com/android/settings/password/
DChooseLockGenericTest.java69 private UiDevice mDevice; field in ChooseLockGenericTest
82 mDevice = UiDevice.getInstance(getInstrumentation()); in setUp()
101 mDevice.waitForIdle(); in testConfirmLockPasswordShown_deviceWithPassword()
120 mDevice.waitForIdle(); in testConfirmLockPasswordShown_deviceWithPassword_phishingAttack()
153 mDevice.waitForIdle(); in setPassword()
161 mDevice.waitForIdle(); in setPassword()
173 mDevice.pressBack(); in setPassword()
187 mDevice.waitForIdle(); in clearPassword()
194 mDevice.pressBack(); in clearPassword()
195 mDevice.waitForIdle(); in clearPassword()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesControllerTest.java189 profile.setPreferred(mDevice, deviceIsPreferred); in addFakeProfile()
213 mConnectableProfiles.get(i).getNameResource(mDevice)); in verifyProfileSwitchTitles()
263 assertThat(mConnectableProfiles.get(0).isPreferred(mDevice)).isFalse(); in disableThenReenableOneProfile()
271 assertThat(mConnectableProfiles.get(0).isPreferred(mDevice)).isTrue(); in disableThenReenableOneProfile()
291 when(psp.getNameResource(mDevice)).thenReturn(R.string.bluetooth_profile_pbap); in pbapProfileStartsEnabled()
313 when(psp.getNameResource(mDevice)).thenReturn(R.string.bluetooth_profile_pbap); in pbapProfileStartsDisabled()
333 when(mapProfile.getNameResource(mDevice)).thenReturn(R.string.bluetooth_profile_map); in mapProfile()
354 when(profile.getNameResource(mDevice)).thenReturn(R.string.bluetooth_profile_a2dp); in addMockA2dpProfile()
355 when(profile.getHighQualityAudioOptionLabel(mDevice)).thenReturn(mContext.getString( in addMockA2dpProfile()
357 when(profile.supportsHighQualityAudio(mDevice)).thenReturn(supportsHighQualityAudio); in addMockA2dpProfile()
[all …]
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/edit/
DEditMedicalInfoActivityTest.java43 private UiDevice mDevice; field in EditMedicalInfoActivityTest
50 mDevice = UiDevice.getInstance(mInstrumentation); in setUp()
51 mInitialRotation = mDevice.getDisplayRotation(); in setUp()
60 mDevice.setOrientationRight(); in tearDown()
63 mDevice.setOrientationLeft(); in tearDown()
66 mDevice.setOrientationNatural(); in tearDown()
85 mDevice.setOrientationLeft(); in testRotate_editNameDialogOpen_shouldNotCrash()
86 mDevice.setOrientationNatural(); in testRotate_editNameDialogOpen_shouldNotCrash()
87 mDevice.setOrientationRight(); in testRotate_editNameDialogOpen_shouldNotCrash()
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/
DSpeedMeasurementController.java56 private final UsbDevice mDevice; field in SpeedMeasurementController
73 mDevice = device; in SpeedMeasurementController()
144 ReaderThread readerSync = new ReaderThread(mDevice, mUsbConnection, TEST_MODE_SYNC); in runSyncTest()
145 WriterSyncThread writerSync = new WriterSyncThread(mDevice, mUsbConnection, bufferSize); in runSyncTest()
150 ReaderThread readerAsync = new ReaderThread(mDevice, mUsbConnection, TEST_MODE_ASYNC); in runAsyncTest()
151 WriterAsyncThread writerAsync = new WriterAsyncThread(mDevice, mUsbConnection, bufferSize); in runAsyncTest()
157 private final UsbDevice mDevice; field in SpeedMeasurementController.ReaderThread
165 mDevice = device; in ReaderThread()
168 UsbInterface iface = mDevice.getInterface(0); in ReaderThread()
214 protected final UsbDevice mDevice; field in SpeedMeasurementController.BaseWriterThread
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DBots.java67 public final UiDevice mDevice; field in Bots.BaseBot
72 mDevice = device; in BaseBot()
81 UiObject2 candidate = mDevice.findObject(By.res(resourceName)); in assertHasFocus()
87 mDevice.wait(Until.findObject(selector), mTimeout); in find()
88 return mDevice.findObject(selector); in find()
93 return mDevice.findObject(object); in findObject()
100 return mDevice.findObject(selector); in findObject()
104 mDevice.waitForIdle(mTimeout); in waitForIdle()

1234