/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/ |
H A D | PolicyConfig.cpp | 63 if (auto module = getModuleFromName(moduleName); module) { in getSinkDeviceForMixPort() 73 return getDeviceAddressOfDevicePort(moduleName, device); in getSinkDeviceForMixPort() 76 moduleName.c_str()); in getSinkDeviceForMixPort() 84 return getDeviceAddressOfDevicePort(moduleName, device); in getSourceDeviceForMixPort() 87 moduleName.c_str()); in getSourceDeviceForMixPort() 121 const std::string& moduleName) const { in getAttachedDevices() 123 auto module = getModuleFromName(moduleName); in getAttachedDevices() 132 auto module = getModuleFromName(moduleName); in getDeviceAddressOfDevicePort() 160 moduleName.c_str()); in getDeviceAddressOfDevicePort() 171 auto module = getModuleFromName(moduleName); in getSinkDevicesForMixPort() [all …]
|
H A D | PolicyConfig.h | 64 std::string getAttachedSinkDeviceForMixPort(const std::string& moduleName, in getAttachedSinkDeviceForMixPort() argument 66 return findAttachedDevice(getAttachedDevices(moduleName), in getAttachedSinkDeviceForMixPort() 67 getSinkDevicesForMixPort(moduleName, mixPortName)); in getAttachedSinkDeviceForMixPort() 69 std::string getAttachedSourceDeviceForMixPort(const std::string& moduleName, in getAttachedSourceDeviceForMixPort() argument 71 return findAttachedDevice(getAttachedDevices(moduleName), in getAttachedSourceDeviceForMixPort() 72 getSourceDevicesForMixPort(moduleName, mixPortName)); in getAttachedSourceDeviceForMixPort() 74 std::optional<DeviceAddress> getSinkDeviceForMixPort(const std::string& moduleName, 86 const std::string& moduleName, const std::string& devicePortName) const; 87 std::string getDevicePortTagNameFromType(const std::string& moduleName, 89 std::set<std::string> getSinkDevicesForMixPort(const std::string& moduleName, [all …]
|
H A D | Generators.cpp | 98 const std::string moduleName = std::get<PARAM_DEVICE_NAME>(device); in generateOutputDeviceConfigParameters() local 99 auto module = getCachedPolicyConfig().getModuleFromName(moduleName); in generateOutputDeviceConfigParameters() 104 .getAttachedSinkDeviceForMixPort(moduleName, mixPort.getName()) in generateOutputDeviceConfigParameters() 231 const std::string moduleName = std::get<PARAM_DEVICE_NAME>(device); in generateInputDeviceConfigParameters() local 232 auto module = getCachedPolicyConfig().getModuleFromName(moduleName); in generateInputDeviceConfigParameters() 237 .getAttachedSourceDeviceForMixPort(moduleName, mixPort.getName()) in generateInputDeviceConfigParameters()
|
/aosp12/packages/modules/Gki/build/ |
H A D | gki.go | 103 bootImage := g.moduleName() + "_bootimage" 119 otaPayloadGen := g.moduleName() + "_ota_payload_gen" 159 moduleName string, 164 apexManifest := moduleName + "_apex_manifest" 182 Name: proptools.StringPtr(moduleName), 184 Out: []string{moduleName + ".apex"}, 200 Name: proptools.StringPtr(moduleName), 220 func (g *gkiApex) moduleName() string { func 228 return g.moduleName() + "_all" 237 return g.moduleName() + "_ota_payload" [all …]
|
/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/ |
H A D | PolicyConfig.h | 79 std::string getAttachedSinkDeviceForMixPort(const std::string& moduleName, in getAttachedSinkDeviceForMixPort() argument 81 return findAttachedDevice(getAttachedDevices(moduleName), in getAttachedSinkDeviceForMixPort() 82 getSinkDevicesForMixPort(moduleName, mixPortName)); in getAttachedSinkDeviceForMixPort() 84 std::string getAttachedSourceDeviceForMixPort(const std::string& moduleName, in getAttachedSourceDeviceForMixPort() argument 86 return findAttachedDevice(getAttachedDevices(moduleName), in getAttachedSourceDeviceForMixPort() 87 getSourceDevicesForMixPort(moduleName, mixPortName)); in getAttachedSourceDeviceForMixPort() 131 if (auto iter = mAttachedDevicesPerModule.find(moduleName); in getAttachedDevices() 137 std::set<std::string> getSinkDevicesForMixPort(const std::string& moduleName, in getSinkDevicesForMixPort() argument 140 auto module = getModuleFromName(moduleName); in getSinkDevicesForMixPort() 152 std::set<std::string> getSourceDevicesForMixPort(const std::string& moduleName, in getSourceDevicesForMixPort() argument [all …]
|
/aosp12/build/soong/java/ |
H A D | droidstubs_test.go | 52 moduleName string 57 moduleName: "bar-stubs", 62 moduleName: "bar-stubs-other", 68 m := ctx.ModuleForTests(c.moduleName, "android_common") 73 …t.Errorf("For %q, expected metalava argument %q, but was not found %q", c.moduleName, expected, ac… 79 t.Errorf("Expected %q high_mem to be %v, was %v", c.moduleName, c.high_mem, actual) 164 func checkSystemModulesUseByDroidstubs(t *testing.T, ctx *android.TestContext, moduleName string, s… 165 metalavaRule := ctx.ModuleForTests(moduleName, "android_common").Rule("metalava") 171 t.Errorf("inputs of %q must be []string{%q}, but was %#v.", moduleName, systemJar, systemJars)
|
H A D | rro_test.go | 202 moduleName string 334 for _, moduleName := range modules { 335 module := result.ModuleForTests(moduleName, "android_common") 338 if !reflect.DeepEqual(actualRRODirs, testCase.rroDirs[moduleName]) { 340 moduleName, testCase.rroDirs[moduleName], actualRRODirs)
|
/aosp12/hardware/interfaces/audio/core/all-versions/default/ |
H A D | DevicesFactory.cpp | 51 Return<void> DevicesFactory::openDevice(const hidl_string& moduleName, openDevice_cb _hidl_cb) { 52 if (moduleName == AUDIO_HARDWARE_MODULE_ID_PRIMARY) { 53 return openDevice<PrimaryDevice>(moduleName.c_str(), _hidl_cb); 55 return openDevice(moduleName.c_str(), _hidl_cb); 62 Return<void> DevicesFactory::openDevice(const char* moduleName, openDevice_cb _hidl_cb) { in openDevice() argument 63 return openDevice<implementation::Device>(moduleName, _hidl_cb); in openDevice() 67 Return<void> DevicesFactory::openDevice(const char* moduleName, Callback _hidl_cb) { in openDevice() argument 71 int halStatus = loadAudioInterface(moduleName, &halDevice); in openDevice()
|
/aosp12/build/soong/android/ |
H A D | licenses_test.go | 524 for moduleName, expectedLicenses := range effectiveLicenses { 525 licenses, ok := actualLicenses[moduleName] 590 licenses, ok := actualLicenses[moduleName] 629 for moduleName, expectedPackage := range effectivePackage { 630 packageName, ok := actualPackage[moduleName] 664 for moduleName, expectedNotices := range effectiveNotices { 665 notices, ok := actualNotices[moduleName] 699 for moduleName, expectedKinds := range effectiveKinds { 700 kinds, ok := actualKinds[moduleName] 734 for moduleName, expectedConditions := range effectiveConditions { [all …]
|
H A D | bazel.go | 264 for _, moduleName := range bp2buildDoNotWriteBuildFileList { 265 bp2buildDoNotWriteBuildFile[moduleName] = true 268 for _, moduleName := range bp2buildModuleDoNotConvertList { 269 bp2buildModuleDoNotConvert[moduleName] = true 272 for _, moduleName := range bp2buildCcLibraryStaticOnlyList { 273 bp2buildCcLibraryStaticOnly[moduleName] = true 276 for _, moduleName := range mixedBuildsDisabledList { 277 mixedBuildsDisabled[moduleName] = true
|
/aosp12/frameworks/proto_logging/stats/stats_log_api_gen/ |
H A D | main.cpp | 72 string moduleName = DEFAULT_MODULE_NAME; in run() local 125 moduleName = argv[index]; in run() 187 if (DEFAULT_MODULE_NAME == moduleName && in run() 190 fprintf(stderr, "%s cannot support older API levels\n", moduleName.c_str()); in run() 223 int errorCount = collate_atoms(Atom::descriptor(), moduleName, &atoms); in run() 241 if (moduleName != DEFAULT_MODULE_NAME && cppNamespace == DEFAULT_CPP_NAMESPACE) { in run() 247 if (moduleName != DEFAULT_MODULE_NAME && cppHeaderImport == DEFAULT_CPP_HEADER_IMPORT) { in run() 264 if (moduleName != DEFAULT_MODULE_NAME && cppNamespace == DEFAULT_CPP_NAMESPACE) { in run() 284 if (moduleName.empty()) { in run()
|
/aosp12/hardware/interfaces/audio/core/all-versions/vts/functional/6.0/ |
H A D | Generators.cpp | 39 const std::string moduleName = std::get<PARAM_DEVICE_NAME>(device); in generateOutputDeviceConfigParameters() local 40 auto module = getCachedPolicyConfig().getModuleFromName(moduleName); in generateOutputDeviceConfigParameters() 43 .getAttachedSinkDeviceForMixPort(moduleName, ioProfile->getName()) in generateOutputDeviceConfigParameters() 102 const std::string moduleName = std::get<PARAM_DEVICE_NAME>(device); in generateInputDeviceConfigParameters() local 103 auto module = getCachedPolicyConfig().getModuleFromName(moduleName); in generateInputDeviceConfigParameters() 106 .getAttachedSourceDeviceForMixPort(moduleName, ioProfile->getName()) in generateInputDeviceConfigParameters()
|
/aosp12/system/tools/aidl/build/ |
H A D | aidl_interface.go | 100 func isAidlModule(moduleName string, config android.Config) bool { 102 if android.InList(moduleName, i.internalModuleNames) { 465 *unstableModules = append(*unstableModules, moduleName) 608 func hasVersionSuffix(moduleName string) bool { 609 hasVersionSuffix, _ := regexp.MatchString("-V\\d+$", moduleName) 613 func parseModuleWithVersion(moduleName string) (string, string) { 614 if hasVersionSuffix(moduleName) { 615 versionIdx := strings.LastIndex(moduleName, "-V") 619 return moduleName[:versionIdx], moduleName[versionIdx+len("-V"):] 621 return moduleName, "" [all …]
|
/aosp12/build/soong/bp2build/ |
H A D | conversion.go | 151 func canonicalizeModuleType(moduleName string) string { 152 if strings.HasSuffix(moduleName, "_test") { 153 return moduleName + "_" 156 return moduleName
|
/aosp12/frameworks/av/services/audioflinger/ |
H A D | AudioHwDevice.h | 44 const char *moduleName, in AudioHwDevice() argument 48 , mModuleName(strdup(moduleName)) in AudioHwDevice() 66 const char *moduleName() const { return mModuleName; } in moduleName() function
|
/aosp12/frameworks/libs/net/common/device/com/android/net/module/util/ |
H A D | DeviceConfigUtils.java | 185 @NonNull String name, @NonNull String moduleName, boolean defaultEnabled) { in isFeatureEnabled() argument 187 final long packageVersion = getModuleVersion(context, moduleName); in isFeatureEnabled() 214 private static long getModuleVersion(@NonNull Context context, @NonNull String moduleName) in getModuleVersion() argument 222 moduleName, PackageManager.MODULE_APEX_NAME); in getModuleVersion() 236 if (modulePackageName == null) throw new PackageManager.NameNotFoundException(moduleName); in getModuleVersion()
|
/aosp12/system/ca-certificates/soong/ |
H A D | ca_certificates.go | 44 moduleName := *c.Module_name_prefix + filename 45 etcProps.Name = proptools.StringPtr(moduleName) 52 requiredModuleNames[i] = moduleName
|
/aosp12/build/blueprint/ |
H A D | mangle.go | 21 func moduleNamespacePrefix(moduleName string) string { 22 return "m." + moduleName + "."
|
H A D | name_interface.go | 58 ModuleFromName(moduleName string, namespace Namespace) (group ModuleGroup, found bool) 121 func (s *SimpleNameInterface) ModuleFromName(moduleName string, namespace Namespace) (group ModuleG… 122 group, found = s.modules[moduleName]
|
/aosp12/build/blueprint/bpmodify/ |
H A D | bpmodify.go | 146 func processModule(module *parser.Module, moduleName string, 170 m, errs := processParameter(prop.Value, targetedProperty.String(), moduleName, file) 222 func processParameter(value parser.Expression, paramName, moduleName string, 226 paramName, moduleName)} 231 paramName, moduleName)} 238 paramName, moduleName, value.Type().String())} 260 paramName, moduleName, value.Type().String())}
|
/aosp12/frameworks/opt/chips/ |
H A D | build.gradle | 17 Dependency findDependency(String projectName, String moduleName) { 22 return dependencies.create(moduleName)
|
/aosp12/frameworks/opt/photoviewer/ |
H A D | build.gradle | 18 Dependency findDependency(String projectName, String moduleName) { 23 return dependencies.create(moduleName)
|
/aosp12/hardware/interfaces/audio/core/all-versions/default/include/core/default/ |
H A D | DevicesFactory.h | 50 Return<void> openDevice(const char* moduleName, Callback _hidl_cb); 51 Return<void> openDevice(const char* moduleName, openDevice_cb _hidl_cb);
|
/aosp12/build/soong/cmd/extract_apks/ |
H A D | main_test.go | 436 moduleName string member 448 moduleName: "mybase", 462 moduleName: "base", 475 sel := SelectionResult{moduleName: testCase.moduleName}
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ApexManager.java | 132 apexInfo.moduleName, in ActiveApexInfo() 134 + apexInfo.moduleName), in ActiveApexInfo() 567 mPackageNameToApexModuleName.put(packageInfo.packageName, ai.moduleName); in scanApexPackagesInternalLocked() 579 && !ai.moduleName.startsWith(VNDK_APEX_MODULE_NAME_PREFIX)) { in scanApexPackagesInternalLocked() 863 String moduleName = mPackageNameToApexModuleName.get(apexPackageName); in getApkInApexInstallError() local 864 if (moduleName == null) { in getApkInApexInstallError() 867 return mErrorWithApkInApex.get(moduleName); in getApkInApexInstallError() 876 String moduleName = mPackageNameToApexModuleName.get(apexPackageName); in getApksInApex() local 877 if (moduleName == null) { in getApksInApex() 880 return mApksInApex.getOrDefault(moduleName, Collections.emptyList()); in getApksInApex()
|