Searched refs:mDeviceAdmin (Results 1 – 4 of 4) sorted by relevance
49 private boolean mDeviceAdmin; field in DevicePolicyManagerTest79 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 …]
64 private boolean mDeviceAdmin; field in DeviceAdminActivationTest76 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()
33 private boolean mDeviceAdmin; field in DeviceAdminInfoTest41 mDeviceAdmin = in setUp()54 if (!mDeviceAdmin) { in testDeviceAdminInfo()86 if (!mDeviceAdmin) { in testDeviceAdminInfo2()
56 private boolean mDeviceAdmin; field in DeviceAdminReceiverTest62 mDeviceAdmin = in setUp()68 if (!mDeviceAdmin) { in testOnReceive()