/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | PhonePolicyTest.java | 107 when(mHeadsetService.getPriority(device)).thenReturn(BluetoothProfile.PRIORITY_UNDEFINED); in testProcessInitProfilePriorities() 110 when(mA2dpService.getPriority(device)).thenReturn(BluetoothProfile.PRIORITY_UNDEFINED); in testProcessInitProfilePriorities() 146 when(mHeadsetService.getPriority(bondedDevices[0])).thenReturn( in testAdapterOnAutoConnect() 148 when(mA2dpService.getPriority(bondedDevices[0])).thenReturn( in testAdapterOnAutoConnect() 180 when(mHeadsetService.getPriority(bondedDevices[0])).thenReturn( in testDisconnectNoAutoConnect() 182 when(mHeadsetService.getPriority(bondedDevices[1])).thenReturn( in testDisconnectNoAutoConnect() 184 when(mHeadsetService.getPriority(bondedDevices[2])).thenReturn( in testDisconnectNoAutoConnect() 186 when(mHeadsetService.getPriority(bondedDevices[3])).thenReturn( in testDisconnectNoAutoConnect() 205 when(mHeadsetService.getPriority(bondedDevices[1])).thenReturn( in testDisconnectNoAutoConnect() 207 when(mHeadsetService.getPriority(bondedDevices[2])).thenReturn( in testDisconnectNoAutoConnect() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | PhonePolicy.java | 239 hidService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)) { in processInitProfilePriorities() 246 headsetService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED))) { in processInitProfilePriorities() 252 a2dpService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)) { in processInitProfilePriorities() 257 panService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED) in processInitProfilePriorities() 264 BluetoothUuid.HearingAid) && (hearingAidService.getPriority(device) in processInitProfilePriorities() 404 int a2dpPriority = a2dpService.getPriority(device); in autoConnectA2dp() 420 int headsetPriority = hsService.getPriority(device); in autoConnectHeadset() 465 if (!mHeadsetRetrySet.contains(device) && (hsService.getPriority(device) in processConnectOtherProfiles() 474 if (!mA2dpRetrySet.contains(device) && (a2dpService.getPriority(device) in processConnectOtherProfiles() 486 if (panConnDevList.isEmpty() && (panService.getPriority(device) in processConnectOtherProfiles() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrScheduleManager.java | 425 if (schedule.getPriority() > highestPriority) { in suggestHighestPriority() 426 highestPriority = schedule.getPriority(); in suggestHighestPriority() 442 && r.getPriority() > highestPriority) { in suggestHighestPriority() 443 highestPriority = r.getPriority(); in suggestHighestPriority() 446 if (highestPriority == Long.MIN_VALUE || highestPriority < schedule.getPriority()) { in suggestHighestPriority() 447 return schedule.getPriority(); in suggestHighestPriority() 460 if (r.isOverLapping(peroid) && r.getPriority() > highestPriority) { in suggestHighestPriority() 461 highestPriority = r.getPriority(); in suggestHighestPriority() 494 if (schedule.getPriority() > highestPriority) { in suggestHighestSeriesPriority() 495 highestPriority = schedule.getPriority(); in suggestHighestSeriesPriority() [all …]
|
D | DvrManager.java | 172 : seriesRecording.getPriority()); in addSchedule() 193 seriesRecording.getPriority())); in addScheduleWithHighestPriority() 305 .setPriority(series.getPriority()) in addRecordedProgramToSeriesRecording() 348 .setPriority(series.getPriority()) in addScheduleToSeriesRecording() 396 if (previousSeries == null || previousSeries.getPriority() != series.getPriority()) { in updateSeriesRecording() 397 long priority = series.getPriority(); in updateSeriesRecording() 629 if (newPriority != schedule.getPriority()) { in setHighestPriority()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarBluetoothUserService.java | 378 priority = mBluetoothA2dpSink.getPriority(device); in getProfilePriority() 381 priority = mBluetoothHeadsetClient.getPriority(device); in getProfilePriority() 384 priority = mBluetoothMapClient.getPriority(device); in getProfilePriority() 387 priority = mBluetoothPbapClient.getPriority(device); in getProfilePriority()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PbapClientService.java | 265 public int getPriority(BluetoothDevice device) { in getPriority() method in PbapClientService.BluetoothPbapClientBinder 270 return service.getPriority(device); in getPriority() 302 if (getPriority(device) <= BluetoothProfile.PRIORITY_OFF) { in connect() 385 public int getPriority(BluetoothDevice device) { in getPriority() method in PbapClientService
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkService.java | 183 public int getPriority(BluetoothDevice device) { in getPriority() method in A2dpSinkService.A2dpSinkServiceBinder 188 return service.getPriority(device); in getPriority() 227 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { in connect() 337 public int getPriority(BluetoothDevice device) { in getPriority() method in A2dpSinkService
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachineTest.java | 117 when(mHeadsetClientService.getPriority(any(BluetoothDevice.class))).thenReturn( in testIncomingPriorityReject() 147 when(mHeadsetClientService.getPriority(any(BluetoothDevice.class))).thenReturn( in testIncomingPriorityAccept() 193 when(mHeadsetClientService.getPriority(any(BluetoothDevice.class))).thenReturn( in testIncomingTimeout() 234 when(mHeadsetClientService.getPriority(any(BluetoothDevice.class))).thenReturn( in testInBandRingtone()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
D | PriorityThreadFactoryTest.java | 45 assertEquals(priority, r.getPriority()); in priorityTest() 53 public synchronized int getPriority() throws InterruptedException { in getPriority() method in PriorityThreadFactoryTest.CheckPriorityRunnable
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 233 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { in connect() 359 int priority = getPriority(device); in okToConnect() 462 public int getPriority(BluetoothDevice device) { in getPriority() method in HearingAidService 894 public int getPriority(BluetoothDevice device) { in getPriority() method in HearingAidService.BluetoothHearingAidBinder 899 return service.getPriority(device); in getPriority()
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | RecordingTask.java | 88 return Long.compare(lhs.getPriority(), rhs.getPriority()); 420 public long getPriority() { in getPriority() method in RecordingTask 421 return mScheduledRecording.getPriority(); in getPriority()
|
D | InputTaskScheduler.java | 386 if (schedule.getPriority() > task.getPriority()) { in getReplacableTask()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MapClientService.java | 104 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { in connect() 229 public int getPriority(BluetoothDevice device) { in getPriority() method in MapClientService 496 public int getPriority(BluetoothDevice device) { in getPriority() method in MapClientService.Binder 501 return service.getPriority(device); in getPriority()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/ |
D | RecordingTestUtils.java | 67 Assert.assertEquals("priority", expected.getPriority(), actual.getPriority()); in assertRecordingEquals()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidHostService.java | 385 public int getPriority(BluetoothDevice device) { in getPriority() method in HidHostService.BluetoothHidHostBinder 390 return service.getPriority(device); in getPriority() 478 if (getPriority(device) == BluetoothHidHost.PRIORITY_OFF) { in connect() 534 public int getPriority(BluetoothDevice device) { in getPriority() method in HidHostService 816 int priority = getPriority(device); in okToConnect()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrSeriesScheduledFragment.java | 93 } else if (recording.getPriority() < mSeriesRecording.getPriority()) { in onAttach()
|
D | DvrSeriesSettingsFragment.java | 285 && seriesRecording.getPriority() > mSeriesRecording.getPriority()) { in updatePriorityGuidedAction()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 232 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { in connect() 354 int priority = getPriority(device); in okToConnect() 633 public int getPriority(BluetoothDevice device) { in getPriority() method in A2dpService 1230 public int getPriority(BluetoothDevice device) { in getPriority() method in A2dpService.BluetoothA2dpBinder 1235 return service.getPriority(device); in getPriority()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 269 public int getPriority(BluetoothDevice device) { in getPriority() method in HeadsetClientService.BluetoothHeadsetClientBinder 274 return service.getPriority(device); in getPriority() 476 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { in connect() 549 public int getPriority(BluetoothDevice device) { in getPriority() method in HeadsetClientService
|
/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | ONSProfileSelector.java | 206 return a.getPriority() - b.getPriority(); in compare() 249 if (availableNetworkInfo.getPriority() != priorityLevel) { in getSubIdUsingAvailableNetworks()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | SeriesRecording.java | 109 .setPriority(r.getPriority()) in buildFrom() 180 values.put(SeriesRecordings.COLUMN_PRIORITY, r.getPriority()); in toContentValues() 451 public long getPriority() { in getPriority() method in SeriesRecording
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 488 public int getPriority(BluetoothDevice device) { in getPriority() method in HeadsetService.BluetoothHeadsetBinder 493 return service.getPriority(device); in getPriority() 683 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { in connect() 821 public int getPriority(BluetoothDevice device) { in getPriority() method in HeadsetService 1725 int priority = getPriority(device); in okToAcceptConnection()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 607 public int getPriority(BluetoothDevice device) { in getPriority() method in SapService 989 public int getPriority(BluetoothDevice device) { in getPriority() method in SapService.SapBinder 994 return service.getPriority(device); in getPriority()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | TvInputManagerHelper.java | 754 int priorityL = getPriority(lhs); in compare() 755 int priorityR = getPriority(rhs); in compare() 801 private int getPriority(TvInputInfo info) { in getPriority() method in TvInputManagerHelper.HardwareInputComparator
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | MultimediaMessagePdu.java | 117 public int getPriority() { in getPriority() method in MultimediaMessagePdu
|