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

12345

/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/media/java/android/media/
H A DSoundPool.java51 * on priority and then by age within that priority. Limiting the maximum
68 * <p>Priority runs low to high, i.e. higher numbers are higher priority.
72 * the lowest priority stream. If there are multiple streams with the same
73 * low priority, it will choose the oldest stream to stop. In the case
74 * where the priority of the new stream is lower than all the active
96 * is stopped to allow a higher priority stream to play, the stream is no
135 * @param priority the priority of the sound. Currently has no effect. Use
139 public int load(String path, int priority) { argument
158 load(Context context, int resId, int priority) argument
170 load(AssetFileDescriptor afd, int priority) argument
188 load(FileDescriptor fd, long offset, long length, int priority) argument
230 play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
337 setPriority(int streamID, int priority) argument
412 load(String path, int priority) argument
413 load(Context context, int resId, int priority) argument
414 load(AssetFileDescriptor afd, int priority) argument
415 load( FileDescriptor fd, long offset, long length, int priority) argument
418 play( int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
428 setPriority(int streamID, int priority) argument
469 load(String path, int priority) argument
490 load(Context context, int resId, int priority) argument
504 load(AssetFileDescriptor afd, int priority) argument
516 load(FileDescriptor fd, long offset, long length, int priority) argument
520 _load(String uri, int priority) argument
522 _load(FileDescriptor fd, long offset, long length, int priority) argument
526 play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
546 setPriority(int streamID, int priority) argument
627 load(String path, int priority) argument
631 load(Context context, int resId, int priority) argument
635 load(AssetFileDescriptor afd, int priority) argument
639 load(FileDescriptor fd, long offset, long length, int priority) argument
647 play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
668 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.java44 * higher number == higher priority when turning off connections
46 public int priority; field in class:NetworkConfig
63 * [associated radio-type],[priority],[dependencyMet]
70 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/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/libvideoeditor/osal/inc/
H A DM4OSA_Thread_priv.h50 M4OSA_ThreadPriorityLevel priority; /* thread priority level */ member in struct:M4OSA_ThreadContext
/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);
206 SoundChannel* allocateChannel_l(int priority);
[all...]
H A DAudioEffect.h162 * the same effect type but with a higher priority. Control is returned when the
192 * on the priority parameter. If priority is higher than the priority used by the current
215 * priority: requested priority for effect control: the priority level corresponds to the
216 * value of priority parameter: negative values indicate lower priorities, positive values
217 * higher priorities, 0 being the normal priority.
229 int32_t priority
295 int32_t priority() const { return mPriority; } function in class:android::AudioEffect
[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/services/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/av/libvideoeditor/osal/src/
H A DM4OSA_Thread.c155 threadContext->priority = M4OSA_kThreadNormalPriority ;
213 int priority = 0; local
260 /* Set the priority based on default android priorities */
262 * outcome of this priority settings are not yet satisfactory */
265 switch(threadContext->priority)
268 priority = ANDROID_PRIORITY_NORMAL;
271 priority = ANDROID_PRIORITY_DISPLAY;
274 priority = ANDROID_PRIORITY_URGENT_DISPLAY;
277 priority = ANDROID_PRIORITY_AUDIO;
280 priority
521 M4OSA_ThreadPriorityLevel priority local
758 M4OSA_ThreadPriorityLevel* priority = local
[all...]
/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/volley/tests/src/com/android/volley/
H A DRequestTest.java53 public TestRequest(Priority priority) { argument
55 mPriority = priority;
/frameworks/volley/tests/src/com/android/volley/mock/
H A DMockRequest.java86 public void setPriority(Priority priority) { argument
87 mPriority = priority;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DCpuVideoTrackDecoder.java205 int priority = colorPriorities.get(supportedColorFormat);
206 candidateCodecs.put(priority, info.getName());
212 // Pick the best codec (with the highest color priority)
223 for (int priority = 0; priority < values.length; ++priority) {
224 result.append(values[priority], priority);
/frameworks/av/media/libmedia/
H A DSoundPool.cpp202 int SoundPool::load(const char* path, int priority) argument
204 ALOGV("load: path=%s, priority=%d", path, priority);
212 int SoundPool::load(int fd, int64_t offset, int64_t length, int priority) argument
214 ALOGV("load: fd=%d, offset=%lld, length=%lld, priority=%d",
215 fd, offset, length, priority);
238 int priority, int loop, float rate)
240 ALOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f",
241 sampleID, leftVolume, rightVolume, priority, loop, rate);
261 channel = allocateChannel_l(priority);
237 play(int sampleID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
276 allocateChannel_l(int priority) argument
379 setPriority(int channelID, int priority) argument
545 play(const sp<Sample>& sample, int nextChannelID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
656 int priority; local
897 set(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
[all...]
/frameworks/rs/driver/
H A DrsdCore.cpp49 static void SetPriority(const Context *rsc, int32_t priority);
218 void SetPriority(const Context *rsc, int32_t priority) { argument
221 dc->mCpuRef->setPriority(priority);
225 rsdGLSetPriority(rsc, priority);

Completed in 510 milliseconds

12345