Home
last modified time | relevance | path

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

12345678

/frameworks/base/cmds/idmap/
Dscan.cpp27 apk_path(a), idmap_path(i), priority(p) {} in Overlay()
31 return rhs.priority > priority; in operator <()
36 int priority; member
103 int priority = -1; in parse_overlay_tag() local
117 priority = v.data; in parse_overlay_tag()
118 if (priority < 0 || priority > 9999) { in parse_overlay_tag()
150 return priority; in parse_overlay_tag()
166 int priority = NO_OVERLAY_TAG; in parse_manifest() local
173 priority = parse_overlay_tag(parser, target_package_name, &is_static_overlay); in parse_manifest()
180 return priority; in parse_manifest()
[all …]
/frameworks/hardware/interfaces/schedulerservice/1.0/
DISchedulingPolicyService.hal25 * Request real-time priority for a specific thread in a process.
29 * @param priority Value within [Priority:MIN, Priority:MAX]
31 * @return success whether or not priority was successfully set
33 requestPriority(int32_t pid, int32_t tid, int32_t priority)
37 * Must return 0 if no priority is allowed.
39 * @return priority Max priority that can be set with
42 getMaxAllowedPriority() generates (int32_t priority);
/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/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DCategoryManagerTest.java130 tile1.priority = 100; in sortCategories_singlePackage_shouldReorderBasedOnPriority()
134 tile2.priority = 50; in sortCategories_singlePackage_shouldReorderBasedOnPriority()
138 tile3.priority = 200; in sortCategories_singlePackage_shouldReorderBasedOnPriority()
163 tile1.priority = 100; in sortCategories_multiPackage_shouldReorderBasedOnPackageAndPriority()
167 tile2.priority = 100; in sortCategories_multiPackage_shouldReorderBasedOnPackageAndPriority()
171 tile3.priority = 50; in sortCategories_multiPackage_shouldReorderBasedOnPackageAndPriority()
196 tile1.priority = 100; in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
200 tile2.priority = 100; in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
204 tile3.priority = 50; in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
229 tile1.priority = 2; in sortCategories_internalAndExternalPackageTiles_shouldRetainPriorityOrdering()
[all …]
/frameworks/base/media/java/android/media/
DSoundPool.java192 public int load(String path, int priority) { in load() argument
199 id = _load(fd.getFileDescriptor(), 0, f.length(), priority); in load()
223 public int load(Context context, int resId, int priority) { in load() argument
227 id = _load(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength(), priority); in load()
245 public int load(AssetFileDescriptor afd, int priority) { in load() argument
251 return _load(afd.getFileDescriptor(), afd.getStartOffset(), len, priority); in load()
271 public int load(FileDescriptor fd, long offset, long length, int priority) { in load() argument
272 return _load(fd, offset, length, priority); in load()
312 int priority, int loop, float rate) { in play() argument
314 return _play(soundID, leftVolume, rightVolume, priority, loop, rate); in play()
[all …]
/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/native/services/vr/performanced/
Dperformance_service.cpp147 .priority = fifo_medium, in PerformanceService()
152 .priority = fifo_medium + 3, in PerformanceService()
157 .priority = fifo_medium, in PerformanceService()
162 .priority = fifo_medium, in PerformanceService()
167 .priority = fifo_medium + 2, in PerformanceService()
172 .priority = fifo_low, in PerformanceService()
177 .priority = fifo_low, in PerformanceService()
182 .priority = fifo_low + 1, in PerformanceService()
187 .priority = fifo_medium + 2, in PerformanceService()
193 .priority = fifo_medium + 1, in PerformanceService()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcRequest.java41 public final int priority; field in DcRequest
48 priority = priorityForApnId(apnId); in DcRequest()
52 return networkRequest.toString() + ", priority=" + priority + ", apnId=" + apnId; in toString()
67 return o.priority - priority; in compareTo()
153 sApnPriorityMap.put(apnId, networkConfig.priority); in initApnPriorities()
160 Integer priority = sApnPriorityMap.get(apnId); in priorityForApnId() local
161 return (priority != null ? priority.intValue() : 0); in priorityForApnId()
/frameworks/native/services/schedulerservice/
DSchedulingPolicyService.cpp35 Return<bool> SchedulingPolicyService::requestPriority(int32_t pid, int32_t tid, int32_t priority) { in requestPriority() argument
36 if (priority < static_cast<int32_t>(Priority::MIN) || in requestPriority()
37 priority > static_cast<int32_t>(Priority::MAX)) { in requestPriority()
47 int value = ::android::requestPriority(pid, tid, priority, false /* isForApp */); in requestPriority()
/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()
DLog.java363 public static int println(int priority, String tag, String msg) { in println() argument
364 return println_native(LOG_ID_MAIN, priority, tag, msg); in println()
374 int priority, String tag, String msg); in println_native() argument
388 public static int printlns(int bufID, int priority, String tag, String msg, in printlns() argument
390 ImmediateLogWriter logWriter = new ImmediateLogWriter(bufID, priority, tag); in printlns()
447 private int priority; field in Log.ImmediateLogWriter
456 public ImmediateLogWriter(int bufID, int priority, String tag) { in ImmediateLogWriter() argument
458 this.priority = priority; in ImmediateLogWriter()
471 written += println_native(bufID, priority, tag, new String(cbuf, off, len)); in write()
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/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/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.java90 public int priority; field in ResolveInfo
324 pw.println(prefix + "priority=" + priority in dump()
358 priority = orig.priority; in ResolveInfo()
382 if (priority != 0) { in toString()
384 sb.append(priority); in toString()
423 dest.writeInt(priority); in writeToParcel()
470 priority = source.readInt(); in ResolveInfo()
/frameworks/base/media/jni/soundpool/
DSoundPool.h92 float rightVolume, int priority, int loop, float rate);
97 int priority() { return mPriority; } in priority() function
121 int priority, int loop, float rate);
133 void setPriority(int priority) { mPriority = priority; } in setPriority() argument
168 int load(int fd, int64_t offset, int64_t length, int priority);
170 int play(int sampleID, float leftVolume, float rightVolume, int priority,
179 void setPriority(int channelID, int priority);
201 SoundChannel* allocateChannel_l(int priority, int sampleID);
DSoundPool.cpp222 int SoundPool::load(int fd, int64_t offset, int64_t length, int priority __unused) in load()
225 fd, offset, length, priority); in load()
251 int priority, int loop, float rate) in play() argument
254 sampleID, leftVolume, rightVolume, priority, loop, rate); in play()
273 channel = allocateChannel_l(priority, sampleID); in play()
284 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); in play()
288 SoundChannel* SoundPool::allocateChannel_l(int priority, int sampleID) in allocateChannel_l() argument
308 if (priority >= (*iter)->priority()) { in allocateChannel_l()
317 channel->setPriority(priority); in allocateChannel_l()
319 if (priority < (*iter)->priority()) { in allocateChannel_l()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/
DEventBus.java58 public String toString(int priority) { in toString() argument
61 return sub.getClass().getSimpleName() + " [0x" + id + ", P" + priority + "]"; in toString()
73 int priority; field in EventHandler
77 EventHandler(Subscriber subscriber, EventHandlerMethod method, int priority) { in EventHandler() argument
80 this.priority = priority; in EventHandler()
85 return subscriber.toString(priority) + " " + method.toString(); in toString()
371 if (h1.priority != h2.priority) {
372 return h2.priority - h1.priority;
462 public void register(Object subscriber, int priority) { in register() argument
463 registerSubscriber(subscriber, priority, null); in register()
[all …]
/frameworks/base/services/core/java/com/android/server/
DThreadPriorityBooster.java71 protected void setBoostToPriority(int priority) { in setBoostToPriority() argument
75 mBoostToPriority = priority; in setBoostToPriority()
79 if (state.regionCounter != 0 && prevPriority != priority) { in setBoostToPriority()
80 setThreadPriority(tid, priority); in setBoostToPriority()
/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/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/services/core/java/com/android/server/wm/
DWindowManagerThreadPriorityBooster.java91 int priority = (mAppTransitionRunning || mBoundsAnimationRunning) in updatePriorityLocked() local
93 setBoostToPriority(priority); in updatePriorityLocked()
94 setThreadPriority(mAnimationThreadId, priority); in updatePriorityLocked()
/frameworks/base/services/core/
DAndroid.mk44 -D jack.transformations.boost-locked-region-priority=true \
45 …-D jack.transformations.boost-locked-region-priority.classname=com.android.server.am.ActivityManag…
46 …-D jack.transformations.boost-locked-region-priority.request=com.android.server.am.ActivityManager…
47 …-D jack.transformations.boost-locked-region-priority.reset=com.android.server.am.ActivityManagerSe…
/frameworks/av/services/mediadrm/tests/
DDrmSessionManager_test.cpp35 virtual bool getPriority(int pid, int* priority) { in getPriority()
38 *priority = pid; in getPriority()
122 int priority; in testGetLowestPriority() local
123 EXPECT_FALSE(mDrmSessionManager->getLowestPriority_l(&pid, &priority)); in testGetLowestPriority()
126 EXPECT_TRUE(mDrmSessionManager->getLowestPriority_l(&pid, &priority)); in testGetLowestPriority()
132 EXPECT_EQ(priority1, priority); in testGetLowestPriority()
/frameworks/av/media/libmediaplayerservice/tests/
DDrmSessionManager_test.cpp35 virtual bool getPriority(int pid, int* priority) { in getPriority()
38 *priority = pid; in getPriority()
126 int priority; in testGetLowestPriority() local
127 EXPECT_FALSE(mDrmSessionManager->getLowestPriority_l(&pid, &priority)); in testGetLowestPriority()
130 EXPECT_TRUE(mDrmSessionManager->getLowestPriority_l(&pid, &priority)); in testGetLowestPriority()
136 EXPECT_EQ(priority1, priority); in testGetLowestPriority()

12345678