Searched defs:priority (Results 1 - 25 of 97) sorted by path

1234

/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/common_time/
H A DICommonTimeConfig.cpp56 virtual status_t getMasterElectionPriority(uint8_t *priority) { argument
65 *priority = static_cast<uint8_t>(reply.readInt32());
72 virtual status_t setMasterElectionPriority(uint8_t priority) { argument
75 data.writeInt32(static_cast<int32_t>(priority));
331 uint8_t priority; local
332 status_t status = getMasterElectionPriority(&priority);
335 reply->writeInt32(static_cast<int32_t>(priority));
342 uint8_t priority = static_cast<uint8_t>(data.readInt32()); local
343 status_t status = setMasterElectionPriority(priority);
/frameworks/av/media/libmedia/
H A DAudioEffect.cpp47 int32_t priority,
55 mStatus = set(type, uuid, priority, cbf, user, sessionId, io);
61 int32_t priority,
88 mStatus = set(pType, pUuid, priority, cbf, user, sessionId, io);
93 int32_t priority,
121 mPriority = priority;
133 mIEffectClient, priority, io, mSessionId, mOpPackageName, &mStatus, &mId, &enabled);
44 AudioEffect(const effect_uuid_t *type, const String16& opPackageName, const effect_uuid_t *uuid, int32_t priority, effect_callback_t cbf, void* user, int sessionId, audio_io_handle_t io ) argument
58 AudioEffect(const char *typeStr, const String16& opPackageName, const char *uuidStr, int32_t priority, effect_callback_t cbf, void* user, int sessionId, audio_io_handle_t io ) argument
91 set(const effect_uuid_t *type, const effect_uuid_t *uuid, int32_t priority, effect_callback_t cbf, void* user, int sessionId, audio_io_handle_t io) argument
H A DIAudioFlinger.cpp707 int32_t priority,
728 data.writeInt32(priority);
1267 int32_t priority = data.readInt32(); local
1275 sp<IEffect> effect = createEffect(&desc, client, priority, output, sessionId,
704 createEffect( effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, audio_io_handle_t output, int sessionId, const String16& opPackageName, status_t *status, int *id, int *enabled) argument
H A DVisualizer.cpp38 int32_t priority,
42 : AudioEffect(SL_IID_VISUALIZATION, opPackageName, NULL, priority, cbf, user, sessionId),
37 Visualizer(const String16& opPackageName, int32_t priority, effect_callback_t cbf, void* user, int sessionId) argument
/frameworks/av/media/libmediaplayerservice/
H A DDrmSessionManager.cpp183 int priority = -1; local
197 priority = tempPriority;
199 if (tempPriority > priority) {
201 priority = tempPriority;
207 *lowestPriority = priority;
/frameworks/av/media/libmediaplayerservice/tests/
H A DDrmSessionManager_test.cpp35 virtual bool getPriority(int pid, int* priority) { argument
36 // For testing, use pid as priority.
37 // Lower the value higher the priority.
38 *priority = pid;
122 int priority; local
123 EXPECT_FALSE(mDrmSessionManager->getLowestPriority_l(&pid, &priority));
126 EXPECT_TRUE(mDrmSessionManager->getLowestPriority_l(&pid, &priority));
132 EXPECT_EQ(priority1, priority);
219 // calling pid priority is too low
228 // add a session from a higher priority proces
[all...]
/frameworks/av/media/libstagefright/
H A DACodec.cpp2155 int32_t priority; local
2156 if (msg->findInt32("priority", &priority)) {
2157 err = setPriority(priority);
2183 status_t ACodec::setPriority(int32_t priority) { argument
2184 if (priority < 0) {
2189 config.nU32 = (OMX_U32)priority;
2194 ALOGI("codec does not support config priority (err %d)", temp);
H A DProcessInfo.cpp30 bool ProcessInfo::getPriority(int pid, int* priority) { argument
46 // Use process state as the priority. Lower the value, higher the priority.
47 *priority = states;
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp97 bool runOnCallingThread, bool canCallJava, int32_t priority) {
124 mName.empty() ? "ALooper" : mName.c_str(), priority);
96 start( bool runOnCallingThread, bool canCallJava, int32_t priority) argument
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp2488 int32_t priority,
2501 ALOGV("createEffect pid %d, effectClient %p, priority %d, sessionId %d, io %d",
2502 pid, effectClient.get(), priority, sessionId, io);
2661 handle = thread->createEffect_l(client, effectClient, priority, sessionId,
2485 createEffect( effect_descriptor_t *pDesc, const sp<IEffectClient>& effectClient, int32_t priority, audio_io_handle_t io, int sessionId, const String16& opPackageName, status_t *status, int *id, int *enabled) argument
H A DEffects.cpp112 int priority = handle->priority(); local
125 if (h->priority() <= priority) {
1040 int32_t priority)
1043 mPriority(priority), mHasControl(false), mEnabled(false), mDestroyed(false)
1037 EffectHandle(const sp<EffectModule>& effect, const sp<AudioFlinger::Client>& client, const sp<IEffectClient>& effectClient, int32_t priority) argument
H A DEffects.h151 // First handle in mHandles has highest priority and controls the effect module
172 int32_t priority);
208 int priority() const { return mPriority; } function in class:EffectHandle
228 int mPriority; // client application priority to control the effect
H A DThreads.cpp709 ALOGW("Policy SCHED_FIFO priority %d is unavailable for pid %d tid %d; error %d",
1116 // another session. This gives the priority to well behaved effect control panels
1135 int32_t priority,
1246 handle = new EffectHandle(effect, client, effectClient, priority);
1132 createEffect_l( const sp<AudioFlinger::Client>& client, const sp<IEffectClient>& effectClient, int32_t priority, int sessionId, effect_descriptor_t *desc, int *enabled, status_t *status) argument
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp607 // Find the priority for the camera usage based on the process state. Higher priority clients
615 // access priority. This is important for lock-screen camera launch scenarios
1044 // If the incoming client was 'evicted,' higher priority clients have the camera in the
1048 " priority).", clientPid);
1056 "(PID %d, priority %d) due to eviction policy", curTime.string(),
1062 "(PID %" PRId32 ", priority %" PRId32 ")", i->getKey().string(),
1066 PRId32 ", priority %" PRId32 ")", i->getKey().string(),
1096 " %" PRId32 ", priority %" PRId32 ")\n - Evicted by device %s client for"
1097 " package %s (PID %d, priority
2208 int32_t priority = i->getPriority(); local
2239 makeClientDescriptor( const String8& key, const sp<BasicClient>& value, int32_t cost, const std::set<String8>& conflictingKeys, int32_t priority, int32_t ownerId) argument
[all...]
/frameworks/av/services/camera/libcameraservice/utils/
H A DClientManager.h38 * resource, and the corresponding cost, priority, owner ID, and conflicting keys list used
41 * Aside from the priority, these values are immutable once the ClientDescriptor has been
48 const std::set<KEY>& conflictingKeys, int32_t priority, int32_t ownerId);
50 int32_t priority, int32_t ownerId);
70 * Return the priority for this descriptor.
92 void setPriority(int32_t priority);
114 const std::set<KEY>& conflictingKeys, int32_t priority, int32_t ownerId) : mKey{key},
115 mValue{value}, mCost{cost}, mConflicting{conflictingKeys}, mPriority{priority},
120 std::set<KEY>&& conflictingKeys, int32_t priority, int32_t ownerId) :
122 mConflicting{std::forward<std::set<KEY>>(conflictingKeys)}, mPriority{priority},
113 ClientDescriptor(const KEY& key, const VALUE& value, int32_t cost, const std::set<KEY>& conflictingKeys, int32_t priority, int32_t ownerId) argument
119 ClientDescriptor(KEY&& key, VALUE&& value, int32_t cost, std::set<KEY>&& conflictingKeys, int32_t priority, int32_t ownerId) argument
168 setPriority(int32_t priority) argument
386 int32_t priority = client->getPriority(); local
[all...]
/frameworks/av/services/mediaresourcemanager/
H A DResourceManagerService.cpp358 // some higher/equal priority process owns the resource,
382 ALOGE("getLowestPriorityBiggestClient_l: can't get process priority for pid %d",
390 ALOGE("getLowestPriorityBiggestClient_l: lowest priority %d vs caller priority %d",
404 int priority = -1; local
417 ALOGV("getLowestPriorityPid_l: can't get priority of pid %d, skipped", tempPid);
421 if (pid == -1 || tempPriority > priority) {
424 priority = tempPriority;
429 *lowestPriority = priority;
440 int priority; local
[all...]
/frameworks/av/services/mediaresourcemanager/test/
H A DResourceManagerService_test.cpp40 virtual bool getPriority(int pid, int *priority) { argument
41 // For testing, use pid as priority.
42 // Lower the value higher the priority.
43 *priority = pid;
136 // pid priority client type number
240 // some higher priority process (e.g. kTestPid2) owns the resource, so getAllClients_l
262 // priority too low
284 // priority too low
303 // priority too low
329 // priority to
460 int priority; local
[all...]
/frameworks/base/cmds/idmap/
H A Dscan.cpp24 apk_path(a), idmap_path(i), priority(p) {}
29 return rhs.priority < priority;
34 int priority; member in struct:__anon813::Overlay
73 int priority = -1; local
82 } else if (key == String16("priority")) {
85 priority = v.data;
86 if (priority < 0 || priority > 9999) {
93 return priority;
163 int priority = parse_manifest(buf, static_cast<size_t>(uncompLen), target_package_name); local
197 int priority = parse_apk(overlay_apk_path, target_package_name); local
212 Overlay overlay(String8(overlay_apk_path), idmap_path, priority); local
[all...]
/frameworks/base/core/java/android/app/
H A DNotification.java444 * Obsolete flag indicating high-priority notifications; use the priority field instead.
446 * @deprecated Use {@link #priority} with a positive value.
473 * Default notification {@link #priority}. If your application does not prioritize its own
479 * Lower {@link #priority}, for items that are less important. The UI may choose to show these
486 * Lowest {@link #priority}; these items might not be shown to the user except under special
492 * Higher {@link #priority}, for more important notifications or alerts. The UI may choose to
499 * Highest {@link #priority}, for your application's most important items that require the
505 * Relative priority for this notification.
508 * this notification. Low-priority notification
520 public int priority; field in class:Notification
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dp.java339 * Set priority of the profile
349 * @param priority
350 * @return true if priority is set, false on error
353 public boolean setPriority(BluetoothDevice device, int priority) { argument
354 if (DBG) log("setPriority(" + device + ", " + priority + ")");
357 if (priority != BluetoothProfile.PRIORITY_OFF &&
358 priority != BluetoothProfile.PRIORITY_ON){
362 return mService.setPriority(device, priority);
373 * Get the priority of the profile.
375 * <p> The priority ca
[all...]
H A DBluetoothHeadset.java450 * Set priority of the profile
460 * @param priority
461 * @return true if priority is set, false on error
464 public boolean setPriority(BluetoothDevice device, int priority) { argument
465 if (DBG) log("setPriority(" + device + ", " + priority + ")");
468 if (priority != BluetoothProfile.PRIORITY_OFF &&
469 priority != BluetoothProfile.PRIORITY_ON) {
473 return mService.setPriority(device, priority);
484 * Get the priority of the profile.
486 * <p> The priority ca
[all...]
H A DBluetoothHeadsetClient.java584 * Set priority of the profile
588 public boolean setPriority(BluetoothDevice device, int priority) { argument
589 if (DBG) log("setPriority(" + device + ", " + priority + ")");
592 if (priority != BluetoothProfile.PRIORITY_OFF &&
593 priority != BluetoothProfile.PRIORITY_ON) {
597 return mService.setPriority(device, priority);
608 * Get the priority of the profile.
H A DBluetoothInputDevice.java420 * Set priority of the profile
430 * @param priority
431 * @return true if priority is set, false on error
434 public boolean setPriority(BluetoothDevice device, int priority) { argument
435 if (DBG) log("setPriority(" + device + ", " + priority + ")");
437 if (priority != BluetoothProfile.PRIORITY_OFF &&
438 priority != BluetoothProfile.PRIORITY_ON) {
442 return mService.setPriority(device, priority);
453 * Get the priority of the profile.
455 * <p> The priority ca
[all...]
H A DBluetoothMap.java317 * Set priority of the profile
324 * @param priority
325 * @return true if priority is set, false on error
327 public boolean setPriority(BluetoothDevice device, int priority) { argument
328 if (DBG) log("setPriority(" + device + ", " + priority + ")");
331 if (priority != BluetoothProfile.PRIORITY_OFF &&
332 priority != BluetoothProfile.PRIORITY_ON) {
336 return mService.setPriority(device, priority);
347 * Get the priority of the profile.
349 * <p> The priority ca
[all...]

Completed in 420 milliseconds

1234