Searched refs:checkReadPhoneStateOnAnyActiveSub (Results 1 – 2 of 2) sorted by relevance
179 assertFalse(TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in testCheckReadPhoneStateOnAnyActiveSub_noPermissions()187 assertTrue(TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in testCheckReadPhoneStateOnAnyActiveSub_hasPrivilegedPermission()197 assertTrue(TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in testCheckReadPhoneStateOnAnyActiveSub_hasPermissionAndAppOp()205 assertFalse(TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in testCheckReadPhoneStateOnAnyActiveSub_hasPermissionWithoutAppOp()216 assertTrue(TelephonyPermissions.checkReadPhoneStateOnAnyActiveSub( in testCheckReadPhoneStateOnAnyActiveSub_hasCarrierPrivileges()
191 public static boolean checkReadPhoneStateOnAnyActiveSub(Context context, int pid, int uid, in checkReadPhoneStateOnAnyActiveSub() method in TelephonyPermissions