Home
last modified time | relevance | path

Searched refs:getPriority (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DMapClientProfile.java126 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON) { in disconnect()
143 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF; in isPreferred()
150 return mService.getPriority(device); in getPreferred()
158 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) { in setPreferred()
DHfpClientProfile.java138 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON){ in disconnect()
157 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF; in isPreferred()
165 return mService.getPriority(device); in getPreferred()
174 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) { in setPreferred()
DA2dpSinkProfile.java127 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON) { in disconnect()
144 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF; in isPreferred()
151 return mService.getPriority(device); in getPreferred()
159 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) { in setPreferred()
DSapProfile.java122 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON) { in disconnect()
139 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF; in isPreferred()
146 return mService.getPriority(device); in getPreferred()
154 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) { in setPreferred()
DMapProfile.java122 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON) { in disconnect()
139 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF; in isPreferred()
146 return mService.getPriority(device); in getPreferred()
154 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) { in setPreferred()
DHeadsetProfile.java123 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON) { in disconnect()
168 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF; in isPreferred()
175 return mService.getPriority(device); in getPreferred()
183 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) { in setPreferred()
DHearingAidProfile.java156 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON){ in disconnect()
181 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF; in isPreferred()
186 return mService.getPriority(device); in getPreferred()
192 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) { in setPreferred()
DPbapClientProfile.java154 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF; in isPreferred()
161 return mService.getPriority(device); in getPreferred()
169 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) { in setPreferred()
DHidProfile.java120 return mService.getPriority(device) != BluetoothProfile.PRIORITY_OFF; in isPreferred()
125 return mService.getPriority(device); in getPreferred()
131 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) { in setPreferred()
DA2dpProfile.java158 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON){ in disconnect()
183 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF; in isPreferred()
188 return mService.getPriority(device); in getPreferred()
194 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) { in setPreferred()
/frameworks/av/media/libstagefright/include/media/stagefright/
DProcessInfoInterface.h25 virtual bool getPriority(int pid, int* priority) = 0;
DProcessInfo.h29 virtual bool getPriority(int pid, int* priority);
/frameworks/base/services/core/java/com/android/server/pm/
DComponentResolver.java424 + " allow priority " + filter.getPriority() + ";" in fixProtectedFilterPriorities()
427 + " priority: " + filter.getPriority()); in fixProtectedFilterPriorities()
436 + " origPrio: " + filter.getPriority()); in fixProtectedFilterPriorities()
759 if (intent.getPriority() <= 0) { in adjustPriority()
774 + " origPrio: " + intent.getPriority()); in adjustPriority()
799 + " origPrio: " + intent.getPriority()); in adjustPriority()
810 + " allow priority " + intent.getPriority() + ";" in adjustPriority()
813 + " priority: " + intent.getPriority()); in adjustPriority()
822 + " origPrio: " + intent.getPriority()); in adjustPriority()
841 + " origPrio: " + intent.getPriority()); in adjustPriority()
[all …]
/frameworks/av/media/utils/
DProcessInfo.cpp31 bool ProcessInfo::getPriority(int pid, int* priority) { in getPriority() function in android::ProcessInfo
/frameworks/base/core/java/android/bluetooth/
DBluetoothPbapClient.java284 public int getPriority(BluetoothDevice device) { in getPriority() method in BluetoothPbapClient
291 return service.getPriority(device); in getPriority()
DBluetoothSap.java335 public int getPriority(BluetoothDevice device) { in getPriority() method in BluetoothSap
340 return service.getPriority(device); in getPriority()
DBluetoothMap.java310 public int getPriority(BluetoothDevice device) { in getPriority() method in BluetoothMap
315 return service.getPriority(device); in getPriority()
DBluetoothA2dpSink.java363 public int getPriority(BluetoothDevice device) { in getPriority() method in BluetoothA2dpSink
368 return service.getPriority(device); in getPriority()
DBluetoothMapClient.java278 public int getPriority(BluetoothDevice device) { in getPriority() method in BluetoothMapClient
283 return service.getPriority(device); in getPriority()
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DMultimediaMessagePdu.java119 public int getPriority() { in getPriority() method in MultimediaMessagePdu
/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp151 if (!mProcessInfo->getPriority(callingPid, &callingPriority)) { in reclaimSession()
190 if (!mProcessInfo->getPriority(tempPid, &tempPriority)) { in getLowestPriority_l()
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp462 if (!mProcessInfo->getPriority(callingPid, &callingPriority)) { in getLowestPriorityBiggestClient_l()
497 if (!mProcessInfo->getPriority(tempPid, &tempPriority)) { in getLowestPriorityPid_l()
517 if (!mProcessInfo->getPriority(callingPid, &callingPidPriority)) { in isCallingPriorityHigher_l()
522 if (!mProcessInfo->getPriority(pid, &priority)) { in isCallingPriorityHigher_l()
/frameworks/av/services/camera/libcameraservice/utils/
DClientManager.h137 const ClientPriority &getPriority() const;
212 const ClientPriority& ClientDescriptor<KEY, VALUE>::getPriority() const { in getPriority() function
460 ClientPriority priority = client->getPriority(); in wouldEvictLocked()
469 ClientPriority curPriority = i->getPriority(); in wouldEvictLocked()
485 ClientPriority curPriority = i->getPriority(); in wouldEvictLocked()
/frameworks/av/media/libmediaplayerservice/tests/
DDrmSessionManager_test.cpp35 virtual bool getPriority(int pid, int* priority) { in getPriority() function
135 processInfo.getPriority(kTestPid1, &priority1); in testGetLowestPriority()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp40 virtual bool getPriority(int pid, int *priority) { in getPriority() function
473 processInfo.getPriority(kTestPid1, &priority1); in testGetLowestPriorityPid()
480 processInfo.getPriority(kTestPid2, &priority2); in testGetLowestPriorityPid()

12