/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/ |
D | ProfilePrioritiesEntity.java | 47 a2dp_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 48 a2dp_sink_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 49 hfp_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 50 hfp_client_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 51 hid_host_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 52 pan_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 53 pbap_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 54 pbap_client_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 55 map_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 56 sap_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() [all …]
|
D | DatabaseManager.java | 360 if (newConnectionPolicy != BluetoothProfile.CONNECTION_POLICY_UNKNOWN in setProfileConnectionPolicy() 373 if (newConnectionPolicy == BluetoothProfile.CONNECTION_POLICY_UNKNOWN) { in setProfileConnectionPolicy() 429 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getProfileConnectionPolicy() 441 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getProfileConnectionPolicy() 1265 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() 1270 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() 1275 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() 1280 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() 1285 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() 1290 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bas/ |
D | BatteryServiceTest.java | 117 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetSetPolicy() 120 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testGetSetPolicy() 143 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetPolicyAfterStopped() 146 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testGetPolicyAfterStopped() 158 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testCanConnect() 174 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testCanConnect() 190 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testCanConnect() 204 mDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testCanConnect()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/ |
D | HidHostServiceTest.java | 95 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 111 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 127 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 141 mTestDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetServiceTest.java | 212 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToAcceptConnection() 229 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToAcceptConnection() 246 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToAcceptConnection() 261 mCurrentDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToAcceptConnection() 278 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testConnectDevice_connectDeviceBelowLimit() 417 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testConnectDevice_connectDeviceAboveLimit() 488 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testConnectAudio_withOneDevice() 553 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testConnectAudio_withMultipleDevices() 654 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testConnectAudio_connectTwoAudioChannelsShouldFail() 749 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testConnectAudio_firstConnectedAudioDevice() [all …]
|
D | HeadsetServiceAndStateMachineTest.java | 231 doReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN) in testConnectFromApi() 280 doReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN) in testUnbondDevice_disconnectBeforeUnbond() 326 doReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN) in testUnbondDevice_disconnectAfterUnbond() 1607 doReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN) in testHfpOnlyHandoverToLeAudioAfterScoDisconnect() 1610 doReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN) in testHfpOnlyHandoverToLeAudioAfterScoDisconnect() 1613 doReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN) in testHfpOnlyHandoverToLeAudioAfterScoDisconnect() 1818 doReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN) in connectTestDevice()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | BondStateMachine.java | 789 hidService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority() 792 a2dpService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority() 795 headsetService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority() 799 device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority() 802 a2dpSinkService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority() 806 device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority() 809 leAudioService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority() 813 device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority() 817 device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority() 821 device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority()
|
D | PhonePolicy.java | 359 == BluetoothProfile.CONNECTION_POLICY_UNKNOWN)) { in processInitProfilePriorities() 383 == BluetoothProfile.CONNECTION_POLICY_UNKNOWN))) { in processInitProfilePriorities() 411 == BluetoothProfile.CONNECTION_POLICY_UNKNOWN)) { in processInitProfilePriorities() 439 == BluetoothProfile.CONNECTION_POLICY_UNKNOWN)) { in processInitProfilePriorities() 458 == BluetoothProfile.CONNECTION_POLICY_UNKNOWN)) { in processInitProfilePriorities() 487 == BluetoothProfile.CONNECTION_POLICY_UNKNOWN) in processInitProfilePriorities() 506 == BluetoothProfile.CONNECTION_POLICY_UNKNOWN)) { in processInitProfilePriorities() 534 == BluetoothProfile.CONNECTION_POLICY_UNKNOWN)) { in processInitProfilePriorities() 562 == BluetoothProfile.CONNECTION_POLICY_UNKNOWN)) { in processInitProfilePriorities() 589 == BluetoothProfile.CONNECTION_POLICY_UNKNOWN)) { in processInitProfilePriorities() [all …]
|
D | AdapterService.java | 1771 != BluetoothProfile.CONNECTION_POLICY_UNKNOWN) { in isAllProfilesUnknown() 1776 != BluetoothProfile.CONNECTION_POLICY_UNKNOWN) { in isAllProfilesUnknown() 1781 != BluetoothProfile.CONNECTION_POLICY_UNKNOWN) { in isAllProfilesUnknown() 1786 != BluetoothProfile.CONNECTION_POLICY_UNKNOWN) { in isAllProfilesUnknown() 1791 != BluetoothProfile.CONNECTION_POLICY_UNKNOWN) { in isAllProfilesUnknown() 1796 != BluetoothProfile.CONNECTION_POLICY_UNKNOWN) { in isAllProfilesUnknown() 1801 != BluetoothProfile.CONNECTION_POLICY_UNKNOWN) { in isAllProfilesUnknown() 1806 != BluetoothProfile.CONNECTION_POLICY_UNKNOWN) { in isAllProfilesUnknown() 1811 != BluetoothProfile.CONNECTION_POLICY_UNKNOWN) { in isAllProfilesUnknown() 1816 != BluetoothProfile.CONNECTION_POLICY_UNKNOWN) { in isAllProfilesUnknown() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/ |
D | CsipSetCoordinatorServiceTest.java | 194 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetSetPolicy() 197 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testGetSetPolicy() 223 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetPolicyAfterStopped() 226 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testGetPolicyAfterStopped() 238 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 254 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 270 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 284 mTestDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkServiceTest.java | 181 mockDevicePriority(mDevice1, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testConnectPolicyUnknownDevice() 378 mockDevicePriority(mDevice1, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetConnectionPolicyDeviceUnknown() 380 .isEqualTo(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetConnectionPolicyDeviceUnknown() 443 mDevice1, BluetoothProfile.CONNECTION_POLICY_UNKNOWN)) in testSetConnectionPolicyDeviceUnknown() 449 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testSetConnectionPolicyDeviceUnknown()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothProfile.java | 287 CONNECTION_POLICY_UNKNOWN 313 @SystemApi int CONNECTION_POLICY_UNKNOWN = -1; field
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/ |
D | HapClientTest.java | 243 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetSetPolicy() 246 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testGetSetPolicy() 271 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetPolicyAfterStopped() 274 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testGetPolicyAfterStopped() 286 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 302 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 318 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 332 mDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect() 983 mDevice, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, mAttributionSource)); in testServiceBinderSetConnectionPolicy() 988 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testServiceBinderSetConnectionPolicy()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/ |
D | SapServiceTest.java | 103 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetConnectionPolicy() 105 .isEqualTo(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetConnectionPolicy()
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | CarBluetoothUserService.java | 286 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getConnectionPolicy() 296 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getConnectionPolicy() 305 policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getConnectionPolicy()
|
D | BluetoothUtils.java | 206 case BluetoothProfile.CONNECTION_POLICY_UNKNOWN: in getConnectionPolicyName()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | PhonePolicyTest.java | 140 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getLeAudioConnectionPolicy() 161 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testProcessInitProfilePriorities() 165 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testProcessInitProfilePriorities() 232 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in processInitProfilePriorities_LeAudioOnlyHelper() 234 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in processInitProfilePriorities_LeAudioOnlyHelper() 326 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testProcessInitProfilePriorities_WithAutoConnect() 330 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testProcessInitProfilePriorities_WithAutoConnect() 485 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in processInitProfilePriorities_LeAudioHelper() 487 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in processInitProfilePriorities_LeAudioHelper() 489 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in processInitProfilePriorities_LeAudioHelper() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidServiceTest.java | 218 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetSetPriority() 221 assertThat(connectionPolicy).isEqualTo(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetSetPriority() 242 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 258 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 274 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 288 mSingleDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect() 1165 BluetoothProfile.CONNECTION_POLICY_UNKNOWN)) in serviceBinder_setConnectionPolicy() 1170 mSingleDevice, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, null)) in serviceBinder_setConnectionPolicy() 1176 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in serviceBinder_setConnectionPolicy()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | BluetoothUtilsGetProfileConnectionPolicyNameTest.java | 61 {BluetoothProfile.CONNECTION_POLICY_UNKNOWN, "CONNECTION_POLICY_UNKNOWN"} in provideParams()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/ |
D | VolumeControlServiceTest.java | 236 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetSetPolicy() 239 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testGetSetPolicy() 264 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetPolicyAfterStopped() 267 "Initial device policy", BluetoothProfile.CONNECTION_POLICY_UNKNOWN, policy); in testGetPolicyAfterStopped() 278 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 294 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 310 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 324 mDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect() 985 mDevice, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, mAttributionSource)); in testServiceBinderSetConnectionPolicy() 990 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testServiceBinderSetConnectionPolicy()
|
/packages/modules/Bluetooth/system/blueberry/utils/ |
D | bt_constants.py | 139 CONNECTION_POLICY_UNKNOWN = -1 variable in BluetoothConnectionPolicy
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpServiceTest.java | 199 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetPriority() 201 .isEqualTo(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetPriority() 222 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 238 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 254 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 268 sTestDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/storage/ |
D | DatabaseManagerTest.java | 154 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testMetadataDefault() 183 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testSetGetProfileConnectionPolicy() 184 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testSetGetProfileConnectionPolicy() 197 false, badConnectionPolicy, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testSetGetProfileConnectionPolicy() 202 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testSetGetProfileConnectionPolicy() 203 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testSetGetProfileConnectionPolicy() 216 true, badConnectionPolicy, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testSetGetProfileConnectionPolicy()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/ |
D | BatteryService.java | 267 } else if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_UNKNOWN in canConnect() 578 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getConnectionPolicy()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioServiceTest.java | 401 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetSetPriority() 403 .that(BluetoothProfile.CONNECTION_POLICY_UNKNOWN) in testGetSetPriority() 443 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 459 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 475 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testOkToConnect() 489 mSingleDevice, badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect() 1200 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testSetConnectionPolicy() 1290 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in connectTestDevice() 2712 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testMcsAndTbsAuthorizationWithConnectionPolicy()
|