/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | PhonePolicyTest.java | 111 when(mHeadsetService.getConnectionPolicy(device)) in testProcessInitProfilePriorities() 115 when(mA2dpService.getConnectionPolicy(device)) in testProcessInitProfilePriorities() 156 when(mHeadsetService.getConnectionPolicy(bondedDevice)).thenReturn( in testAdapterOnAutoConnect() 158 when(mA2dpService.getConnectionPolicy(bondedDevice)).thenReturn( in testAdapterOnAutoConnect() 191 when(mHeadsetService.getConnectionPolicy(connectionOrder.get(0))).thenReturn( in testDisconnectNoAutoConnect() 193 when(mHeadsetService.getConnectionPolicy(connectionOrder.get(1))).thenReturn( in testDisconnectNoAutoConnect() 195 when(mHeadsetService.getConnectionPolicy(connectionOrder.get(2))).thenReturn( in testDisconnectNoAutoConnect() 197 when(mHeadsetService.getConnectionPolicy(connectionOrder.get(3))).thenReturn( in testDisconnectNoAutoConnect() 273 when(mHeadsetService.getConnectionPolicy(bondedDevices[0])).thenReturn( in testReconnectOnPartialConnect() 275 when(mA2dpService.getConnectionPolicy(bondedDevices[0])).thenReturn( in testReconnectOnPartialConnect() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | PhonePolicy.java | 286 hidService.getConnectionPolicy(device) in processInitProfilePriorities() 295 headsetService.getConnectionPolicy(device) in processInitProfilePriorities() 303 a2dpService.getConnectionPolicy(device) in processInitProfilePriorities() 310 panService.getConnectionPolicy(device) in processInitProfilePriorities() 319 BluetoothUuid.HEARING_AID) && (hearingAidService.getConnectionPolicy(device) in processInitProfilePriorities() 448 int a2dpConnectionPolicy = a2dpService.getConnectionPolicy(device); in autoConnectA2dp() 465 int headsetConnectionPolicy = hsService.getConnectionPolicy(device); in autoConnectHeadset() 514 if (!mHeadsetRetrySet.contains(device) && (hsService.getConnectionPolicy(device) in processConnectOtherProfiles() 524 if (!mA2dpRetrySet.contains(device) && (a2dpService.getConnectionPolicy(device) in processConnectOtherProfiles() 537 if (panConnDevList.isEmpty() && (panService.getConnectionPolicy(device) in processConnectOtherProfiles()
|
D | AdapterService.java | 1027 if (mA2dpService != null && mA2dpService.getConnectionPolicy(device) in isAnyProfileEnabled() 1031 if (mA2dpSinkService != null && mA2dpSinkService.getConnectionPolicy(device) in isAnyProfileEnabled() 1035 if (mHeadsetService != null && mHeadsetService.getConnectionPolicy(device) in isAnyProfileEnabled() 1039 if (mHeadsetClientService != null && mHeadsetClientService.getConnectionPolicy(device) in isAnyProfileEnabled() 1043 if (mMapClientService != null && mMapClientService.getConnectionPolicy(device) in isAnyProfileEnabled() 1047 if (mHidHostService != null && mHidHostService.getConnectionPolicy(device) in isAnyProfileEnabled() 1051 if (mPanService != null && mPanService.getConnectionPolicy(device) in isAnyProfileEnabled() 1055 if (mPbapClientService != null && mPbapClientService.getConnectionPolicy(device) in isAnyProfileEnabled() 1059 if (mHearingAidService != null && mHearingAidService.getConnectionPolicy(device) in isAnyProfileEnabled() 1083 BluetoothProfile.A2DP, device) && mA2dpService.getConnectionPolicy(device) in connectEnabledProfiles() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachineTest.java | 131 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in testIncomingPriorityReject() 162 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in testIncomingPriorityAccept() 208 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in testIncomingTimeout() 251 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in testInBandRingtone() 389 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in runSupportedVendorAtCommand() 432 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in runUnsupportedVendorAtCommand() 477 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in runSupportedVendorEvent() 534 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in runUnsupportedVendorEvent() 583 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in testVoiceRecognitionStateChange() 637 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in testSendBIEVCommand() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkService.java | 269 public int getConnectionPolicy(BluetoothDevice device, AttributionSource source) { in getConnectionPolicy() method in A2dpSinkService.A2dpSinkServiceBinder 275 return service.getConnectionPolicy(device); in getConnectionPolicy() 320 if (getConnectionPolicy(device) == BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) { in connect() 464 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in A2dpSinkService
|
D | A2dpSinkStateMachine.java | 176 if (mService.getConnectionPolicy(mDevice) in processStackEvent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PbapClientService.java | 317 public int getConnectionPolicy(BluetoothDevice device, AttributionSource source) { in getConnectionPolicy() method in PbapClientService.BluetoothPbapClientBinder 323 return service.getConnectionPolicy(device); in getConnectionPolicy() 357 if (getConnectionPolicy(device) <= BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) { in connect() 492 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in PbapClientService
|
/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/ |
D | LeAudioService.java | 208 if (getConnectionPolicy(device) == BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) { in connect() 629 int connectionPolicy = getConnectionPolicy(device); in okToConnect() 692 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in LeAudioService 818 public int getConnectionPolicy(BluetoothDevice device, AttributionSource source) { in getConnectionPolicy() method in LeAudioService.BluetoothLeAudioBinder 824 return service.getConnectionPolicy(device); in getConnectionPolicy()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 248 if (getConnectionPolicy(device) == BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) { in connect() 383 int connectionPolicy = getConnectionPolicy(device); in okToConnect() 523 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HearingAidService 957 public int getConnectionPolicy(BluetoothDevice device, AttributionSource source) { in getConnectionPolicy() method in HearingAidService.BluetoothHearingAidBinder 963 return service.getConnectionPolicy(device); in getConnectionPolicy()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MapClientService.java | 111 if (getConnectionPolicy(device) == BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) { in connect() 279 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in MapClientService 567 public int getConnectionPolicy(BluetoothDevice device, AttributionSource source) { in getConnectionPolicy() method in MapClientService.Binder 573 return service.getConnectionPolicy(device); in getConnectionPolicy()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 250 if (getConnectionPolicy(device) == BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) { in connect() 376 int connectionPolicy = getConnectionPolicy(device); in okToConnect() 661 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in A2dpService 1351 return service.getConnectionPolicy(device); in getPriority() 1355 public int getConnectionPolicy(BluetoothDevice device, AttributionSource source) { in getConnectionPolicy() method in A2dpService.BluetoothA2dpBinder 1362 return service.getConnectionPolicy(device); in getConnectionPolicy()
|
D | A2dpStateMachine.java | 777 " getConnectionPolicy: " + mA2dpService.getConnectionPolicy(mDevice)); in dump()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidHostService.java | 418 public int getConnectionPolicy(BluetoothDevice device, AttributionSource source) { in getConnectionPolicy() method in HidHostService.BluetoothHidHostBinder 425 return service.getConnectionPolicy(device); in getConnectionPolicy() 530 if (getConnectionPolicy(device) == BluetoothHidHost.CONNECTION_POLICY_FORBIDDEN) { in connect() 633 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HidHostService 905 int connectionPolicy = getConnectionPolicy(device); in okToConnect()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 536 return service.getConnectionPolicy(device); in getPriority() 540 public int getConnectionPolicy(BluetoothDevice device, AttributionSource source) { in getConnectionPolicy() method in HeadsetService.BluetoothHeadsetBinder 547 return service.getConnectionPolicy(device); in getConnectionPolicy() 764 if (getConnectionPolicy(device) == BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) { in connect() 940 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HeadsetService 1831 int connectionPolicy = getConnectionPolicy(device); in okToAcceptConnection()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 310 public int getConnectionPolicy(BluetoothDevice device, AttributionSource source) { in getConnectionPolicy() method in HeadsetClientService.BluetoothHeadsetClientBinder 316 return service.getConnectionPolicy(device); in getConnectionPolicy() 562 if (getConnectionPolicy(device) == BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) { in connect() 680 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HeadsetClientService
|
D | HeadsetClientStateMachine.java | 977 + mService.getConnectionPolicy(device) + " bondState=" in processConnectionEvent() 1909 int connectionPolicy = mService.getConnectionPolicy(device); in okToConnect()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 646 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in SapService 1043 public int getConnectionPolicy(BluetoothDevice device, AttributionSource source) { in getConnectionPolicy() method in SapService.SapBinder 1049 return service.getConnectionPolicy(device); in getConnectionPolicy()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioServiceTest.java | 211 .isEqualTo(mService.getConnectionPolicy(mLeftDevice)); in testGetSetPriority() 217 .isEqualTo(mService.getConnectionPolicy(mLeftDevice)); in testGetSetPriority() 223 .isEqualTo(mService.getConnectionPolicy(mLeftDevice)); in testGetSetPriority()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | BluetoothPeripheralHandover.java | 237 if (mHeadset.getConnectionPolicy(mDevice) == in nextStepInit() 241 if (mA2dp.getConnectionPolicy(mDevice) == in nextStepInit()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapService.java | 647 int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in BluetoothMapService 1334 public int getConnectionPolicy(BluetoothDevice device, AttributionSource source) { in getConnectionPolicy() method in BluetoothMapService.BluetoothMapBinder 1340 return service.getConnectionPolicy(device); in getConnectionPolicy()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpServiceTest.java | 268 mA2dpService.getConnectionPolicy(mTestDevice)); in testGetPriority() 274 mA2dpService.getConnectionPolicy(mTestDevice)); in testGetPriority() 280 mA2dpService.getConnectionPolicy(mTestDevice)); in testGetPriority()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidServiceTest.java | 225 mService.getConnectionPolicy(mLeftDevice)); in testGetSetPriority() 231 mService.getConnectionPolicy(mLeftDevice)); in testGetSetPriority() 237 mService.getConnectionPolicy(mLeftDevice)); in testGetSetPriority()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/ |
D | BluetoothBondedDevicesPreferenceControllerTest.java | 345 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in BluetoothBondedDevicesPreferenceControllerTest.TestLocalBluetoothProfile
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsProfilesControllerTest.java | 134 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in BluetoothDetailsProfilesControllerTest.FakeBluetoothProfile
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 523 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in BluetoothPbapService
|