Home
last modified time | relevance | path

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

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothPairingHelper.java48 BluetoothDevice mDevice = intent.getParcelableExtra( in onReceive() local
51 mDevice.setMessageAccessPermission(BluetoothDevice.ACCESS_ALLOWED); in onReceive()
52 mDevice.setPhonebookAccessPermission( in onReceive()
59 String deviceAddress = mDevice.getAddress(); in onReceive()
67 mDevice.setPairingConfirmation(true); in onReceive()
74 mDevice.setPairingConfirmation(true); in onReceive()
89 mDevice.setPairingConfirmation(false); in onReceive()
94 mDevice.setPairingConfirmation(true); in onReceive()
97 mDevice.setPairingConfirmation(false); in onReceive()
133 newIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); in onReceive()
DBluetoothConnectionFacade.java174 private BluetoothDevice mDevice; field in BluetoothConnectionFacade.DiscoverConnectReceiver
196 mDevice = device; in onReceive()
200 if (mDevice == null) { in onReceive()
205 boolean status = mDevice.fetchUuidsWithSdp(); in onReceive()
223 private BluetoothDevice mDevice = null; field in BluetoothConnectionFacade.DiscoverBondReceiver
245 mDevice = device; in onReceive()
249 if (mDevice == null) { in onReceive()
256 Log.d("Bond with " + mDevice.getAliasName()); in onReceive()
257 if (mDevice.createBond()) { in onReceive()
261 Log.e("Failed to bond with " + mDevice.getAliasName()); in onReceive()
[all …]
DBluetoothMapClientFacade.java120 BluetoothDevice mDevice = BluetoothFacade.getDevice( in bluetoothMapClientConnect()
122 Log.d("Connecting to device " + mDevice.getAliasName()); in bluetoothMapClientConnect()
123 return sMapProfile.connect(mDevice); in bluetoothMapClientConnect()
181 BluetoothDevice mDevice = BluetoothFacade.getDevice( in bluetoothMapClientDisconnect() local
184 && connectedMapDevices.get(0).equals(mDevice)) { in bluetoothMapClientDisconnect()
185 if (sMapProfile.getPriority(mDevice) > BluetoothProfile.PRIORITY_ON) { in bluetoothMapClientDisconnect()
186 sMapProfile.setPriority(mDevice, BluetoothProfile.PRIORITY_ON); in bluetoothMapClientDisconnect()
188 return sMapProfile.disconnect(mDevice); in bluetoothMapClientDisconnect()
DBluetoothMapFacade.java103 BluetoothDevice mDevice = BluetoothFacade.getDevice(connectedMapDevices, deviceID); in bluetoothMapDisconnect() local
105 && connectedMapDevices.get(0).equals(mDevice)) { in bluetoothMapDisconnect()
106 if (sMapProfile.getPriority(mDevice) in bluetoothMapDisconnect()
108 sMapProfile.setPriority(mDevice, BluetoothProfile.PRIORITY_ON); in bluetoothMapDisconnect()
110 return sMapProfile.disconnect(mDevice); in bluetoothMapDisconnect()
DBluetoothConnection.java40 private BluetoothDevice mDevice; field in BluetoothConnection
56 mDevice = mSocket.getRemoteDevice(); in BluetoothConnection()
85 return mDevice.getAddress(); in getRemoteBluetoothAddress()
251 return mDevice.getName(); in getConnectedDeviceName()
DBluetoothA2dpFacade.java185 BluetoothDevice mDevice = in bluetoothA2dpConnect() local
188 Log.d("Connecting to device " + mDevice.getAliasName()); in bluetoothA2dpConnect()
189 return a2dpConnect(mDevice); in bluetoothA2dpConnect()
210 BluetoothDevice mDevice = BluetoothFacade.getDevice( in bluetoothA2dpDisconnect() local
212 return a2dpDisconnect(mDevice); in bluetoothA2dpDisconnect()
DBluetoothHspFacade.java139 BluetoothDevice mDevice = BluetoothFacade.getDevice( in bluetoothHspConnect()
141 Log.d("Connecting to device " + mDevice.getAliasName()); in bluetoothHspConnect()
142 return hspConnect(mDevice); in bluetoothHspConnect()
156 BluetoothDevice mDevice = BluetoothFacade.getDevice( in bluetoothHspDisconnect() local
158 return hspDisconnect(mDevice); in bluetoothHspDisconnect()
DBluetoothSocketConnFacade.java109 BluetoothDevice mDevice; in bluetoothSocketConnCreateL2capSocket() local
110 mDevice = mBluetoothAdapter.getRemoteDevice(address); in bluetoothSocketConnCreateL2capSocket()
114 createL2capSocketMethod.invoke(mDevice, channel); in bluetoothSocketConnCreateL2capSocket()
132 BluetoothDevice mDevice; in bluetoothSocketConnBeginConnectThreadUuid() local
133 mDevice = mBluetoothAdapter.getRemoteDevice(address); in bluetoothSocketConnBeginConnectThreadUuid()
134 ConnectThread connectThread = new ConnectThread(mDevice, uuid); in bluetoothSocketConnBeginConnectThreadUuid()
156 BluetoothDevice mDevice; in bluetoothSocketConnBeginConnectThreadPsm() local
157 mDevice = mBluetoothAdapter.getRemoteDevice(address); in bluetoothSocketConnBeginConnectThreadPsm()
160 ConnectThread connectThread = new ConnectThread(mDevice, psmValue, isBle, securedConn); in bluetoothSocketConnBeginConnectThreadPsm()
DBluetoothFacade.java250 BluetoothDevice mDevice; in bluetoothGetRemoteDeviceName() local
251 mDevice = mBluetoothAdapter.getRemoteDevice(address); in bluetoothGetRemoteDeviceName()
252 return mDevice.getName(); in bluetoothGetRemoteDeviceName()
263 BluetoothDevice mDevice; in bluetoothFetchUuidsWithSdp() local
264 mDevice = mBluetoothAdapter.getRemoteDevice(address); in bluetoothFetchUuidsWithSdp()
265 return mDevice.fetchUuidsWithSdp(); in bluetoothFetchUuidsWithSdp()
DBluetoothHidDeviceFacade.java317 BluetoothDevice mDevice = in bluetoothHidDeviceConnect() local
319 Log.d("Connecting to device " + mDevice.getAliasName()); in bluetoothHidDeviceConnect()
320 return hidDeviceConnect(mDevice); in bluetoothHidDeviceConnect()
339 BluetoothDevice mDevice = BluetoothFacade.getDevice(sHidDeviceProfile.getConnectedDevices(), in bluetoothHidDeviceDisconnect() local
341 return hidDeviceDisconnect(mDevice); in bluetoothHidDeviceDisconnect()
DBluetoothHidFacade.java189 BluetoothDevice mDevice = BluetoothFacade.getDevice( in bluetoothHidConnect()
191 Log.d("Connecting to device " + mDevice.getAliasName()); in bluetoothHidConnect()
192 return hidConnect(mDevice); in bluetoothHidConnect()
208 BluetoothDevice mDevice = BluetoothFacade.getDevice( in bluetoothHidDisconnect() local
210 return hidDisconnect(mDevice); in bluetoothHidDisconnect()
/external/deqp/android/cts/runner/src/com/drawelements/deqp/runner/
DDeqpTestRunner.java167 private ITestDevice mDevice; field in DeqpTestRunner
235 mDevice = device; in setDevice()
243 return mDevice; in getDevice()
832 private ITestDevice mDevice; field in DeqpTestRunner.Recovery
851 mDevice = device; in setDevice()
899 mDevice.getSerialNumber()); in recoverConnectionRefused()
963 mDevice.getSerialNumber()); in recoverComLinkKilled()
973 final String processes = mDevice.executeShellCommand("ps | grep com.drawelements"); in getDeqpProcessPids()
994 mDevice.executeShellCommand(String.format("kill -9 %d", processId)); in killDeqpProcess()
1007 ((IManagedTestDevice) mDevice).recoverDevice(); in recoverDevice()
[all …]