Searched refs:mComponent (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 48 private ComponentName mComponent; field in DevicePolicyManagerTest 78 mComponent = DeviceAdminInfoTest.getReceiverComponent(); in setUp() 98 mDevicePolicyManager.setPasswordQuality(mComponent, in setBlankPassword() 100 mDevicePolicyManager.setPasswordMinimumLength(mComponent, 0); in setBlankPassword() 111 assertTrue(activeAdmins.contains(mComponent)); in testGetActiveAdmins() 112 assertTrue(mDevicePolicyManager.isAdminActive(mComponent)); in testGetActiveAdmins() 120 mDevicePolicyManager.setMaximumFailedPasswordsForWipe(mComponent, 3); in testGetMaximumFailedPasswordsForWipe() 121 assertEquals(3, mDevicePolicyManager.getMaximumFailedPasswordsForWipe(mComponent)); in testGetMaximumFailedPasswordsForWipe() 123 mDevicePolicyManager.setMaximumFailedPasswordsForWipe(mComponent, 5); in testGetMaximumFailedPasswordsForWipe() 124 assertEquals(5, mDevicePolicyManager.getMaximumFailedPasswordsForWipe(mComponent)); in testGetMaximumFailedPasswordsForWipe() [all …]
|
D | DeviceAdminInfoTest.java | 31 private ComponentName mComponent; field in DeviceAdminInfoTest 39 mComponent = getReceiverComponent(); in setUp() 61 resolveInfo.activityInfo = mPackageManager.getReceiverInfo(mComponent, in testDeviceAdminInfo() 65 assertEquals(mComponent, info.getComponent()); in testDeviceAdminInfo() 66 assertEquals(mComponent.getPackageName(), info.getPackageName()); in testDeviceAdminInfo() 67 assertEquals(mComponent.getClassName(), info.getReceiverName()); in testDeviceAdminInfo()
|