Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DPhonePolicy.java206 && (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/
DPhonePolicyTest.java84 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/
DDvrScheduleManager.java459 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 …]
DDvrManager.java164 : 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()
DRecordingTask.java90 return Long.compare(lhs.getPriority(), rhs.getPriority());
373 public long getPriority() { in getPriority() method in RecordingTask
374 return mScheduledRecording.getPriority(); in getPriority()
DSeriesRecording.java137 .setPriority(r.getPriority()) in buildFrom()
210 values.put(SeriesRecordings.COLUMN_PRIORITY, r.getPriority()); in toContentValues()
508 public long getPriority() { in getPriority() method in SeriesRecording
DInputTaskScheduler.java365 if (schedule.getPriority() > task.getPriority()) { in getReplacableTask()
/packages/apps/Car/Overview/src/com/android/car/overview/
DStreamAdapter.java155 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/
DA2dpSinkService.java133 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/
DCardView.java340 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/
DPbapClientService.java235 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/
DA2dpService.java180 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/
DHidService.java355 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/
DHeadsetClientStateMachineTest.java59 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/
DHeadsetService.java178 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
DHeadsetStateMachine.java420 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/
DMapClientService.java131 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/
DPriorityThreadFactoryTest.java45 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/
DRecordingTestUtils.java69 Assert.assertEquals("priority", expected.getPriority(), actual.getPriority()); in assertRecordingEquals()
/packages/apps/TV/src/com/android/tv/ui/
DSelectInputView.java404 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/
DHeadsetClientService.java266 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/
DInputTaskSchedulerTest.java97 when(task.getPriority()).thenReturn(scheduledRecording.getPriority()); in setUp()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java551 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/
DSeriesSettingsFragment.java303 && seriesRecording.getPriority() > mSeriesRecording.getPriority()) { in updatePriorityGuidedAction()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java569 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()

12