Home
last modified time | relevance | path

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

/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java49 private boolean mDeviceAdmin; field in DevicePolicyManagerTest
79 mDeviceAdmin = mPackageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN); in setUp()
80 mManagedProfiles = mDeviceAdmin in setUp()
85 if (!mDeviceAdmin) { in testGetActiveAdmins()
96 if (!mDeviceAdmin) { in testKeyguardDisabledFeatures()
113 if (!mDeviceAdmin) { in testRequestRemoteBugreport_failIfNotDeviceOwner()
126 if (!mDeviceAdmin) { in testSetSecurityLoggingEnabled_failIfNotDeviceOwner()
139 if (!mDeviceAdmin) { in testIsSecurityLoggingEnabled_failIfNotDeviceOwner()
152 if (!mDeviceAdmin) { in testRetrieveSecurityLogs_failIfNotDeviceOwner()
165 if (!mDeviceAdmin) { in testRetrievePreRebootSecurityLogs_failIfNotDeviceOwner()
[all …]
DDeviceAdminActivationTest.java64 private boolean mDeviceAdmin; field in DeviceAdminActivationTest
76 mDeviceAdmin = getInstrumentation().getContext().getPackageManager().hasSystemFeature( in setUp()
90 if (!mDeviceAdmin) { in testActivateGoodReceiverDisplaysActivationUi()
105 if (!mDeviceAdmin) { in testActivateBrokenReceiverFails()
116 if (!mDeviceAdmin) { in testActivateBrokenReceiver2Fails()
127 if (!mDeviceAdmin) { in testActivateBrokenReceiver3Fails()
138 if (!mDeviceAdmin) { in testActivateBrokenReceiver4Fails()
149 if (!mDeviceAdmin) { in testActivateBrokenReceiver5Fails()
DDeviceAdminInfoTest.java33 private boolean mDeviceAdmin; field in DeviceAdminInfoTest
41 mDeviceAdmin = in setUp()
54 if (!mDeviceAdmin) { in testDeviceAdminInfo()
86 if (!mDeviceAdmin) { in testDeviceAdminInfo2()
DDeviceAdminReceiverTest.java56 private boolean mDeviceAdmin; field in DeviceAdminReceiverTest
62 mDeviceAdmin = in setUp()
68 if (!mDeviceAdmin) { in testOnReceive()