/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | PhonePolicy.java | 206 && (hidService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)) { in processInitProfilePriorities() 214 && (headsetService.getPriority(device) in processInitProfilePriorities() 222 && (a2dpService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)) { in processInitProfilePriorities() 228 && (panService.getPriority(device) in processInitProfilePriorities() 280 if (hsService.getPriority(device) == BluetoothProfile.PRIORITY_AUTO_CONNECT) { in autoConnectHeadset() 294 if (a2dpSservice.getPriority(device) == BluetoothProfile.PRIORITY_AUTO_CONNECT) { in autoConnectA2dp() 351 && (hsService.getPriority(device) >= BluetoothProfile.PRIORITY_ON) in processConnectOtherProfiles() 360 && (a2dpService.getPriority(device) >= BluetoothProfile.PRIORITY_ON) in processConnectOtherProfiles() 369 && (panService.getPriority(device) >= BluetoothProfile.PRIORITY_ON) in processConnectOtherProfiles() 392 != 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 | 459 if (schedule.getPriority() > highestPriority) { in suggestHighestPriority() 460 highestPriority = schedule.getPriority(); in suggestHighestPriority() 477 && r.getPriority() > highestPriority) { in suggestHighestPriority() 478 highestPriority = r.getPriority(); in suggestHighestPriority() 481 if (highestPriority == Long.MIN_VALUE || highestPriority < schedule.getPriority()) { in suggestHighestPriority() 482 return schedule.getPriority(); in suggestHighestPriority() 497 if (r.isOverLapping(peroid) && r.getPriority() > highestPriority) { in suggestHighestPriority() 498 highestPriority = r.getPriority(); in suggestHighestPriority() 531 if (schedule.getPriority() > highestPriority) { in suggestHighestSeriesPriority() 532 highestPriority = schedule.getPriority(); in suggestHighestSeriesPriority() [all …]
|
D | DvrManager.java | 164 : seriesRecording.getPriority()); in addSchedule() 180 seriesRecording.getPriority())); in addScheduleWithHighestPriority() 281 .setPriority(series.getPriority()) in addRecordedProgramToSeriesRecording() 322 .setPriority(series.getPriority()) in addScheduleToSeriesRecording() 361 || previousSeries.getPriority() != series.getPriority()) { in updateSeriesRecording() 362 long priority = series.getPriority(); in updateSeriesRecording() 633 if (newPriority != schedule.getPriority()) { in setHighestPriority()
|
D | RecordingTask.java | 90 return Long.compare(lhs.getPriority(), rhs.getPriority()); 373 public long getPriority() { in getPriority() method in RecordingTask 374 return mScheduledRecording.getPriority(); in getPriority()
|
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
|
D | InputTaskScheduler.java | 365 if (schedule.getPriority() > task.getPriority()) { in getReplacableTask()
|
/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/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 180 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { in connect() 238 public int getPriority(BluetoothDevice device) { in getPriority() method in A2dpService 400 public int getPriority(BluetoothDevice device) { in getPriority() method in A2dpService.BluetoothA2dpBinder 403 return service.getPriority(device); in getPriority()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidService.java | 355 public int getPriority(BluetoothDevice device) { in getPriority() method in HidService.BluetoothInputDeviceBinder 358 return service.getPriority(device); in getPriority() 406 if (getPriority(device) == BluetoothInputDevice.PRIORITY_OFF) { in connect() 456 public int getPriority(BluetoothDevice device) { in getPriority() method in HidService 654 (BluetoothProfile.PRIORITY_OFF == getPriority(device)) || in okToConnect()
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachineTest.java | 59 when(mockService.getPriority(any(BluetoothDevice.class))).thenReturn( in testIncomingPriorityReject() 95 when(mockService.getPriority(any(BluetoothDevice.class))).thenReturn( in testIncomingPriorityAccept() 154 when(mockService.getPriority(any(BluetoothDevice.class))).thenReturn( in testIncomingTimeout()
|
/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() 351 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { in connect() 401 public int getPriority(BluetoothDevice device) { in getPriority() method in HeadsetService
|
D | HeadsetStateMachine.java | 420 Log.i(TAG, "Incoming Hf rejected. priority=" + mService.getPriority(device) in processConnectionEvent() 447 Log.i(TAG, "Incoming Hf rejected. priority=" + mService.getPriority(device) in processConnectionEvent() 664 + mService.getPriority(device) + " bondState=" in processConnectionEvent() 1054 Log.i(TAG, "Incoming Hf rejected. priority=" + mService.getPriority(device) in processConnectionEvent() 1472 Log.i(TAG, "Incoming Hf rejected. priority=" + mService.getPriority(device) in processConnectionEvent() 1879 + mService.getPriority(device) + " bondState=" in processConnectionEvent() 3291 int priority = mService.getPriority(device); in okToConnect()
|
/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/TV/src/com/android/tv/ui/ |
D | SelectInputView.java | 404 int priorityL = getPriority(lhs); in compare() 405 int priorityR = getPriority(rhs); in compare() 425 private int getPriority(TvInputInfo info) { in getPriority() method in SelectInputView.InputsComparator
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 266 public int getPriority(BluetoothDevice device) { in getPriority() method in HeadsetClientService.BluetoothHeadsetClientBinder 271 return service.getPriority(device); in getPriority() 491 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { in connect() 567 public int getPriority(BluetoothDevice device) { in getPriority() method in HeadsetClientService
|
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/ |
D | InputTaskSchedulerTest.java | 97 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/TV/src/com/android/tv/dvr/ui/ |
D | SeriesSettingsFragment.java | 303 && seriesRecording.getPriority() > mSeriesRecording.getPriority()) { in updatePriorityGuidedAction()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapService.java | 569 public int getPriority(BluetoothDevice device) { in getPriority() method in BluetoothMapService 1228 public int getPriority(BluetoothDevice device) { in getPriority() method in BluetoothMapService.BluetoothMapBinder 1231 return service.getPriority(device); in getPriority()
|