Searched refs:packageMetadata (Results 1 – 14 of 14) sorted by relevance
/packages/services/Car/cpp/watchdog/server/tests/ |
D | OveruseConfigurationTestUtils.cpp | 81 const std::vector<PackageMetadata> packageMetadata, in constructResourceOveruseConfig() argument 87 resourceOveruseConfig.packageMetadata = packageMetadata; in constructResourceOveruseConfig() 167 for (const auto& metadata : config.packageMetadata) { in ResourceOveruseConfigurationMatcher() 176 Field(&ResourceOveruseConfiguration::packageMetadata, in ResourceOveruseConfigurationMatcher()
|
D | IoOveruseConfigsTest.cpp | 287 buildVendorResourceConfig.packageMetadata in TEST_F() 288 .insert(buildVendorResourceConfig.packageMetadata.end(), in TEST_F() 289 buildSystemResourceConfig.packageMetadata.begin(), in TEST_F() 290 buildSystemResourceConfig.packageMetadata.end()); in TEST_F() 291 buildSystemResourceConfig.packageMetadata = buildVendorResourceConfig.packageMetadata; in TEST_F() 347 /*packageMetadata=*/buildSystemResourceConfig.packageMetadata, in TEST_F() 388 buildSystemResourceConfig.packageMetadata = latestVendorResourceConfig.packageMetadata; in TEST_F() 414 buildVendorResourceConfig.packageMetadata = latestSystemResourceConfig.packageMetadata; in TEST_F() 1066 toPackageToAppCategoryMappings(resourceOveruseConfig.packageMetadata))); in TEST_F() 1077 toPackageToAppCategoryMappings(resourceOveruseConfig.packageMetadata))); in TEST_F()
|
D | OveruseConfigurationTestUtils.h | 43 packageMetadata,
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | InternalResourceOveruseConfigurationSubject.java | 123 && METADATA_LIST_CORRESPONDENCE.compare(actual.packageMetadata, in isEquals() 124 expected.packageMetadata) in isEquals() 162 .append(config.packageMetadata.stream() in toStringBuilder()
|
D | WatchdogPerfHandlerUnitTest.java | 4762 config.packageMetadata = Arrays.asList( in sampleInternalResourceOveruseConfiguration()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | OveruseConfigurationXmlHelper.cpp | 195 std::vector<PackageMetadata> packageMetadata; in readPackageToAppCategoryTypes() local 219 packageMetadata.push_back(meta); in readPackageToAppCategoryTypes() 222 return packageMetadata; in readPackageToAppCategoryTypes() 488 Result<void> writePackageToAppCategoryTypes(const std::vector<PackageMetadata>& packageMetadata, in writePackageToAppCategoryTypes() argument 490 if (packageMetadata.empty()) { in writePackageToAppCategoryTypes() 498 for (const auto& meta : packageMetadata) { in writePackageToAppCategoryTypes() 711 configuration.packageMetadata = *result; in parseXmlFile() 754 writePackageToAppCategoryTypes(configuration.packageMetadata, rootElement); in writeXmlFile()
|
D | IoOveruseConfigs.cpp | 183 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() 622 resourceOveruseConfiguration.packageMetadata.push_back(meta); in get()
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/ |
D | ResourceOveruseConfiguration.aidl | 39 List<android.automotive.watchdog.internal.PackageMetadata> packageMetadata;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/android/automotive/watchdog/internal/ |
D | ResourceOveruseConfiguration.aidl | 39 List<android.automotive.watchdog.internal.PackageMetadata> packageMetadata;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/1/android/automotive/watchdog/internal/ |
D | ResourceOveruseConfiguration.aidl | 39 List<android.automotive.watchdog.internal.PackageMetadata> packageMetadata;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/3/android/automotive/watchdog/internal/ |
D | ResourceOveruseConfiguration.aidl | 39 List<android.automotive.watchdog.internal.PackageMetadata> packageMetadata;
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
D | ResourceOveruseConfiguration.aidl | 48 List<PackageMetadata> packageMetadata;
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | OveruseConfigurationCache.java | 250 for (int j = 0; j < config.packageMetadata.size(); ++j) { in set() 251 PackageMetadata meta = config.packageMetadata.get(j); in set()
|
D | WatchdogPerfHandler.java | 2591 internalConfig.packageMetadata = new ArrayList<>(); in toInternalResourceOveruseConfiguration() 2610 internalConfig.packageMetadata.add(metadata); in toInternalResourceOveruseConfiguration() 2712 for (int i = 0; i < internalConfig.packageMetadata.size(); ++i) { in toResourceOveruseConfiguration() 2714 switch (internalConfig.packageMetadata.get(i).appCategoryType) { in toResourceOveruseConfiguration() 2725 internalConfig.packageMetadata.get(i).packageName, categoryTypeStr); in toResourceOveruseConfiguration()
|