Home
last modified time | relevance | path

Searched refs:isEnabled (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/frameworks/base/core/java/android/bluetooth/
DBluetoothHeadsetClient.java481 if (mService != null && isEnabled() && in connect()
505 if (mService != null && isEnabled() && in disconnect()
526 if (mService != null && isEnabled()) { in getConnectedDevices()
549 if (mService != null && isEnabled()) { in getDevicesMatchingConnectionStates()
570 if (mService != null && isEnabled() && in getConnectionState()
590 if (mService != null && isEnabled() && in setPriority()
612 if (mService != null && isEnabled() && in getPriority()
640 if (mService != null && isEnabled() && in startVoiceRecognition()
667 if (mService != null && isEnabled() && in stopVoiceRecognition()
687 if (mService != null && isEnabled() && in getCurrentCalls()
[all …]
DBluetoothHeadset.java343 if (mService != null && isEnabled() && in connect()
384 if (mService != null && isEnabled() && in disconnect()
402 if (mService != null && isEnabled()) { in getConnectedDevices()
419 if (mService != null && isEnabled()) { in getDevicesMatchingConnectionStates()
436 if (mService != null && isEnabled() && in getConnectionState()
466 if (mService != null && isEnabled() && in setPriority()
498 if (mService != null && isEnabled() && in getPriority()
534 if (mService != null && isEnabled() && in startVoiceRecognition()
558 if (mService != null && isEnabled() && in stopVoiceRecognition()
581 if (mService != null && isEnabled() && in isAudioConnected()
[all …]
DBluetoothA2dp.java232 if (mService != null && isEnabled() && in connect()
273 if (mService != null && isEnabled() && in disconnect()
291 if (mService != null && isEnabled()) { in getConnectedDevices()
308 if (mService != null && isEnabled()) { in getDevicesMatchingConnectionStates()
325 if (mService != null && isEnabled() in getConnectionState()
355 if (mService != null && isEnabled() in setPriority()
388 if (mService != null && isEnabled() in getPriority()
409 if (mService != null && isEnabled()) { in isAvrcpAbsoluteVolumeSupported()
436 if (mService != null && isEnabled()) { in adjustAvrcpAbsoluteVolume()
456 if (mService != null && isEnabled()) { in setAvrcpAbsoluteVolume()
[all …]
DBluetoothInputDevice.java316 if (mService != null && isEnabled() && isValidDevice(device)) { in connect()
356 if (mService != null && isEnabled() && isValidDevice(device)) { in disconnect()
373 if (mService != null && isEnabled()) { in getConnectedDevices()
390 if (mService != null && isEnabled()) { in getDevicesMatchingConnectionStates()
407 if (mService != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
436 if (mService != null && isEnabled() && isValidDevice(device)) { in setPriority()
467 if (mService != null && isEnabled() && isValidDevice(device)) { in getPriority()
497 private boolean isEnabled() { in isEnabled() method in BluetoothInputDevice
522 if (mService != null && isEnabled() && isValidDevice(device)) { in virtualUnplug()
548 if (mService != null && isEnabled() && isValidDevice(device)) { in getProtocolMode()
[all …]
DBluetoothHealth.java147 if (!isEnabled() || name == null) return false; in registerSinkAppConfiguration()
173 if (!isEnabled() || !checkAppParam(name, role, channelType, callback)) return result; in registerAppConfiguration()
204 if (mService != null && isEnabled() && config != null) { in unregisterAppConfiguration()
232 if (mService != null && isEnabled() && isValidDevice(device) && in connectChannelToSource()
261 if (mService != null && isEnabled() && isValidDevice(device) && in connectChannelToSink()
290 if (mService != null && isEnabled() && isValidDevice(device) && in disconnectChannel()
319 if (mService != null && isEnabled() && isValidDevice(device) && in getMainChannelFd()
350 if (mService != null && isEnabled() && isValidDevice(device)) { in getConnectionState()
378 if (mService != null && isEnabled()) { in getConnectedDevices()
410 if (mService != null && isEnabled()) { in getDevicesMatchingConnectionStates()
[all …]
DBluetoothPan.java237 if (mPanService != null && isEnabled() && in connect()
278 if (mPanService != null && isEnabled() && in disconnect()
296 if (mPanService != null && isEnabled()) { in getConnectedDevices()
313 if (mPanService != null && isEnabled()) { in getDevicesMatchingConnectionStates()
330 if (mPanService != null && isEnabled() in getConnectionState()
346 if (mPanService != null && isEnabled()) { in setBluetoothTethering()
358 if (mPanService != null && isEnabled()) { in isTetheringOn()
387 private boolean isEnabled() { in isEnabled() method in BluetoothPan
DBluetoothA2dpSink.java241 if (mService != null && isEnabled() && in connect()
282 if (mService != null && isEnabled() && in disconnect()
300 if (mService != null && isEnabled()) { in getConnectedDevices()
317 if (mService != null && isEnabled()) { in getDevicesMatchingConnectionStates()
334 if (mService != null && isEnabled() in getConnectionState()
360 if (mService != null && isEnabled() in getAudioConfig()
417 private boolean isEnabled() { in isEnabled() method in BluetoothA2dpSink
DBluetoothSap.java268 if (mService != null && isEnabled() && in disconnect()
289 if (mService != null && isEnabled()) { in getConnectedDevices()
309 if (mService != null && isEnabled()) { in getDevicesMatchingConnectionStates()
329 if (mService != null && isEnabled() && in getConnectionState()
354 if (mService != null && isEnabled() && in setPriority()
380 if (mService != null && isEnabled() && in getPriority()
414 private boolean isEnabled() { in isEnabled() method in BluetoothSap
DBluetoothMap.java225 if (mService != null && isEnabled() && in disconnect()
265 if (mService != null && isEnabled()) { in getConnectedDevices()
284 if (mService != null && isEnabled()) { in getDevicesMatchingConnectionStates()
303 if (mService != null && isEnabled() && in getConnectionState()
329 if (mService != null && isEnabled() && in setPriority()
358 if (mService != null && isEnabled() && in getPriority()
392 private boolean isEnabled() { in isEnabled() method in BluetoothMap
DBluetoothAvrcpController.java165 if (mService != null && isEnabled()) { in getConnectedDevices()
182 if (mService != null && isEnabled()) { in getDevicesMatchingConnectionStates()
199 if (mService != null && isEnabled() in getConnectionState()
214 if (mService != null && isEnabled()) { in sendPassThroughCmd()
245 private boolean isEnabled() { in isEnabled() method in BluetoothAvrcpController
/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp31 bool ThreadCpuUsage::setEnabled(bool isEnabled) in setEnabled() argument
35 if (isEnabled != wasEnabled) { in setEnabled()
36 ALOGV("setEnabled(%d)", isEnabled); in setEnabled()
39 if (isEnabled) { in setEnabled()
43 isEnabled = false; in setEnabled()
71 mIsEnabled = isEnabled; in setEnabled()
/frameworks/base/core/java/android/widget/
DZoomControls.java97 public void setIsZoomInEnabled(boolean isEnabled) { in setIsZoomInEnabled() argument
98 mZoomIn.setEnabled(isEnabled); in setIsZoomInEnabled()
101 public void setIsZoomOutEnabled(boolean isEnabled) { in setIsZoomOutEnabled() argument
102 mZoomOut.setEnabled(isEnabled); in setIsZoomOutEnabled()
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccount.java204 mIsEnabled = phoneAccount.isEnabled(); in Builder()
309 public Builder setIsEnabled(boolean isEnabled) { in setIsEnabled() argument
310 mIsEnabled = isEnabled; in setIsEnabled()
349 boolean isEnabled) { in PhoneAccount() argument
359 mIsEnabled = isEnabled; in PhoneAccount()
472 public boolean isEnabled() { in isEnabled() method in PhoneAccount
510 public void setIsEnabled(boolean isEnabled) { in setIsEnabled() argument
511 mIsEnabled = isEnabled; in setIsEnabled()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothRebootStressTest.java66 assertTrue(adapter.isEnabled()); in testMiddleNoToggle()
77 assertTrue(adapter.isEnabled()); in testMiddleToggle()
90 assertTrue(adapter.isEnabled()); in testStop()
DBluetoothTestUtils.java434 assertTrue(adapter.isEnabled()); in enable()
438 assertFalse(adapter.isEnabled()); in enable()
442 assertFalse(adapter.isEnabled()); in enable()
460 assertTrue(adapter.isEnabled()); in enable()
494 assertFalse(adapter.isEnabled()); in disable()
498 assertFalse(adapter.isEnabled()); in disable()
502 assertTrue(adapter.isEnabled()); in disable()
507 assertFalse(adapter.isEnabled()); in disable()
520 assertFalse(adapter.isEnabled()); in disable()
548 if (!adapter.isEnabled()) { in discoverable()
[all …]
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityRecordCompat.java42 public boolean isEnabled(Object record); in isEnabled() method
43 public void setEnabled(Object record, boolean isEnabled); in setEnabled() argument
163 public boolean isEnabled(Object record) { in isEnabled() method in AccessibilityRecordCompat.AccessibilityRecordStubImpl
207 public void setEnabled(Object record, boolean isEnabled) { in setEnabled() argument
361 public boolean isEnabled(Object record) { in isEnabled() method in AccessibilityRecordCompat.AccessibilityRecordIcsImpl
362 return AccessibilityRecordCompatIcs.isEnabled(record); in isEnabled()
416 public void setEnabled(Object record, boolean isEnabled) { in setEnabled() argument
417 AccessibilityRecordCompatIcs.setEnabled(record, isEnabled); in setEnabled()
642 public boolean isEnabled() { in isEnabled() method in AccessibilityRecordCompat
643 return IMPL.isEnabled(mRecord); in isEnabled()
[all …]
/frameworks/base/core/java/android/app/backup/
DBackupManager.java201 public void setBackupEnabled(boolean isEnabled) { in setBackupEnabled() argument
205 sService.setBackupEnabled(isEnabled); in setBackupEnabled()
243 public void setAutoRestore(boolean isEnabled) { in setAutoRestore() argument
247 sService.setAutoRestore(isEnabled); in setAutoRestore()
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteChooserDialog.java117 return !route.isDefault() && route.isEnabled() && route.matchesTypes(mRouteTypes); in onFilterRoute()
207 public boolean isEnabled(int position) { in isEnabled() method in MediaRouteChooserDialog.RouteAdapter
208 return getItem(position).isEnabled(); in isEnabled()
229 view.setEnabled(route.isEnabled()); in getView()
236 if (route.isEnabled()) { in onItemClick()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteChooserDialog.java134 return !route.isDefault() && route.isEnabled() && route.matchesSelector(mSelector); in onFilterRoute()
204 public boolean isEnabled(int position) { in isEnabled() method in MediaRouteChooserDialog.RouteAdapter
205 return getItem(position).isEnabled(); in isEnabled()
226 view.setEnabled(route.isEnabled()); in getView()
233 if (route.isEnabled()) { in onItemClick()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListWithOffScreenNextSelectableTest.java47 assertFalse(mListView.getAdapter().isEnabled(1)); in testPreconditions()
48 assertFalse(mListView.getAdapter().isEnabled(2)); in testPreconditions()
49 assertFalse(mListView.getAdapter().isEnabled(3)); in testPreconditions()
/frameworks/base/core/java/android/inputmethodservice/
DExtractEditText.java140 return this.isEnabled(); in hasWindowFocus()
148 return this.isEnabled(); in isFocused()
156 return this.isEnabled(); in hasFocus()
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
DAccessibilityRecordCompatIcs.java102 public static boolean isEnabled(Object record) { in isEnabled() method in AccessibilityRecordCompatIcs
103 return ((AccessibilityRecord) record).isEnabled(); in isEnabled()
146 public static void setEnabled(Object record, boolean isEnabled) { in setEnabled() argument
147 ((AccessibilityRecord) record).setEnabled(isEnabled); in setEnabled()
/frameworks/av/include/cpustats/
DThreadCpuUsage.h58 bool isEnabled() const { return mIsEnabled; } in isEnabled() function
72 bool setEnabled(bool isEnabled);
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceCategory.java64 public boolean isEnabled() { in isEnabled() method in PreferenceCategory
70 return !super.isEnabled(); in shouldDisableDependents()
/frameworks/base/core/java/android/preference/
DPreferenceCategory.java64 public boolean isEnabled() { in isEnabled() method in PreferenceCategory
70 return !super.isEnabled(); in shouldDisableDependents()

12345678910>>...12