/build/soong/jar/ |
D | jar_test.go | 23 func TestGetJavaPackage(t *testing.T) { argument 66 t.Run(tt.name, func(t *testing.T) { 80 func Test_javaIdentRune(t *testing.T) { argument 140 check := func(t *testing.T, ch rune, i int, want bool) { 147 t.Run("first", func(t *testing.T) { 148 t.Run("valid", func(t *testing.T) { 150 t.Run(string(ch), func(t *testing.T) { 156 t.Run("invalid", func(t *testing.T) { 158 t.Run(string(ch), func(t *testing.T) { 165 t.Run("part", func(t *testing.T) { [all …]
|
/build/soong/android/ |
D | test_asserts.go | 28 func AssertSame(t *testing.T, message string, expected interface{}, actual interface{}) { argument 37 func AssertBoolEquals(t *testing.T, message string, expected bool, actual bool) { argument 46 func AssertIntEquals(t *testing.T, message string, expected int, actual int) { argument 55 func AssertStringEquals(t *testing.T, message string, expected string, actual string) { argument 64 func AssertPathRelativeToTopEquals(t *testing.T, message string, expected string, actual Path) { argument 71 func AssertPathsRelativeToTopEquals(t *testing.T, message string, expected []string, actual Paths) { argument 78 func AssertStringPathRelativeToTopEquals(t *testing.T, message string, config Config, expected stri… argument 85 func AssertStringPathsRelativeToTopEquals(t *testing.T, message string, config Config, expected []s… argument 93 func AssertErrorMessageEquals(t *testing.T, message string, expected string, actual error) { argument 105 func AssertTrimmedStringEquals(t *testing.T, message string, expected string, actual string) { argument [all …]
|
D | config_test.go | 61 func TestValidateConfigAnnotations(t *testing.T) { argument 77 func TestProductConfigAnnotations(t *testing.T) { argument 84 func TestMissingVendorConfig(t *testing.T) { argument 91 func verifyProductVariableMarshaling(t *testing.T, v productVariables) { argument 105 func TestDefaultProductVariableMarshaling(t *testing.T) { argument 111 func TestBootJarsMarshaling(t *testing.T) { argument 122 func assertStringEquals(t *testing.T, expected, actual string) { argument 128 func TestConfiguredJarList(t *testing.T) { argument 131 t.Run("create", func(t *testing.T) { 135 t.Run("create invalid - missing apex", func(t *testing.T) { [all …]
|
D | util_test.go | 63 func TestFirstUniqueStrings(t *testing.T) { argument 64 f := func(t *testing.T, imp func([]string) []string, in, want []string) { 76 t.Run("list", func(t *testing.T) { 79 t.Run("map", func(t *testing.T) { 123 func TestLastUniqueStrings(t *testing.T) { argument 135 func TestJoinWithPrefix(t *testing.T) { argument 161 t.Run(testCase.name, func(t *testing.T) { 174 func TestIndexList(t *testing.T) { argument 200 t.Run(testCase.key, func(t *testing.T) { 213 func TestInList(t *testing.T) { argument [all …]
|
D | depset_test.go | 67 func TestDepSet(t *testing.T) { argument 77 depSet func(t *testing.T, order DepSetOrder) *DepSet 82 depSet: func(t *testing.T, order DepSetOrder) *DepSet { 91 depSet: func(t *testing.T, order DepSetOrder) *DepSet { 100 depSet: func(t *testing.T, order DepSetOrder) *DepSet { 110 depSet: func(t *testing.T, order DepSetOrder) *DepSet { 111 assertEquals := func(t *testing.T, w, g Paths) { 136 depSet: func(t *testing.T, order DepSetOrder) *DepSet { 146 depSet: func(t *testing.T, order DepSetOrder) *DepSet { 162 depSet: func(t *testing.T, order DepSetOrder) *DepSet { [all …]
|
D | fixture_test.go | 23 func TestFixtureDedup(t *testing.T) { argument 52 func TestFixtureValidateMockFS(t *testing.T) { argument 53 t.Run("absolute path", func(t *testing.T) { 58 t.Run("not canonical", func(t *testing.T) { 63 t.Run("FixtureAddFile", func(t *testing.T) { 68 t.Run("FixtureMergeMockFs", func(t *testing.T) { 75 t.Run("FixtureModifyMockFS", func(t *testing.T) {
|
D | namespace_test.go | 26 func TestDependingOnModuleInSameNamespace(t *testing.T) { argument 50 func TestDependingOnModuleInRootNamespace(t *testing.T) { argument 72 func TestImplicitlyImportRootNamespace(t *testing.T) { argument 94 func TestDependingOnBlueprintModuleInRootNamespace(t *testing.T) { argument 116 func TestDependingOnModuleInImportedNamespace(t *testing.T) { argument 145 func TestDependingOnModuleInNonImportedNamespace(t *testing.T) { argument 185 func TestDependingOnModuleByFullyQualifiedReference(t *testing.T) { argument 212 func TestSameNameInTwoNamespaces(t *testing.T) { argument 262 func TestSearchOrder(t *testing.T) { argument 350 func TestTwoNamespacesCanImportEachOther(t *testing.T) { argument [all …]
|
/build/blueprint/pathtools/ |
D | fs_test.go | 49 func TestMockFs_followSymlinks(t *testing.T) { argument 97 t.Run(test.from, func(t *testing.T) { 106 func runTestFs(t *testing.T, f func(t *testing.T, fs FileSystem, dir string)) { argument 111 run := func(t *testing.T, fs FileSystem) { 112 t.Run("relpath", func(t *testing.T) { 115 t.Run("abspath", func(t *testing.T) { 120 t.Run("mock", func(t *testing.T) { 124 t.Run("os", func(t *testing.T) { 130 t.Run("os relative srcDir", func(t *testing.T) { 134 t.Run("os absolute srcDir", func(t *testing.T) { [all …]
|
/build/soong/finder/fs/ |
D | test.go | 26 func Write(t *testing.T, path string, content string, filesystem *MockFs) { argument 35 func Create(t *testing.T, path string, filesystem *MockFs) { argument 39 func Delete(t *testing.T, path string, filesystem *MockFs) { argument 46 func RemoveAll(t *testing.T, path string, filesystem *MockFs) { argument 53 func Move(t *testing.T, oldPath string, newPath string, filesystem *MockFs) { argument 60 func Link(t *testing.T, newPath string, oldPath string, filesystem *MockFs) { argument 72 func Read(t *testing.T, path string, filesystem *MockFs) string { argument 84 func ModTime(t *testing.T, path string, filesystem *MockFs) time.Time { argument 92 func SetReadable(t *testing.T, path string, readable bool, filesystem *MockFs) { argument 99 func SetReadErr(t *testing.T, path string, readErr error, filesystem *MockFs) { argument [all …]
|
/build/soong/ui/build/paths/ |
D | logs_test.go | 28 func TestSendLog(t *testing.T) { argument 32 t.Run("Short name", func(t *testing.T) { 43 testLongName := func(t *testing.T, lookup socketAddrFunc) { 55 t.Run("Long name", func(t *testing.T) { 60 t.Run("Long name proc fallback", func(t *testing.T) { 65 t.Run("Long name tmp fallback", func(t *testing.T) { 70 func testSendLog(t *testing.T, socket string, lookup socketAddrFunc) { argument 110 func TestSendLogError(t *testing.T) { argument 118 t.Run("Missing file", func(t *testing.T) { 123 t.Run("Regular file", func(t *testing.T) { [all …]
|
/build/ |
D | envsetup.sh | 53 local T=$(gettop) 56 …for i in `cat $T/build/envsetup.sh | sed -n "/^[[:blank:]]*function /s/function \([a-z_]*\).*/\1/p… 65 local T=$(gettop) 67 …cached_vars=(`cat $T/build/envsetup.sh | tr '()' ' ' | awk '{for(i=1;i<=NF;i++) if($i~/get_build_… 68 …cached_abs_vars=(`cat $T/build/envsetup.sh | tr '()' ' ' | awk '{for(i=1;i<=NF;i++) if($i~/get_ab… 70 build_dicts_script=`\builtin cd $T; build/soong/soong_ui.bash --dumpvars-mode \ 117 local T=$(gettop) 118 if [ ! "$T" ]; then 122 (\cd $T; build/soong/soong_ui.bash --dumpvar-mode --abs $1) 134 local T=$(gettop) [all …]
|
/build/make/ |
D | envsetup.sh | 53 local T=$(gettop) 56 …for i in `cat $T/build/envsetup.sh | sed -n "/^[[:blank:]]*function /s/function \([a-z_]*\).*/\1/p… 65 local T=$(gettop) 67 …cached_vars=(`cat $T/build/envsetup.sh | tr '()' ' ' | awk '{for(i=1;i<=NF;i++) if($i~/get_build_… 68 …cached_abs_vars=(`cat $T/build/envsetup.sh | tr '()' ' ' | awk '{for(i=1;i<=NF;i++) if($i~/get_ab… 70 build_dicts_script=`\builtin cd $T; build/soong/soong_ui.bash --dumpvars-mode \ 117 local T=$(gettop) 118 if [ ! "$T" ]; then 122 (\cd $T; build/soong/soong_ui.bash --dumpvar-mode --abs $1) 134 local T=$(gettop) [all …]
|
/build/soong/etc/ |
D | prebuilt_etc_test.go | 39 func TestPrebuiltEtcVariants(t *testing.T) { argument 73 func TestPrebuiltEtcOutputPath(t *testing.T) { argument 86 func TestPrebuiltEtcGlob(t *testing.T) { argument 106 func TestPrebuiltEtcAndroidMk(t *testing.T) { argument 140 func TestPrebuiltEtcRelativeInstallPathInstallDirPath(t *testing.T) { argument 154 func TestPrebuiltEtcCannotSetRelativeInstallPathAndSubDir(t *testing.T) { argument 167 func TestPrebuiltEtcHost(t *testing.T) { argument 182 func TestPrebuiltRootInstallDirPath(t *testing.T) { argument 196 func TestPrebuiltRootInstallDirPathValidate(t *testing.T) { argument 206 func TestPrebuiltUserShareInstallDirPath(t *testing.T) { argument [all …]
|
/build/soong/bpfix/bpfix/ |
D | bpfix_test.go | 55 func implFilterListTest(t *testing.T, local_include_dirs []string, export_include_dirs []string, ex… argument 118 func TestSimplifyKnownVariablesDuplicatingEachOther(t *testing.T) { argument 128 func runPass(t *testing.T, in, out string, innerTest func(*Fixer) error) { argument 171 func TestMergeMatchingProperties(t *testing.T) { argument 252 t.Run(test.name, func(t *testing.T) { 260 func TestReorderCommonProperties(t *testing.T) { argument 338 t.Run(test.name, func(t *testing.T) { 346 func TestRemoveMatchingModuleListProperties(t *testing.T) { argument 491 t.Run(test.name, func(t *testing.T) { 501 func TestReplaceJavaStaticLibs(t *testing.T) { argument [all …]
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | jquery-resizable.min.js | 12 …<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area… argument 19 …T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContex… argument
|
/build/soong/bazel/ |
D | aquery_test.go | 23 func TestAqueryMultiArchGenrule(t *testing.T) { argument 251 func TestInvalidOutputId(t *testing.T) { argument 287 func TestInvalidInputDepsetId(t *testing.T) { argument 323 func TestInvalidInputArtifactId(t *testing.T) { argument 359 func TestInvalidPathFragmentId(t *testing.T) { argument 396 func TestDepfiles(t *testing.T) { argument 451 func TestMultipleDepfiles(t *testing.T) { argument 499 func TestTransitiveInputDepsets(t *testing.T) { argument 721 func assertError(t *testing.T, err error, expected string) { argument 731 func assertBuildStatements(t *testing.T, expected []BuildStatement, actual []BuildStatement) { argument
|
/build/soong/sdk/ |
D | bp_test.go | 57 func checkPropertySetFixture(t *testing.T, val interface{}, hasTags bool) { argument 75 func TestAddPropertySimple(t *testing.T) { argument 93 func TestAddPropertySubset(t *testing.T) { argument 99 t.Run("add new subset", func(t *testing.T) { 101 t.Run(name, func(t *testing.T) { 110 t.Run("merge existing subset", func(t *testing.T) { 112 t.Run(name, func(t *testing.T) { 125 t.Run("add conflicting subset", func(t *testing.T) { 131 t.Run("add non-pointer struct", func(t *testing.T) { 139 func TestAddPropertySetNew(t *testing.T) { argument [all …]
|
/build/soong/ui/build/ |
D | environment_test.go | 23 func TestEnvUnset(t *testing.T) { argument 32 func TestEnvUnsetMissing(t *testing.T) { argument 41 func TestEnvSet(t *testing.T) { argument 50 func TestEnvSetDup(t *testing.T) { argument 59 func TestEnvAllow(t *testing.T) { argument 75 func TestEnvAppendFromKati(t *testing.T) { argument
|
/build/soong/dexpreopt/ |
D | class_loader_context_test.go | 29 func TestCLC(t *testing.T) { argument 106 t.Run("validate", func(t *testing.T) { 113 t.Run("string", func(t *testing.T) { 136 t.Run("paths", func(t *testing.T) { 150 t.Run("uses libs", func(t *testing.T) { 158 func TestCLCJson(t *testing.T) { argument 182 func testCLCUnknownPath(t *testing.T, whichPath string) { argument 193 t.Run("uses libs", func(t *testing.T) { 207 func TestCLCUnknownBuildPath(t *testing.T) { argument 212 func TestCLCUnknownInstallPath(t *testing.T) { argument [all …]
|
/build/soong/java/ |
D | platform_bootclasspath_test.go | 31 func TestPlatformBootclasspath(t *testing.T) { argument 79 t.Run("missing", func(t *testing.T) { 85 t.Run("source", func(t *testing.T) { 97 t.Run("prebuilt", func(t *testing.T) { 109 t.Run("source+prebuilt - source preferred", func(t *testing.T) { 122 t.Run("source+prebuilt - prebuilt preferred", func(t *testing.T) { 135 t.Run("dex import", func(t *testing.T) { 153 func TestPlatformBootclasspathVariant(t *testing.T) { argument 167 func TestPlatformBootclasspath_ClasspathFragmentPaths(t *testing.T) { argument 182 func TestPlatformBootclasspathModule_AndroidMkEntries(t *testing.T) { argument [all …]
|
D | sdk_library_test.go | 27 func TestJavaSdkLibrary(t *testing.T) { argument 164 func TestJavaSdkLibrary_StubOrImplOnlyLibs(t *testing.T) { argument 221 func TestJavaSdkLibrary_DoNotAccessImplWhenItIsNotBuilt(t *testing.T) { argument 250 func TestJavaSdkLibrary_UseSourcesFromAnotherSdkLibrary(t *testing.T) { argument 272 func TestJavaSdkLibrary_AccessOutputFiles_MissingScope(t *testing.T) { argument 296 func TestJavaSdkLibrary_Deps(t *testing.T) { argument 322 func TestJavaSdkLibraryImport_AccessOutputFiles(t *testing.T) { argument 345 func TestJavaSdkLibraryImport_AccessOutputFiles_Invalid(t *testing.T) { argument 355 t.Run("stubs.source", func(t *testing.T) { 370 t.Run("api.txt", func(t *testing.T) { [all …]
|
/build/soong/ |
D | soong_ui.bash | 37 T= 40 T=`PWD= /bin/pwd -P` 43 if [ -f "$T/$TOPFILE" ]; then 44 echo $T
|
/build/soong/finder/ |
D | finder_test.go | 35 func newFinder(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams) *Finder { argument 39 func newFinderWithNumThreads(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThrea… argument 47 func newFinderAndErr(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThreads int) … argument 60 func finderWithSameParams(t *testing.T, original *Finder) *Finder { argument 68 func finderAndErrorWithSameParams(t *testing.T, original *Finder) (*Finder, error) { argument 80 func runSimpleTest(t *testing.T, existentPaths []string, expectedMatches []string) { argument 111 func runTestWithSuffixes(t *testing.T, existentPaths []string, expectedMatches []string) { argument 150 func testAgainstSeveralThreadcounts(t *testing.T, tester func(t *testing.T, numThreads int)) { argument 158 t.Run(testName, func(t *testing.T) { 166 func TestSingleFile(t *testing.T) { argument [all …]
|
/build/blueprint/ |
D | module_ctx_test.go | 80 func TestAliasVariation(t *testing.T) { argument 133 t.Run("simple", func(t *testing.T) { 151 t.Run("chained", func(t *testing.T) { 171 t.Run("chained2", func(t *testing.T) { 191 t.Run("removed dangling alias", func(t *testing.T) { 207 func TestCreateAliasVariations(t *testing.T) { argument 260 t.Run("simple", func(t *testing.T) { 278 t.Run("chained", func(t *testing.T) { 298 t.Run("removed dangling alias", func(t *testing.T) { 314 func expectedErrors(t *testing.T, errs []error, expectedMessages ...string) { argument [all …]
|
/build/bazel/scripts/ |
D | queryview-bottom-up.sh | 67 T=${1:-//bionic/libc:libc--android_arm_armv7-a-neon_shared} 75 label_array=$(bazel query --config=queryview "deps($T)" --output=label $COMMON_BAZEL_OPTS 2>/dev/nu… 78 minrank_array=$(bazel query --config=queryview "deps($T)" --output=minrank $COMMON_BAZEL_OPTS 2>/de… 81 label_kind_array=$(bazel query --config=queryview "deps($T)" --output=label_kind $COMMON_BAZEL_OPTS…
|