Searched defs:priority (Results 1 - 25 of 122) sorted by relevance

12345

/frameworks/base/core/java/com/android/internal/os/
H A DAndroidPrintStream.java28 private final int priority; field in class:AndroidPrintStream
34 * @param priority from {@link android.util.Log}
37 public AndroidPrintStream(int priority, String tag) { argument
42 this.priority = priority;
47 Log.println(priority, tag, line);
/frameworks/base/services/core/java/com/android/server/
H A DServiceThread.java32 public ServiceThread(String name, int priority, boolean allowIo) { argument
33 super(name, priority);
H A DThreadPriorityBooster.java68 * Updates the priority we boost the threads to, and updates the current thread's priority if
71 protected void setBoostToPriority(int priority) { argument
75 mBoostToPriority = priority;
79 if (state.regionCounter != 0 && prevPriority != priority) {
80 setThreadPriority(tid, priority);
89 * the thread's priority.
94 * The thread's previous priority before boosting.
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DLog_Delegate.java23 private static char priorityChar(int priority) { argument
24 switch (priority) {
43 static int println_native(int bufID, int priority, String tag, String msgs) { argument
44 String prefix = priorityChar(priority) + "/" + tag + ": ";
/frameworks/base/core/java/android/net/
H A DNetworkConfig.java43 * higher number == higher priority when turning off connections
45 public int priority; field in class:NetworkConfig
62 * [associated radio-type],[priority],[dependencyMet]
69 priority = Integer.parseInt(fragments[3]);
/frameworks/base/core/java/android/os/
H A DHandlerThread.java40 * @param priority The priority to run the thread at. The value supplied must be from
43 public HandlerThread(String name, int priority) { argument
45 mPriority = priority;
/frameworks/base/core/java/android/util/
H A DLogPrinter.java29 * Create a new Printer that sends to the log with the given priority
32 * @param priority The desired log priority:
40 public LogPrinter(int priority, String tag) { argument
41 mPriority = priority;
50 public LogPrinter(int priority, String tag, int buffer) { argument
51 mPriority = priority;
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 DLogWriter.java29 * Create a new Writer that sends to the log with the given priority
32 * @param priority The desired log priority:
40 public LogWriter(int priority, String tag) { argument
41 mPriority = priority;
50 public LogWriter(int priority, String tag, int buffer) { argument
51 mPriority = priority;
/frameworks/native/services/schedulerservice/
H A DSchedulingPolicyService.cpp35 Return<bool> SchedulingPolicyService::requestPriority(int32_t pid, int32_t tid, int32_t priority) { argument
36 if (priority < static_cast<int32_t>(Priority::MIN) ||
37 priority > static_cast<int32_t>(Priority::MAX)) {
47 int value = ::android::requestPriority(pid, tid, priority, false /* isForApp */);
/frameworks/native/services/vr/performanced/
H A Dperformance_service.h45 int priority; member in struct:android::dvr::PerformanceService::SchedulerClassConfig
/frameworks/av/media/utils/
H A DProcessInfo.cpp31 bool ProcessInfo::getPriority(int pid, int* priority) { argument
51 // Use OOM adjustments value as the priority. Lower the value, higher the priority.
52 *priority = score;
/frameworks/base/core/java/android/content/pm/
H A DPermissionGroupInfo.java59 public int priority; field in class:PermissionGroupInfo
69 priority = orig.priority;
111 dest.writeInt(priority);
129 priority = source.readInt();
/frameworks/base/media/java/android/media/
H A DMediaInserter.java56 private void insert(Uri tableUri, ContentValues values, boolean priority) throws RemoteException { argument
57 HashMap<Uri, List<ContentValues>> rowmap = priority ? mPriorityRowMap : mRowMap;
/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/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DDashboardCategory.java46 public int priority; field in class:DashboardCategory
107 dest.writeInt(priority);
121 priority = in.readInt();
H A DTile.java75 public int priority; field in class:Tile
119 dest.writeInt(priority);
139 priority = in.readInt();
/frameworks/multidex/library/test/src/android/util/
H A DLog.java204 * @param priority The priority/type of this log message
210 public static int println(int priority, String tag, String msg) { argument
211 return println(LOG_ID_MAIN, priority, tag, msg);
222 int priority, String tag, String msg) {
221 println(int bufID, int priority, String tag, String msg) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcRequest.java41 public final int priority; field in class:DcRequest
48 priority = priorityForApnId(apnId);
52 return networkRequest.toString() + ", priority=" + priority + ", apnId=" + apnId;
67 return o.priority - priority;
153 sApnPriorityMap.put(apnId, networkConfig.priority);
160 Integer priority = sApnPriorityMap.get(apnId);
161 return (priority != null ? priority
[all...]
/frameworks/av/drm/libmediadrm/
H A DDrmSessionManager.cpp182 int priority = -1; local
196 priority = tempPriority;
198 if (tempPriority > priority) {
200 priority = tempPriority;
206 *lowestPriority = priority;
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothPbapClient.java332 * Set priority of the profile
339 * @param priority
340 * @return true if priority is set, false on error
342 public boolean setPriority(BluetoothDevice device, int priority) { argument
344 log("setPriority(" + device + ", " + priority + ")");
348 if (priority != BluetoothProfile.PRIORITY_OFF &&
349 priority != BluetoothProfile.PRIORITY_ON) {
353 return mService.setPriority(device, priority);
366 * Get the priority of the profile.
368 * <p> The priority ca
[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...]
/frameworks/base/core/java/android/hardware/input/
H A DKeyboardLayout.java52 public KeyboardLayout(String descriptor, String label, String collection, int priority, argument
57 mPriority = priority;
146 // Note that these arguments are intentionally flipped since you want higher priority
147 // keyboards to be listed before lower priority keyboards.
/frameworks/base/core/jni/
H A Dandroid_util_Log.cpp73 * public static native int println_native(int buffer, int priority, String tag, String msg)
76 jint bufID, jint priority, jstring tagObj, jstring msgObj)
95 int res = __android_log_buf_write(bufID, (android_LogPriority)priority, tag, msg);
75 android_util_Log_println_native(JNIEnv* env, jobject clazz, jint bufID, jint priority, jstring tagObj, jstring msgObj) argument
/frameworks/base/libs/common_time/
H A Dcommon_time_config_service.cpp38 status_t CommonTimeConfigService::getMasterElectionPriority(uint8_t *priority) { argument
39 return mTimeServer.getMasterElectionPriority(priority);
42 status_t CommonTimeConfigService::setMasterElectionPriority(uint8_t priority) { argument
43 return mTimeServer.setMasterElectionPriority(priority);

Completed in 936 milliseconds

12345