Searched refs:priority (Results 1 - 25 of 154) sorted by relevance

1234567

/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/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 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/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/tests/coretests/src/android/os/
H A DIBinderThreadPriorityService.aidl23 void setPriorityAndCallBack(int priority, IBinderThreadPriorityService recurse);
H A DBinderThreadPriorityService.java49 public void setPriorityAndCallBack(int priority, IBinderThreadPriorityService recurse) {
50 Process.setThreadPriority(priority);
/frameworks/av/include/media/stagefright/
H A DProcessInfoInterface.h25 virtual bool getPriority(int pid, int* priority) = 0;
H A DProcessInfo.h29 virtual bool getPriority(int pid, int* priority);
/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);
/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/av/media/libstagefright/
H A DProcessInfo.cpp30 bool ProcessInfo::getPriority(int pid, int* priority) { argument
46 // Use process state as the priority. Lower the value, higher the priority.
47 *priority = states;
/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/include/android_runtime/
H A DLog.h27 #define LOG_EX(env, priority, tag, ...) \
28 jniLogException(env, ANDROID_##priority, tag, ##__VA_ARGS__)
/frameworks/ex/framesequence/jni/utils/
H A Dlog.h136 * verbose priority.
148 * debug priority.
156 * info priority.
164 * warn priority.
172 * error priority.
242 #define ALOG(priority, tag, ...) \
243 LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
247 * Log macro that allows you to specify a number for the priority.
250 #define LOG_PRI(priority, tag, ...) \
251 __android_log_print(priority, ta
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingConfig.java21 void setPackagePriority(String packageName, int uid, int priority); argument
/frameworks/base/cmds/idmap/
H A Dscan.cpp24 apk_path(a), idmap_path(i), priority(p) {}
29 return rhs.priority < priority;
34 int priority; member in struct:__anon812::Overlay
73 int priority = -1; local
82 } else if (key == String16("priority")) {
85 priority = v.data;
86 if (priority < 0 || priority > 9999) {
93 return priority;
163 int priority = parse_manifest(buf, static_cast<size_t>(uncompLen), target_package_name); local
197 int priority = parse_apk(overlay_apk_path, target_package_name); local
212 Overlay overlay(String8(overlay_apk_path), idmap_path, priority); local
[all...]
/frameworks/base/media/java/android/media/
H A DSoundPool.java58 * on priority and then by age within that priority. Limiting the maximum
75 * <p>Priority runs low to high, i.e. higher numbers are higher priority.
79 * the lowest priority stream. If there are multiple streams with the same
80 * low priority, it will choose the oldest stream to stop. In the case
81 * where the priority of the new stream is lower than all the active
103 * is stopped to allow a higher priority stream to play, the stream is no
209 * @param priority the priority of the sound. Currently has no effect. Use
213 public int load(String path, int priority) { argument
244 load(Context context, int resId, int priority) argument
266 load(AssetFileDescriptor afd, int priority) argument
292 load(FileDescriptor fd, long offset, long length, int priority) argument
332 play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
433 setPriority(int streamID, int priority) argument
513 _load(FileDescriptor fd, long offset, long length, int priority) argument
518 _play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
[all...]
/frameworks/base/core/java/android/os/
H A DHandlerThread.java36 * @param priority The priority to run the thread at. The value supplied must be from
39 public HandlerThread(String name, int priority) { argument
41 mPriority = priority;
/frameworks/base/core/java/com/android/internal/logging/
H A DAndroidHandler.java142 int priority = getAndroidLevel(level);
143 if (!Log.isLoggable(tag, priority)) {
148 Log.println(priority, tag, message);
/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);
/frameworks/base/media/jni/soundpool/
H A DSoundPool.h92 float rightVolume, int priority, int loop, float rate);
97 int priority() { return mPriority; } function in class:android::SoundEvent
121 int priority, int loop, float rate);
132 void setPriority(int priority) { mPriority = priority; } argument
166 int load(int fd, int64_t offset, int64_t length, int priority);
168 int play(int sampleID, float leftVolume, float rightVolume, int priority,
176 void setPriority(int channelID, int priority);
198 SoundChannel* allocateChannel_l(int priority, int sampleID);
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothA2dp.aidl33 boolean setPriority(in BluetoothDevice device, int priority);
H A DIBluetoothMap.aidl35 boolean setPriority(in BluetoothDevice device, int priority);
H A DIBluetoothSap.aidl35 boolean setPriority(in BluetoothDevice device, int priority);
/frameworks/base/core/java/android/hardware/input/
H A DKeyboardLayout.java44 public KeyboardLayout(String descriptor, String label, String collection, int priority) { argument
48 mPriority = priority;
101 // Note that these arguments are intentionally flipped since you want higher priority
102 // keyboards to be listed before lower priority keyboards.

Completed in 3096 milliseconds

1234567