Searched refs:mockPkg (Results 1 – 5 of 5) sorted by relevance
57 val pkg = mockPkg(useV2 = false, autoVerify = true) in verifyV1()69 val pkg = mockPkg(useV2 = false, autoVerify = false) in verifyV1NoAutoVerify()79 val pkg = mockPkg(useV2 = false, autoVerify = false) in verifyV1ForceAutoVerify()150 val pkg = mockPkg(useV2 = true, autoVerify = true) in verifyV2()163 val pkg = mockPkg(useV2 = true, autoVerify = false) in verifyV2NoAutoVerify()174 val pkg = mockPkg(useV2 = true, autoVerify = false) in verifyV2ForceAutoVerifyIgnored()191 private fun mockPkg(useV2: Boolean, autoVerify: Boolean): AndroidPackage { in mockPkg() method
191 fun mockPkg() = mockThrowOnUnmocked<AndroidPackageInternal> { in <lambda>() method218 whenever(pkg) { mockPkg() } in <lambda>()
78 val visiblePkg = mockPkg(VISIBLE_PKG) in <lambda>()80 val invisiblePkg = mockPkg(INVISIBLE_PKG) in <lambda>()321 fun mockPkg(packageName: String) = mockThrowOnUnmocked<AndroidPackageInternal> { in <lambda>() method350 whenever(pkg) { mockPkg(packageName) } in <lambda>()
513 whenever(getPackage(anyString())) { mockPkg(arguments[0] as String) } in <lambda>()528 private fun mockPkg(pkgName: String): AndroidPackage { in <lambda>() method
182 private lateinit var mockPkg: AndroidPackageInternal in <lambda>() variable in com.android.server.pm.test.override.PackageManagerComponentLabelIconOverrideTest313 mockPkg = makePkg(params.pkgName) in <lambda>()314 mockPkgSetting = makePkgSetting(params.pkgName, mockPkg) in <lambda>()