Home
last modified time | relevance | path

Searched refs:resNames (Results 1 – 1 of 1) sorted by relevance

/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DPermissionUtils.java102 final List<String> resNames = new ArrayList<>(); in launchActivityAndRequestPermission() local
105 resNames.add("permission_deny_button"); in launchActivityAndRequestPermission()
106 resNames.add("permission_deny_and_dont_ask_again_button"); in launchActivityAndRequestPermission()
109 resNames.add("permission_allow_button"); in launchActivityAndRequestPermission()
114 resNames.add("permission_allow_foreground_only_button"); in launchActivityAndRequestPermission()
115 resNames.add("permission_allow_one_time_button"); in launchActivityAndRequestPermission()
123 pressPermissionPromptButton(device, expected, resNames.toArray(new String[0])); in launchActivityAndRequestPermission()
183 String[] resNames) { in pressPermissionPromptButton() argument
184 UiObject2 button = findPermissionPromptButton(device, expectedAction, resNames); in pressPermissionPromptButton()
190 String[] resNames) { in findPermissionPromptButton() argument
[all …]