Home
last modified time | relevance | path

Searched refs:getDevice (Results 1 – 12 of 12) sorted by relevance

/development/tools/hosttestlib/src/com/android/hosttest/
DDeviceTestCase.java48 public IDevice getDevice() { in getDevice() method in DeviceTestCase
69 assertNotNull(getDevice()); in setUp()
DDeviceTest.java38 public IDevice getDevice(); in getDevice() method
DDeviceTestSuite.java65 public IDevice getDevice() { in getDevice() method in DeviceTestSuite
/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/
DScanResultAdapter.java61 return mArrayList.get(position).getDevice().getAddress().hashCode(); in getItemId()
78 String name = scanResult.getDevice().getName(); in getView()
83 deviceAddressView.setText(scanResult.getDevice().getAddress()); in getView()
95 if (mArrayList.get(i).getDevice().getAddress().equals(address)) { in getPosition()
110 int existingPosition = getPosition(scanResult.getDevice().getAddress()); in add()
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DWiFiDirectActivity.java269 if (fragment.getDevice() == null in cancelDisconnect()
270 || fragment.getDevice().status == WifiP2pDevice.CONNECTED) { in cancelDisconnect()
272 } else if (fragment.getDevice().status == WifiP2pDevice.AVAILABLE in cancelDisconnect()
273 || fragment.getDevice().status == WifiP2pDevice.INVITED) { in cancelDisconnect()
DDeviceListFragment.java66 public WifiP2pDevice getDevice() { in getDevice() method in DeviceListFragment
/development/samples/ControllerSample/src/com/example/inputmanagercompat/
DInputManagerV9.java69 if (null == InputDevice.getDevice(id)) { in handleMessage()
99 return InputDevice.getDevice(id); in getInputDevice()
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DDeviceScanActivity.java149 final BluetoothDevice device = mLeDeviceListAdapter.getDevice(position); in onListItemClick()
199 public BluetoothDevice getDevice(int position) { in getDevice() method in DeviceScanActivity.LeDeviceListAdapter
/development/apps/SdkSetup/src/com/android/sdksetup/
DDefaultActivity.java89 InputDevice inputDevice = InputDevice.getDevice(deviceId); in getKeyboardDevice()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameControllerInput.java231 public InputDevice getDevice() { in getDevice() method in GameControllerInput.InputDeviceState
370 mContext, mState.getDevice().toString(), Toast.LENGTH_LONG); in onItemClick()
381 mDeviceNameTextColumn.setContent(state.getDevice().getName()); in show()
DGameView.java218 mLastInputDevice = event.getDevice(); in onGenericMotionEvent()
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java255 InputDevice dev = InputDevice.getDevice(shipID); in getShipForId()
828 mInputDevice = event.getDevice(); in processJoystickInput()
1146 ship.setInputDevice(InputDevice.getDevice(deviceId)); in onInputDeviceChanged()