Searched refs:priority (Results 1 - 25 of 93) sorted by relevance

1234

/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/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/TV/tests/unit/src/com/android/tv/dvr/
H A DDvrScheduleManagerTest.java53 long priority = 0;
58 ++priority, 0L, 200L));
62 ++priority, 0L, 100L));
66 ++priority, 100L, 200L));
70 ++priority, 0L, 100L));
74 ++priority, 100L, 200L));
80 long priority = 0;
86 ++priority, 0L, 200L));
89 ++priority, 0L, 100L));
95 long priority
[all...]
/packages/services/Car/libvehiclemonitor/java/src/com/android/car/vehiclemonitor/
H A DIVehicleMonitor.aidl26 void setAppPriority(int pid, int uid, int priority) = 0;
/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/services/Car/car-lib/src/android/car/
H A DICarBluetoothUserService.aidl27 void setProfilePriority(in int profile, in BluetoothDevice device, in int priority);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DPhotoPriorityResolver.java38 * Maintains a cache of photo priority per account type. During contact aggregation
39 * photo with a higher priority is chosen for the the entire contact, barring an
65 * The XML tag capturing the picture priority. The syntax is:
66 * <code>&lt;Picture android:priority="6"/&gt;</code>
71 * Name of the attribute of the Picture tag capturing the priority itself.
73 private static final String PRIORITY_ATTR = "priority";
83 * Returns the photo priority for the specified account type. Maintains cache
91 Integer priority = mPhotoPriorities.get(accountType);
92 if (priority == null) {
93 priority
[all...]
/packages/services/Car/libvehiclemonitor/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);
H A DIVehicleMonitor.cpp44 uint32_t pid, uint32_t uid, vehicle_app_priority priority) {
50 data.writeInt32(priority);
110 int32_t priority = data.readInt32(); local
111 r = setAppPriority(pid, uid, (vehicle_app_priority) priority);
43 setAppPriority( uint32_t pid, uint32_t uid, vehicle_app_priority priority) argument
H A DVehicleMonitor.cpp68 uint32_t pid, uint32_t uid, vehicle_app_priority priority) {
69 return getService()->setAppPriority(pid, uid, priority);
67 setAppPriority( uint32_t pid, uint32_t uid, vehicle_app_priority priority) argument
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
H A DRecordingTestUtils.java45 long priority, long startTime, long endTime) {
48 .setPriority(priority)
53 long channelId, long priority, long startTime, long endTime) {
57 .setPriority(priority)
69 Assert.assertEquals("priority", expected.getPriority(), actual.getPriority());
44 createTestRecordingWithPriorityAndPeriod(long channelId, long priority, long startTime, long endTime) argument
52 createTestRecordingWithIdAndPriorityAndPeriod(long id, long channelId, long priority, long startTime, long endTime) argument
/packages/services/BuiltInPrintService/jni/include/
H A Dwprint_msgq.h41 int priority);
H A Difc_wprint.h64 int 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/libvehiclemonitor/include/
H A DHandlerThread.h34 status_t start(const char* name = 0, int32_t priority = PRIORITY_DEFAULT, size_t stack = 0);
H A DIVehicleMonitor.h44 uint32_t pid, uint32_t uid, vehicle_app_priority priority) = 0;
H A DVehicleMonitor.h46 uint32_t pid, uint32_t uid, vehicle_app_priority priority);
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
H A DMessagesFilter.java39 byte priority = PRIORITY_ANY; field in class:MessagesFilter
79 priority = filter;
/packages/services/BuiltInPrintService/jni/lib/
H A Dplugin_db.c35 wprint_priority_t priority; member in struct:__anon155
64 _plugin[index].priority = plugin->priority;
112 use = ((match == NULL) || (_plugin[i].priority < match->priority));
/packages/services/Car/service/src/com/android/car/
H A DCarBluetoothUserService.java167 * Set the priority of the given Bluetooth profile for the given remote device
170 * @param priority - priority to set
173 public void setProfilePriority(int profile, BluetoothDevice device, int priority) { argument
180 mBluetoothA2dpSink.setPriority(device, priority);
183 mBluetoothHeadsetClient.setPriority(device, priority);
186 mBluetoothMapClient.setPriority(device, priority);
189 mBluetoothPbapClient.setPriority(device, priority);
H A DBluetoothDevicesInfo.java123 public void setBluetoothDevicePriority(int priority) { argument
124 mDevicePriority = priority;
143 * Set the priority of the device with the given priority level
145 * @param deviceToTag - BluetoothDevice to set the priority for
146 * @param priority - Priority to set
149 public void setBluetoothDevicePriorityLocked(BluetoothDevice deviceToTag, int priority) { argument
150 /*if (priority >= mConnectionInfo.mNumConnectionsSupported) {
156 // if there is a device already set to that priority, unseat that device
157 BluetoothDevice oldDeviceWithPriority = getBluetoothDeviceForPriorityLocked(priority);
213 getBluetoothDeviceForPriorityLocked(int priority) argument
628 moveDeviceToPrioritySlotsLocked(DeviceInfo deviceInfo, int priority) argument
[all...]
H A DCarBluetoothService.java76 * Set the Auto connect priority for a paired Bluetooth Device.
79 * This priority is set at a Bluetooth profile granularity
81 * @param deviceToSet - Device to set priority (Tag)
82 * @param profileToSet - BluetoothProfile to set priority for.
83 * @param priorityToSet - What priority level to set to
102 // Write the priority preference to Secure settings. The Bluetooth device connection policy
111 * Unset the Auto connect priority for the given profile
113 * @param profileToClear - Profile to unset priority
114 * @param priorityToClear - Which priority to clear (Primary or Secondary)
134 * Returns if there is a device that has been tagged with the given priority fo
212 getKeyForProfile(int profile, int priority) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
H A DA2dpSinkService.java169 public boolean setPriority(BluetoothDevice device, int priority) { argument
174 priority);
176 Log.d(TAG,"Saved priority " + device + " = " + priority);
184 int priority = Settings.Global.getInt(getContentResolver(),
187 return priority;
304 public boolean setPriority(BluetoothDevice device, int priority) { argument
307 return service.setPriority(device, priority);
/packages/apps/Car/libs/car-stream-lib/src/com/android/car/stream/
H A DStreamCard.java35 private final static String PRIORITY_KEY = "priority";
75 private StreamCard(int type, long id, int priority, long timestamp, argument
81 mPriority = priority;
167 public void setPriority(int priority) { argument
168 mPriority = priority;
221 private int priority; field in class:StreamCard.Builder
238 return new StreamCard(type, id, priority, timestamp, contentPendingIntent, primaryIcon,
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
H A DMapClientService.java123 public boolean setPriority(BluetoothDevice device, int priority) { argument
126 priority);
127 if (VDBG) Log.v(TAG, "Saved priority " + device + " = " + priority);
132 int priority = Settings.Global.getInt(getContentResolver(),
135 return priority;
277 public boolean setPriority(BluetoothDevice device, int priority) { argument
280 return service.setPriority(device, priority);

Completed in 451 milliseconds

1234