Home
last modified time | relevance | path

Searched refs:packageMetadata (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DIoOveruseConfigsTest.cpp297 buildVendorResourceConfig.packageMetadata in TEST_F()
298 .insert(buildVendorResourceConfig.packageMetadata.end(), in TEST_F()
299 buildSystemResourceConfig.packageMetadata.begin(), in TEST_F()
300 buildSystemResourceConfig.packageMetadata.end()); in TEST_F()
301 buildSystemResourceConfig.packageMetadata = buildVendorResourceConfig.packageMetadata; in TEST_F()
357 /*packageMetadata=*/buildSystemResourceConfig.packageMetadata, in TEST_F()
398 buildSystemResourceConfig.packageMetadata = latestVendorResourceConfig.packageMetadata; in TEST_F()
424 buildVendorResourceConfig.packageMetadata = latestSystemResourceConfig.packageMetadata; in TEST_F()
942 toPackageToAppCategoryMappings(resourceOveruseConfig.packageMetadata))); in TEST_F()
953 toPackageToAppCategoryMappings(resourceOveruseConfig.packageMetadata))); in TEST_F()
DOveruseConfigurationTestUtils.cpp80 const std::vector<PackageMetadata> packageMetadata, in constructResourceOveruseConfig() argument
86 resourceOveruseConfig.packageMetadata = packageMetadata; in constructResourceOveruseConfig()
166 for (const auto& metadata : config.packageMetadata) { in ResourceOveruseConfigurationMatcher()
175 Field(&ResourceOveruseConfiguration::packageMetadata, in ResourceOveruseConfigurationMatcher()
DOveruseConfigurationTestUtils.h42 const std::vector<android::automotive::watchdog::internal::PackageMetadata> packageMetadata,
/packages/services/Car/cpp/watchdog/server/src/
DOveruseConfigurationXmlHelper.cpp196 std::vector<PackageMetadata> packageMetadata; in readPackageToAppCategoryTypes() local
220 packageMetadata.push_back(meta); in readPackageToAppCategoryTypes()
223 return packageMetadata; in readPackageToAppCategoryTypes()
489 Result<void> writePackageToAppCategoryTypes(const std::vector<PackageMetadata>& packageMetadata, in writePackageToAppCategoryTypes() argument
491 if (packageMetadata.empty()) { in writePackageToAppCategoryTypes()
499 for (const auto& meta : packageMetadata) { in writePackageToAppCategoryTypes()
712 configuration.packageMetadata = *result; in parseXmlFile()
755 writePackageToAppCategoryTypes(configuration.packageMetadata, rootElement); in writeXmlFile()
DIoOveruseConfigs.cpp193 for (const auto& meta : resourceOveruseConfig.packageMetadata) { in isValidResourceOveruseConfig()
496 for (const auto& meta : resourceOveruseConfiguration.packageMetadata) { in update()
502 } else if (!resourceOveruseConfiguration.packageMetadata.empty()) { in update()
620 resourceOveruseConfiguration.packageMetadata.push_back(meta); in get()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DInternalResourceOveruseConfigurationSubject.java123 && METADATA_LIST_CORRESPONDENCE.compare(actual.packageMetadata, in isEquals()
124 expected.packageMetadata) in isEquals()
162 .append(config.packageMetadata.stream() in toStringBuilder()
DCarWatchdogServiceUnitTest.java1521 config.packageMetadata = Collections.singletonList(metadata); in sampleInternalResourceOveruseConfiguration()
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/
DResourceOveruseConfiguration.aidl48 List<PackageMetadata> packageMetadata;
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogPerfHandler.java946 internalConfig.packageMetadata = new ArrayList<>(); in toInternalResourceOveruseConfiguration()
963 internalConfig.packageMetadata.add(metadata); in toInternalResourceOveruseConfiguration()
1064 for (PackageMetadata metadata : internalConfig.packageMetadata) { in toResourceOveruseConfiguration()