/build/soong/cmd/extract_apks/ |
D | main_test.go | 24 bp "android/soong/cmd/extract_apks/bundle_proto" packageName 126 screenDpi: map[bp.ScreenDensity_DensityAlias]bool{ 127 bp.ScreenDensity_DENSITY_UNSPECIFIED: true, 129 abis: map[bp.Abi_AbiAlias]int{ 130 bp.Abi_ARMEABI_V7A: 0, 131 bp.Abi_ARM64_V8A: 1, 148 screenDpi: map[bp.ScreenDensity_DensityAlias]bool{ 149 bp.ScreenDensity_LDPI: true, 151 abis: map[bp.Abi_AbiAlias]int{}, 165 screenDpi: map[bp.ScreenDensity_DensityAlias]bool{ [all …]
|
/build/soong/java/ |
D | dexpreopt_test.go | 29 bp string 34 bp: ` 44 bp: ` 54 bp: ` 63 bp: ` 72 bp: ` 88 bp: ` 97 bp: ` 106 bp: ` 115 bp: ` [all …]
|
D | lint_test.go | 128 bp string 133 bp: ` 150 bp: ` 172 RunTestWithBp(t, testCase.bp) 178 bp := ` 206 RunTestWithBp(t, bp) 227 bp := ` 241 thisBp := strings.Replace(bp, "XXX", testCase, 1) 267 bp := ` 281 thisBp := strings.Replace(bp, "XXX", testCase, 1)
|
D | app_test.go | 38 func testApp(t *testing.T, bp string) *android.TestContext { 40 result := prepareForJavaTest.RunTestWithBp(t, bp) 256 bp string 261 bp: `android_app { 271 bp: `android_app { 281 bp: `android_app { 291 bp: `android_app { 301 bp: `android_app { 311 bp: `android_app { 321 bp: `android_app { [all …]
|
D | testing.go | 152 bp := fmt.Sprintf(` 166 android.FixtureAddTextFile(path, bp), 266 var bp string 286 bp += fmt.Sprintf(` 297 bp += ` 321 bp += fmt.Sprintf(` 335 bp += ` 341 return bp
|
/build/soong/bp2build/ |
D | build_conversion_test.go | 26 bp string 30 bp: `custom { name: "foo" } 42 bp: `custom { 58 bp: `custom { 74 bp: `custom { 90 bp: `custom { 109 bp: `custom { 139 bp: `custom { 177 config := android.TestConfig(buildDir, nil, testCase.bp, nil) 208 bp string [all …]
|
D | cc_library_static_conversion_test.go | 78 bp string 108 bp: soongCcLibraryStaticPreamble + ` 247 bp: soongCcLibraryStaticPreamble + ` 276 bp: soongCcLibraryStaticPreamble + ` 299 bp: soongCcLibraryStaticPreamble + ` 339 bp: soongCcLibraryStaticPreamble, 364 bp: soongCcLibraryStaticPreamble + ` 393 bp: soongCcLibraryStaticPreamble + ` 417 bp: soongCcLibraryStaticPreamble + ` 453 bp: soongCcLibraryStaticPreamble + ` [all …]
|
D | cc_library_conversion_test.go | 51 bp string 81 bp: soongCcLibraryPreamble + ` 150 bp: soongCcLibraryPreamble + ` 244 bp: soongCcLibraryPreamble, 309 bp: soongCcLibraryPreamble, 349 bp: soongCcLibraryPreamble, 382 bp: soongCcLibraryPreamble, 415 bp: soongCcLibraryPreamble, 463 bp: soongCcLibraryPreamble, 503 bp: soongCcLibraryPreamble, [all …]
|
/build/soong/rust/ |
D | project_json_test.go | 30 func testProjectJson(t *testing.T, bp string) []byte { 34 ).RunTestWithBp(t, bp) 103 bp := ` 116 jsonContent := testProjectJson(t, bp) 121 bp := ` 129 jsonContent := testProjectJson(t, bp) 156 bp := ` 163 jsonContent := testProjectJson(t, bp) 179 bp := ` 206 jsonContent := testProjectJson(t, bp) [all …]
|
D | rust_test.go | 59 func testRust(t *testing.T, bp string) *android.TestContext { 65 RunTestWithBp(t, bp) 69 func testRustVndk(t *testing.T, bp string) *android.TestContext { 81 ).RunTestWithBp(t, bp) 87 func testRustCov(t *testing.T, bp string) *android.TestContext { 99 ).RunTestWithBp(t, bp) 106 func testRustError(t *testing.T, pattern string, bp string) { 113 RunTestWithBp(t, bp) 117 func testRustVndkError(t *testing.T, pattern string, bp string) { 131 RunTestWithBp(t, bp) [all …]
|
/build/soong/android/ |
D | singleton_module.go | 62 bp string member 116 if smb.bp != "" { 117 ctx.ModuleErrorf("Duplicate SingletonModule %q, previously used in %s", name, smb.bp) 119 smb.bp = ctx.BlueprintsFile() 135 if smsa.sm.singletonModuleBase().bp != "" { 141 if smsa.sm.singletonModuleBase().bp != "" {
|
D | mutator.go | 284 bp blueprint.TopDownMutatorContext member 412 bp blueprint.BottomUpMutatorContext member 422 bp: ctx, 459 bp: ctx, 583 return t.bp.MutatorName() 587 t.bp.Rename(name) 593 module := t.bp.CreateModule(ModuleFactoryAdaptor(factory), append(inherited, props...)...).(Module) 613 module := t.bp.CreateModule(ModuleFactoryAdaptor(factory), props...).(Module) 618 return b.bp.MutatorName() 622 b.bp.Rename(name) [all …]
|
D | path_properties_test.go | 75 bp string 80 bp: ` 107 bp: ` 126 bp := test.bp + ` 166 FixtureWithRootAndroidBp(bp),
|
D | singleton_module_test.go | 54 bp := ` 61 FixtureWithRootAndroidBp(bp), 70 bp := ` 83 })).RunTestWithBp(t, bp) 106 bp := ` 123 RunTestWithBp(t, bp)
|
D | soong_config_modules_test.go | 94 bp := ` 189 run := func(t *testing.T, bp string, fs MockFS) { 293 FixtureWithRootAndroidBp(bp), 306 run(t, configBp+bp, nil) 310 run(t, importBp+bp, map[string][]byte{ 316 func testConfigWithVendorVars(buildDir, bp string, fs map[string][]byte, vendorVars map[string]map[… 317 config := TestConfig(buildDir, nil, bp, fs)
|
D | defaults_test.go | 67 bp := ` 88 FixtureWithRootAndroidBp(bp), 97 bp := ` 120 FixtureWithRootAndroidBp(bp),
|
D | mutator_test.go | 60 bp := ` 76 FixtureWithRootAndroidBp(bp), 85 bp := ` 130 FixtureWithRootAndroidBp(bp), 176 bp := ` 226 FixtureWithRootAndroidBp(bp),
|
D | hooks.go | 52 bp: ctx, 60 bp blueprint.LoadHookContext member 65 return l.bp.ModuleFactories() 98 module := l.bp.CreateModule(ModuleFactoryAdaptor(factory), append(inherited, props...)...).(Module) 118 l.bp.RegisterScopedModuleType(name, factory)
|
/build/soong/genrule/ |
D | genrule_test.go | 440 bp := "genrule {\n" 441 bp += "name: \"gen\",\n" 442 bp += test.prop 443 bp += "}\n" 460 RunTestWithBp(t, testGenruleBp()+bp) 486 bp := ` 527 result := prepareForGenRuleTest.RunTestWithBp(t, testGenruleBp()+bp) 598 bp := "gensrcs {\n" 599 bp += `name: "gen",` + "\n" 600 bp += `output_extension: "h",` + "\n" [all …]
|
/build/soong/tests/ |
D | bootstrap_test.sh | 52 cat > a/Android.bp <<'EOF' 63 cat > a/Android.bp <<'EOF' 83 cat > a/Android.bp <<'EOF' 105 cat > a/Android.bp <<'EOF' 116 rm a/Android.bp 135 cat > a/Android.bp <<'EOF' 185 cat > a/Android.bp <<'EOF' 210 cat > cherry/Android.bp <<'EOF' 292 cat > a/Android.bp <<'EOF' 365 cat > a/Android.bp <<'EOF' [all …]
|
/build/soong/sdk/ |
D | testing.go | 96 func testSdkWithFs(t *testing.T, bp string, fs android.MockFS) *android.TestResult { 101 ).RunTestWithBp(t, bp) 104 func testSdkError(t *testing.T, pattern, bp string) { 108 RunTestWithBp(t, bp) 145 for _, bp := range buildParams { 146 switch bp.Rule.String() { 148 output := bp.Output 151 src := android.NormalizePathForTesting(bp.Input) 164 dest := bp.Args["destdir"] 171 info.outputZip = android.NormalizePathForTesting(bp.Output) [all …]
|
/build/soong/cc/ |
D | genrule_test.go | 38 bp := ` 55 config := android.TestArchConfig(t.TempDir(), nil, bp, fs) 81 bp := ` 106 ctx := testCc(t, bp)
|
D | library_test.go | 193 bp := ` 202 config := TestConfig(t.TempDir(), android.Android, nil, bp, nil) 216 bp := ` 225 config := TestConfig(t.TempDir(), android.Android, nil, bp, nil) 231 bp := ` 241 …"libfoo" .*: versions: "X" could not be parsed as an integer and is not a recognized codename`, bp)
|
/build/soong/apex/ |
D | vndk_test.go | 71 bp := ` 105 ctx := testApex(t, bp) 118 ctx := testApex(t, bp, 130 ctx := testApex(t, bp,
|
/build/soong/bpf/ |
D | bpf_test.go | 41 bp := ` 55 prepareForBpfTest.RunTestWithBp(t, bp)
|