Lines Matching refs:ctx
24 func testModuleConfig(ctx android.PathContext) ModuleConfig {
28 BuildPath: android.PathForOutput(ctx, "test/test.apk"),
29 DexPath: android.PathForOutput(ctx, "test/dex/test.jar"),
48 StripInputPath: android.PathForOutput(ctx, "unstripped/test.apk"),
49 StripOutputPath: android.PathForOutput(ctx, "stripped/test.apk"),
54 ctx := android.PathContextForTesting(android.TestConfig("out", nil), nil)
55 global, module := GlobalConfigForTests(ctx), testModuleConfig(ctx)
57 rule, err := GenerateDexpreoptRule(ctx, global, module)
63 {android.PathForOutput(ctx, "test/oat/arm/package.odex"), "/system/app/test/oat/arm/test.odex"},
64 {android.PathForOutput(ctx, "test/oat/arm/package.vdex"), "/system/app/test/oat/arm/test.vdex"},
74 ctx := android.PathContextForTesting(android.TestConfig("out", nil), nil)
75 global, module := GlobalConfigForTests(ctx), testModuleConfig(ctx)
87 ctx := android.PathContextForTesting(android.TestConfig("out", nil), nil)
88 global, module := GlobalConfigForTests(ctx), testModuleConfig(ctx)
93 rule, err := GenerateDexpreoptRule(ctx, global, module)
99 …{android.PathForOutput(ctx, "test/oat/arm/package.odex"), "/system_other/app/test/oat/arm/test.ode…
100 …{android.PathForOutput(ctx, "test/oat/arm/package.vdex"), "/system_other/app/test/oat/arm/test.vde…
109 ctx := android.PathContextForTesting(android.TestConfig("out", nil), nil)
110 global, module := GlobalConfigForTests(ctx), testModuleConfig(ctx)
114 rule, err := GenerateDexpreoptRule(ctx, global, module)
120 {android.PathForOutput(ctx, "test/profile.prof"), "/system/app/test/test.apk.prof"},
121 {android.PathForOutput(ctx, "test/oat/arm/package.art"), "/system/app/test/oat/arm/test.art"},
122 {android.PathForOutput(ctx, "test/oat/arm/package.odex"), "/system/app/test/oat/arm/test.odex"},
123 {android.PathForOutput(ctx, "test/oat/arm/package.vdex"), "/system/app/test/oat/arm/test.vdex"},
157 ctx := android.PathContextForTesting(android.TestConfig("out", nil), nil)
158 global, module := GlobalConfigForTests(ctx), testModuleConfig(ctx)