Home
last modified time | relevance | path

Searched refs:moduleName (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/proto_logging/stats/stats_log_api_gen/
Dmain.cpp78 string moduleName = DEFAULT_MODULE_NAME; in run() local
139 moduleName = argv[index]; in run()
203 if (DEFAULT_MODULE_NAME == moduleName && in run()
206 fprintf(stderr, "%s cannot support older API levels\n", moduleName.c_str()); in run()
253 int errorCount = collate_atoms(Atom::descriptor(), moduleName, &atoms); in run()
271 if (moduleName != DEFAULT_MODULE_NAME && cppNamespace == DEFAULT_CPP_NAMESPACE) { in run()
277 if (moduleName != DEFAULT_MODULE_NAME && cppHeaderImport == DEFAULT_CPP_HEADER_IMPORT) { in run()
294 if (moduleName != DEFAULT_MODULE_NAME && cppNamespace == DEFAULT_CPP_NAMESPACE) { in run()
314 if (moduleName.empty()) { in run()
DCollation.cpp463 static int collate_from_field_descriptor(const FieldDescriptor* atomField, const string& moduleName, in collate_from_field_descriptor() argument
467 if (moduleName != DEFAULT_MODULE_NAME) { in collate_from_field_descriptor()
473 if (atomModuleName == moduleName) { in collate_from_field_descriptor()
555 int collate_atoms(const Descriptor* descriptor, const string& moduleName, Atoms* atoms) { in collate_atoms() argument
561 errorCount += collate_from_field_descriptor(atomField, moduleName, atoms); in collate_atoms()
568 errorCount += collate_from_field_descriptor(atomField, moduleName, atoms); in collate_atoms()
DCollation.h216 int collate_atoms(const Descriptor* descriptor, const string& moduleName, Atoms* atoms);
Dtest_collation.cpp328 const string moduleName = "module1"; in TEST() local
329 int errorCount = collate_atoms(ModuleAtoms::descriptor(), moduleName, &atoms); in TEST()
/frameworks/av/services/audioflinger/
DAudioHwDevice.h46 const char *moduleName, in AudioHwDevice() argument
50 , mModuleName(strdup(moduleName)) in AudioHwDevice()
68 const char *moduleName() const { return mModuleName; } in moduleName() function
/frameworks/libs/net/common/device/com/android/net/module/util/
DDeviceConfigUtils.java191 @NonNull String name, @NonNull String moduleName, boolean defaultEnabled) { in isFeatureEnabled() argument
193 final long packageVersion = getModuleVersion(context, moduleName); in isFeatureEnabled()
220 private static long getModuleVersion(@NonNull Context context, @NonNull String moduleName) in getModuleVersion() argument
228 moduleName, PackageManager.MODULE_APEX_NAME); in getModuleVersion()
242 if (modulePackageName == null) throw new PackageManager.NameNotFoundException(moduleName); in getModuleVersion()
/frameworks/opt/chips/
Dbuild.gradle17 Dependency findDependency(String projectName, String moduleName) {
22 return dependencies.create(moduleName)
/frameworks/opt/photoviewer/
Dbuild.gradle18 Dependency findDependency(String projectName, String moduleName) {
23 return dependencies.create(moduleName)
/frameworks/av/media/utils/
DMethodStatistics.cpp24 getStatisticsClassesForModule(std::string_view moduleName) { in getStatisticsClassesForModule() argument
38 auto it = m.find(moduleName); in getStatisticsClassesForModule()
/frameworks/base/services/core/java/com/android/server/pm/
DApexManager.java141 apexInfo.moduleName, in ActiveApexInfo()
143 + apexInfo.moduleName), in ActiveApexInfo()
659 mPackageNameToApexModuleName.put(packageInfo.packageName, ai.moduleName); in scanApexPackagesInternalLocked()
667 if (mApexModuleNameToActivePackageName.containsKey(ai.moduleName)) { in scanApexPackagesInternalLocked()
670 + ai.moduleName); in scanApexPackagesInternalLocked()
673 ai.moduleName, packageInfo.packageName); in scanApexPackagesInternalLocked()
678 && !ai.moduleName.startsWith(VNDK_APEX_MODULE_NAME_PREFIX)) { in scanApexPackagesInternalLocked()
975 String moduleName = mPackageNameToApexModuleName.get(apexPackageName); in getApkInApexInstallError() local
976 if (moduleName == null) { in getApkInApexInstallError()
979 return mErrorWithApkInApex.get(moduleName); in getApkInApexInstallError()
[all …]
DModuleInfoProvider.java155 final CharSequence moduleName = packageResources.getText( in loadModuleMetadata() local
164 mi.setName(moduleName); in loadModuleMetadata()
DPackageManagerNative.java222 public StagedApexInfo getStagedApexInfo(String moduleName) { in getStagedApexInfo() argument
223 return mPm.mInstallerService.getStagingManager().getStagedApexInfo(moduleName); in getStagedApexInfo()
DStagingManager.java846 result.put(info.moduleName, info); in getStagedApexInfos()
873 StagedApexInfo getStagedApexInfo(String moduleName) { in getStagedApexInfo() argument
881 ApexInfo ai = getStagedApexInfos(session).get(moduleName); in getStagedApexInfo()
884 info.moduleName = ai.moduleName; in getStagedApexInfo()
DPackageManagerShellCommand.java402 String moduleName = getNextArg(); in runGetModuleInfo() local
404 if (moduleName != null) { in runGetModuleInfo()
405 ModuleInfo m = mInterface.getModuleInfo(moduleName, flags); in runGetModuleInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DApexManagerTest.java495 final String moduleName = "com.android.module_name"; in testGetActivePackageNameForApexModuleName() local
498 apexInfo[0].moduleName = moduleName; in testGetActivePackageNameForApexModuleName()
503 assertThat(mApexManager.getActivePackageNameForApexModuleName(moduleName)) in testGetActivePackageNameForApexModuleName()
566 apexInfo.moduleName = TEST_APEX_PKG; in createApexInfoForTestPkg()
577 private ApexInfo createApexInfo(String moduleName, int versionCode, boolean isActive, in createApexInfo() argument
580 apexInfo.moduleName = moduleName; in createApexInfo()
/frameworks/native/libs/binder/aidl/android/content/pm/
DStagedApexInfo.aidl26 @utf8InCpp String moduleName;
DIPackageManagerNative.aidl147 @nullable StagedApexInfo getStagedApexInfo(in @utf8InCpp String moduleName); in getStagedApexInfo() argument
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DStagingManagerTest.java506 for (String moduleName : moduleNames) { in getFakeApexInfo()
508 info.moduleName = moduleName; in getFakeApexInfo()
524 assertThat(result).containsExactly(fakeApexInfos[0].moduleName, fakeApexInfos[0]); in getStagedApexInfos_nonParentSession()
548 assertThat(result).containsExactly(fakeApexInfos[0].moduleName, fakeApexInfos[0], in getStagedApexInfos_parentSession()
549 fakeApexInfos[1].moduleName, fakeApexInfos[1]); in getStagedApexInfos_parentSession()
600 info.moduleName = String.valueOf(session); in mockApexManagerGetStagedApexInfoWithSessionId()
623 assertThat(result.moduleName).isEqualTo(fakeApexInfos[0].moduleName); in getStagedApexInfo()
/frameworks/av/media/utils/include/mediautils/
DMethodStatistics.h130 getStatisticsClassesForModule(std::string_view moduleName);
/frameworks/base/core/java/com/android/server/
DSystemConfig.java1864 final String moduleName = in readApexPrivAppPermissions() local
1867 if (mApexPrivAppPermissions.containsKey(moduleName)) { in readApexPrivAppPermissions()
1868 privAppPermissions = mApexPrivAppPermissions.get(moduleName); in readApexPrivAppPermissions()
1871 mApexPrivAppPermissions.put(moduleName, privAppPermissions); in readApexPrivAppPermissions()
1874 if (mApexPrivAppDenyPermissions.containsKey(moduleName)) { in readApexPrivAppPermissions()
1875 privAppDenyPermissions = mApexPrivAppDenyPermissions.get(moduleName); in readApexPrivAppPermissions()
1878 mApexPrivAppDenyPermissions.put(moduleName, privAppDenyPermissions); in readApexPrivAppPermissions()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java156 for (String moduleName : mModuleNames) { in getInstalledModules()
157 mInstalledModules.add(createModuleInfo(moduleName)); in getInstalledModules()
/frameworks/av/services/mediametrics/
DAudioAnalytics.cpp1505 std::string moduleName = getModuleName(module); in onAudioServerTimeout() local
1515 __func__, item->getKey().c_str(), moduleName.c_str(), in onAudioServerTimeout()
1527 __func__, item->getKey().c_str(), moduleName.c_str(), in onAudioServerTimeout()
1531 moduleName.c_str(), methodName.c_str(), (long long)methodCode, in onAudioServerTimeout()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/parsing/
DPackageParserLegacyCoreTest.java578 apexInfo.moduleName = apexModuleName; in testApexPackageInfoGeneration()
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
DStagedInstallInternalTest.java481 assertThat(result.moduleName).isEqualTo(TEST_APEX_PACKAGE_NAME); in testGetStagedApexInfo()
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemService.java953 info.moduleName = apex.packageName; in getCompressedApexInfoList()

12