Searched refs:getAdoptedShellPermissions (Results 1 – 5 of 5) sorted by relevance
76 public static Set<String> getAdoptedShellPermissions() { in getAdoptedShellPermissions() method in TestUtils79 .getAdoptedShellPermissions(); in getAdoptedShellPermissions()
48 if (SdkLevel.isAtLeastS() && !autom.getAdoptedShellPermissions().isNullOrEmpty()) { in runAsShell()
74 val currentPermissions = uiAutomation.getAdoptedShellPermissions() in replacePermissionsWith()
73 Set<String> permissionsBefore = mUiAutomation.getAdoptedShellPermissions(); in apply()
112 when(mUiAutomation.getAdoptedShellPermissions()).thenReturn(Set.of("Thou shalt not kill!")); in testEnsureHasPermission_permissionsAdoptedBefore()