Searched defs:priority (Results 1 - 25 of 36) sorted by relevance

12

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DPriorityThreadFactory.java24 * A thread factory that creates threads with a given thread priority.
33 * @param priority The thread priority of the threads created by this factory.
36 public PriorityThreadFactory(int priority) { argument
37 mPriority = priority;
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
H A DPriorityThreadFactory.java25 * A thread factory that creates threads with a given thread priority.
33 public PriorityThreadFactory(String name, int priority) { argument
35 mPriority = priority;
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
H A DPriorityThreadFactoryTest.java40 private void priorityTest(int priority) throws InterruptedException { argument
41 ThreadFactory factory = new PriorityThreadFactory(priority);
45 assertEquals(priority, r.getPriority());
/packages/services/Car/libvehiclenetwork/native/
H A DHandlerThread.cpp38 status_t HandlerThread::start(const char* name, int32_t priority, size_t stack) { argument
39 return run(name, priority, stack);
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DParticipantInfo.java32 /** priority of the participant */
33 public int priority; field in class:ParticipantInfo
38 public ParticipantInfo(String name, String email, int priority, boolean readConversation) { argument
41 this.priority = priority;
55 return Objects.hashCode(name, email, priority, readConversation);
73 priority = in.readInt();
86 out.writeInt(priority);
95 ", priority = " + priority
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DPbapClientService.java199 public boolean setPriority(BluetoothDevice device, int priority) { argument
204 return service.setPriority(device, priority);
310 public boolean setPriority(BluetoothDevice device, int priority) { argument
315 priority);
317 Log.d(TAG,"Saved priority " + device + " = " + priority);
325 int priority = Settings.Global.getInt(getContentResolver(),
328 return priority;
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaThumbRequest.java86 MediaThumbRequest(ContentResolver cr, String path, Uri uri, int priority, long magic) { argument
89 mPriority = priority;
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpService.java180 public boolean setPriority(BluetoothDevice device, int priority) { argument
185 priority);
186 if (DBG) Log.d(TAG,"Saved priority " + device + " = " + priority);
193 int priority = Settings.Global.getInt(getContentResolver(),
196 return priority;
285 public boolean setPriority(BluetoothDevice device, int priority) { argument
288 return service.setPriority(device, priority);
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
H A DA2dpSinkService.java161 public boolean setPriority(BluetoothDevice device, int priority) { argument
166 priority);
168 Log.d(TAG,"Saved priority " + device + " = " + priority);
176 int priority = Settings.Global.getInt(getContentResolver(),
179 return priority;
296 public boolean setPriority(BluetoothDevice device, int priority) { argument
299 return service.setPriority(device, priority);
/packages/apps/Dialer/src/com/android/dialer/voicemail/
H A DVoicemailStatusHelperImpl.java77 * string and the corrective action. The states are also assigned a relative priority which is
115 private OverallState(int priority, Action action, int callLogMessageId) { argument
116 this(priority, action, callLogMessageId, -1);
119 private OverallState(int priority, Action action, int callLogMessageId, argument
121 mPriority = priority;
144 /** A wrapper on {@link StatusMessage} which additionally stores the priority of the message. */
149 public MessageStatusWithPriority(StatusMessage message, int priority) { argument
151 mPriority = priority;
166 // Finally reorder the messages by their priority.
/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationSettingsBase.java216 protected void setupPriorityPref(boolean priority) { argument
218 mPriority.setChecked(priority);
H A DNotificationStation.java70 public int priority; field in class:NotificationStation.HistoricalNotificationInfo
285 info.priority = n.priority;
349 .append(Notification.priorityToString(n.priority));
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetService.java176 public boolean setPriority(BluetoothDevice device, int priority) { argument
179 return service.setPriority(device, priority);
400 public boolean setPriority(BluetoothDevice device, int priority) { argument
405 priority);
406 if (DBG) Log.d(TAG, "Saved priority " + device + " = " + priority);
413 int priority = Settings.Global.getInt(getContentResolver(),
416 return priority;
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientService.java216 public boolean setPriority(BluetoothDevice device, int priority) { argument
221 return service.setPriority(device, priority);
526 // TODO Should new setting for HeadsetClient priority be created?
527 public boolean setPriority(BluetoothDevice device, int priority) { argument
532 priority);
534 Log.d(TAG, "Saved priority " + device + " = " + priority);
542 int priority = Settings.Global.getInt(getContentResolver(),
545 return priority;
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapConvoContactElement.java39 private static final String XML_ATT_PRIORITY = "priority";
75 int priority, String btUid) {
84 this.mPriority = priority;
126 public void setPriority(int priority) { argument
127 this.mPriority = priority;
73 BluetoothMapConvoContactElement(String uci, String name, String displayName, String presenceStatus, int presenceAvailability, long lastActivity, int chatState, int priority, String btUid) argument
H A DBluetoothMapMessageListingElement.java207 public void setPriority(String priority) { argument
208 this.mPriority = priority;
323 xmlMsgElement.attribute(null, "priority", mPriority);
H A DBluetoothMapService.java573 public boolean setPriority(BluetoothDevice device, int priority) { argument
576 priority);
577 if (VERBOSE) Log.v(TAG, "Saved priority " + device + " = " + priority);
582 int priority = Settings.Global.getInt(getContentResolver(),
585 return priority;
1251 public boolean setPriority(BluetoothDevice device, int priority) { argument
1254 return service.setPriority(device, priority);
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertReceiver.java261 int notificationId, boolean doPopup, int priority) {
264 doPopup, priority, false);
270 long eventId, int notificationId, boolean doPopup, int priority,
321 // A higher priority will encourage notification manager to expand it.
322 notificationBuilder.setPriority(priority);
324 // Add action buttons. Show at most three, using the following priority ordering:
409 * the notification manager based on the priority.
413 int notificationId, boolean doPopup, int priority) {
417 priority, true);
493 // Set to min priority t
259 makeBasicNotification(Context context, String title, String summaryText, long startMillis, long endMillis, long eventId, int notificationId, boolean doPopup, int priority) argument
268 buildBasicNotification(Notification.Builder notificationBuilder, Context context, String title, String summaryText, long startMillis, long endMillis, long eventId, int notificationId, boolean doPopup, int priority, boolean addActionButtons) argument
411 makeExpandingNotification(Context context, String title, String summaryText, String description, long startMillis, long endMillis, long eventId, int notificationId, boolean doPopup, int priority) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterRepresentation.java127 public void setFilterType(int priority) { argument
128 mPriority = priority;
/packages/apps/TV/src/com/android/tv/dvr/
H A DScheduledRecording.java109 public Builder setPriority(long priority) { argument
110 mPriority = priority;
239 * The priority of this recording.
241 * <p> The lowest number is recorded first. If there is a tie in priority then the lower id
260 private ScheduledRecording(long id, long priority, long channelId, long programId, argument
264 mPriority = priority;
406 + ",priority=" + mPriority
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationItemViewModel.java195 List<Folder> rawFolders, boolean starred, boolean read, int priority,
200 return Objects.hashCode(convInfo, dateText, rawFolders, starred, read, priority,
217 conversation.read, conversation.priority, conversation.sendingState);
227 conversation.read, conversation.priority, conversation.sendingState);
194 getHashCode(CharSequence dateText, Object convInfo, List<Folder> rawFolders, boolean starred, boolean read, int priority, int sendingState) argument
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
H A Dlanguage_model_dict_content.cpp439 const int priority = mHasHistoricalInfo local
443 outEntryInfo->emplace_back(priority, probabilityEntry.getHistoricalInfo()->getCount(),
472 LanguageModelDictContent::EntryInfoToTurncate::EntryInfoToTurncate(const int priority, argument
474 : mPriority(priority), mCount(count), mKey(key), mPrevWordCount(prevWordCount) {
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
H A DHidService.java347 public boolean setPriority(BluetoothDevice device, int priority) { argument
350 return service.setPriority(device, priority);
444 public boolean setPriority(BluetoothDevice device, int priority) { argument
449 priority);
450 if (DBG) Log.d(TAG,"Saved priority " + device + " = " + priority);
457 int priority = Settings.Global.getInt(getContentResolver(),
460 return priority;
657 //check if it is inbound connection in Quiet mode, priority and Bond status
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
H A DSapService.java552 public boolean setPriority(BluetoothDevice device, int priority) { argument
555 priority);
556 if (DEBUG) Log.d(TAG, "Saved priority " + device + " = " + priority);
561 int priority = Settings.Global.getInt(getContentResolver(),
564 return priority;
861 public boolean setPriority(BluetoothDevice device, int priority) { argument
864 return service.setPriority(device, priority);
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
H A DAlertServiceTest.java181 public NotificationInstance(int alertId, int priority) { argument
183 mPriority = priority;
186 public NotificationInstance(int[] alertIdsInDigest, int priority) { argument
188 mPriority = priority;
277 public void expectTestNotification(int notificationId, int[] alertIds, int priority) { argument
278 mExpectedNotifications[notificationId] = new NotificationInstance(alertIds, priority);
309 expected.mPriority, actual.mNotification.priority);
351 s.append("priority:" + actual.mNotification.priority);
496 // to the low priority bucke
[all...]

Completed in 1010 milliseconds

12