Home
last modified time | relevance | path

Searched refs:priority (Results 1 – 25 of 177) sorted by relevance

12345678

/frameworks/base/media/java/android/media/
DSoundPool.java209 public int load(String path, int priority) { in load() argument
210 return mImpl.load(path, priority); in load()
228 public int load(Context context, int resId, int priority) { in load() argument
229 return mImpl.load(context, resId, priority); in load()
240 public int load(AssetFileDescriptor afd, int priority) { in load() argument
241 return mImpl.load(afd, priority); in load()
258 public int load(FileDescriptor fd, long offset, long length, int priority) { in load() argument
259 return mImpl.load(fd, offset, length, priority); in load()
301 int priority, int loop, float rate) { in play() argument
303 soundID, leftVolume, rightVolume, priority, loop, rate); in play()
[all …]
/frameworks/base/cmds/idmap/
Dscan.cpp22 apk_path(a), idmap_path(i), priority(p) {} in Overlay()
27 return rhs.priority < priority; in operator <()
32 int priority; member
95 int priority = -1; in parse_overlay_tag() local
107 priority = v.data; in parse_overlay_tag()
108 if (priority < 0 || priority > 9999) { in parse_overlay_tag()
115 return priority; in parse_overlay_tag()
185 int priority = parse_manifest(buf, uncompLen, target_package_name); in parse_apk() local
188 return priority; in parse_apk()
219 int priority = parse_apk(overlay_apk_path, target_package_name); in idmap_scan() local
[all …]
/frameworks/base/core/java/com/android/internal/os/
DAndroidPrintStream.java28 private final int priority; field in AndroidPrintStream
37 public AndroidPrintStream(int priority, String tag) { in AndroidPrintStream() argument
42 this.priority = priority; in AndroidPrintStream()
47 Log.println(priority, tag, line); in log()
/frameworks/ex/framesequence/jni/utils/
Dlog.h242 #define ALOG(priority, tag, ...) \ argument
243 LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
250 #define LOG_PRI(priority, tag, ...) \ argument
251 __android_log_print(priority, tag, __VA_ARGS__)
258 #define LOG_PRI_VA(priority, tag, fmt, args) \ argument
259 __android_log_vprint(priority, NULL, tag, fmt, args)
266 #define IF_ALOG(priority, tag) \ argument
267 if (__android_log_assert(ANDROID_##priority, tag))
/frameworks/base/core/java/android/util/
DLogPrinter.java40 public LogPrinter(int priority, String tag) { in LogPrinter() argument
41 mPriority = priority; in LogPrinter()
50 public LogPrinter(int priority, String tag, int buffer) { in LogPrinter() argument
51 mPriority = priority; in LogPrinter()
DLogWriter.java40 public LogWriter(int priority, String tag) { in LogWriter() argument
41 mPriority = priority; in LogWriter()
50 public LogWriter(int priority, String tag, int buffer) { in LogWriter() argument
51 mPriority = priority; in LogWriter()
/frameworks/av/media/libmedia/
DSoundPool.cpp206 int SoundPool::load(const char* path, int priority __unused) in load()
208 ALOGV("load: path=%s, priority=%d", path, priority); in load()
216 int SoundPool::load(int fd, int64_t offset, int64_t length, int priority __unused) in load()
219 fd, offset, length, priority); in load()
242 int priority, int loop, float rate) in play() argument
245 sampleID, leftVolume, rightVolume, priority, loop, rate); in play()
265 channel = allocateChannel_l(priority); in play()
276 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); in play()
280 SoundChannel* SoundPool::allocateChannel_l(int priority) in allocateChannel_l() argument
288 if (priority >= (*iter)->priority()) { in allocateChannel_l()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DLog_Delegate.java23 private static char priorityChar(int priority) { in priorityChar() argument
24 switch (priority) { in priorityChar()
43 static int println_native(int bufID, int priority, String tag, String msgs) { in println_native() argument
44 String prefix = priorityChar(priority) + "/" + tag + ": "; in println_native()
/frameworks/av/include/media/
DSoundPool.h100 float rightVolume, int priority, int loop, float rate);
105 int priority() { return mPriority; } in priority() function
129 int priority, int loop, float rate);
140 void setPriority(int priority) { mPriority = priority; } in setPriority() 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);
DAudioEffect.h231 int32_t priority = 0,
243 int32_t priority = 0,
265 int32_t priority = 0,
297 int32_t priority() const { return mPriority; } in priority() function
/frameworks/base/core/java/android/content/pm/
DPermissionGroupInfo.java59 public int priority; field in PermissionGroupInfo
69 priority = orig.priority; in PermissionGroupInfo()
111 dest.writeInt(priority); in writeToParcel()
129 priority = source.readInt(); in PermissionGroupInfo()
DResolveInfo.java73 public int priority; field in ResolveInfo
242 pw.println(prefix + "priority=" + priority in dump()
276 priority = orig.priority; in ResolveInfo()
295 if (priority != 0) { in toString()
297 sb.append(priority); in toString()
336 dest.writeInt(priority); in writeToParcel()
380 priority = source.readInt(); in ResolveInfo()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java139 int priority = safeInt(parser, ATT_PRIORITY, Notification.PRIORITY_DEFAULT); in readXml() local
145 if (priority != Notification.PRIORITY_DEFAULT) { in readXml()
151 priorityByUid.put(uid, priority); in readXml()
197 final int priority = priorityByUid.get(uid); in writeXml() local
198 if (priority != Notification.PRIORITY_DEFAULT) { in writeXml()
199 out.attribute(null, ATT_PRIORITY, Integer.toString(priority)); in writeXml()
301 int priority = Notification.PRIORITY_DEFAULT; in getPackagePriority() local
304 priority = priorityByUid.get(uid, Notification.PRIORITY_DEFAULT); in getPackagePriority()
306 return priority; in getPackagePriority()
310 public void setPackagePriority(String packageName, int uid, int priority) { in setPackagePriority() argument
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DCpuVideoTrackDecoder.java206 int priority = colorPriorities.get(supportedColorFormat); in findDecoderCodec() local
207 candidateCodecs.put(priority, info.getName()); in findDecoderCodec()
230 for (int priority = 0; priority < values.length; ++priority) { in intArrayToPriorityMap()
231 result.append(values[priority], priority); in intArrayToPriorityMap()
/frameworks/base/docs/html/tools/debugging/
Ddebugging-log.jd138 <p>Every Android log message has a <em>tag</em> and a <em>priority</em> associated with it.</p>
144 <li>The priority is one of the following character values, ordered from lowest to highest
145 priority:</li>
149 <li><code>V</code> &mdash; Verbose (lowest priority)</li>
161 <li><code>S</code> &mdash; Silent (highest priority, on which nothing is ever printed)</li>
168 <code>&lt;priority&gt;/&lt;tag&gt;</code>.</p>
170 <p>Here's an example of logcat output that shows that the message relates to priority level "I"
177 expressions</em>. Filter expressions let you indicate to the system the tags-priority
181 <p>A filter expression follows this format <code>tag:priority ...</code>, where <code>tag</code>
182 indicates the tag of interest and <code>priority</code> indicates the <em>minimum</em> level of
[all …]
/frameworks/base/libs/common_time/
Dcommon_time_config_service.cpp38 status_t CommonTimeConfigService::getMasterElectionPriority(uint8_t *priority) { in getMasterElectionPriority() argument
39 return mTimeServer.getMasterElectionPriority(priority); in getMasterElectionPriority()
42 status_t CommonTimeConfigService::setMasterElectionPriority(uint8_t priority) { in setMasterElectionPriority() argument
43 return mTimeServer.setMasterElectionPriority(priority); in setMasterElectionPriority()
/frameworks/base/media/jni/soundpool/
Dandroid_media_SoundPool_SoundPoolImpl.cpp49 …roid_media_SoundPool_SoundPoolImpl_load_URL(JNIEnv *env, jobject thiz, jstring path, jint priority) in android_media_SoundPool_SoundPoolImpl_load_URL() argument
58 int id = ap->load(s, priority); in android_media_SoundPool_SoundPoolImpl_load_URL()
65 jlong offset, jlong length, jint priority) in android_media_SoundPool_SoundPoolImpl_load_FD() argument
71 int64_t(offset), int64_t(length), int(priority)); in android_media_SoundPool_SoundPoolImpl_load_FD()
84 jfloat leftVolume, jfloat rightVolume, jint priority, jint loop, in android_media_SoundPool_SoundPoolImpl_play() argument
90 return (jint) ap->play(sampleID, leftVolume, rightVolume, priority, loop, rate); in android_media_SoundPool_SoundPoolImpl_play()
150 jint priority) in android_media_SoundPool_SoundPoolImpl_setPriority() argument
155 ap->setPriority(channelID, (int) priority); in android_media_SoundPool_SoundPoolImpl_setPriority()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcSwitchAsyncChannel.java70 int priority; field in DcSwitchAsyncChannel.RequestInfo
72 public RequestInfo(NetworkRequest request, int priority) { in RequestInfo() argument
74 this.priority = priority; in RequestInfo()
80 ", priority=" + priority + "]"; in toString()
/frameworks/rs/driver/
DrsdCore.cpp51 static void SetPriority(const Context *rsc, int32_t priority);
238 void SetPriority(const Context *rsc, int32_t priority) { in SetPriority() argument
241 dc->mCpuRef->setPriority(priority); in SetPriority()
245 rsdGLSetPriority(rsc, priority); in SetPriority()
/frameworks/av/media/common_time/
DICommonTimeConfig.cpp56 virtual status_t getMasterElectionPriority(uint8_t *priority) { in getMasterElectionPriority() argument
65 *priority = static_cast<uint8_t>(reply.readInt32()); in getMasterElectionPriority()
72 virtual status_t setMasterElectionPriority(uint8_t priority) { in setMasterElectionPriority() argument
75 data.writeInt32(static_cast<int32_t>(priority)); in setMasterElectionPriority()
331 uint8_t priority; in onTransact() local
332 status_t status = getMasterElectionPriority(&priority); in onTransact()
335 reply->writeInt32(static_cast<int32_t>(priority)); in onTransact()
342 uint8_t priority = static_cast<uint8_t>(data.readInt32()); in onTransact() local
343 status_t status = setMasterElectionPriority(priority); in onTransact()
/frameworks/base/services/core/java/com/android/server/
DServiceThread.java32 public ServiceThread(String name, int priority, boolean allowIo) { in ServiceThread() argument
33 super(name, priority); in ServiceThread()
/frameworks/base/core/java/com/android/internal/logging/
DAndroidHandler.java142 int priority = getAndroidLevel(level); in publish() local
143 if (!Log.isLoggable(tag, priority)) { in publish()
148 Log.println(priority, tag, message); in publish()
/frameworks/base/include/android_runtime/
DLog.h27 #define LOG_EX(env, priority, tag, ...) \ argument
28 jniLogException(env, ANDROID_##priority, tag, ##__VA_ARGS__)
/frameworks/base/core/java/android/net/
DNetworkConfig.java45 public int priority; field in NetworkConfig
69 priority = Integer.parseInt(fragments[3]); in NetworkConfig()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderThreadPriorityService.java49 public void setPriorityAndCallBack(int priority, IBinderThreadPriorityService recurse) {
50 Process.setThreadPriority(priority);

12345678