Home
last modified time | relevance | path

Searched refs:setPriority (Results 1 – 25 of 68) sorted by relevance

123

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java122 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).setPriority(eq(device), in testProcessInitProfilePriorities()
124 verify(mA2dpService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).setPriority(eq(device), in testProcessInitProfilePriorities()
196 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).setPriority(bondedDevices[0], in testDisconnectNoAutoConnect()
198 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).setPriority(bondedDevices[1], in testDisconnectNoAutoConnect()
200 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).setPriority(bondedDevices[2], in testDisconnectNoAutoConnect()
202 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).setPriority(bondedDevices[0], in testDisconnectNoAutoConnect()
204 verify(mHeadsetService, never()).setPriority(eq(bondedDevices[3]), anyInt()); in testDisconnectNoAutoConnect()
219 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(2)).setPriority( in testDisconnectNoAutoConnect()
221 verify(mHeadsetService, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).setPriority(bondedDevices[1], in testDisconnectNoAutoConnect()
223 verify(mHeadsetService, never()).setPriority(eq(bondedDevices[3]), anyInt()); in testDisconnectNoAutoConnect()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DPhonePolicy.java240 hidService.setPriority(device, BluetoothProfile.PRIORITY_ON); in processInitProfilePriorities()
247 headsetService.setPriority(device, BluetoothProfile.PRIORITY_ON); in processInitProfilePriorities()
253 a2dpService.setPriority(device, BluetoothProfile.PRIORITY_ON); in processInitProfilePriorities()
260 panService.setPriority(device, BluetoothProfile.PRIORITY_ON); in processInitProfilePriorities()
267 hearingAidService.setPriority(device, BluetoothProfile.PRIORITY_ON); in processInitProfilePriorities()
509 hsService.setPriority(device, BluetoothProfile.PRIORITY_AUTO_CONNECT); in setAutoConnectForHeadset()
526 a2dpService.setPriority(device, BluetoothProfile.PRIORITY_AUTO_CONNECT); in setAutoConnectForA2dpSink()
544 hsService.setPriority(device, BluetoothProfile.PRIORITY_ON); in removeAutoConnectFromHeadset()
562 a2dpService.setPriority(device, BluetoothProfile.PRIORITY_ON); in removeAutoConnectFromA2dpSink()
DBondStateMachine.java540 hidService.setPriority(device, BluetoothProfile.PRIORITY_UNDEFINED); in clearProfilePriority()
543 a2dpService.setPriority(device, BluetoothProfile.PRIORITY_UNDEFINED); in clearProfilePriority()
546 headsetService.setPriority(device, BluetoothProfile.PRIORITY_UNDEFINED); in clearProfilePriority()
549 headsetClientService.setPriority(device, BluetoothProfile.PRIORITY_UNDEFINED); in clearProfilePriority()
552 a2dpSinkService.setPriority(device, BluetoothProfile.PRIORITY_UNDEFINED); in clearProfilePriority()
555 pbapClientService.setPriority(device, BluetoothProfile.PRIORITY_UNDEFINED); in clearProfilePriority()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.java98 .setPriority(NotificationCompat.PRIORITY_DEFAULT) in showLowPriorityNotification()
146 .setPriority(NotificationCompat.PRIORITY_HIGH) in showHighPriorityNotification()
253 .setPriority(NotificationCompat.PRIORITY_HIGH) in updateUpcomingAlarmGroupNotification()
287 .setPriority(NotificationCompat.PRIORITY_HIGH) in updateMissedAlarmGroupNotification()
309 .setPriority(NotificationCompat.PRIORITY_MAX) in showSnoozeNotification()
352 .setPriority(NotificationCompat.PRIORITY_HIGH) in showMissedNotification()
435 notification.setPriority(NotificationCompat.PRIORITY_MAX); in showAlarmNotification()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrManager.java206 .setPriority(priority) in addSchedule()
247 .setPriority(mScheduleManager.suggestNewPriority()) in addScheduleInternal()
272 .setPriority(mScheduleManager.suggestNewSeriesPriority()) in addSeriesRecording()
286 .setPriority(mScheduleManager.suggestNewSeriesPriority()) in addSeriesRecording()
305 .setPriority(series.getPriority()) in addRecordedProgramToSeriesRecording()
348 .setPriority(series.getPriority()) in addScheduleToSeriesRecording()
404 .setPriority(priority) in updateSeriesRecording()
631 ScheduledRecording.buildFrom(schedule).setPriority(newPriority).build()); in setHighestPriority()
DDvrScheduleManager.java530 .setPriority(suggestHighestPriority()) in getConflictingSchedules()
588 .setPriority(suggestHighestPriority()) in getConflictingSchedules()
695 .setPriority(newPriority) in getConflictingSchedulesForTune()
763 .setPriority(newPriority) in getConflictingSchedulesForWatching()
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
DRecordingTestUtils.java45 .setPriority(priority) in createTestRecordingWithPriorityAndPeriod()
54 .setPriority(priority) in createTestRecordingWithIdAndPriorityAndPeriod()
59 return ScheduledRecording.buildFrom(orig).setPriority(orig.getId()).build(); in normalizePriority()
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DDialerExecutorModule.java65 thread.setPriority(4); in provideNonUiThreadPool()
82 thread.setPriority(4);
105 thread.setPriority(5);
/packages/services/Car/service/src/com/android/car/
DCarBluetoothUserService.java423 mBluetoothA2dpSink.setPriority(device, priority); in setProfilePriority()
426 mBluetoothHeadsetClient.setPriority(device, priority); in setProfilePriority()
429 mBluetoothMapClient.setPriority(device, priority); in setProfilePriority()
432 mBluetoothPbapClient.setPriority(device, priority); in setProfilePriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientService.java256 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() method in PbapClientService.BluetoothPbapClientBinder
261 return service.setPriority(device, priority); in setPriority()
372 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() method in PbapClientService
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java174 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() method in A2dpSinkService.A2dpSinkServiceBinder
179 return service.setPriority(device, priority); in setPriority()
321 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() method in A2dpSinkService
/packages/apps/TV/src/com/android/tv/dvr/data/
DSeriesRecording.java109 .setPriority(r.getPriority()) in buildFrom()
152 .setPriority(c.getLong(++index)) in fromCursor()
264 public Builder setPriority(long priority) { in setPriority() method in SeriesRecording.Builder
377 .setPriority(in.readLong()) in fromParcel()
DScheduledRecording.java164 public Builder setPriority(long priority) { in setPriority() method in ScheduledRecording.Builder
292 .setPriority(orig.mPriority) in buildFrom()
407 .setPriority(c.getLong(++index)) in fromCursor()
461 .setPriority(in.readLong()) in fromParcel()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientService.java220 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() method in MapClientService
487 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() method in MapClientService.Binder
492 return service.setPriority(device, priority); in setPriority()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerNotificationBuilder.java157 .setPriority(Notification.PRIORITY_HIGH) in build()
270 .setPriority(Notification.PRIORITY_MAX) in buildHeadsUp()
352 .setPriority(Notification.PRIORITY_HIGH) in buildMissed()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapConvoContactElement.java125 public void setPriority(int priority) { in setPriority() method in BluetoothMapConvoContactElement
271 newElement.setPriority(Integer.parseInt(attributeValue)); in createFromXml()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrPrioritySettingsFragment.java66 .setPriority(Long.MAX_VALUE) in onAttach()
142 .setPriority(priority) in onTrackedGuidedActionClicked()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DCallServiceNotifier.java233 builder.setPriority(Notification.PRIORITY_HIGH); in getPhoneAccountNotification()
255 builder.setPriority(Notification.PRIORITY_HIGH); in getMainNotification()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidService.java452 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() method in HearingAidService
885 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() method in HearingAidService.BluetoothHearingAidBinder
890 return service.setPriority(device, priority); in setPriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapService.java598 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() method in SapService
980 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() method in SapService.SapBinder
985 return service.setPriority(device, priority); in setPriority()
/packages/apps/Dialer/java/com/android/incallui/
DExternalCallNotifier.java227 builder.setPriority(Notification.PRIORITY_HIGH); in postNotification()
450 summary.setPriority(Notification.PRIORITY_HIGH); in showGroupSummaryNotification()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java260 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() method in HeadsetClientService.BluetoothHeadsetClientBinder
265 return service.setPriority(device, priority); in setPriority()
539 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() method in HeadsetClientService
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DPreBootListener.java38 thread.setPriority(Thread.MAX_PRIORITY); in onReceive()
/packages/apps/Camera2/src/com/android/camera/async/
DHandlerFactory.java54 thread.setPriority(javaThreadPriority); in create()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidHostService.java376 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() method in HidHostService.BluetoothHidHostBinder
381 return service.setPriority(device, priority); in setPriority()
521 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() method in HidHostService

123