Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DListForegroundAffiliatedUsersTest.java18 …ic com.android.compatibility.common.util.ShellIdentityUtils.invokeStaticMethodWithShellPermissions;
35 UserHandle currentUser = invokeStaticMethodWithShellPermissions(() -> getCurrentUser()); in testListForegroundAffiliatedUsers_onlyForegroundUser()
/cts/hostsidetests/usb/SerialTestApp/src/com/android/cts/usb/serialtest/
DUsbSerialTest.java40 Log.e(TAG, ShellIdentityUtils.invokeStaticMethodWithShellPermissions(Build::getSerial)); in logSerial()
/cts/hostsidetests/appsecurity/test-apps/AccessSerialModern/src/android/os/cts/
DAccessSerialModernTest.java80 String serial = ShellIdentityUtils.invokeStaticMethodWithShellPermissions(Build::getSerial); in testGetSerialReturnsExpectedFormat()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDeviceIdentifiersTest.java76 ShellIdentityUtils.invokeStaticMethodWithShellPermissions(Build::getSerial), in testProfileOwnerCanGetDeviceIdentifiersWithPermission()
DMeteredDataRestrictionTest.java19 …ic com.android.compatibility.common.util.ShellIdentityUtils.invokeStaticMethodWithShellPermissions;
201 WifiInfo connectionInfo = invokeStaticMethodWithShellPermissions( in setWifiMeteredStatus()
/cts/hostsidetests/appsecurity/test-apps/DeviceIdentifiers/src/android/appsecurity/cts/deviceids/
DDeviceIdentifierAppOpTest.java76 ShellIdentityUtils.invokeStaticMethodWithShellPermissions(Build::getSerial), in testAccessToDeviceIdentifiersWithAppOp()
/cts/hostsidetests/telephony/devicetest/src/android/telephony/device/cts/
DTelephonyTest.java134 int registrationLimit = ShellIdentityUtils.invokeStaticMethodWithShellPermissions(() -> in registerFillerListeners()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DGenericDeviceInfo.java80 ShellIdentityUtils.invokeStaticMethodWithShellPermissions(Build::getSerial)); in collectDeviceInfo()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellIdentityUtils.java332 public static <T> T invokeStaticMethodWithShellPermissions( in invokeStaticMethodWithShellPermissions() method in ShellIdentityUtils
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DCallLogTest.java405 ShellIdentityUtils.invokeStaticMethodWithShellPermissions( in testLocationStorageAndRetrieval()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java1664 String serial = ShellIdentityUtils.invokeStaticMethodWithShellPermissions( in assertSerialNumber()