Searched refs:isServiceAvailable (Results 1 – 5 of 5) sorted by relevance
142 doReturn(false).when(mSpyAttentionManager).isServiceAvailable(); in testRegisterProximityUpdates_returnFalseWhenServiceUnavailable()154 doReturn(true).when(mSpyAttentionManager).isServiceAvailable(); in testRegisterProximityUpdates_returnFalseWhenPowerManagerNotInteract()166 doReturn(true).when(mSpyAttentionManager).isServiceAvailable(); in testRegisterProximityUpdates_callOnSuccess()180 doReturn(true).when(mSpyAttentionManager).isServiceAvailable(); in testRegisterProximityUpdates_callOnSuccessTwiceInARow()207 doReturn(true).when(mSpyAttentionManager).isServiceAvailable(); in testUnregisterProximityUpdates_noCrashWhenCallbackMismatched()229 doReturn(true).when(mSpyAttentionManager).isServiceAvailable(); in testUnregisterProximityUpdates_cancelRegistrationWhenMatched()242 doReturn(true).when(mSpyAttentionManager).isServiceAvailable(); in testUnregisterProximityUpdates_noCrashWhenTwiceInARow()279 doReturn(true).when(mSpyAttentionManager).isServiceAvailable(); in testCheckAttention_callOnSuccess()
69 mIsServiceAvailable = isServiceAvailable(mContext, serviceComponent); in RemoteLockscreenValidationClientImpl()76 public boolean isServiceAvailable() { in isServiceAvailable() method in RemoteLockscreenValidationClientImpl84 if (!isServiceAvailable()) { in validateLockscreenGuess()157 private boolean isServiceAvailable( in isServiceAvailable() method in RemoteLockscreenValidationClientImpl
65 boolean isServiceAvailable(); in isServiceAvailable() method
205 protected boolean isServiceAvailable() { in isServiceAvailable() method in AttentionManagerService275 if (!isServiceAvailable()) { in checkAttention()365 if (!isServiceAvailable()) { in onStartProximityUpdates()
2126 public boolean isServiceAvailable() { in isServiceAvailable() method in ImsManager