Searched refs:hasPermission (Results 1 – 4 of 4) sorted by relevance
14 final boolean hasPermission = res == PackageManager.PERMISSION_GRANTED; in build()15 if (hasPermission) { in build()
196 public static boolean hasPermission(Context context, String permission) { in hasPermission() method in WebRtcAudioUtils
156 if (!WebRtcAudioUtils.hasPermission( in initRecording()
2236 boolean hasPermission = (ContextCompat.checkSelfPermission(this, in hasRecordAudioPermission()2239 log("Has RECORD_AUDIO permission? " + hasPermission); in hasRecordAudioPermission()2240 return hasPermission; in hasRecordAudioPermission()2287 boolean hasPermission = (ContextCompat.checkSelfPermission(this, in hasWriteFilePermission()2290 log("Has WRITE_EXTERNAL_STORAGE? " + hasPermission); in hasWriteFilePermission()2291 return hasPermission; in hasWriteFilePermission()