Searched refs:getVoiceRecognitionWakeLock (Results 1 – 3 of 3) sorted by relevance
205 if (mSystemInterface.getVoiceRecognitionWakeLock().isHeld()) { in stop()206 mSystemInterface.getVoiceRecognitionWakeLock().release(); in stop()871 if (mSystemInterface.getVoiceRecognitionWakeLock().isHeld()) { in startVoiceRecognition()872 mSystemInterface.getVoiceRecognitionWakeLock().release(); in startVoiceRecognition()1364 if (mSystemInterface.getVoiceRecognitionWakeLock().isHeld()) { in run()1365 mSystemInterface.getVoiceRecognitionWakeLock().release(); in run()1443 if (!mSystemInterface.getVoiceRecognitionWakeLock().isHeld()) { in startVoiceRecognitionByHeadset()1444 mSystemInterface.getVoiceRecognitionWakeLock().acquire(sStartVrTimeoutMs); in startVoiceRecognitionByHeadset()1464 if (mSystemInterface.getVoiceRecognitionWakeLock().isHeld()) { in stopVoiceRecognitionByHeadset()1465 mSystemInterface.getVoiceRecognitionWakeLock().release(); in stopVoiceRecognitionByHeadset()
131 public PowerManager.WakeLock getVoiceRecognitionWakeLock() { in getVoiceRecognitionWakeLock() method in HeadsetSystemInterface
194 when(mSystemInterface.getVoiceRecognitionWakeLock()).thenReturn(mVoiceRecognitionWakeLock); in setUp()