/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | PhonePolicy.java | 220 && (hidService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)) { in processInitProfilePriorities() 228 && (headsetService.getPriority(device) in processInitProfilePriorities() 236 && (a2dpService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)) { in processInitProfilePriorities() 242 && (panService.getPriority(device) in processInitProfilePriorities() 303 if (hsService.getPriority(device) == BluetoothProfile.PRIORITY_AUTO_CONNECT) { in autoConnectHeadset() 323 if (a2dpService.getPriority(device) == BluetoothProfile.PRIORITY_AUTO_CONNECT) { in autoConnectA2dp() 381 && (hsService.getPriority(device) >= BluetoothProfile.PRIORITY_ON) in processConnectOtherProfiles() 391 && (a2dpService.getPriority(device) >= BluetoothProfile.PRIORITY_ON) in processConnectOtherProfiles() 401 && (panService.getPriority(device) >= BluetoothProfile.PRIORITY_ON) in processConnectOtherProfiles() 416 != hsService.getPriority(device))) { in setProfileAutoConnectionPriority() [all …]
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/btservice/ |
D | PhonePolicyTest.java | 84 when(mockHeadsetService.getPriority(device)) in testProcessInitProfilePriorities() 89 when(mockA2dpService.getPriority(device)).thenReturn(BluetoothProfile.PRIORITY_UNDEFINED); in testProcessInitProfilePriorities() 145 when(mockHeadsetService.getPriority(device)) in testAdapterOnAutoConnect() 147 when(mockA2dpService.getPriority(device)) in testAdapterOnAutoConnect() 194 when(mockHeadsetService.getPriority(device)) in testReconnectOnPartialConnect() 196 when(mockA2dpService.getPriority(device)) in testReconnectOnPartialConnect() 257 when(mockHeadsetService.getPriority(device)) in testNoReconnectOnNoConnect() 259 when(mockA2dpService.getPriority(device)) in testNoReconnectOnNoConnect() 320 when(mockHeadsetService.getPriority(device)) in testNoSupportedUuids() 325 when(mockA2dpService.getPriority(device)).thenReturn(BluetoothProfile.PRIORITY_UNDEFINED); in testNoSupportedUuids()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrScheduleManager.java | 450 if (schedule.getPriority() > highestPriority) { in suggestHighestPriority() 451 highestPriority = schedule.getPriority(); in suggestHighestPriority() 468 && r.getPriority() > highestPriority) { in suggestHighestPriority() 469 highestPriority = r.getPriority(); in suggestHighestPriority() 472 if (highestPriority == Long.MIN_VALUE || highestPriority < schedule.getPriority()) { in suggestHighestPriority() 473 return schedule.getPriority(); in suggestHighestPriority() 488 if (r.isOverLapping(peroid) && r.getPriority() > highestPriority) { in suggestHighestPriority() 489 highestPriority = r.getPriority(); in suggestHighestPriority() 522 if (schedule.getPriority() > highestPriority) { in suggestHighestSeriesPriority() 523 highestPriority = schedule.getPriority(); in suggestHighestSeriesPriority() [all …]
|
D | DvrManager.java | 166 : seriesRecording.getPriority()); in addSchedule() 182 seriesRecording.getPriority())); in addScheduleWithHighestPriority() 283 .setPriority(series.getPriority()) in addRecordedProgramToSeriesRecording() 323 .setPriority(series.getPriority()) in addScheduleToSeriesRecording() 374 || previousSeries.getPriority() != series.getPriority()) { in updateSeriesRecording() 375 long priority = series.getPriority(); in updateSeriesRecording() 626 if (newPriority != schedule.getPriority()) { in setHighestPriority()
|
/packages/apps/Car/Overview/src/com/android/car/overview/ |
D | StreamAdapter.java | 155 if (mStreamCards.get(i).getPriority() <= card.getPriority()) { in addCard() 195 if (existingCard.getPriority() == newCard.getPriority()) { in maybeReplaceCard()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkService.java | 133 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { in connect() 181 public int getPriority(BluetoothDevice device) { in getPriority() method in A2dpSinkService 310 public int getPriority(BluetoothDevice device) { in getPriority() method in A2dpSinkService.BluetoothA2dpSinkBinder 313 return service.getPriority(device); in getPriority()
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/ |
D | CardView.java | 340 public int getPriority() { in getPriority() method in CardView 345 return getPriority() == PRIORITY_GARBAGE; in isGarbage() 354 int res = this.getPriority() - another.getPriority(); in compareTo()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PbapClientService.java | 235 public int getPriority(BluetoothDevice device) { in getPriority() method in PbapClientService.BluetoothPbapClientBinder 240 return service.getPriority(device); in getPriority() 289 if (getPriority(device) <= BluetoothProfile.PRIORITY_OFF) { in connect() 366 public int getPriority(BluetoothDevice device) { in getPriority() method in PbapClientService
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | RecordingTask.java | 92 return Long.compare(lhs.getPriority(), rhs.getPriority()); 383 public long getPriority() { in getPriority() method in RecordingTask 384 return mScheduledRecording.getPriority(); in getPriority()
|
D | InputTaskScheduler.java | 363 if (schedule.getPriority() > task.getPriority()) { in getReplacableTask()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 189 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { in connect() 247 public int getPriority(BluetoothDevice device) { in getPriority() method in A2dpService 409 public int getPriority(BluetoothDevice device) { in getPriority() method in A2dpService.BluetoothA2dpBinder 412 return service.getPriority(device); in getPriority()
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachineTest.java | 60 when(mockService.getPriority(any(BluetoothDevice.class))).thenReturn( in testIncomingPriorityReject() 96 when(mockService.getPriority(any(BluetoothDevice.class))).thenReturn( in testIncomingPriorityAccept() 155 when(mockService.getPriority(any(BluetoothDevice.class))).thenReturn( in testIncomingTimeout()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidService.java | 377 public int getPriority(BluetoothDevice device) { in getPriority() method in HidService.BluetoothInputDeviceBinder 380 return service.getPriority(device); in getPriority() 440 if (getPriority(device) == BluetoothInputDevice.PRIORITY_OFF) { in connect() 490 public int getPriority(BluetoothDevice device) { in getPriority() method in HidService 730 (BluetoothProfile.PRIORITY_OFF == getPriority(device)) || in okToConnect()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 178 public int getPriority(BluetoothDevice device) { in getPriority() method in HeadsetService.BluetoothHeadsetBinder 181 return service.getPriority(device); in getPriority() 356 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { in connect() 410 public int getPriority(BluetoothDevice device) { in getPriority() method in HeadsetService
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MapClientService.java | 131 public int getPriority(BluetoothDevice device) { in getPriority() method in MapClientService 283 public int getPriority(BluetoothDevice device) { in getPriority() method in MapClientService.Binder 286 return service.getPriority(device); in getPriority()
|
/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/TV/tests/common/src/com/android/tv/testing/dvr/ |
D | RecordingTestUtils.java | 69 Assert.assertEquals("priority", expected.getPriority(), actual.getPriority()); in assertRecordingEquals()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 280 public int getPriority(BluetoothDevice device) { in getPriority() method in HeadsetClientService.BluetoothHeadsetClientBinder 285 return service.getPriority(device); in getPriority() 505 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { in connect() 581 public int getPriority(BluetoothDevice device) { in getPriority() method in HeadsetClientService
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrSeriesScheduledFragment.java | 86 } else if (recording.getPriority() < mSeriesRecording.getPriority()) { in onAttach()
|
D | DvrSeriesSettingsFragment.java | 276 && seriesRecording.getPriority() > mSeriesRecording.getPriority()) { in updatePriorityGuidedAction()
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | SeriesRecording.java | 137 .setPriority(r.getPriority()) in buildFrom() 210 values.put(SeriesRecordings.COLUMN_PRIORITY, r.getPriority()); in toContentValues() 508 public long getPriority() { in getPriority() method in SeriesRecording
|
/packages/apps/TV/src/com/android/tv/util/ |
D | TvInputManagerHelper.java | 602 int priorityL = getPriority(lhs); in compare() 603 int priorityR = getPriority(rhs); in compare() 647 private int getPriority(TvInputInfo info) { in getPriority() method in TvInputManagerHelper.HardwareInputComparator
|
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/ |
D | InputTaskSchedulerTest.java | 100 when(task.getPriority()).thenReturn(scheduledRecording.getPriority()); in setUp()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 551 public int getPriority(BluetoothDevice device) { in getPriority() method in SapService 864 public int getPriority(BluetoothDevice device) { in getPriority() method in SapService.SapBinder 867 return service.getPriority(device); in getPriority()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | BluetoothPeripheralHandover.java | 232 if (mHeadset.getPriority(mDevice) == BluetoothProfile.PRIORITY_OFF) { in nextStepInit() 235 if (mA2dp.getPriority(mDevice) == BluetoothProfile.PRIORITY_OFF) { in nextStepInit()
|