Searched refs:AbstractionLayer (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterProperties.java | 290 return mService.setAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_BDNAME, in setName() 311 mService.setAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_CLASS_OF_DEVICE, in setBluetoothClass() 334 AbstractionLayer.BT_PROPERTY_LOCAL_IO_CAPS, Utils.intToByteArray(capability)); in setIoCapability() 353 AbstractionLayer.BT_PROPERTY_LOCAL_IO_CAPS_BLE, in setLeIoCapability() 384 return mService.setAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_ADAPTER_SCAN_MODE, in setScanMode() 626 AbstractionLayer.BT_PROPERTY_ADAPTER_DISCOVERABLE_TIMEOUT, in setDiscoverableTimeout() 856 case AbstractionLayer.BT_PROPERTY_BDNAME: in adapterPropertyChangedCallback() 865 case AbstractionLayer.BT_PROPERTY_BDADDR: in adapterPropertyChangedCallback() 874 case AbstractionLayer.BT_PROPERTY_CLASS_OF_DEVICE: in adapterPropertyChangedCallback() 886 case AbstractionLayer.BT_PROPERTY_ADAPTER_SCAN_MODE: in adapterPropertyChangedCallback() [all …]
|
D | BondStateMachine.java | 487 case AbstractionLayer.BT_SSP_VARIANT_PASSKEY_CONFIRMATION: in sspRequestCallback() 492 case AbstractionLayer.BT_SSP_VARIANT_CONSENT: in sspRequestCallback() 496 case AbstractionLayer.BT_SSP_VARIANT_PASSKEY_ENTRY: in sspRequestCallback() 500 case AbstractionLayer.BT_SSP_VARIANT_PASSKEY_NOTIFICATION: in sspRequestCallback() 611 if (reason == AbstractionLayer.BT_STATUS_SUCCESS) { in getUnbondReasonFromHALCode() 613 } else if (reason == AbstractionLayer.BT_STATUS_RMT_DEV_DOWN) { in getUnbondReasonFromHALCode() 615 } else if (reason == AbstractionLayer.BT_STATUS_AUTH_FAILURE) { in getUnbondReasonFromHALCode() 617 } else if (reason == AbstractionLayer.BT_STATUS_AUTH_REJECTED) { in getUnbondReasonFromHALCode() 619 } else if (reason == AbstractionLayer.BT_STATUS_AUTH_TIMEOUT) { in getUnbondReasonFromHALCode()
|
D | RemoteDevices.java | 332 AbstractionLayer.BT_PROPERTY_REMOTE_FRIENDLY_NAME, mAlias.getBytes()); in setAlias() 547 case AbstractionLayer.BT_PROPERTY_BDNAME: in devicePropertyChangedCallback() 562 case AbstractionLayer.BT_PROPERTY_REMOTE_FRIENDLY_NAME: in devicePropertyChangedCallback() 566 case AbstractionLayer.BT_PROPERTY_BDADDR: in devicePropertyChangedCallback() 570 case AbstractionLayer.BT_PROPERTY_CLASS_OF_DEVICE: in devicePropertyChangedCallback() 586 case AbstractionLayer.BT_PROPERTY_UUIDS: in devicePropertyChangedCallback() 587 int numUuids = val.length / AbstractionLayer.BT_UUID_SIZE; in devicePropertyChangedCallback() 599 case AbstractionLayer.BT_PROPERTY_TYPE_OF_DEVICE: in devicePropertyChangedCallback() 604 case AbstractionLayer.BT_PROPERTY_REMOTE_RSSI: in devicePropertyChangedCallback() 667 if (newState == AbstractionLayer.BT_ACL_STATE_CONNECTED) { in aclStateChangeCallback() [all …]
|
D | AdapterService.java | 403 getAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_LOCAL_IO_CAPS); in processProfileServiceStateChanged() 404 getAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_LOCAL_IO_CAPS_BLE); in processProfileServiceStateChanged() 405 getAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_DYNAMIC_AUDIO_BUFFER); in processProfileServiceStateChanged() 528 getAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_BDADDR); in onCreate() 529 getAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_BDNAME); in onCreate() 530 getAdapterPropertyNative(AbstractionLayer.BT_PROPERTY_CLASS_OF_DEVICE); in onCreate() 677 if (status == AbstractionLayer.BT_STATE_OFF) { in stateChangeCallback() 680 } else if (status == AbstractionLayer.BT_STATE_ON) { in stateChangeCallback() 719 mAdapterProperties.setScanMode(AbstractionLayer.BT_SCAN_MODE_NONE); in stopProfileServices() 1967 AbstractionLayer.BT_SSP_VARIANT_PASSKEY_ENTRY, in setPasskey() [all …]
|
D | AbstractionLayer.java | 23 public final class AbstractionLayer { class
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/ |
D | SdpManager.java | 35 import com.android.bluetooth.btservice.AbstractionLayer; 255 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpMasRecordFoundCallback() 281 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpMnsRecordFoundCallback() 306 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpPseRecordFoundCallback() 333 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpOppOpsRecordFoundCallback() 358 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpSapsRecordFoundCallback() 388 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpDipRecordFoundCallback() 416 if (status == AbstractionLayer.BT_STATUS_SUCCESS) { in sdpRecordFoundCallback()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/sdp/ |
D | DipTest.java | 41 import com.android.bluetooth.btservice.AbstractionLayer; 133 mSdpManager.sdpDipRecordFoundCallback(AbstractionLayer.BT_STATUS_SUCCESS, in testDipCallbackSuccess() 138 verifyDipSdpRecordIntent(mIntentArgument, AbstractionLayer.BT_STATUS_SUCCESS, mTestDevice, in testDipCallbackSuccess()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | BondStateMachineTest.java | 122 mBondStateMachine.bondStateChangeCallback(AbstractionLayer.BT_STATUS_SUCCESS, in testCreateBondAfterRemoveBond() 125 mBondStateMachine.bondStateChangeCallback(AbstractionLayer.BT_STATUS_SUCCESS, in testCreateBondAfterRemoveBond()
|
D | RemoteDevicesTest.java | 279 AbstractionLayer.BT_ACL_STATE_DISCONNECTED, 19); // HCI code 19 remote terminated in testResetBatteryLevel_testAclStateChangeCallback()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 72 import com.android.bluetooth.btservice.AbstractionLayer; 2161 if (getDeviceType(device) != AbstractionLayer.BT_DEVICE_TYPE_BREDR) { in getDevicesMatchingConnectionStates()
|