Searched refs:AbstractionLayer (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterProperties.java | 257 return mService.setAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_BDNAME, in setName() 278 mService.setAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_CLASS_OF_DEVICE, in setBluetoothClass() 301 AbstractionLayer.BT_PROPERTY_LOCAL_IO_CAPS, Utils.intToByteArray(capability)); in setIoCapability() 320 AbstractionLayer.BT_PROPERTY_LOCAL_IO_CAPS_BLE, in setLeIoCapability() 351 return mService.setAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_ADAPTER_SCAN_MODE, in setScanMode() 553 AbstractionLayer.BT_PROPERTY_ADAPTER_DISCOVERABLE_TIMEOUT, in setDiscoverableTimeout() 781 case AbstractionLayer.BT_PROPERTY_BDNAME: in adapterPropertyChangedCallback() 790 case AbstractionLayer.BT_PROPERTY_BDADDR: in adapterPropertyChangedCallback() 800 case AbstractionLayer.BT_PROPERTY_CLASS_OF_DEVICE: in adapterPropertyChangedCallback() 812 case AbstractionLayer.BT_PROPERTY_ADAPTER_SCAN_MODE: in adapterPropertyChangedCallback() [all …]
|
D | BondStateMachine.java | 465 case AbstractionLayer.BT_SSP_VARIANT_PASSKEY_CONFIRMATION: in sspRequestCallback() 470 case AbstractionLayer.BT_SSP_VARIANT_CONSENT: in sspRequestCallback() 474 case AbstractionLayer.BT_SSP_VARIANT_PASSKEY_ENTRY: in sspRequestCallback() 478 case AbstractionLayer.BT_SSP_VARIANT_PASSKEY_NOTIFICATION: in sspRequestCallback() 585 if (reason == AbstractionLayer.BT_STATUS_SUCCESS) { in getUnbondReasonFromHALCode() 587 } else if (reason == AbstractionLayer.BT_STATUS_RMT_DEV_DOWN) { in getUnbondReasonFromHALCode() 589 } else if (reason == AbstractionLayer.BT_STATUS_AUTH_FAILURE) { in getUnbondReasonFromHALCode() 591 } else if (reason == AbstractionLayer.BT_STATUS_AUTH_REJECTED) { in getUnbondReasonFromHALCode() 593 } else if (reason == AbstractionLayer.BT_STATUS_AUTH_TIMEOUT) { in getUnbondReasonFromHALCode()
|
D | RemoteDevices.java | 303 AbstractionLayer.BT_PROPERTY_REMOTE_FRIENDLY_NAME, mAlias.getBytes()); in setAlias() 515 case AbstractionLayer.BT_PROPERTY_BDNAME: in devicePropertyChangedCallback() 529 case AbstractionLayer.BT_PROPERTY_REMOTE_FRIENDLY_NAME: in devicePropertyChangedCallback() 533 case AbstractionLayer.BT_PROPERTY_BDADDR: in devicePropertyChangedCallback() 537 case AbstractionLayer.BT_PROPERTY_CLASS_OF_DEVICE: in devicePropertyChangedCallback() 552 case AbstractionLayer.BT_PROPERTY_UUIDS: in devicePropertyChangedCallback() 553 int numUuids = val.length / AbstractionLayer.BT_UUID_SIZE; in devicePropertyChangedCallback() 565 case AbstractionLayer.BT_PROPERTY_TYPE_OF_DEVICE: in devicePropertyChangedCallback() 570 case AbstractionLayer.BT_PROPERTY_REMOTE_RSSI: in devicePropertyChangedCallback() 620 if (newState == AbstractionLayer.BT_ACL_STATE_CONNECTED) { in aclStateChangeCallback() [all …]
|
D | AdapterService.java | 339 getAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_LOCAL_IO_CAPS); in processProfileServiceStateChanged() 340 getAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_LOCAL_IO_CAPS_BLE); in processProfileServiceStateChanged() 448 getAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_BDADDR); in onCreate() 449 getAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_BDNAME); in onCreate() 450 getAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_CLASS_OF_DEVICE); in onCreate() 594 if (status == AbstractionLayer.BT_STATE_OFF) { in stateChangeCallback() 597 } else if (status == AbstractionLayer.BT_STATE_ON) { in stateChangeCallback() 636 mAdapterProperties.setScanMode(AbstractionLayer.BT_SCAN_MODE_NONE); in stopProfileServices() 1690 AbstractionLayer.BT_SSP_VARIANT_PASSKEY_ENTRY, in setPasskey() 1711 AbstractionLayer.BT_SSP_VARIANT_PASSKEY_CONFIRMATION, in setPairingConfirmation() [all …]
|
D | AbstractionLayer.java | 23 public final class AbstractionLayer { class
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/ |
D | SdpManager.java | 32 import com.android.bluetooth.btservice.AbstractionLayer; 252 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpMasRecordFoundCallback() 278 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpMnsRecordFoundCallback() 303 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpPseRecordFoundCallback() 330 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpOppOpsRecordFoundCallback() 355 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpSapsRecordFoundCallback() 380 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpRecordFoundCallback()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | BondStateMachineTest.java | 120 mBondStateMachine.bondStateChangeCallback(AbstractionLayer.BT_STATUS_SUCCESS, in testCreateBondAfterRemoveBond() 123 mBondStateMachine.bondStateChangeCallback(AbstractionLayer.BT_STATUS_SUCCESS, in testCreateBondAfterRemoveBond()
|
D | RemoteDevicesTest.java | 272 AbstractionLayer.BT_ACL_STATE_DISCONNECTED); in testResetBatteryLevel_testAclStateChangeCallback()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 61 import com.android.bluetooth.btservice.AbstractionLayer; 1872 if (getDeviceType(device) != AbstractionLayer.BT_DEVICE_TYPE_BREDR) { in getDevicesMatchingConnectionStates()
|