Searched refs:priority (Results 101 - 125 of 209) sorted by relevance

123456789

/frameworks/base/core/java/android/os/
H A DProcess.java205 * Standard priority of application threads.
219 * Lowest available thread priority. Only for those who really, really
228 * Standard priority background threads. This gives your thread a slightly
229 * lower than normal priority, so that it will have less chance of impacting
238 * Standard priority of threads that are currently running a user interface
240 * change to this priority; the system will automatically adjust your
249 * Standard priority of system display threads, involved in updating
251 * normally change to this priority.
259 * Standard priority of the most important display threads, for compositing
261 * change to this priority
646 setThreadPriority(int tid, int priority) argument
764 setThreadPriority(int priority) argument
816 setThreadScheduler(int tid, int policy, int priority) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DNotificationCompatImplBase.java60 boolean useChronometer, long when, int priority, List<T> actions,
64 number, largeIcon, subText, useChronometer, when, priority, actions,
78 boolean useChronometer, long when, int priority, List<T> actions,
82 number, 0 /* smallIcon */, largeIcon, subText, useChronometer, when, priority,
123 boolean useChronometer, long when, int priority, int color, List<T> actions,
127 number, largeIcon, subText, useChronometer, when, priority, color, actions,
138 boolean useChronometer, long when, int priority, int color, List<T> actions,
143 number, 0 /* smallIcon */, largeIcon, subText, useChronometer, when, priority,
197 boolean useChronometer, long when, int priority, int color, int resId, boolean fitIn1U,
200 contentInfo, number, smallIcon, largeIcon, subText, useChronometer, when, priority,
56 overrideContentViewMedia( NotificationBuilderWithBuilderAccessor builder, Context context, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, int number, Bitmap largeIcon, CharSequence subText, boolean useChronometer, long when, int priority, List<T> actions, int[] actionsToShowInCompact, boolean showCancelButton, PendingIntent cancelButtonIntent, boolean isDecoratedCustomView) argument
75 generateContentViewMedia( Context context, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, int number, Bitmap largeIcon, CharSequence subText, boolean useChronometer, long when, int priority, List<T> actions, int[] actionsToShowInCompact, boolean showCancelButton, PendingIntent cancelButtonIntent, boolean isDecoratedCustomView) argument
120 overrideMediaBigContentView( Notification n, Context context, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, int number, Bitmap largeIcon, CharSequence subText, boolean useChronometer, long when, int priority, int color, List<T> actions, boolean showCancelButton, PendingIntent cancelButtonIntent, boolean decoratedCustomView) argument
135 generateMediaBigView( Context context, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, int number, Bitmap largeIcon, CharSequence subText, boolean useChronometer, long when, int priority, int color, List<T> actions, boolean showCancelButton, PendingIntent cancelButtonIntent, boolean decoratedCustomView) argument
194 applyStandardTemplateWithActions(Context context, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, int number, int smallIcon, Bitmap largeIcon, CharSequence subText, boolean useChronometer, long when, int priority, int color, int resId, boolean fitIn1U, ArrayList<NotificationCompat.Action> actions) argument
267 applyStandardTemplate(Context context, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, int number, int smallIcon, Bitmap largeIcon, CharSequence subText, boolean useChronometer, long when, int priority, int color, int resId, boolean fitIn1U) argument
[all...]
/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java921 * @param priority Buffer to keep record of the priorities of spans found.
924 * @param sort Flag to fill the priority and insertion order buffers. If false then
925 * the spans with priority flag will be sorted in the result array.
931 int i, T[] ret, int[] priority, int[] insertionOrder, int count, boolean sort) {
940 count = getSpansRec(queryStart, queryEnd, kind, left, ret, priority,
961 priority[target] = spanPriority;
964 //insertion sort for elements with priority
977 count = getSpansRec(queryStart, queryEnd, kind, rightChild(i), ret, priority,
1048 * An iterative heap sort implementation. It will sort the spans using first their priority
1049 * then insertion order. A span with higher priority wil
930 getSpansRec(int queryStart, int queryEnd, Class<T> kind, int i, T[] ret, int[] priority, int[] insertionOrder, int count, boolean sort) argument
1059 sort(T[] array, int[] priority, int[] insertionOrder) argument
1092 siftDown(int index, T[] array, int size, int[] priority, int[] insertionOrder) argument
1130 compareSpans(int left, int right, int[] priority, int[] insertionOrder) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothInputDevice.java421 * Set priority of the profile
431 * @param priority
432 * @return true if priority is set, false on error
435 public boolean setPriority(BluetoothDevice device, int priority) { argument
436 if (DBG) log("setPriority(" + device + ", " + priority + ")");
438 if (priority != BluetoothProfile.PRIORITY_OFF &&
439 priority != BluetoothProfile.PRIORITY_ON) {
443 return mService.setPriority(device, priority);
454 * Get the priority of the profile.
456 * <p> The priority ca
[all...]
H A DBluetoothA2dp.java414 * Set priority of the profile
424 * @param priority
425 * @return true if priority is set, false on error
428 public boolean setPriority(BluetoothDevice device, int priority) { argument
429 if (DBG) log("setPriority(" + device + ", " + priority + ")");
434 if (priority != BluetoothProfile.PRIORITY_OFF &&
435 priority != BluetoothProfile.PRIORITY_ON) {
438 return mService.setPriority(device, priority);
451 * Get the priority of the profile.
453 * <p> The priority ca
[all...]
H A DBluetoothHeadset.java491 * Set priority of the profile
501 * @param priority
502 * @return true if priority is set, false on error
505 public boolean setPriority(BluetoothDevice device, int priority) { argument
506 if (DBG) log("setPriority(" + device + ", " + priority + ")");
509 if (priority != BluetoothProfile.PRIORITY_OFF &&
510 priority != BluetoothProfile.PRIORITY_ON) {
514 return mService.setPriority(device, priority);
525 * Get the priority of the profile.
527 * <p> The priority ca
[all...]
H A DBluetoothHeadsetClient.java586 * Set priority of the profile
590 public boolean setPriority(BluetoothDevice device, int priority) { argument
591 if (DBG) log("setPriority(" + device + ", " + priority + ")");
594 if (priority != BluetoothProfile.PRIORITY_OFF &&
595 priority != BluetoothProfile.PRIORITY_ON) {
599 return mService.setPriority(device, priority);
610 * Get the priority of the profile.
/frameworks/av/services/mediaresourcemanager/
H A DResourceManagerService.cpp418 // some higher/equal priority process owns the resource,
442 ALOGE("getLowestPriorityBiggestClient_l: can't get process priority for pid %d",
450 ALOGE("getLowestPriorityBiggestClient_l: lowest priority %d vs caller priority %d",
464 int priority = -1; local
477 ALOGV("getLowestPriorityPid_l: can't get priority of pid %d, skipped", tempPid);
481 if (pid == -1 || tempPriority > priority) {
484 priority = tempPriority;
489 *lowestPriority = priority;
500 int priority; local
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnectionPool.java142 * The connection pool can use this flag to elevate the priority
619 // No connections available. Enqueue a waiter in priority order.
620 final int priority = getPriority(connectionFlags);
623 priority, wantPrimaryConnection, sql, connectionFlags);
627 if (priority > successor.mPriority) {
924 final int priority = getPriority(connectionFlags);
926 // Only worry about blocked connections that have same or lower priority.
927 if (priority > waiter.mPriority) {
968 int priority, boolean wantPrimaryConnection, String sql, int connectionFlags) {
978 waiter.mPriority = priority;
967 obtainConnectionWaiterLocked(Thread thread, long startTime, int priority, boolean wantPrimaryConnection, String sql, int connectionFlags) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioSession.cpp259 int32_t priority = -1; local
267 if (curPriority > priority) {
268 priority = curPriority;
/frameworks/av/include/media/
H A DVisualizer.h69 int32_t priority = 0,
/frameworks/av/media/libmedia/include/media/
H A DVisualizer.h69 int32_t priority = 0,
/frameworks/av/services/camera/libcameraservice/utils/
H A DClientManager.h75 * resource, and the corresponding cost, priority, owner ID, and conflicting keys list used
78 * Aside from the priority, these values are immutable once the ClientDescriptor has been
107 * Return the priority for this descriptor.
129 void setPriority(const ClientPriority& priority);
206 void ClientDescriptor<KEY, VALUE>::setPriority(const ClientPriority& priority) { argument
207 mPriority = priority;
238 * result in the lower-priority of the two being removed. Priority ties result in the
241 * will be removed if they have an equal or lower priority than the incoming descriptor;
242 * if any have a higher priority, the incoming descriptor is removed instead.
245 * priority, an
424 ClientPriority priority = client->getPriority(); local
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java287 engine.priority = resolve.priority;
303 * the engines are sorted in order of their declared priority.
315 // Note, this isn't a typo. Higher priority numbers imply
316 // higher priority, but are "lower" in the sort order.
317 return rhs.priority - lhs.priority;
/frameworks/rs/driver/
H A DrsdGL.h84 int32_t priority);
/frameworks/base/libs/common_time/
H A Dcommon_time_server.h59 status_t getMasterElectionPriority(uint8_t *priority);
60 status_t setMasterElectionPriority(uint8_t priority);
216 // priority than all of their peers during elections. This flag is set and
/frameworks/base/media/java/android/media/audiofx/
H A DEqualizer.java124 * @param priority the priority level requested by the application for controlling the Equalizer
126 * how much the requesting application needs control of effect parameters. The normal priority
136 public Equalizer(int priority, int audioSession) argument
139 super(EFFECT_TYPE_EQUALIZER, EFFECT_TYPE_NULL, priority, audioSession);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DCategoryManager.java191 * Sort the tiles injected from all apps such that if they have the same priority value,
194 * A list of tiles are considered sorted when their priority value decreases in a linear
231 * Sort priority value for tiles within a single {@code DashboardCategory}.
239 // Sort tiles based on [priority, package within priority]
244 // First sort by priority
245 final int priorityCompare = tile2.priority - tile1.priority;
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGsmSmsCbMessage.java118 int priority = header.isEmergencyMessage() ? SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY
123 header.getServiceCategory(), language, sb.toString(), priority,
/frameworks/rs/rsov/driver/
H A DrsovCore.cpp41 void SetPriority(const Context *rsc, int32_t priority) { argument
44 dc->mCpuRef->setPriority(priority);
/frameworks/support/compat/api24/android/support/v4/app/
H A DNotificationCompatApi24.java52 boolean useChronometer, int priority, CharSequence subText, boolean localOnly,
82 .setPriority(priority)
47 Builder(Context context, Notification n, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, RemoteViews tickerView, int number, PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon, int progressMax, int progress, boolean progressIndeterminate, boolean showWhen, boolean useChronometer, int priority, CharSequence subText, boolean localOnly, String category, ArrayList<String> people, Bundle extras, int color, int visibility, Notification publicVersion, String groupKey, boolean groupSummary, String sortKey, CharSequence[] remoteInputHistory, RemoteViews contentView, RemoteViews bigContentView, RemoteViews headsUpContentView, int groupAlertBehavior) argument
/frameworks/support/compat/kitkat/android/support/v4/app/
H A DNotificationCompatKitKat.java46 boolean useChronometer, int priority, CharSequence subText, boolean localOnly,
73 .setPriority(priority)
41 Builder(Context context, Notification n, CharSequence contentTitle, CharSequence contentText, CharSequence contentInfo, RemoteViews tickerView, int number, PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon, int progressMax, int progress, boolean progressIndeterminate, boolean showWhen, boolean useChronometer, int priority, CharSequence subText, boolean localOnly, ArrayList<String> people, Bundle extras, String groupKey, boolean groupSummary, String sortKey, RemoteViews contentView, RemoteViews bigContentView) argument
/frameworks/native/vulkan/libvulkan/
H A Dapi.cpp104 int priority; member in struct:vulkan::api::__anon1930::OverrideLayerNames::ImplicitLayer
131 return (a.priority < b.priority);
168 // debug.vulkan.layer.<priority>
169 int priority = -1; local
171 priority = atoi(key);
173 if (priority < 0) {
174 ALOGW("Ignored implicit layer %s with invalid priority %s", val,
181 override_layers.AddImplicitLayer(priority, val, strlen(val));
184 void AddImplicitLayer(int priority, cons argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
H A DCdmaSmsCbTest.java84 * @param priority message priority
88 private static BitwiseOutputStream createBearerDataStream(int messageId, int priority, argument
99 if (priority != -1) {
102 bos.write(2, (priority & 0x03));
134 * @param priority message priority
144 private static SmsMessage createCmasSmsMessage(int serviceCategory, int messageId, int priority, argument
169 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language);
186 * @param priority messag
192 createBroadcastSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body) argument
[all...]
/frameworks/av/include/media/audiohal/
H A DStreamHalInterface.h78 // Set the priority of the thread that interacts with the HAL
79 // (must match the priority of the audioflinger's thread that calls 'read' / 'write')
80 virtual status_t setHalThreadPriority(int priority) = 0;

Completed in 2587 milliseconds

123456789