Searched refs:priority (Results 26 - 50 of 209) sorted by relevance

123456789

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
H A DCategoryManagerTest.java130 tile1.priority = 100;
134 tile2.priority = 50;
138 tile3.priority = 200;
163 tile1.priority = 100;
167 tile2.priority = 100;
171 tile3.priority = 50;
196 tile1.priority = 100;
200 tile2.priority = 100;
204 tile3.priority = 50;
229 tile1.priority
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerThreadPriorityBooster.java54 // boosting it might mess up the priority because we reset it the the previous priority.
91 int priority = (mAppTransitionRunning || mBoundsAnimationRunning)
93 setBoostToPriority(priority);
94 setThreadPriority(mAnimationThreadId, priority);
/frameworks/base/core/java/android/util/
H A DLog.java355 * @param priority The priority/type of this log message
361 public static int println(int priority, String tag, String msg) { argument
362 return println_native(LOG_ID_MAIN, priority, tag, msg);
372 int priority, String tag, String msg);
386 public static int printlns(int bufID, int priority, String tag, String msg, argument
388 ImmediateLogWriter logWriter = new ImmediateLogWriter(bufID, priority, tag);
445 private int priority; field in class:Log.ImmediateLogWriter
454 public ImmediateLogWriter(int bufID, int priority, String tag) { argument
456 this.priority
371 println_native(int bufID, int priority, String tag, String msg) argument
[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/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);
133 void setPriority(int priority) { mPriority = priority; } 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);
H A DSoundPool.cpp222 int SoundPool::load(int fd, int64_t offset, int64_t length, int priority __unused)
224 ALOGV("load: fd=%d, offset=%" PRId64 ", length=%" PRId64 ", priority=%d",
225 fd, offset, length, priority);
251 int priority, int loop, float rate)
253 ALOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f",
254 sampleID, leftVolume, rightVolume, priority, loop, rate);
273 channel = allocateChannel_l(priority, sampleID);
284 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate);
288 SoundChannel* SoundPool::allocateChannel_l(int priority, int sampleID) argument
308 if (priority >
250 play(int sampleID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
416 setPriority(int channelID, int priority) argument
719 play(const sp<Sample>& sample, int nextChannelID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
845 int priority; local
1102 set(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
[all...]
/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/bluetooth/
H A DIBluetoothA2dpSink.aidl34 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);
H A DIBluetoothA2dp.aidl35 boolean setPriority(in BluetoothDevice device, int priority);
/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/services/core/
H A DAndroid.mk40 -D jack.transformations.boost-locked-region-priority=true \
41 -D jack.transformations.boost-locked-region-priority.classname=com.android.server.am.ActivityManagerService,com.android.server.wm.WindowHashMap \
42 -D jack.transformations.boost-locked-region-priority.request=com.android.server.am.ActivityManagerService\#boostPriorityForLockedSection,com.android.server.wm.WindowManagerService\#boostPriorityForLockedSection \
43 -D jack.transformations.boost-locked-region-priority.reset=com.android.server.am.ActivityManagerService\#resetPriorityAfterLockedSection,com.android.server.wm.WindowManagerService\#resetPriorityAfterLockedSection
/frameworks/base/services/core/java/com/android/server/utils/
H A DPriorityDump.java95 * {@code --dump_priority}, stripping the priority and its type.
107 final String priority = args[1];
108 switch (priority) {
151 * Dumps only the high-priority section.
169 * called without priority arguments. By default, it calls the 3 {@code dumpTYPE} methods,
170 * so sub-classes just need to implement the priority types they support.
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/
H A DEventBus.java58 public String toString(int priority) { argument
61 return sub.getClass().getSimpleName() + " [0x" + id + ", P" + priority + "]";
70 * Represents an event handler with a priority.
73 int priority; field in class:EventHandler
77 EventHandler(Subscriber subscriber, EventHandlerMethod method, int priority) { argument
80 this.priority = priority;
85 return subscriber.toString(priority) + " " + method.toString();
148 * Each subscriber can be registered with a given priority (default 1), and events will be dispatch
149 * in decreasing order of priority
462 register(Object subscriber, int priority) argument
486 registerInterprocessAsCurrentUser(Context context, Object subscriber, int priority) argument
714 registerSubscriber(Object subscriber, int priority, MutableBoolean hasInterprocessEventsChangedOut) argument
[all...]
/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);
/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/av/include/media/
H A DAudioEffect.h163 * the same effect type but with a higher priority. Control is returned when the
193 * on the priority parameter. If priority is higher than the priority used by the current
221 * priority: requested priority for effect control: the priority level corresponds to the
222 * value of priority parameter: negative values indicate lower priorities, positive values
223 * higher priorities, 0 being the normal priority.
237 int32_t priority
304 int32_t priority() const { return mPriority; } function in class:android::AudioEffect
[all...]
/frameworks/av/media/libaudioclient/include/media/
H A DAudioEffect.h163 * the same effect type but with a higher priority. Control is returned when the
193 * on the priority parameter. If priority is higher than the priority used by the current
221 * priority: requested priority for effect control: the priority level corresponds to the
222 * value of priority parameter: negative values indicate lower priorities, positive values
223 * higher priorities, 0 being the normal priority.
237 int32_t priority
304 int32_t priority() const { return mPriority; } function in class:android::AudioEffect
[all...]
/frameworks/base/tools/aapt2/
H A DStringPool.h55 uint32_t priority = kNormalPriority; member in class:aapt::StringPool::Context
59 Context(uint32_t p, const ConfigDescription& c) : priority(p), config(c) {}
60 explicit Context(uint32_t p) : priority(p) {}
62 : priority(kNormalPriority), config(c) {}
/frameworks/av/include/common_time/
H A DICommonTimeConfig.h38 virtual status_t getMasterElectionPriority(uint8_t *priority) = 0;
39 virtual status_t setMasterElectionPriority(uint8_t priority) = 0;

Completed in 2021 milliseconds

123456789