Searched refs:invokeStaticMethodWithShellPermissions (Results 1 – 11 of 11) sorted by relevance
18 …ic com.android.compatibility.common.util.ShellIdentityUtils.invokeStaticMethodWithShellPermissions;35 UserHandle currentUser = invokeStaticMethodWithShellPermissions(() -> getCurrentUser()); in testListForegroundAffiliatedUsers_onlyForegroundUser()
40 Log.e(TAG, ShellIdentityUtils.invokeStaticMethodWithShellPermissions(Build::getSerial)); in logSerial()
80 String serial = ShellIdentityUtils.invokeStaticMethodWithShellPermissions(Build::getSerial); in testGetSerialReturnsExpectedFormat()
76 ShellIdentityUtils.invokeStaticMethodWithShellPermissions(Build::getSerial), in testProfileOwnerCanGetDeviceIdentifiersWithPermission()
19 …ic com.android.compatibility.common.util.ShellIdentityUtils.invokeStaticMethodWithShellPermissions;201 WifiInfo connectionInfo = invokeStaticMethodWithShellPermissions( in setWifiMeteredStatus()
76 ShellIdentityUtils.invokeStaticMethodWithShellPermissions(Build::getSerial), in testAccessToDeviceIdentifiersWithAppOp()
134 int registrationLimit = ShellIdentityUtils.invokeStaticMethodWithShellPermissions(() -> in registerFillerListeners()
80 ShellIdentityUtils.invokeStaticMethodWithShellPermissions(Build::getSerial)); in collectDeviceInfo()
332 public static <T> T invokeStaticMethodWithShellPermissions( in invokeStaticMethodWithShellPermissions() method in ShellIdentityUtils
405 ShellIdentityUtils.invokeStaticMethodWithShellPermissions( in testLocationStorageAndRetrieval()
1664 String serial = ShellIdentityUtils.invokeStaticMethodWithShellPermissions( in assertSerialNumber()