Searched refs:priority (Results 1 - 25 of 108) 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/native/libs/utils/
H A DLog.cpp24 LogIfSlow::LogIfSlow(const char* tag, android_LogPriority priority, argument
26 mTag(tag), mPriority(priority), mTimeoutMillis(timeoutMillis), mMessage(message),
H A Dmisc.cpp93 int priority; member in struct:android::sysprop_change_callback_info
101 void add_sysprop_change_callback(sysprop_change_callback cb, int priority) { argument
109 info.priority = priority;
112 if (priority >= gSyspropList->itemAt(i).priority) {
/frameworks/base/media/java/android/media/
H A DSoundPool.java49 * on priority and then by age within that priority. Limiting the maximum
66 * <p>Priority runs low to high, i.e. higher numbers are higher priority.
70 * the lowest priority stream. If there are multiple streams with the same
71 * low priority, it will choose the oldest stream to stop. In the case
72 * where the priority of the new stream is lower than all the active
94 * is stopped to allow a higher priority stream to play, the stream is no
150 * @param priority the priority of the sound. Currently has no effect. Use
154 public int load(String path, int priority) argument
190 load(Context context, int resId, int priority) argument
212 load(AssetFileDescriptor afd, int priority) argument
238 load(FileDescriptor fd, long offset, long length, int priority) argument
242 _load(String uri, int priority) argument
244 _load(FileDescriptor fd, long offset, long length, int priority) argument
282 play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
366 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();
H A DResolveInfo.java56 * The declared priority of this match. Comes from the "priority"
58 * priority.
60 public int priority; field in class:ResolveInfo
65 * values are a higher priority.
208 pw.println(prefix + "priority=" + priority
237 priority = orig.priority;
252 + " " + ci.name + " p=" + priority
[all...]
/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/core/java/android/bluetooth/
H A DIBluetoothA2dp.aidl33 boolean setPriority(in BluetoothDevice device, int priority);
/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/native/include/utils/
H A DLog.h43 LogIfSlow(const char* tag, android_LogPriority priority,
H A Dmisc.h54 void add_sysprop_change_callback(sysprop_change_callback cb, int priority);
/frameworks/av/include/media/
H A DSoundPool.h95 float rightVolume, int priority, int loop, float rate);
100 int priority() { return mPriority; } function in class:android::SoundEvent
124 int priority, int loop, float rate);
135 void setPriority(int priority) { mPriority = priority; } argument
167 int load(const char* url, int priority);
168 int load(int fd, int64_t offset, int64_t length, int priority);
170 int play(int sampleID, float leftVolume, float rightVolume, int priority,
178 void setPriority(int channelID, int priority);
201 SoundChannel* allocateChannel_l(int priority);
[all...]
/frameworks/base/core/java/com/android/internal/logging/
H A DAndroidHandler.java141 int priority = getAndroidLevel(level);
142 if (!Log.isLoggable(tag, priority)) {
147 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/support/volley/tests/src/com/android/volley/
H A DRequestTest.java53 public TestRequest(Priority priority) { argument
55 mPriority = priority;
/frameworks/support/volley/tests/src/com/android/volley/mock/
H A DMockRequest.java86 public void setPriority(Priority priority) { argument
87 mPriority = priority;
/frameworks/av/media/libmedia/
H A DSoundPool.cpp206 int SoundPool::load(const char* path, int priority) argument
208 ALOGV("load: path=%s, priority=%d", path, priority);
216 int SoundPool::load(int fd, int64_t offset, int64_t length, int priority) argument
218 ALOGV("load: fd=%d, offset=%lld, length=%lld, priority=%d",
219 fd, offset, length, priority);
242 int priority, int loop, float rate)
244 ALOGV("play sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f",
245 sampleID, leftVolume, rightVolume, priority, loop, rate);
265 channel = allocateChannel_l(priority);
241 play(int sampleID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
280 allocateChannel_l(int priority) argument
383 setPriority(int channelID, int priority) argument
547 play(const sp<Sample>& sample, int nextChannelID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
660 int priority; local
896 set(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
[all...]

Completed in 1288 milliseconds

12345