Searched refs:mockIPackageManager (Results 1 – 1 of 1) sorted by relevance
75 @Mock private IPackageManager mockIPackageManager; field in UtilsTest101 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()