Lines Matching refs:p
111 p := ctx.ModuleForTests("foo.conf", "android_arm64_armv8-a_core").Module().(*PrebuiltEtc)
112 if p.outputFilePath.Base() != "foo.installed.conf" {
113 t.Errorf("expected foo.installed.conf, got %q", p.outputFilePath.Base())
130 p := ctx.ModuleForTests("my_foo", "android_arm64_armv8-a_core").Module().(*PrebuiltEtc)
131 if p.outputFilePath.Base() != "my_foo" {
132 t.Errorf("expected my_foo, got %q", p.outputFilePath.Base())
135 p = ctx.ModuleForTests("my_bar", "android_arm64_armv8-a_core").Module().(*PrebuiltEtc)
136 if p.outputFilePath.Base() != "bar.conf" {
137 t.Errorf("expected bar.conf, got %q", p.outputFilePath.Base())
194 p := ctx.ModuleForTests("foo.conf", buildOS+"_common").Module().(*PrebuiltEtc)
195 if !p.Host() {
209 p := ctx.ModuleForTests("foo.conf", "android_arm64_armv8-a_core").Module().(*PrebuiltEtc)
211 if p.installDirPath.RelPathString() != expected {
212 t.Errorf("expected %q, got %q", expected, p.installDirPath.RelPathString())
226 p := ctx.ModuleForTests("foo.conf", buildOS+"_common").Module().(*PrebuiltEtc)
228 if p.installDirPath.RelPathString() != expected {
229 t.Errorf("expected %q, got %q", expected, p.installDirPath.RelPathString())