Searched refs:ipackageManager (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 152 doReturn(pi).when(mServices.ipackageManager).getPackageInfo(packageName, 0, userId); in markPackageAsInstalled() 222 doReturn(ai).when(mServices.ipackageManager).getApplicationInfo( in setUpPackageManagerForFakeAdmin() 249 doReturn(aci).when(mServices.ipackageManager).getReceiverInfo( in setUpPackageManagerForFakeAdmin() 254 doReturn(new String[] {admin.getPackageName()}).when(mServices.ipackageManager) in setUpPackageManagerForFakeAdmin()
|
D | DevicePolicyManagerTest.java | 476 verify(getServices().ipackageManager, times(1)).setApplicationEnabledSetting( in testSetActiveAdmin() 518 verify(getServices().ipackageManager, times(1)).setApplicationEnabledSetting( in testSetActiveAdmin() 1728 doReturn(pi).when(getServices().ipackageManager).getPackageInfo( in setupPackageInPackageManager() 1732 doReturn(pi.applicationInfo).when(getServices().ipackageManager).getApplicationInfo( in setupPackageInPackageManager() 1736 doReturn(true).when(getServices().ipackageManager).isPackageAvailable(packageName, userId); in setupPackageInPackageManager() 1742 doReturn(packageName).when(getServices().ipackageManager).getNameForUid(eq(uid)); in setupPackageInPackageManager() 1744 .when(getServices().ipackageManager).getPackagesForUid(eq(uid)); in setupPackageInPackageManager() 2609 verify(getServices().ipackageManager).setApplicationHiddenSettingAsUser(packageName, in testSetApplicationHiddenWithDO() 2613 verify(getServices().ipackageManager).setApplicationHiddenSettingAsUser(packageName, in testSetApplicationHiddenWithDO() 2616 verify(getServices().ipackageManager, never()).getPackageInfo(packageName, in testSetApplicationHiddenWithDO() [all …]
|
D | MockSystemServices.java | 108 public final IPackageManager ipackageManager; field in MockSystemServices 156 ipackageManager = mock(IPackageManager.class); in MockSystemServices()
|
D | DevicePolicyManagerServiceTestable.java | 206 return services.ipackageManager; in getIPackageManager()
|
D | DevicePolicyManagerServiceMigrationTest.java | 463 verify(getServices().ipackageManager, never()).setPackagesSuspendedAsUser( in testCompMigration_keepSuspendedAppsWhenDpcIsRPlus()
|