/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/ |
H A D | ProfilePrioritiesEntity.java | 41 a2dp_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 42 a2dp_sink_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 43 hfp_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 44 hfp_client_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 45 hid_host_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 46 pan_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 47 pbap_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 49 map_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 50 sap_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() 52 map_client_connection_policy = BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in ProfilePrioritiesEntity() [all …]
|
H A D | DatabaseManager.java | 817 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() 820 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() 823 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() 826 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() 829 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() 832 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() 835 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() 838 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() 841 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() 844 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in migrateSettingsGlobal() [all …]
|
H A D | Metadata.java | 150 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getProfileConnectionPolicy()
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/ |
H A D | HidHostServiceTest.java | 103 BluetoothDevice.BOND_NONE, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect() 111 BluetoothDevice.BOND_BONDING, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect() 119 BluetoothDevice.BOND_BONDED, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, true); in testOkToConnect() 127 badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect()
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
H A D | HeadsetServiceTest.java | 195 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToAcceptConnection() 203 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToAcceptConnection() 211 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, true); in testOkToAcceptConnection() 219 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToAcceptConnection() 236 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testConnectDevice_connectDeviceBelowLimit() 348 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testConnectDevice_connectDeviceAboveLimit() 400 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testConnectAudio_withOneDevice() 452 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testConnectAudio_withMultipleDevices() 528 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testConnectAudio_connectTwoAudioChannelsShouldFail() 600 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testConnectAudio_firstConnectedAudioDevice() [all …]
|
H A D | HeadsetServiceAndStateMachineTest.java | 283 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testConnectFromApi() 326 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testUnbondDevice_disconnectBeforeUnbond() 369 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testUnbondDevice_disconnectAfterUnbond() 1170 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in connectTestDevice()
|
/aosp12/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothProfile.java | 264 CONNECTION_POLICY_FORBIDDEN, CONNECTION_POLICY_UNKNOWN}) 292 int CONNECTION_POLICY_UNKNOWN = -1; field
|
H A D | BluetoothAdapter.java | 4332 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in priorityToConnectionPolicy() 4335 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in priorityToConnectionPolicy() 4353 case BluetoothProfile.CONNECTION_POLICY_UNKNOWN: in connectionPolicyToPriority()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | BondStateMachine.java | 567 hidService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority() 570 a2dpService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority() 573 headsetService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority() 577 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority() 580 a2dpSinkService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority() 584 BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority()
|
H A D | PhonePolicy.java | 287 == BluetoothProfile.CONNECTION_POLICY_UNKNOWN)) { in processInitProfilePriorities() 296 == BluetoothProfile.CONNECTION_POLICY_UNKNOWN))) { in processInitProfilePriorities() 304 == BluetoothProfile.CONNECTION_POLICY_UNKNOWN)) { in processInitProfilePriorities() 311 == BluetoothProfile.CONNECTION_POLICY_UNKNOWN) in processInitProfilePriorities() 320 == BluetoothProfile.CONNECTION_POLICY_UNKNOWN)) { in processInitProfilePriorities()
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/le_audio/ |
H A D | LeAudioServiceTest.java | 208 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetSetPriority() 210 .that(BluetoothProfile.CONNECTION_POLICY_UNKNOWN) in testGetSetPriority() 250 BluetoothDevice.BOND_NONE, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect() 258 BluetoothDevice.BOND_BONDING, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect() 266 BluetoothDevice.BOND_BONDED, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, true); in testOkToConnect() 274 badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect()
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/ |
H A D | DatabaseManagerTest.java | 129 Assert.assertEquals(BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testMetadataDefault() 154 testSetGetProfileConnectionPolicyCase(false, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testSetGetProfileConnectionPolicy() 155 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, true); in testSetGetProfileConnectionPolicy() 161 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testSetGetProfileConnectionPolicy() 164 testSetGetProfileConnectionPolicyCase(true, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testSetGetProfileConnectionPolicy() 165 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, true); in testSetGetProfileConnectionPolicy() 171 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testSetGetProfileConnectionPolicy()
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
H A D | A2dpServiceTest.java | 265 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetPriority() 267 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testGetPriority() 291 BluetoothDevice.BOND_NONE, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect() 299 BluetoothDevice.BOND_BONDING, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect() 307 BluetoothDevice.BOND_BONDED, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, true); in testOkToConnect() 315 badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect()
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/ |
H A D | HearingAidServiceTest.java | 222 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testGetSetPriority() 224 BluetoothProfile.CONNECTION_POLICY_UNKNOWN, in testGetSetPriority() 248 BluetoothDevice.BOND_NONE, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect() 256 BluetoothDevice.BOND_BONDING, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect() 264 BluetoothDevice.BOND_BONDED, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, true); in testOkToConnect() 272 badBondState, BluetoothProfile.CONNECTION_POLICY_UNKNOWN, false); in testOkToConnect()
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
H A D | PhonePolicyTest.java | 117 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testProcessInitProfilePriorities() 121 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testProcessInitProfilePriorities() 756 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testNoSupportedUuids() 760 .thenReturn(BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in testNoSupportedUuids()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/ |
H A D | LeAudioService.java | 636 } else if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_UNKNOWN in okToConnect() 822 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getConnectionPolicy()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
H A D | A2dpService.java | 383 } else if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_UNKNOWN in okToConnect() 1349 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getPriority() 1359 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getConnectionPolicy()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
H A D | HearingAidService.java | 390 } else if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_UNKNOWN in okToConnect() 961 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getConnectionPolicy()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
H A D | HeadsetService.java | 534 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getPriority() 544 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getConnectionPolicy() 1838 } else if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_UNKNOWN in okToAcceptConnection()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
H A D | HidHostService.java | 422 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getConnectionPolicy() 912 } else if (connectionPolicy != BluetoothProfile.CONNECTION_POLICY_UNKNOWN in okToConnect()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
H A D | A2dpSinkService.java | 273 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getConnectionPolicy()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
H A D | PbapClientService.java | 321 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getConnectionPolicy()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
H A D | MapClientService.java | 571 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getConnectionPolicy()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
H A D | SapService.java | 1047 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getConnectionPolicy()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
H A D | HeadsetClientService.java | 314 return BluetoothProfile.CONNECTION_POLICY_UNKNOWN; in getConnectionPolicy()
|