Home
last modified time | relevance | path

Searched refs:mDevice (Results 1 – 13 of 13) 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()
DBluetoothA2dpFacade.java143 BluetoothDevice mDevice = in bluetoothA2dpConnect() local
146 Log.d("Connecting to device " + mDevice.getAliasName()); in bluetoothA2dpConnect()
147 return a2dpConnect(mDevice); in bluetoothA2dpConnect()
168 BluetoothDevice mDevice = BluetoothFacade.getDevice( in bluetoothA2dpDisconnect() local
170 return a2dpDisconnect(mDevice); in bluetoothA2dpDisconnect()
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()
DBluetoothHspFacade.java125 BluetoothDevice mDevice = BluetoothFacade.getDevice( in bluetoothHspConnect()
127 Log.d("Connecting to device " + mDevice.getAliasName()); in bluetoothHspConnect()
128 return hspConnect(mDevice); in bluetoothHspConnect()
142 BluetoothDevice mDevice = BluetoothFacade.getDevice( in bluetoothHspDisconnect() local
144 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()
DBluetoothHidDeviceFacade.java301 BluetoothDevice mDevice = in bluetoothHidDeviceConnect() local
303 Log.d("Connecting to device " + mDevice.getAliasName()); in bluetoothHidDeviceConnect()
304 return hidDeviceConnect(mDevice); in bluetoothHidDeviceConnect()
323 BluetoothDevice mDevice = BluetoothFacade.getDevice(sHidDeviceProfile.getConnectedDevices(), in bluetoothHidDeviceDisconnect() local
325 return hidDeviceDisconnect(mDevice); in bluetoothHidDeviceDisconnect()
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()
DBluetoothHealthFacade.java99 BluetoothDevice mDevice = mBluetoothAdapter.getRemoteDevice(macAddress); in bluetoothHealthConnectChannelToSource() local
101 return sHealthProfile.connectChannelToSource(mDevice, mConfigList.get(configIndex)); in bluetoothHealthConnectChannelToSource()
113 BluetoothDevice mDevice = mBluetoothAdapter.getRemoteDevice(macAddress); in bluetoothHealthConnectChannelToSink() local
115 … return sHealthProfile.connectChannelToSink(mDevice, mConfigList.get(configIndex), channelType); in bluetoothHealthConnectChannelToSink()
DBluetoothHidFacade.java184 BluetoothDevice mDevice = BluetoothFacade.getDevice( in bluetoothHidConnect()
186 Log.d("Connecting to device " + mDevice.getAliasName()); in bluetoothHidConnect()
187 return hidConnect(mDevice); in bluetoothHidConnect()
203 BluetoothDevice mDevice = BluetoothFacade.getDevice( in bluetoothHidDisconnect() local
205 return hidDisconnect(mDevice); in bluetoothHidDisconnect()
/external/deqp/android/cts/runner/src/com/drawelements/deqp/runner/
DDeqpTestRunner.java151 private ITestDevice mDevice; field in DeqpTestRunner
219 mDevice = device; in setDevice()
227 return mDevice; in getDevice()
816 private ITestDevice mDevice; field in DeqpTestRunner.Recovery
835 mDevice = device; in setDevice()
883 mDevice.getSerialNumber()); in recoverConnectionRefused()
947 mDevice.getSerialNumber()); in recoverComLinkKilled()
957 final String processes = mDevice.executeShellCommand("ps | grep com.drawelements"); in getDeqpProcessPids()
978 mDevice.executeShellCommand(String.format("kill -9 %d", processId)); in killDeqpProcess()
997 recoverDeviceMethod = mDevice.getClass().getMethod("recoverDevice"); in recoverDevice()
[all …]