Searched refs:priority (Results 51 - 75 of 136) sorted by relevance

123456

/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothHeadsetClient.aidl38 boolean setPriority(in BluetoothDevice device, int priority);
H A DBluetoothInputDevice.java420 * Set priority of the profile
430 * @param priority
431 * @return true if priority is set, false on error
434 public boolean setPriority(BluetoothDevice device, int priority) { argument
435 if (DBG) log("setPriority(" + device + ", " + priority + ")");
437 if (priority != BluetoothProfile.PRIORITY_OFF &&
438 priority != BluetoothProfile.PRIORITY_ON) {
442 return mService.setPriority(device, priority);
453 * Get the priority of the profile.
455 * <p> The priority ca
[all...]
H A DBluetoothHeadset.java450 * Set priority of the profile
460 * @param priority
461 * @return true if priority is set, false on error
464 public boolean setPriority(BluetoothDevice device, int priority) { argument
465 if (DBG) log("setPriority(" + device + ", " + priority + ")");
468 if (priority != BluetoothProfile.PRIORITY_OFF &&
469 priority != BluetoothProfile.PRIORITY_ON) {
473 return mService.setPriority(device, priority);
484 * Get the priority of the profile.
486 * <p> The priority ca
[all...]
H A DBluetoothHeadsetClient.java584 * Set priority of the profile
588 public boolean setPriority(BluetoothDevice device, int priority) { argument
589 if (DBG) log("setPriority(" + device + ", " + priority + ")");
592 if (priority != BluetoothProfile.PRIORITY_OFF &&
593 priority != BluetoothProfile.PRIORITY_ON) {
597 return mService.setPriority(device, priority);
608 * Get the priority of the profile.
/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);
H A DLog.java347 * @param priority The priority/type of this log message
353 public static int println(int priority, String tag, String msg) { argument
354 return println_native(LOG_ID_MAIN, priority, tag, msg);
364 int priority, String tag, String msg);
363 println_native(int bufID, int priority, String tag, String msg) argument
/frameworks/base/core/jni/
H A Dandroid_util_Log.cpp106 * public static native int println_native(int buffer, int priority, String tag, String msg)
109 jint bufID, jint priority, jstring tagObj, jstring msgObj)
128 int res = __android_log_buf_write(bufID, (android_LogPriority)priority, tag, msg);
108 android_util_Log_println_native(JNIEnv* env, jobject clazz, jint bufID, jint priority, jstring tagObj, jstring msgObj) argument
/frameworks/opt/telephony/src/java/android/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/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DApnContext.java57 public final int priority; field in class:ApnContext
100 priority = config.priority;
H A DDctController.java284 private int requestNetwork(NetworkRequest request, int priority) { argument
286 + ", priority=" + priority);
288 RequestInfo requestInfo = new RequestInfo(request, priority);
332 //1. Check all requests and find subscription of the top priority
462 int priority = -1;
471 priority < requestInfo.priority) {
472 priority = requestInfo.priority;
[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/include/media/
H A DVisualizer.h68 Visualizer(int32_t priority = 0,
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java288 engine.priority = resolve.priority;
304 * the engines are sorted in order of their declared priority.
316 // Note, this isn't a typo. Higher priority numbers imply
317 // higher priority, but are "lower" in the sort order.
318 return rhs.priority - lhs.priority;
/frameworks/rs/driver/
H A DrsdGL.h87 int32_t priority);
/frameworks/base/core/java/android/app/
H A DINotificationManager.aidl48 void setPackagePriority(String pkg, int uid, int 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/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmSmsCbMessage.java78 int priority = header.isEmergencyMessage() ? SmsCbMessage.MESSAGE_PRIORITY_EMERGENCY
83 header.getServiceCategory(), language, sb.toString(), priority,
/frameworks/support/v4/api20/android/support/v4/app/
H A DNotificationCompatApi20.java41 boolean useChronometer, int priority, CharSequence subText, boolean localOnly,
68 .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, ArrayList<String> people, Bundle extras, String groupKey, boolean groupSummary, String sortKey) argument
/frameworks/support/v4/kitkat/android/support/v4/app/
H A DNotificationCompatKitKat.java42 boolean useChronometer, int priority, CharSequence subText, boolean localOnly,
69 .setPriority(priority)
37 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) argument
/frameworks/volley/tests/src/com/android/volley/
H A DRequestQueueTest.java60 Request.Priority priority = allPriorities[random.nextInt(allPriorities.length)];
62 request.setPriority(priority);
160 // Should never experience a higher priority after a lower priority
163 // If we're not transitioning to a new priority block, check sequence numbers
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java826 String collection, int keyboardLayoutResId, int priority) {
860 String collection, int keyboardLayoutResId, int priority) {
861 list.add(new KeyboardLayout(descriptor, label, collection, priority));
877 String label, String collection, int keyboardLayoutResId, int priority) {
878 result[0] = new KeyboardLayout(descriptor, label, collection, priority);
894 final int priority = resolveInfo.priority;
895 visitKeyboardLayoutsInPackage(pm, activityInfo, null, priority, visitor);
930 int priority;
932 priority
1726 visitKeyboardLayout(Resources resources, String descriptor, String label, String collection, int keyboardLayoutResId, int priority) argument
[all...]
/frameworks/native/cmds/installd/
H A Dinstalld.c641 int priority; local
645 priority = ANDROID_LOG_WARN;
648 priority = ANDROID_LOG_INFO;
651 priority = ANDROID_LOG_ERROR;
655 LOG_PRI_VA(priority, "SELinux", fmt, ap);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
H A DCdmaSmsCbTest.java79 * @param priority message priority
83 private static BitwiseOutputStream createBearerDataStream(int messageId, int priority, argument
94 if (priority != -1) {
97 bos.write(2, (priority & 0x03));
132 * @param priority message priority
142 private static SmsMessage createCmasSmsMessage(int serviceCategory, int messageId, int priority, argument
167 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language);
184 * @param priority messag
190 createBroadcastSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body) argument
[all...]

Completed in 701 milliseconds

123456