Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/src/com/android/server/telecom/
DCarModeTracker.java56 public int getPriority() { in getPriority() method in CarModeTracker.CarModeApp
83 return Integer.compare(o2.getPriority(), o1.getPriority()); in compare()
103 if (mCarModeApps.stream().anyMatch(c -> c.getPriority() == priority)) { in handleEnterCarMode()
127 if (!mCarModeApps.stream().anyMatch(c -> c.getPriority() == priority)) { in handleExitCarMode()
134 c -> c.getPackageName().equals(packageName) && c.getPriority() == priority)) { in handleExitCarMode()
143 mCarModeApps.removeIf(c -> c.getPriority() == priority); in handleExitCarMode()
163 .map(cma -> "[" + cma.getPriority() + ", " + cma.getPackageName() + "]") in getCarModePriorityString()
196 pw.print(app.getPriority()); in dump()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java427 if (schedule.getPriority() > highestPriority) { in suggestHighestPriority()
428 highestPriority = schedule.getPriority(); in suggestHighestPriority()
444 && r.getPriority() > highestPriority) { in suggestHighestPriority()
445 highestPriority = r.getPriority(); in suggestHighestPriority()
448 if (highestPriority == Long.MIN_VALUE || highestPriority < schedule.getPriority()) { in suggestHighestPriority()
449 return schedule.getPriority(); in suggestHighestPriority()
462 if (r.isOverLapping(peroid) && r.getPriority() > highestPriority) { in suggestHighestPriority()
463 highestPriority = r.getPriority(); in suggestHighestPriority()
496 if (schedule.getPriority() > highestPriority) { in suggestHighestSeriesPriority()
497 highestPriority = schedule.getPriority(); in suggestHighestSeriesPriority()
[all …]
DDvrManager.java186 : seriesRecording.getPriority(), in addSchedule()
209 seriesRecording.getPriority()), in addScheduleWithHighestPriority()
326 .setPriority(series.getPriority()) in addRecordedProgramToSeriesRecording()
369 .setPriority(series.getPriority()) in addScheduleToSeriesRecording()
417 if (previousSeries == null || previousSeries.getPriority() != series.getPriority()) { in updateSeriesRecording()
418 long priority = series.getPriority(); in updateSeriesRecording()
650 if (newPriority != schedule.getPriority()) { in setHighestPriority()
/packages/services/Car/service/src/com/android/car/
DCarBluetoothUserService.java369 priority = mBluetoothA2dpSink.getPriority(device); in getProfilePriority()
372 priority = mBluetoothHeadsetClient.getPriority(device); in getProfilePriority()
375 priority = mBluetoothMapClient.getPriority(device); in getProfilePriority()
378 priority = mBluetoothPbapClient.getPriority(device); in getProfilePriority()
/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/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/TV/tests/common/src/com/android/tv/testing/dvr/
DRecordingTestUtils.java67 Assert.assertEquals("priority", expected.getPriority(), actual.getPriority()); in assertRecordingEquals()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrSeriesScheduledFragment.java99 } else if (recording.getPriority() < mSeriesRecording.getPriority()) { in onAttach()
DDvrSeriesSettingsFragment.java289 && seriesRecording.getPriority() > mSeriesRecording.getPriority()) { in updatePriorityGuidedAction()
DDvrPrioritySettingsFragment.java139 if (seriesRecording.getPriority() != priority) { in onTrackedGuidedActionClicked()
/packages/apps/TV/src/com/android/tv/dvr/data/
DSeriesRecording.java113 .setPriority(r.getPriority()) in buildFrom()
184 values.put(SeriesRecordings.COLUMN_PRIORITY, r.getPriority()); in toContentValues()
455 public long getPriority() { in getPriority() method in SeriesRecording
DScheduledRecording.java515 values.put(Schedules.COLUMN_PRIORITY, r.getPriority()); in toContentValues()
545 values.put(Schedules.COLUMN_PRIORITY, r.getPriority()); in toContentValuesWithTimeOffset()
815 public long getPriority() { in getPriority() method in ScheduledRecording
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSProfileSelector.java241 return a.getPriority() - b.getPriority(); in compare()
286 if (availableNetworkInfo.getPriority() != priorityLevel) { in getSubIdUsingAvailableNetworks()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DInputTaskSchedulerTest.java108 when(task.getPriority()) in setUp()
109 .thenReturn(scheduledRecording.getPriority()); in setUp()
/packages/apps/TV/src/com/android/tv/util/
DTvInputManagerHelper.java767 int priorityL = getPriority(lhs); in compare()
768 int priorityR = getPriority(rhs); in compare()
814 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
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DMultimediaMessagePdu.java119 public int getPriority() { in getPriority() method in MultimediaMessagePdu
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DCategory.java91 public int getPriority() { in getPriority() method in Category
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DNotificationState.java135 public abstract int getPriority(); in getPriority() method in NotificationState
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/
DScheduledRecordingTest.java110 a = ScheduledRecording.buildFrom(a).setPriority(b.getPriority() + 2).build(); in testBuild_priority()
/packages/apps/TV/common/src/com/android/tv/common/customization/
DCustomizationManager.java223 int position = info.filter.getPriority(); in buildCustomActions()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapConvoContactElement.java121 public int getPriority() { in getPriority() method in BluetoothMapConvoContactElement
DBluetoothMapMessageListingElement.java197 public String getPriority() { in getPriority() method in BluetoothMapMessageListingElement
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCategoryFragment.java227 int priority = category.getPriority(); in addCategory()
230 while (index < mCategories.size() && priority >= mCategories.get(index).getPriority()) { in addCategory()

12