/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | PriorityThreadFactory.java | 24 * 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 D | ParticipantInfo.java | 32 /** 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 D | DvrScheduleManagerTest.java | 53 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 D | IVehicleMonitor.aidl | 26 void setAppPriority(int pid, int uid, int priority) = 0;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/ |
H A D | PriorityThreadFactory.java | 25 * 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 D | ICarBluetoothUserService.aidl | 27 void setProfilePriority(in int profile, in BluetoothDevice device, in int priority);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | PhotoPriorityResolver.java | 38 * 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><Picture android:priority="6"/></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 D | HandlerThread.cpp | 38 status_t HandlerThread::start(const char* name, int32_t priority, size_t stack) { argument 39 return run(name, priority, stack);
|
H A D | IVehicleMonitor.cpp | 44 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 D | VehicleMonitor.cpp | 68 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 D | RecordingTestUtils.java | 45 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 D | wprint_msgq.h | 41 int priority);
|
H A D | ifc_wprint.h | 64 int priority);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
H A D | PriorityThreadFactoryTest.java | 40 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 D | HandlerThread.h | 34 status_t start(const char* name = 0, int32_t priority = PRIORITY_DEFAULT, size_t stack = 0);
|
H A D | IVehicleMonitor.h | 44 uint32_t pid, uint32_t uid, vehicle_app_priority priority) = 0;
|
H A D | VehicleMonitor.h | 46 uint32_t pid, uint32_t uid, vehicle_app_priority priority);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
H A D | MessagesFilter.java | 39 byte priority = PRIORITY_ANY; field in class:MessagesFilter 79 priority = filter;
|
/packages/services/BuiltInPrintService/jni/lib/ |
H A D | plugin_db.c | 35 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 D | CarBluetoothUserService.java | 167 * 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 D | BluetoothDevicesInfo.java | 123 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 D | CarBluetoothService.java | 76 * 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 D | A2dpSinkService.java | 169 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 D | StreamCard.java | 35 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 D | MapClientService.java | 123 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);
|