Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/bluetooth/
DMapProfile.java123 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON) { in disconnect()
144 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF; in isPreferred()
149 return mService.getPriority(device); in getPreferred()
155 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) { in setPreferred()
DHeadsetProfile.java129 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON) { in disconnect()
149 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF; in isPreferred()
154 return mService.getPriority(device); in getPreferred()
160 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) { in setPreferred()
DA2dpProfile.java128 if (mService.getPriority(device) > BluetoothProfile.PRIORITY_ON){ in disconnect()
143 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF; in isPreferred()
148 return mService.getPriority(device); in getPreferred()
154 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) { in setPreferred()
DHidProfile.java124 return mService.getPriority(device) > BluetoothProfile.PRIORITY_OFF; in isPreferred()
129 return mService.getPriority(device); in getPreferred()
135 if (mService.getPriority(device) < BluetoothProfile.PRIORITY_ON) { in setPreferred()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java118 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { in connect()
170 public int getPriority(BluetoothDevice device) { in getPriority() method in A2dpService
265 public int getPriority(BluetoothDevice device) { in getPriority() method in A2dpService.BluetoothA2dpBinder
268 return service.getPriority(device); in getPriority()
DA2dpStateMachine.java638 int priority = mService.getPriority(device); in okToConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java1096 if (hsService.getPriority(device) == BluetoothProfile.PRIORITY_AUTO_CONNECT ){ in autoConnectHeadset()
1110 if (a2dpSservice.getPriority(device) == BluetoothProfile.PRIORITY_AUTO_CONNECT ){ in autoConnectA2dp()
1149 (hsService.getPriority(device) >= BluetoothProfile.PRIORITY_ON)){ in processConnectOtherProfiles()
1153 (a2dpService.getPriority(device) >= BluetoothProfile.PRIORITY_ON)){ in processConnectOtherProfiles()
1161 if (hsService.getPriority(device) >= BluetoothProfile.PRIORITY_AUTO_CONNECT && in adjustOtherHeadsetPriorities()
1171 if (a2dpService.getPriority(device) >= BluetoothProfile.PRIORITY_AUTO_CONNECT && in adjustOtherSinkPriorities()
1182 (BluetoothProfile.PRIORITY_AUTO_CONNECT != hsService.getPriority(device))){ in setProfileAutoConnectionPriority()
1190 (BluetoothProfile.PRIORITY_AUTO_CONNECT != a2dpService.getPriority(device))){ in setProfileAutoConnectionPriority()
DBondStateMachine.java307 (hidService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)){ in setProfilePriorty()
312 (a2dpService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)){ in setProfilePriorty()
317 (headsetService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED)){ in setProfilePriorty()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidService.java336 public int getPriority(BluetoothDevice device) { in getPriority() method in HidService.BluetoothInputDeviceBinder
339 return service.getPriority(device); in getPriority()
387 if (getPriority(device) == BluetoothInputDevice.PRIORITY_OFF) { in connect()
437 public int getPriority(BluetoothDevice device) { in getPriority() method in HidService
610 (BluetoothProfile.PRIORITY_OFF == getPriority(device)) || in okToConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java179 public int getPriority(BluetoothDevice device) { in getPriority() method in HeadsetService.BluetoothHeadsetBinder
182 return service.getPriority(device); in getPriority()
321 if (getPriority(device) == BluetoothProfile.PRIORITY_OFF) { in connect()
373 public int getPriority(BluetoothDevice device) { in getPriority() method in HeadsetService
DHeadsetStateMachine.java343 Log.i(TAG,"Incoming Hf rejected. priority=" + mService.getPriority(device)+ in processConnectionEvent()
368 Log.i(TAG,"Incoming Hf rejected. priority=" + mService.getPriority(device) + in processConnectionEvent()
1966 int priority = mService.getPriority(device); in okToConnect()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DPriorityThreadFactoryTest.java45 assertEquals(priority, r.getPriority()); in priorityTest()
53 public synchronized int getPriority() throws InterruptedException { in getPriority() method in PriorityThreadFactoryTest.CheckPriorityRunnable
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java618 public int getPriority(BluetoothDevice device) { in getPriority() method in BluetoothMapService
824 public int getPriority(BluetoothDevice device) { in getPriority() method in BluetoothMapService.BluetoothMapBinder
827 return service.getPriority(device); in getPriority()
DBluetoothMapMessageListingElement.java174 public String getPriority() { in getPriority() method in BluetoothMapMessageListingElement
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailStatusHelperImpl.java131 public int getPriority() { in getPriority() method in VoicemailStatusHelperImpl.OverallState
236 overallState.getPriority()); in getMessageForStatusEntry()
/packages/apps/Email/src/com/android/email/service/
DAttachmentDownloadService.java198 priority = getPriority(attachment); in DownloadRequest()
284 long priority = getPriority(att); in onChange()
711 private static int getPriority(Attachment att) { in getPriority() method in AttachmentDownloadService
/packages/apps/Mms/src/com/android/mms/util/
DBackgroundLoaderManager.java158 if (t.getPriority() != Thread.MIN_PRIORITY) in newThread()
/packages/apps/Mms/src/com/android/mms/ui/
DMessageUtils.java315 details.append(getPriorityDescription(context, msg.getPriority())); in getMultimediaMessageDetails()