Searched refs:priority (Results 76 - 100 of 209) sorted by relevance

123456789

/frameworks/av/media/libaudioclient/
H A DAudioEffect.cpp47 int32_t priority,
55 mStatus = set(type, uuid, priority, cbf, user, sessionId, io);
61 int32_t priority,
88 mStatus = set(pType, pUuid, priority, cbf, user, sessionId, io);
93 int32_t priority,
121 mPriority = priority;
134 mIEffectClient, priority, io, mSessionId, mOpPackageName, mClientPid,
44 AudioEffect(const effect_uuid_t *type, const String16& opPackageName, const effect_uuid_t *uuid, int32_t priority, effect_callback_t cbf, void* user, audio_session_t sessionId, audio_io_handle_t io ) argument
58 AudioEffect(const char *typeStr, const String16& opPackageName, const char *uuidStr, int32_t priority, effect_callback_t cbf, void* user, audio_session_t sessionId, audio_io_handle_t io ) argument
91 set(const effect_uuid_t *type, const effect_uuid_t *uuid, int32_t priority, effect_callback_t cbf, void* user, audio_session_t sessionId, audio_io_handle_t io) argument
/frameworks/base/core/java/android/app/job/
H A DJobInfo.java177 * JobInfo priority if it is smaller).
184 * JobInfo priority if it is smaller).
261 private final int priority; field in class:JobInfo
311 return priority;
547 if (priority != j.priority) {
589 hashCode = 31 * hashCode + priority;
621 priority = in.readInt();
649 priority = b.mPriority;
686 out.writeInt(priority);
845 setPriority(int priority) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dpSink.java375 * Set priority of the profile
385 * @param priority
386 * @return true if priority is set, false on error
389 public boolean setPriority(BluetoothDevice device, int priority) { argument
390 if (DBG) log("setPriority(" + device + ", " + priority + ")");
393 if (priority != BluetoothProfile.PRIORITY_OFF &&
394 priority != BluetoothProfile.PRIORITY_ON){
398 return mService.setPriority(device, priority);
409 * Get the priority of the profile.
411 * <p> The priority ca
[all...]
H A DBluetoothMap.java317 * Set priority of the profile
324 * @param priority
325 * @return true if priority is set, false on error
327 public boolean setPriority(BluetoothDevice device, int priority) { argument
328 if (DBG) log("setPriority(" + device + ", " + priority + ")");
331 if (priority != BluetoothProfile.PRIORITY_OFF &&
332 priority != BluetoothProfile.PRIORITY_ON) {
336 return mService.setPriority(device, priority);
347 * Get the priority of the profile.
349 * <p> The priority ca
[all...]
H A DBluetoothMapClient.java293 * Set priority of the profile
299 * @return true if priority is set, false on error
301 public boolean setPriority(BluetoothDevice device, int priority) { argument
302 if (DBG) Log.d(TAG, "setPriority(" + device + ", " + priority + ")");
305 if (priority != BluetoothProfile.PRIORITY_OFF &&
306 priority != BluetoothProfile.PRIORITY_ON) {
310 return mService.setPriority(device, priority);
321 * Get the priority of the profile.
323 * <p> The priority can be any of:
328 * @return priority o
[all...]
H A DBluetoothSap.java344 * Set priority of the profile
349 * @param priority
350 * @return true if priority is set, false on error
353 public boolean setPriority(BluetoothDevice device, int priority) { argument
354 if (DBG) log("setPriority(" + device + ", " + priority + ")");
357 if (priority != BluetoothProfile.PRIORITY_OFF &&
358 priority != BluetoothProfile.PRIORITY_ON) {
362 return mService.setPriority(device, priority);
373 * Get the priority of the profile.
376 * @return priority o
[all...]
H A DIBluetoothHeadsetClient.aidl35 boolean setPriority(in BluetoothDevice device, int priority);
/frameworks/base/libs/common_time/
H A Dcommon_time_server_api.cpp80 status_t CommonTimeServer::getMasterElectionPriority(uint8_t *priority) { argument
82 *priority = mMasterPriority;
86 status_t CommonTimeServer::setMasterElectionPriority(uint8_t priority) { argument
89 if (priority > 0x7F)
92 mMasterPriority = priority;
/frameworks/base/tools/aapt2/flatten/
H A DXmlFlattener.cpp160 void AddString(const StringPiece& str, uint32_t priority, argument
168 pool.MakeRef(str, StringPool::Context(priority)), dest});
310 return a.context.priority < b.context.priority;
330 ResourceId id = {str->context.priority};
/frameworks/base/services/core/java/com/android/server/om/
H A DOverlayManagerSettings.java64 * priority.
70 boolean isStatic, int priority) {
74 isStatic, priority);
79 if (parentItem.mIsStatic && parentItem.mPriority <= priority) {
318 private static final String ATTR_PRIORITY = "priority";
372 final int priority = XmlUtils.readIntAttribute(parser, ATTR_PRIORITY);
375 isEnabled, isStatic, priority);
425 final int priority) {
434 mPriority = priority;
439 final boolean isStatic, final int priority) {
68 init(@onNull final String packageName, final int userId, @NonNull final String targetPackageName, @NonNull final String baseCodePath, boolean isStatic, int priority) argument
422 SettingsItem(@onNull final String packageName, final int userId, @NonNull final String targetPackageName, @NonNull final String baseCodePath, final int state, final boolean isEnabled, final boolean isStatic, final int priority) argument
437 SettingsItem(@onNull final String packageName, final int userId, @NonNull final String targetPackageName, @NonNull final String baseCodePath, final boolean isStatic, final int priority) argument
[all...]
/frameworks/native/libs/binder/tests/
H A Dschd-dbg.cpp113 // data[in]: int32: caller priority
116 // reply[out]: int32: 1 if caller's priority != callee's priority
124 int priority = thread_pri(); local
127 if (priority_caller != priority) {
131 << ", priority:" << priority << endl;
134 if (priority == sched_get_priority_max(SCHED_FIFO)) {
265 static void parcel_fill(Parcel& data, int sz, int priority, int cpu) { argument
267 data.writeInt32(priority);
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingHelper.java76 private static final String ATT_PRIORITY = "priority";
190 r.priority = safeInt(parser, ATT_PRIORITY, DEFAULT_PRIORITY);
256 private Record getOrCreateRecord(String pkg, int uid, int importance, int priority, argument
267 r.priority = priority;
332 channel.setBypassDnd(r.priority == Notification.PRIORITY_MAX);
337 if (r.priority != DEFAULT_PRIORITY) {
359 || r.priority != DEFAULT_PRIORITY || r.visibility != DEFAULT_VISIBILITY
368 if (r.priority != DEFAULT_PRIORITY) {
369 out.attribute(null, ATT_PRIORITY, Integer.toString(r.priority));
1198 int priority = DEFAULT_PRIORITY; field in class:RankingHelper.Record
[all...]
H A DNotificationComparator.java105 // by priority, high to low
109 final int leftPriority = left.sbn.getNotification().priority;
110 final int rightPriority = right.sbn.getNotification().priority;
112 // by priority, high to low
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp97 bool runOnCallingThread, bool canCallJava, int32_t priority) {
124 mName.empty() ? "ALooper" : mName.c_str(), priority);
96 start( bool runOnCallingThread, bool canCallJava, int32_t priority) argument
/frameworks/base/core/java/android/os/
H A DCommonTimeConfig.java111 * Gets the current priority of the common time service used in the master election protocol.
113 * @return an 8 bit value indicating the priority of this common time service relative to other
124 * Sets the current priority of the common time service used in the master election protocol.
126 * @param priority priority of the common time service used in the master election protocol.
127 * Lower numbers are lower priority.
131 public int setMasterElectionPriority(byte priority) { argument
134 return mUtils.transactSetInt(METHOD_SET_MASTER_ELECTION_PRIORITY, priority);
/frameworks/base/core/java/android/util/
H A DSlog.java119 public static int println(int priority, String tag, String msg) { argument
120 return Log.println_native(Log.LOG_ID_SYSTEM, priority, tag, msg);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DTileUtils.java276 category.priority = SETTING_PKG.equals(
277 resolved.activityInfo.applicationInfo.packageName) ? resolved.priority : 0;
338 tile.priority = usePriority ? resolved.priority : 0;
537 return rhs.priority - lhs.priority;
545 return rhs.priority - lhs.priority;
/frameworks/base/telephony/java/android/telephony/
H A DRlog.java90 public static int println(int priority, String tag, String msg) { argument
91 return Log.println_native(Log.LOG_ID_RADIO, priority, tag, msg);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DSmsCbMessage.java86 /** Normal message priority. */
89 /** Interactive message priority. */
92 /** Urgent message priority. */
95 /** Emergency message priority. */
132 /** Message priority (including emergency priority). */
146 int priority, SmsCbEtwsInfo etwsWarningInfo, SmsCbCmasInfo cmasWarningInfo) {
154 mPriority = priority;
304 * Get the message priority. Normal broadcasts return {@link #MESSAGE_PRIORITY_NORMAL}
307 * @return an integer representing the message priority
144 SmsCbMessage(int messageFormat, int geographicalScope, int serialNumber, SmsCbLocation location, int serviceCategory, String language, String body, int priority, SmsCbEtwsInfo etwsWarningInfo, SmsCbCmasInfo cmasWarningInfo) argument
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestGetMessagesListing.java91 if (filter.priority != MessagesFilter.PRIORITY_ANY) {
92 oap.add(OAP_TAGID_FILTER_PRIORITY, filter.priority);
/frameworks/support/compat/api26/android/support/v4/app/
H A DNotificationCompatApi26.java41 boolean useChronometer, int priority, CharSequence subText, boolean localOnly,
72 .setPriority(priority)
36 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, String channelId, int badgeIcon, String shortcutId, long timeoutMs, boolean colorized, boolean colorizedSet, int groupAlertBehavior) argument
/frameworks/support/compat/java/android/support/v4/provider/
H A DSelfDestructiveThread.java74 private final int mPriority; // The priority of the thread.
78 String threadName, int priority, int destructAfterMillisec) {
80 mPriority = priority;
77 SelfDestructiveThread( String threadName, int priority, int destructAfterMillisec) argument
/frameworks/av/services/mediaresourcemanager/
H A DResourceManagerService.h69 // Tries to reclaim resource from processes with lower priority than the calling process
83 // Returns false if any client belongs to a process with higher priority than the
88 // Gets the client who owns specified resource type from lowest possible priority process.
89 // Returns false if the calling process priority is not higher than the lowest process
90 // priority. The client will remain unchanged if returns false.
94 // Gets lowest priority process that has the specified resource type.
96 bool getLowestPriorityPid_l(MediaResource::Type type, int *pid, int *priority);
/frameworks/base/core/java/com/android/internal/app/
H A DResolverListController.java183 // Filter out any low priority items.
193 // priority or have asked to be default options.
202 r0.priority + "/" + r0.isDefault + " vs " +
204 ri.priority + "/" + ri.isDefault);
205 if (r0.priority != ri.priority ||
/frameworks/rs/driver/
H A DrsdCore.cpp54 static void SetPriority(const Context *rsc, int32_t priority);
351 void SetPriority(const Context *rsc, int32_t priority) { argument
354 dc->mCpuRef->setPriority(priority);
358 rsdGLSetPriority(rsc, priority);

Completed in 612 milliseconds

123456789