Searched refs:getPriority (Results 1 - 25 of 45) sorted by relevance

12

/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
H A DPriorityThreadFactoryTest.java45 assertEquals(priority, r.getPriority());
53 public synchronized int getPriority() throws InterruptedException { method in class:PriorityThreadFactoryTest.CheckPriorityRunnable
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DPhonePolicy.java206 && (hidService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)) {
214 && (headsetService.getPriority(device)
222 && (a2dpService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)) {
228 && (panService.getPriority(device)
280 if (hsService.getPriority(device) == BluetoothProfile.PRIORITY_AUTO_CONNECT) {
294 if (a2dpSservice.getPriority(device) == BluetoothProfile.PRIORITY_AUTO_CONNECT) {
351 && (hsService.getPriority(device) >= BluetoothProfile.PRIORITY_ON)
360 && (a2dpService.getPriority(device) >= BluetoothProfile.PRIORITY_ON)
369 && (panService.getPriority(device) >= BluetoothProfile.PRIORITY_ON)
392 != hsService.getPriority(devic
[all...]
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
H A DRecordingTestUtils.java69 Assert.assertEquals("priority", expected.getPriority(), actual.getPriority());
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/btservice/
H A DPhonePolicyTest.java84 when(mockHeadsetService.getPriority(device))
89 when(mockA2dpService.getPriority(device)).thenReturn(BluetoothProfile.PRIORITY_UNDEFINED);
145 when(mockHeadsetService.getPriority(device))
147 when(mockA2dpService.getPriority(device))
194 when(mockHeadsetService.getPriority(device))
196 when(mockA2dpService.getPriority(device))
257 when(mockHeadsetService.getPriority(device))
259 when(mockA2dpService.getPriority(device))
320 when(mockHeadsetService.getPriority(device))
325 when(mockA2dpService.getPriority(devic
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
H A DA2dpSinkService.java133 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) {
181 public int getPriority(BluetoothDevice device) { method in class:A2dpSinkService
310 public int getPriority(BluetoothDevice device) { method in class:A2dpSinkService.BluetoothA2dpSinkBinder
313 return service.getPriority(device);
/packages/apps/Car/Overview/src/com/android/car/overview/
H A DStreamAdapter.java155 if (mStreamCards.get(i).getPriority() <= card.getPriority()) {
195 if (existingCard.getPriority() == newCard.getPriority()) {
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
H A DMultimediaMessagePdu.java117 public int getPriority() { method in class:MultimediaMessagePdu
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
H A DMultimediaMessagePdu.java119 public int getPriority() { method in class:MultimediaMessagePdu
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DPbapClientService.java235 public int getPriority(BluetoothDevice device) { method in class:PbapClientService.BluetoothPbapClientBinder
240 return service.getPriority(device);
289 if (getPriority(device) <= BluetoothProfile.PRIORITY_OFF) {
366 public int getPriority(BluetoothDevice device) { method in class:PbapClientService
/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DNotificationState.java135 public abstract int getPriority(); method in class:NotificationState
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/
H A DCardView.java340 public int getPriority() { method in class:CardView
345 return getPriority() == PRIORITY_GARBAGE;
354 int res = this.getPriority() - another.getPriority();
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientStateMachineTest.java59 when(mockService.getPriority(any(BluetoothDevice.class))).thenReturn(
95 when(mockService.getPriority(any(BluetoothDevice.class))).thenReturn(
154 when(mockService.getPriority(any(BluetoothDevice.class))).thenReturn(
/packages/apps/TV/src/com/android/tv/dvr/
H A DDvrScheduleManager.java459 if (schedule.getPriority() > highestPriority) {
460 highestPriority = schedule.getPriority();
477 && r.getPriority() > highestPriority) {
478 highestPriority = r.getPriority();
481 if (highestPriority == Long.MIN_VALUE || highestPriority < schedule.getPriority()) {
482 return schedule.getPriority();
497 if (r.isOverLapping(peroid) && r.getPriority() > highestPriority) {
498 highestPriority = r.getPriority();
531 if (schedule.getPriority() > highestPriority) {
532 highestPriority = schedule.getPriority();
[all...]
H A DRecordingTask.java90 return Long.compare(lhs.getPriority(), rhs.getPriority());
373 public long getPriority() { method in class:RecordingTask
374 return mScheduledRecording.getPriority();
H A DDvrManager.java164 : seriesRecording.getPriority());
180 seriesRecording.getPriority()));
281 .setPriority(series.getPriority())
322 .setPriority(series.getPriority())
361 || previousSeries.getPriority() != series.getPriority()) {
362 long priority = series.getPriority();
633 if (newPriority != schedule.getPriority()) {
H A DSeriesRecording.java137 .setPriority(r.getPriority())
210 values.put(SeriesRecordings.COLUMN_PRIORITY, r.getPriority());
296 * @see #getPriority() ()
508 public long getPriority() { method in class:SeriesRecording
H A DInputTaskScheduler.java365 if (schedule.getPriority() > task.getPriority()) {
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
H A DMapClientService.java131 public int getPriority(BluetoothDevice device) { method in class:MapClientService
283 public int getPriority(BluetoothDevice device) { method in class:MapClientService.Binder
286 return service.getPriority(device);
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpService.java180 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) {
238 public int getPriority(BluetoothDevice device) { method in class:A2dpService
400 public int getPriority(BluetoothDevice device) { method in class:A2dpService.BluetoothA2dpBinder
403 return service.getPriority(device);
/packages/apps/TV/src/com/android/tv/ui/
H A DSelectInputView.java404 int priorityL = getPriority(lhs);
405 int priorityR = getPriority(rhs);
425 private int getPriority(TvInputInfo info) { method in class:SelectInputView.InputsComparator
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetService.java178 public int getPriority(BluetoothDevice device) { method in class:HeadsetService.BluetoothHeadsetBinder
181 return service.getPriority(device);
351 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) {
401 public int getPriority(BluetoothDevice device) { method in class:HeadsetService
/packages/apps/TV/src/com/android/tv/customization/
H A DTvCustomizationManager.java115 int position = info.filter.getPriority();
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
H A DScheduledRecordingTest.java95 a = ScheduledRecording.buildFrom(a).setPriority(b.getPriority() + 2).build();
H A DInputTaskSchedulerTest.java97 when(task.getPriority()).thenReturn(scheduledRecording.getPriority());
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
H A DHidService.java355 public int getPriority(BluetoothDevice device) { method in class:HidService.BluetoothInputDeviceBinder
358 return service.getPriority(device);
406 if (getPriority(device) == BluetoothInputDevice.PRIORITY_OFF) {
456 public int getPriority(BluetoothDevice device) { method in class:HidService
654 (BluetoothProfile.PRIORITY_OFF == getPriority(device)) ||

Completed in 654 milliseconds

12