Home
last modified time | relevance | path

Searched refs:getPriority (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java107 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/
DPhonePolicy.java239 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/
DDvrScheduleManager.java425 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 …]
DDvrManager.java172 : 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/
DCarBluetoothUserService.java378 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/
DPbapClientService.java265 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/
DA2dpSinkService.java183 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/
DHeadsetClientStateMachineTest.java117 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/
DPriorityThreadFactoryTest.java45 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/
DHearingAidService.java233 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/
DRecordingTask.java88 return Long.compare(lhs.getPriority(), rhs.getPriority());
420 public long getPriority() { in getPriority() method in RecordingTask
421 return mScheduledRecording.getPriority(); in getPriority()
DInputTaskScheduler.java386 if (schedule.getPriority() > task.getPriority()) { in getReplacableTask()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientService.java104 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/
DRecordingTestUtils.java67 Assert.assertEquals("priority", expected.getPriority(), actual.getPriority()); in assertRecordingEquals()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidHostService.java385 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/
DDvrSeriesScheduledFragment.java93 } else if (recording.getPriority() < mSeriesRecording.getPriority()) { in onAttach()
DDvrSeriesSettingsFragment.java285 && seriesRecording.getPriority() > mSeriesRecording.getPriority()) { in updatePriorityGuidedAction()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java232 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/
DHeadsetClientService.java269 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/
DONSProfileSelector.java206 return a.getPriority() - b.getPriority(); in compare()
249 if (availableNetworkInfo.getPriority() != priorityLevel) { in getSubIdUsingAvailableNetworks()
/packages/apps/TV/src/com/android/tv/dvr/data/
DSeriesRecording.java109 .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/
DHeadsetService.java488 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/
DSapService.java607 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/
DTvInputManagerHelper.java754 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/
DMultimediaMessagePdu.java117 public int getPriority() { in getPriority() method in MultimediaMessagePdu

12