Searched refs:mockPkgSetting (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/ |
D | PackageManagerComponentLabelIconOverrideTest.kt | 183 private lateinit var mockPkgSetting: PackageSetting in <lambda>() variable in com.android.server.pm.test.override.PackageManagerComponentLabelIconOverrideTest 215 mockPkgSetting.getUserStateOrDefault(userId) in <lambda>() 314 mockPkgSetting = makePkgSetting(params.pkgName, mockPkg) in <lambda>() 318 mockPkgSetting.overrideNonLocalizedLabelAndIcon(params.componentName!!, TEST_LABEL, in <lambda>() 340 mockedPkgSettings.put(params.pkgName, mockPkgSetting) in <lambda>()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageParserTest.java | 788 var pkgSetting = mockPkgSetting(pkg); in testNoComponentMetadataIsCoercedToNullForInfoObject() 898 private static PackageSetting mockPkgSetting(AndroidPackage pkg) { in mockPkgSetting() method in PackageParserTest 936 mockPkgSetting(a)); in assertPackagesEqual() 939 mockPkgSetting(b)); in assertPackagesEqual() 1095 PackageUserStateInternal.DEFAULT, 0, mockPkgSetting(aPkg)); in assertServicesEqual() 1097 PackageUserStateInternal.DEFAULT, 0, mockPkgSetting(bPkg)); in assertServicesEqual() 1122 PackageUserStateInternal.DEFAULT, 0, mockPkgSetting(aPkg)); in assertActivitiesEqual() 1124 PackageUserStateInternal.DEFAULT, 0, mockPkgSetting(bPkg)); in assertActivitiesEqual()
|