Home
last modified time | relevance | path

Searched refs:priority (Results 1 – 13 of 13) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoPriorityResolver.java81 Integer priority = mPhotoPriorities.get(accountType); in getPhotoPriority() local
82 if (priority == null) { in getPhotoPriority()
83 priority = resolvePhotoPriority(accountType); in getPhotoPriority()
84 mPhotoPriorities.put(accountType, priority); in getPhotoPriority()
86 return priority; in getPhotoPriority()
128 int priority = DEFAULT_PRIORITY; in loadPhotoPriorityFromXml() local
149 priority = XmlUtils.convertValueToInt(parser.getAttributeValue(i), in loadPhotoPriorityFromXml()
163 return priority; in loadPhotoPriorityFromXml()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DPriorityThreadFactoryTest.java40 private void priorityTest(int priority) throws InterruptedException { in priorityTest() argument
41 ThreadFactory factory = new PriorityThreadFactory(priority); in priorityTest()
45 assertEquals(priority, r.getPriority()); in priorityTest()
/packages/apps/Contacts/src/com/android/contacts/voicemail/
DVoicemailStatusHelperImpl.java115 private OverallState(int priority, Action action, int callLogMessageId) { in OverallState() argument
116 this(priority, action, callLogMessageId, -1); in OverallState()
119 private OverallState(int priority, Action action, int callLogMessageId, in OverallState() argument
121 mPriority = priority; in OverallState()
149 public MessageStatusWithPriority(StatusMessage message, int priority) { in MessageStatusWithPriority() argument
151 mPriority = priority; in MessageStatusWithPriority()
/packages/inputmethods/OpenWnn/
DREADME.txt34 Index 0: English dictionary for normal prediction (high priority)
35 Index 1: English dictionary for normal prediction (middle priority)
36 Index 2: English dictionary for normal prediction (low priority)
41 Index 0: Japanese dictionary for normal prediction (high priority)
42 Index 1: Japanese dictionary for normal prediction (low priority)
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DPriorityThreadFactory.java36 public PriorityThreadFactory(int priority) { in PriorityThreadFactory() argument
37 mPriority = priority; in PriorityThreadFactory()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DPriorityThreadFactory.java33 public PriorityThreadFactory(String name, int priority) { in PriorityThreadFactory() argument
35 mPriority = priority; in PriorityThreadFactory()
/packages/apps/Email/src/com/android/email/service/
DAttachmentDownloadService.java167 final int priority; field in AttachmentDownloadService.DownloadRequest
187 priority = getPriority(attachment); in DownloadRequest()
215 if (req1.priority != req2.priority) { in compare()
216 res = (req1.priority < req2.priority) ? -1 : 1; in compare()
257 long priority = getPriority(att); in onChange() local
258 if (priority == PRIORITY_NONE) { in onChange()
283 req.priority + ", priority time " + req.time); in onChange()
500 proxy.loadAttachment(req.attachmentId, req.priority != PRIORITY_FOREGROUND); in startDownload()
974 pw.println(" Priority: " + req.priority + ", Time: " + req.time + in dump()
/packages/apps/Phone/src/com/android/phone/
DBluetoothHeadsetService.java170 int priority = BluetoothProfile.PRIORITY_OFF;
172 priority = getPriority(info.mRemoteDevice);
173 if (priority <= BluetoothProfile.PRIORITY_OFF) {
174 Log.i(TAG, "Rejecting incoming connection because priority = " + priority);
514 private void setPriority(BluetoothDevice device, int priority) { in setPriority() argument
516 mBinder.setPriority(device, priority); in setPriority()
700 int priority = Settings.Secure.getInt(getContentResolver(),
703 return priority;
707 public boolean setPriority(BluetoothDevice device, int priority) {
713 priority);
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaThumbRequest.java86 MediaThumbRequest(ContentResolver cr, String path, Uri uri, int priority, long magic) {
89 mPriority = priority;
DMediaProvider.java3530 … private MediaThumbRequest requestMediaThumbnail(String path, Uri uri, int priority, long magic) { in requestMediaThumbnail() argument
3535 getContext().getContentResolver(), path, uri, priority, magic); in requestMediaThumbnail()
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlertServiceTest.java181 public NotificationInstance(int alertId, int priority) { in NotificationInstance() argument
183 mPriority = priority; in NotificationInstance()
186 public NotificationInstance(int[] alertIdsInDigest, int priority) { in NotificationInstance() argument
188 mPriority = priority; in NotificationInstance()
275 public void expectTestNotification(int notificationId, int[] alertIds, int priority) { in expectTestNotification() argument
276 mNotifications[notificationId] = new NotificationInstance(alertIds, priority); in expectTestNotification()
280 assertEquals(mNotifications[id].mPriority, nw.mNotification.priority); in verifyNotification()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQsbApplication.java340 int priority = getConfig().getQueryThreadPriority();
343 .setThreadFactory(new PriorityThreadFactory(priority))
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java1805 private boolean hasHigherPhotoPriority(PhotoEntry photoEntry, int priority, in hasHigherPhotoPriority() argument
1808 return photoComparison < 0 || photoComparison == 0 && priority > bestPriority; in hasHigherPhotoPriority()
1905 int priority = mPhotoPriorityResolver.getPhotoPriority(accountType); in computeAggregateData() local
1907 photoEntry, priority, bestPhotoEntry, photoPriority)) { in computeAggregateData()
1909 photoPriority = priority; in computeAggregateData()
2057 int priority = mPhotoPriorityResolver.getPhotoPriority(accountType); in updatePhotoId() local
2059 photoEntry, priority, bestPhotoEntry, photoPriority)) { in updatePhotoId()
2061 photoPriority = priority; in updatePhotoId()