Searched refs:mAdapterProperties (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterPropertiesTest.java | 54 private AdapterProperties mAdapterProperties; field in AdapterPropertiesTest 97 mAdapterProperties = new AdapterProperties(mAdapterService); in setUp() 98 mAdapterProperties.init(mRemoteDevices); in setUp() 117 mAdapterProperties.onBondStateChanged(device1, BluetoothDevice.BOND_BONDED); in testCleanupPrevBondRecordsFor() 118 mAdapterProperties.onBondStateChanged(device2, BluetoothDevice.BOND_BONDED); in testCleanupPrevBondRecordsFor() 119 assertThat(mAdapterProperties.getBondedDevices().length).isEqualTo(1); in testCleanupPrevBondRecordsFor() 120 assertThat(mAdapterProperties.getBondedDevices()[0].getAddress()) in testCleanupPrevBondRecordsFor() 135 mAdapterProperties.setName(initial); in setName_shortName_isEqual() 158 mAdapterProperties.setName(initial); in setName_tooLongName_isTruncated()
|
D | AdapterServiceBinderTest.java | 45 @Mock private AdapterProperties mAdapterProperties; field in AdapterServiceBinderTest 52 mService.mAdapterProperties = mAdapterProperties; in setUp() 67 verify(mService.mAdapterProperties).getAddress(); in getAddress() 112 verify(mService.mAdapterProperties).isActivityAndEnergyReportingSupported(); in isActivityAndEnergyReportingSupported()
|
D | BondStateMachineTest.java | 71 private AdapterProperties mAdapterProperties; field in BondStateMachineTest 102 mAdapterProperties = new AdapterProperties(mAdapterService); in setUp() 103 mAdapterProperties.init(mRemoteDevices); in setUp() 105 BondStateMachine.make(mAdapterService, mAdapterProperties, mRemoteDevices); in setUp()
|
D | AdapterServiceTest.java | 578 mAdapterService.mAdapterProperties.adapterPropertyChangedCallback( in enable_isCorrectScanMode()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | JniCallbacks.java | 25 private AdapterProperties mAdapterProperties; field in JniCallbacks 31 mAdapterProperties = adapterProperties; in JniCallbacks() 41 mAdapterProperties = null; in cleanup() 99 mAdapterProperties.discoveryStateChangeCallback(state); in discoveryStateChangeCallback() 103 mAdapterProperties.adapterPropertyChangedCallback(types, val); in adapterPropertyChangedCallback()
|
D | AdapterService.java | 266 @VisibleForTesting AdapterProperties mAdapterProperties; field in AdapterService 530 mAdapterProperties.onBluetoothReady(); in processProfileServiceStateChanged() 627 mAdapterProperties = new AdapterProperties(this); in onCreate() 661 mAdapterProperties = new AdapterProperties(this); in init() 691 mAdapterProperties, in init() 1002 mAdapterProperties.init(mRemoteDevices); in bringUpBle() 1005 mBondStateMachine = BondStateMachine.make(this, mAdapterProperties, mRemoteDevices); in bringUpBle() 1060 mAdapterProperties.onBluetoothReady(); in startProfileServices() 1072 mAdapterProperties.onBluetoothReady(); in startProfileServices() 1084 mAdapterProperties.setScanMode(BluetoothAdapter.SCAN_MODE_NONE); in stopProfileServices() [all …]
|
D | BondStateMachine.java | 82 private AdapterProperties mAdapterProperties; field in BondStateMachine 105 mAdapterProperties = prop; in BondStateMachine() 125 mAdapterProperties = null; in cleanup() 548 mAdapterProperties.onBondStateChanged(device, newState); in sendIntent() 575 mAdapterProperties.onBondStateChanged(device, newState); in sendIntent()
|