Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/common/
DUtilsTest.java75 @Mock private IPackageManager mockIPackageManager; field in UtilsTest
101 when(mockIPackageManager.getInstalledApplications( in testGetCurrentSystemApps()
105 Set<String> res = mUtils.getCurrentSystemApps(mockIPackageManager, TEST_USER_ID); in testGetCurrentSystemApps()
114 mUtils.setComponentEnabledSetting(mockIPackageManager, TEST_COMPONENT_NAME, in testSetComponentEnabledSetting()
117 verify(mockIPackageManager).setComponentEnabledSetting(eq(TEST_COMPONENT_NAME), in testSetComponentEnabledSetting()
121 verifyNoMoreInteractions(mockIPackageManager); in testSetComponentEnabledSetting()