Searched refs:isServiceAvailable (Results 1 – 9 of 9) sorted by relevance
41 private boolean isServiceAvailable(HeadsetClientService service) { in isServiceAvailable() method in HeadsetClientServiceInterface51 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 …]
100 if (mSharedConnectivityRepository.isServiceAvailable()) { in WifiTetherViewModel()114 if (mSharedConnectivityRepository.isServiceAvailable()) { in onCleared()205 return mSharedConnectivityRepository.isServiceAvailable(); in isInstantHotspotFeatureAvailable()
88 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()
88 assertThat(mRepository.isServiceAvailable()).isTrue(); in isServiceAvailable_configEnabled_returnTrue()95 assertThat(mRepository.isServiceAvailable()).isFalse(); in isServiceAvailable_configNotEnabled_returnFalse()
1519 boolean isServiceAvailable, in NetworkServiceState() argument1524 mIsServiceAvailable = isServiceAvailable; in NetworkServiceState()1548 public boolean isServiceAvailable() { in isServiceAvailable() method in BluetoothHeadsetClient.NetworkServiceState1691 boolean isServiceAvailable = (agEvents.getInt(EXTRA_NETWORK_STATUS, 0) == 1); in getNetworkServiceState()1697 device, isServiceAvailable, operatorName, signalStrength, isRoaming); in getNetworkServiceState()
86 public boolean isServiceAvailable() { in isServiceAvailable() method in SharedConnectivityRepository
199 if (!state.isServiceAvailable()) { in processActionNetworkServiceStateEvent()
166 if (!mRemoteLockscreenValidationClient.isServiceAvailable()) { in onCreate()
409 method public boolean isServiceAvailable();