Lines Matching refs:permission
263 return pm.checkPermission(android.Manifest.permission.TV_INPUT_HARDWARE,
279 if (!android.Manifest.permission.BIND_TV_INPUT.equals(si.permission)) {
280 Slog.w(TAG, "Skipping TV input " + si.name + ": it does not require the permission "
281 + android.Manifest.permission.BIND_TV_INPUT);
964 android.Manifest.permission.MODIFY_PARENTAL_CONTROLS)
967 "The caller does not have parental controls permission");
1345 if (mContext.checkCallingPermission(android.Manifest.permission.TV_INPUT_HARDWARE)
1362 if (mContext.checkCallingPermission(android.Manifest.permission.TV_INPUT_HARDWARE)
1382 if (mContext.checkCallingPermission(android.Manifest.permission.TV_INPUT_HARDWARE)
1403 android.Manifest.permission.CAPTURE_TV_INPUT)
1405 throw new SecurityException("Requires CAPTURE_TV_INPUT permission");
1425 android.Manifest.permission.CAPTURE_TV_INPUT)
1427 throw new SecurityException("Requires CAPTURE_TV_INPUT permission");
1491 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP)
1872 if (mContext.checkCallingPermission(android.Manifest.permission.TV_INPUT_HARDWARE)
1874 throw new SecurityException("The caller does not have hardware permission");