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

123456

/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/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/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
205 * @param priority the priority of the sound. Currently has no effect. Use
209 public int load(String path, int priority) { argument
228 load(Context context, int resId, int priority) argument
240 load(AssetFileDescriptor afd, int priority) argument
258 load(FileDescriptor fd, long offset, long length, int priority) argument
300 play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
407 setPriority(int streamID, int priority) argument
482 load(String path, int priority) argument
483 load(Context context, int resId, int priority) argument
484 load(AssetFileDescriptor afd, int priority) argument
485 load( FileDescriptor fd, long offset, long length, int priority) argument
488 play( int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
498 setPriority(int streamID, int priority) argument
544 load(String path, int priority) argument
565 load(Context context, int resId, int priority) argument
579 load(AssetFileDescriptor afd, int priority) argument
591 load(FileDescriptor fd, long offset, long length, int priority) argument
595 _load(String uri, int priority) argument
597 _load(FileDescriptor fd, long offset, long length, int priority) argument
601 play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
609 _play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
646 setPriority(int streamID, int priority) argument
728 load(String path, int priority) argument
732 load(Context context, int resId, int priority) argument
736 load(AssetFileDescriptor afd, int priority) argument
740 load(FileDescriptor fd, long offset, long length, int priority) argument
748 play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
769 setPriority(int streamID, int priority) argument
[all...]
/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/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
H A DRankingHelper.java53 private static final String ATT_PRIORITY = "priority";
60 // Package name to uid, to priority. Would be better as Table<String, Int, Int>
139 int priority = safeInt(parser, ATT_PRIORITY, Notification.PRIORITY_DEFAULT);
145 if (priority != Notification.PRIORITY_DEFAULT) {
151 priorityByUid.put(uid, priority);
197 final int priority = priorityByUid.get(uid);
198 if (priority != Notification.PRIORITY_DEFAULT) {
199 out.attribute(null, ATT_PRIORITY, Integer.toString(priority));
301 int priority = Notification.PRIORITY_DEFAULT;
304 priority
310 setPackagePriority(String packageName, int uid, int priority) argument
[all...]
/frameworks/base/cmds/idmap/
H A Dscan.cpp22 apk_path(a), idmap_path(i), priority(p) {}
27 return rhs.priority < priority;
32 int priority; member in struct:__anon782::Overlay
95 int priority = -1; local
104 } else if (key == String16("priority")) {
107 priority = v.data;
108 if (priority < 0 || priority > 9999) {
115 return priority;
185 int priority = parse_manifest(buf, uncompLen, target_package_name); local
219 int priority = parse_apk(overlay_apk_path, target_package_name); local
234 Overlay overlay(String8(overlay_apk_path), idmap_path, priority); local
[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/av/include/media/
H A DSoundPool.h100 float rightVolume, int priority, int loop, float rate);
105 int priority() { return mPriority; } function in class:android::SoundEvent
129 int priority, int loop, float rate);
140 void setPriority(int priority) { mPriority = priority; } argument
172 int load(const char* url, int priority);
173 int load(int fd, int64_t offset, int64_t length, int priority);
175 int play(int sampleID, float leftVolume, float rightVolume, int priority,
183 void setPriority(int channelID, int priority);
205 SoundChannel* allocateChannel_l(int priority);
[all...]
/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);
H A Dcommon_time_config_service.h33 virtual status_t getMasterElectionPriority(uint8_t *priority);
34 virtual status_t setMasterElectionPriority(uint8_t priority);
/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);
/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.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcSwitchAsyncChannel.java70 int priority; field in class:DcSwitchAsyncChannel.RequestInfo
72 public RequestInfo(NetworkRequest request, int priority) { argument
74 this.priority = priority;
80 ", priority=" + priority + "]";
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DCpuVideoTrackDecoder.java206 int priority = colorPriorities.get(supportedColorFormat);
207 candidateCodecs.put(priority, info.getName());
213 // Pick the best codec (with the highest color priority)
230 for (int priority = 0; priority < values.length; ++priority) {
231 result.append(values[priority], priority);

Completed in 1982 milliseconds

123456