Searched refs:ADMIN_PACKAGE_NAME (Results 1 – 2 of 2) sorted by relevance
48 private static final String ADMIN_PACKAGE_NAME = "com.admin.test"; field in SetDevicePolicyTaskTest49 private static final String ADMIN_RECEIVER_NAME = ADMIN_PACKAGE_NAME + ".AdminReceiver";50 private static final ComponentName ADMIN_COMPONENT_NAME = new ComponentName(ADMIN_PACKAGE_NAME,78 when(mPackageManager.getApplicationEnabledSetting(ADMIN_PACKAGE_NAME)) in setUp()92 when(mPackageManager.getApplicationEnabledSetting(ADMIN_PACKAGE_NAME)) in testEnableDevicePolicyApp_DefaultToDefault()99 verify(mPackageManager, never()).setApplicationEnabledSetting(eq(ADMIN_PACKAGE_NAME), in testEnableDevicePolicyApp_DefaultToDefault()110 when(mPackageManager.getApplicationEnabledSetting(ADMIN_PACKAGE_NAME)) in testEnableDevicePolicyApp_DisabledToDefault()117 verify(mPackageManager).setApplicationEnabledSetting(ADMIN_PACKAGE_NAME, in testEnableDevicePolicyApp_DisabledToDefault()129 when(mPackageManager.getApplicationEnabledSetting(ADMIN_PACKAGE_NAME)) in testEnableDevicePolicyApp_EnabledToEnabled()136 verify(mPackageManager, never()).setApplicationEnabledSetting(eq(ADMIN_PACKAGE_NAME), in testEnableDevicePolicyApp_EnabledToEnabled()[all …]
47 private static final String ADMIN_PACKAGE_NAME = "com.admin.test"; field in InstallExistingPackageTaskTest48 private static final String ADMIN_RECEIVER_NAME = ADMIN_PACKAGE_NAME + ".AdminReceiver";49 private static final ComponentName ADMIN_COMPONENT_NAME = new ComponentName(ADMIN_PACKAGE_NAME,