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

/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/apps/UnifiedEmail/src/com/android/mail/providers/
H A DMessageInfo.java31 public int priority; field in class:MessageInfo
45 priority = in.readInt();
59 dest.writeInt(priority);
67 priority = p;
107 builder.append(", priority = ");
108 builder.append(priority);
H A DConversation.java120 public int priority; field in class:Conversation
224 dest.writeInt(priority);
257 priority = in.readInt();
335 priority = cursor.getInt(UIProvider.CONVERSATION_PRIORITY_COLUMN);
386 priority = other.priority;
421 int numMessages, int numDrafts, int sendingState, int priority, boolean read,
440 conversation.priority = priority;
587 * Get if this conversation is marked as high priority
419 create(long id, Uri uri, String subject, long dateMs, String snippet, boolean hasAttachment, Uri messageListUri, String senders, int numMessages, int numDrafts, int sendingState, int priority, boolean read, boolean seen, boolean starred, FolderList rawFolders, int convFlags, int personalLevel, boolean spam, boolean phishing, boolean muted, Uri accountUri, ConversationInfo conversationInfo, Uri conversationBase, boolean isRemote, String attachmentPreviewUri0, String attachmentPreviewUri1, int attachmentPreviewStates, int attachmentPreviewsCount) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpService.java160 public boolean setPriority(BluetoothDevice device, int priority) { argument
165 priority);
166 if (DBG) Log.d(TAG,"Saved priority " + device + " = " + priority);
173 int priority = Settings.Global.getInt(getContentResolver(),
176 return priority;
255 public boolean setPriority(BluetoothDevice device, int priority) { argument
258 return service.setPriority(device, priority);
/packages/apps/DeskClock/src/com/android/deskclock/timer/
H A DTimerReceiver.java323 int priority, PendingIntent pendingIntent, int notificationId, boolean showTicker) {
330 .setPriority(priority)
322 showCollapsedNotification(final Context context, String title, String text, int priority, PendingIntent pendingIntent, int notificationId, boolean showTicker) argument
/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;
H A DMediaProvider.java3738 private MediaThumbRequest requestMediaThumbnail(String path, Uri uri, int priority, long magic) { argument
3743 getContext().getContentResolver(), path, uri, priority, magic);
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetService.java173 public boolean setPriority(BluetoothDevice device, int priority) { argument
176 return service.setPriority(device, priority);
363 public boolean setPriority(BluetoothDevice device, int priority) { argument
368 priority);
369 if (DBG) Log.d(TAG, "Saved priority " + device + " = " + priority);
376 int priority = Settings.Global.getInt(getContentResolver(),
379 return 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/
H A DNotificationStation.java190 public int priority; field in class:NotificationStation.HistoricalNotificationInfo
228 info.priority = sbn.getNotification().priority;
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapMessageListingElement.java52 private String priority = null; field in class:BluetoothMapMessageListingElement
175 return priority;
178 public void setPriority(String priority) { argument
179 this.priority = priority;
249 if(priority != null)
250 xmlMsgElement.attribute("", "priority", priority);
H A DBluetoothMapService.java574 public boolean setPriority(BluetoothDevice device, int priority) { argument
577 priority);
578 if (DEBUG) Log.d(TAG, "Saved priority " + device + " = " + priority);
583 int priority = Settings.Global.getInt(getContentResolver(),
586 return priority;
782 public boolean setPriority(BluetoothDevice device, int priority) { argument
785 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/UnifiedEmail/src/com/android/mail/browse/
H A DConversationItemViewModel.java219 List<Folder> rawFolders, boolean starred, boolean read, int priority,
224 return Objects.hashCode(convInfo, dateText, rawFolders, starred, read, priority,
246 conversation.read, conversation.priority, conversation.sendingState);
256 conversation.read, conversation.priority, conversation.sendingState);
218 getHashCode(CharSequence dateText, Object convInfo, List<Folder> rawFolders, boolean starred, boolean read, int priority, int sendingState) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
H A DHidService.java330 public boolean setPriority(BluetoothDevice device, int priority) { argument
333 return service.setPriority(device, priority);
427 public boolean setPriority(BluetoothDevice device, int priority) { argument
432 priority);
433 if (DBG) Log.d(TAG,"Saved priority " + device + " = " + priority);
440 int priority = Settings.Global.getInt(getContentResolver(),
443 return priority;
606 //check if it is inbound connection in Quiet mode, priority and Bond status
/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...]
/packages/apps/Email/src/com/android/email/service/
H A DAttachmentDownloadService.java81 // Low priority will be used for opportunistic downloads
83 // Normal priority is for forwarded downloads in outgoing mail
85 // High priority is for user requests
176 final int priority; field in class:AttachmentDownloadService.DownloadRequest
198 priority = getPriority(attachment);
203 priority = orig.priority;
235 * Comparator class for the download set; we first compare by priority. Requests with equal
236 * priority are compared by the time the request was created (older requests come first)
242 if (req1.priority !
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DContactAggregator.java1834 * Indicates whether the given photo entry and priority gives this photo a higher overall
1835 * priority than the current best photo entry and priority.
1837 private boolean hasHigherPhotoPriority(PhotoEntry photoEntry, int priority, argument
1840 return photoComparison < 0 || photoComparison == 0 && priority > bestPriority;
1942 // account manager in the priority resolver.
1945 int priority = mPhotoPriorityResolver.getPhotoPriority(accountType);
1947 photoEntry, priority, bestPhotoEntry, photoPriority)) {
1949 photoPriority = priority;
2099 // the account manager in the priority resolve
[all...]
/packages/apps/Calculator/
H A Darity-2.1.2.jar ... static final int RIGHT static final int SUFIX final int priority final int assoc final int id final byte vmop double ...

Completed in 1506 milliseconds