/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 | 267 hidService.getConnectionPolicy(device) in processInitProfilePriorities() 276 headsetService.getConnectionPolicy(device) in processInitProfilePriorities() 284 a2dpService.getConnectionPolicy(device) in processInitProfilePriorities() 291 panService.getConnectionPolicy(device) in processInitProfilePriorities() 300 BluetoothUuid.HEARING_AID) && (hearingAidService.getConnectionPolicy(device) in processInitProfilePriorities() 425 int a2dpConnectionPolicy = a2dpService.getConnectionPolicy(device); in autoConnectA2dp() 441 int headsetConnectionPolicy = hsService.getConnectionPolicy(device); in autoConnectHeadset() 486 if (!mHeadsetRetrySet.contains(device) && (hsService.getConnectionPolicy(device) in processConnectOtherProfiles() 496 if (!mA2dpRetrySet.contains(device) && (a2dpService.getConnectionPolicy(device) in processConnectOtherProfiles() 509 if (panConnDevList.isEmpty() && (panService.getConnectionPolicy(device) in processConnectOtherProfiles()
|
D | AdapterService.java | 893 if (mA2dpService != null && mA2dpService.getConnectionPolicy(device) in isAnyProfileEnabled() 897 if (mA2dpSinkService != null && mA2dpSinkService.getConnectionPolicy(device) in isAnyProfileEnabled() 901 if (mHeadsetService != null && mHeadsetService.getConnectionPolicy(device) in isAnyProfileEnabled() 905 if (mHeadsetClientService != null && mHeadsetClientService.getConnectionPolicy(device) in isAnyProfileEnabled() 909 if (mMapClientService != null && mMapClientService.getConnectionPolicy(device) in isAnyProfileEnabled() 913 if (mHidHostService != null && mHidHostService.getConnectionPolicy(device) in isAnyProfileEnabled() 917 if (mPanService != null && mPanService.getConnectionPolicy(device) in isAnyProfileEnabled() 921 if (mPbapClientService != null && mPbapClientService.getConnectionPolicy(device) in isAnyProfileEnabled() 925 if (mHearingAidService != null && mHearingAidService.getConnectionPolicy(device) in isAnyProfileEnabled() 945 BluetoothProfile.A2DP, device) && mA2dpService.getConnectionPolicy(device) in connectEnabledProfiles() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachineTest.java | 130 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in testIncomingPriorityReject() 160 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in testIncomingPriorityAccept() 206 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in testIncomingTimeout() 248 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in testInBandRingtone() 385 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in runSupportedVendorAtCommand() 428 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in runUnsupportedVendorAtCommand() 473 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in runSupportedVendorEvent() 530 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in runUnsupportedVendorEvent() 579 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in testVoiceRecognitionStateChange()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkService.java | 228 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in A2dpSinkService.A2dpSinkServiceBinder 233 return service.getConnectionPolicy(device); in getConnectionPolicy() 274 if (getConnectionPolicy(device) == BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) { in connect() 417 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in A2dpSinkService
|
D | A2dpSinkStateMachine.java | 172 if (mService.getConnectionPolicy(mDevice) in processStackEvent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PbapClientService.java | 309 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in PbapClientService.BluetoothPbapClientBinder 314 return service.getConnectionPolicy(device); in getConnectionPolicy() 347 if (getConnectionPolicy(device) <= BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) { in connect() 482 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in PbapClientService
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 242 if (getConnectionPolicy(device) == BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) { in connect() 375 int connectionPolicy = getConnectionPolicy(device); in okToConnect() 515 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HearingAidService 943 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HearingAidService.BluetoothHearingAidBinder 948 return service.getConnectionPolicy(device); in getConnectionPolicy()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MapClientService.java | 109 if (getConnectionPolicy(device) == BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) { in connect() 274 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in MapClientService 559 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in MapClientService.Binder 564 return service.getConnectionPolicy(device); in getConnectionPolicy()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 246 if (getConnectionPolicy(device) == BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) { in connect() 374 int connectionPolicy = getConnectionPolicy(device); in okToConnect() 673 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in A2dpService 1299 return service.getConnectionPolicy(device); in getPriority() 1303 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in A2dpService.BluetoothA2dpBinder 1309 return service.getConnectionPolicy(device); in getConnectionPolicy()
|
D | A2dpStateMachine.java | 773 " getConnectionPolicy: " + mA2dpService.getConnectionPolicy(mDevice)); in dump()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidHostService.java | 406 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HidHostService.BluetoothHidHostBinder 412 return service.getConnectionPolicy(device); in getConnectionPolicy() 514 if (getConnectionPolicy(device) == BluetoothHidHost.CONNECTION_POLICY_FORBIDDEN) { in connect() 617 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HidHostService 890 int connectionPolicy = getConnectionPolicy(device); in okToConnect()
|
D | HidDeviceService.java | 693 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HidDeviceService
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 514 return service.getConnectionPolicy(device); in getPriority() 518 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HeadsetService.BluetoothHeadsetBinder 524 return service.getConnectionPolicy(device); in getConnectionPolicy() 714 if (getConnectionPolicy(device) == BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) { in connect() 893 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HeadsetService 1783 int connectionPolicy = getConnectionPolicy(device); in okToAcceptConnection()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 275 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HeadsetClientService.BluetoothHeadsetClientBinder 280 return service.getConnectionPolicy(device); in getConnectionPolicy() 491 if (getConnectionPolicy(device) == BluetoothProfile.CONNECTION_POLICY_FORBIDDEN) { in connect() 615 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in HeadsetClientService
|
D | HeadsetClientStateMachine.java | 881 + mService.getConnectionPolicy(device) + " bondState=" in processConnectionEvent() 1785 int connectionPolicy = mService.getConnectionPolicy(device); in okToConnect()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 638 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in SapService 1030 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in SapService.SapBinder 1035 return service.getConnectionPolicy(device); in getConnectionPolicy()
|
/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 | 637 int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in BluetoothMapService 1318 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in BluetoothMapService.BluetoothMapBinder 1323 return service.getConnectionPolicy(device); in getConnectionPolicy()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidServiceTest.java | 224 mService.getConnectionPolicy(mLeftDevice)); in testGetSetPriority() 230 mService.getConnectionPolicy(mLeftDevice)); in testGetSetPriority() 236 mService.getConnectionPolicy(mLeftDevice)); in testGetSetPriority()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpServiceTest.java | 267 mA2dpService.getConnectionPolicy(mTestDevice)); in testGetPriority() 273 mA2dpService.getConnectionPolicy(mTestDevice)); in testGetPriority() 279 mA2dpService.getConnectionPolicy(mTestDevice)); in testGetPriority()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsProfilesControllerTest.java | 132 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in BluetoothDetailsProfilesControllerTest.FakeBluetoothProfile
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 518 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in BluetoothPbapService
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
D | PanService.java | 470 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() method in PanService
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachineTest.java | 119 when(mHeadsetService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in setUp()
|