Home
last modified time | relevance | path

Searched refs:priority (Results 1 – 19 of 19) 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/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java153 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() argument
158 priority); in setPriority() local
159 if (DBG) Log.d(TAG,"Saved priority " + device + " = " + priority); in setPriority()
166 int priority = Settings.Global.getInt(getContentResolver(), in getPriority() local
169 return priority; in getPriority()
235 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() argument
238 return service.setPriority(device, priority); in setPriority()
DA2dpStateMachine.java637 int priority = mService.getPriority(device); in okToConnect() local
648 else if((BluetoothProfile.PRIORITY_OFF < priority) || in okToConnect()
649 ((BluetoothProfile.PRIORITY_UNDEFINED == priority) && in okToConnect()
/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/gallerycommon/src/com/android/gallery3d/util/
DPriorityThreadFactory.java33 public PriorityThreadFactory(String name, int priority) { in PriorityThreadFactory() argument
35 mPriority = priority; in PriorityThreadFactory()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java169 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() argument
172 return service.setPriority(device, priority); in setPriority()
355 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() argument
360 priority); in setPriority() local
361 if (DBG) Log.d(TAG, "Saved priority " + device + " = " + priority); in setPriority()
368 int priority = Settings.Global.getInt(getContentResolver(), in getPriority() local
371 return priority; in getPriority()
DHeadsetStateMachine.java1941 int priority = mService.getPriority(device); in okToConnect() local
1952 else if((BluetoothProfile.PRIORITY_OFF < priority) || in okToConnect()
1953 ((BluetoothProfile.PRIORITY_UNDEFINED == priority) && in okToConnect()
/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/Bluetooth/src/com/android/bluetooth/hid/
DHidService.java330 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() argument
333 return service.setPriority(device, priority); in setPriority()
427 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() argument
432 priority); in setPriority() local
433 if (DBG) Log.d(TAG,"Saved priority " + device + " = " + priority); in setPriority()
440 int priority = Settings.Global.getInt(getContentResolver(), in getPriority() local
443 return priority; in getPriority()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertReceiver.java222 int notificationId, boolean doPopup, int priority) { in makeBasicNotification() argument
225 doPopup, priority, false); in makeBasicNotification()
231 long eventId, int notificationId, boolean doPopup, int priority, in buildBasicNotification() argument
274 notificationBuilder.setPriority(priority); in buildBasicNotification()
324 int notificationId, boolean doPopup, int priority) { in makeExpandingNotification() argument
328 priority, true); in makeExpandingNotification()
/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.java3558 … private MediaThumbRequest requestMediaThumbnail(String path, Uri uri, int priority, long magic) { in requestMediaThumbnail() argument
3563 getContext().getContentResolver(), path, uri, priority, magic); in requestMediaThumbnail()
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlertServiceTest.java182 public NotificationInstance(int alertId, int priority) { in NotificationInstance() argument
184 mPriority = priority; in NotificationInstance()
187 public NotificationInstance(int[] alertIdsInDigest, int priority) { in NotificationInstance() argument
189 mPriority = priority; in NotificationInstance()
278 public void expectTestNotification(int notificationId, int[] alertIds, int priority) { in expectTestNotification() argument
279 mExpectedNotifications[notificationId] = new NotificationInstance(alertIds, priority); in expectTestNotification()
310 expected.mPriority, actual.mNotification.priority); in validateNotificationsAndReset()
352 s.append("priority:" + actual.mNotification.priority); in printActualNotifications()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQsbApplication.java340 int priority = getConfig().getQueryThreadPriority();
343 .setThreadFactory(new PriorityThreadFactory(priority))
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerReceiver.java275 int priority, PendingIntent pendingIntent, int notificationId, boolean showTicker) { in showCollapsedNotification() argument
282 .setPriority(priority) in showCollapsedNotification()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java1809 private boolean hasHigherPhotoPriority(PhotoEntry photoEntry, int priority, in hasHigherPhotoPriority() argument
1812 return photoComparison < 0 || photoComparison == 0 && priority > bestPriority; in hasHigherPhotoPriority()
1909 int priority = mPhotoPriorityResolver.getPhotoPriority(accountType); in computeAggregateData() local
1911 photoEntry, priority, bestPhotoEntry, photoPriority)) { in computeAggregateData()
1913 photoPriority = priority; in computeAggregateData()
2061 int priority = mPhotoPriorityResolver.getPhotoPriority(accountType); in updatePhotoId() local
2063 photoEntry, priority, bestPhotoEntry, photoPriority)) { in updatePhotoId()
2065 photoPriority = priority; in updatePhotoId()