Home
last modified time | relevance | path

Searched refs:isServiceAvailable (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientServiceInterface.java41 private boolean isServiceAvailable(HeadsetClientService service) { in isServiceAvailable() method in HeadsetClientServiceInterface
51 if (!isServiceAvailable(service)) return null; in dial()
57 if (!isServiceAvailable(service)) return false; in enterPrivateMode()
63 if (!isServiceAvailable(service)) return false; in sendDTMF()
69 if (!isServiceAvailable(service)) return false; in terminateCall()
75 if (!isServiceAvailable(service)) return false; in holdCall()
81 if (!isServiceAvailable(service)) return false; in acceptCall()
87 if (!isServiceAvailable(service)) return false; in rejectCall()
93 if (!isServiceAvailable(service)) return false; in connectAudio()
99 if (!isServiceAvailable(service)) return false; in disconnectAudio()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherViewModel.java100 if (mSharedConnectivityRepository.isServiceAvailable()) { in WifiTetherViewModel()
114 if (mSharedConnectivityRepository.isServiceAvailable()) { in onCleared()
205 return mSharedConnectivityRepository.isServiceAvailable(); in isInstantHotspotFeatureAvailable()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiTetherViewModelTest.java88 when(mSharedConnectivityRepository.isServiceAvailable()).thenReturn(true); in setUp()
171 when(mSharedConnectivityRepository.isServiceAvailable()).thenReturn(true); in isInstantHotspotFeatureAvailable_serviceAvailable_returnTrue()
178 when(mSharedConnectivityRepository.isServiceAvailable()).thenReturn(false); in isInstantHotspotFeatureAvailable_serviceNotAvailable_returnFalse()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DSharedConnectivityRepositoryTest.java88 assertThat(mRepository.isServiceAvailable()).isTrue(); in isServiceAvailable_configEnabled_returnTrue()
95 assertThat(mRepository.isServiceAvailable()).isFalse(); in isServiceAvailable_configNotEnabled_returnFalse()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHeadsetClient.java1519 boolean isServiceAvailable, in NetworkServiceState() argument
1524 mIsServiceAvailable = isServiceAvailable; in NetworkServiceState()
1548 public boolean isServiceAvailable() { in isServiceAvailable() method in BluetoothHeadsetClient.NetworkServiceState
1691 boolean isServiceAvailable = (agEvents.getInt(EXTRA_NETWORK_STATUS, 0) == 1); in getNetworkServiceState()
1697 device, isServiceAvailable, operatorName, signalStrength, isRoaming); in getNetworkServiceState()
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DSharedConnectivityRepository.java86 public boolean isServiceAvailable() { in isServiceAvailable() method in SharedConnectivityRepository
/packages/apps/Car/SystemUI/src/com/android/systemui/car/bluetooth/
DConnectedDeviceSignalController.java199 if (!state.isServiceAvailable()) { in processActionNetworkServiceStateEvent()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseFragment.java166 if (!mRemoteLockscreenValidationClient.isServiceAvailable()) { in onCreate()
/packages/modules/Bluetooth/framework/api/
Dsystem-current.txt409 method public boolean isServiceAvailable();