Searched refs:detectionService (Results 1 – 2 of 2) sorted by relevance
517 @NonNull ComponentName detectionService, @NonNull RecognitionConfig config) { in startRecognition() argument519 Objects.requireNonNull(detectionService); in startRecognition()526 params, detectionService, config); in startRecognition()
684 ComponentName detectionService, SoundTrigger.RecognitionConfig config) { in startRecognitionForService() argument689 Objects.requireNonNull(detectionService); in startRecognitionForService()693 enforceDetectionPermissions(detectionService); in startRecognitionForService()697 detectionService, Binder.getCallingUserHandle(), config); in startRecognitionForService()1005 private void enforceDetectionPermissions(ComponentName detectionService) { in enforceDetectionPermissions() argument1006 String packageName = detectionService.getPackageName(); in enforceDetectionPermissions()1010 throw new SecurityException(detectionService.getPackageName() + " does not have" in enforceDetectionPermissions()