Searched defs:bondState (Results 1 - 15 of 15) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
H A DBluetoothSettingsFragment.java204 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument
H A DBluetoothDeviceListAdapter.java314 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument
469 int bondState = device.getBondState();
474 } else if (bondState == BluetoothDevice.BOND_BONDED) {
476 } else if (bondState == BluetoothDevice.BOND_NONE) {
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothPairingDetail.java172 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument
173 if (bondState == BluetoothDevice.BOND_BONDED) {
181 && bondState == BluetoothDevice.BOND_NONE) {
H A DBluetoothSummaryUpdater.java76 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument
H A DDevicePickerFragment.java140 int bondState) {
145 if (bondState == BluetoothDevice.BOND_BONDED) {
148 } else if (bondState == BluetoothDevice.BOND_NONE) {
139 onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) argument
H A DBluetoothDeviceUpdater.java136 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument
/packages/apps/Settings/src/com/android/settings/connecteddevice/
H A DAvailableMediaDeviceGroupController.java142 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
H A DDeviceListPreferenceFragmentTest.java184 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) {} argument
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
H A DHearingAidServiceTest.java985 * @param bondState bond state value, could be invalid
989 private void testOkToConnectCase(BluetoothDevice device, int bondState, int priority, argument
991 doReturn(bondState).when(mAdapterService).getBondState(device);
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
H A DHeadsetServiceTest.java819 * @param bondState bond state value, could be invalid
823 private void testOkToAcceptConnectionCase(BluetoothDevice device, int bondState, int priority, argument
825 doReturn(bondState).when(mAdapterService).getBondState(device);
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
H A DHearingAidService.java339 int bondState = mAdapterService.getBondState(device);
343 && (bondState == BluetoothDevice.BOND_BONDING
344 || bondState == BluetoothDevice.BOND_BONDED);
348 && (bondState == BluetoothDevice.BOND_BONDED
349 || bondState == BluetoothDevice.BOND_BONDING);
353 Log.w(TAG, "okToConnect: return false, priority=" + priority + ", bondState="
354 + bondState);
647 * @param bondState the new bond state for the device. Possible values are:
653 void bondStateChanged(BluetoothDevice device, int bondState) { argument
655 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState);
[all...]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
H A DA2dpServiceTest.java858 * @param bondState bond state value, could be invalid
862 private void testOkToConnectCase(BluetoothDevice device, int bondState, int priority, argument
864 doReturn(bondState).when(mAdapterService).getBondState(device);
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpService.java360 int bondState = mAdapterService.getBondState(device);
364 && (bondState == BluetoothDevice.BOND_BONDING
365 || bondState == BluetoothDevice.BOND_BONDED);
369 && (bondState == BluetoothDevice.BOND_BONDED
370 || bondState == BluetoothDevice.BOND_BONDING);
374 Log.w(TAG, "okToConnect: return false, priority=" + priority + ", bondState="
375 + bondState);
878 * @param bondState the new bond state for the device. Possible values are:
884 void bondStateChanged(BluetoothDevice device, int bondState) { argument
886 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState);
[all...]
/packages/apps/Settings/src/com/android/settings/sound/
H A DAudioSwitchPreferenceController.java240 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { argument
/packages/services/Car/service/src/com/android/car/
H A DBluetoothDeviceConnectionPolicy.java275 int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE,
277 updateBondState(device, bondState);
822 * @param bondState - current bonding state
824 private void updateBondState(BluetoothDevice device, int bondState) { argument
830 Log.d(TAG, "BondState :" + bondState + " Device: " + device);
834 if (bondState == BluetoothDevice.BOND_NONE) {
841 } else if (bondState == BluetoothDevice.BOND_BONDED) {

Completed in 4728 milliseconds