Home
last modified time | relevance | path

Searched refs:safeToKillPackages (Results 1 – 14 of 14) sorted by relevance

/packages/services/Car/car-lib/src/android/car/watchdog/
DResourceOveruseConfiguration.java176 @NonNull List<String> safeToKillPackages, in ResourceOveruseConfiguration() argument
192 this.mSafeToKillPackages = safeToKillPackages; in ResourceOveruseConfiguration()
312 List<String> safeToKillPackages = new java.util.ArrayList<>(); in ResourceOveruseConfiguration() local
313 in.readStringList(safeToKillPackages); in ResourceOveruseConfiguration()
332 this.mSafeToKillPackages = safeToKillPackages; in ResourceOveruseConfiguration()
409 @NonNull List<String> safeToKillPackages, in Builder() argument
424 mSafeToKillPackages = safeToKillPackages; in Builder()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DInternalResourceOveruseConfigurationSubject.java119 && ImmutableSet.copyOf(actual.safeToKillPackages).equals( in isEquals()
120 ImmutableSet.copyOf(expected.safeToKillPackages)) in isEquals()
156 .append(config.safeToKillPackages.stream().map(Object::toString) in toStringBuilder()
DWatchdogPerfHandlerUnitTest.java4756 config.safeToKillPackages = Arrays.asList(prefix + "_package.non_critical.A", in sampleInternalResourceOveruseConfiguration()
/packages/services/Car/cpp/watchdog/server/tests/
DOveruseConfigurationTestUtils.cpp85 resourceOveruseConfig.safeToKillPackages = safeToKill; in constructResourceOveruseConfig()
172 Field(&ResourceOveruseConfiguration::safeToKillPackages, in ResourceOveruseConfigurationMatcher()
173 UnorderedElementsAreArray(config.safeToKillPackages)), in ResourceOveruseConfigurationMatcher()
DIoOveruseConfigsTest.cpp922 sampleSystemConfig.safeToKillPackages.push_back("sharedUidSystemPackageC"); in TEST_F()
923 sampleSystemConfig.safeToKillPackages.push_back("shared:systemSharedPackageD"); in TEST_F()
961 sampleVendorConfig.safeToKillPackages.push_back("sharedUidVendorPackageC"); in TEST_F()
962 sampleVendorConfig.safeToKillPackages.push_back("shared:vendorSharedPackageD"); in TEST_F()
965 sampleSystemConfig.safeToKillPackages.push_back("sharedUidSystemPackageC"); in TEST_F()
1035 sampleVendorConfig.safeToKillPackages.push_back("sharedUidVendorPackageD"); in TEST_F()
1036 sampleVendorConfig.safeToKillPackages.push_back("shared:vendorSharedPackageE"); in TEST_F()
1037 sampleVendorConfig.safeToKillPackages.push_back("shared:vndrSharedPkgF"); in TEST_F()
/packages/services/Car/cpp/watchdog/server/src/
DOveruseConfigurationXmlHelper.cpp142 std::vector<std::string> safeToKillPackages; in readSafeToKillPackages() local
155 safeToKillPackages.push_back(std::string(packageName)); in readSafeToKillPackages()
158 return safeToKillPackages; in readSafeToKillPackages()
447 Result<void> writeSafeToKillPackages(const std::vector<std::string>& safeToKillPackages, in writeSafeToKillPackages() argument
449 if (safeToKillPackages.empty()) { in writeSafeToKillPackages()
457 for (const auto& package : safeToKillPackages) { in writeSafeToKillPackages()
701 configuration.safeToKillPackages = *result; in parseXmlFile()
744 if (const auto result = writeSafeToKillPackages(configuration.safeToKillPackages, rootElement); in writeXmlFile()
DIoOveruseConfigs.cpp232 const std::unordered_set<std::string>& safeToKillPackages) { in isSafeToKillAnyPackage() argument
234 if (safeToKillPackages.find(packageName) != safeToKillPackages.end()) { in isSafeToKillAnyPackage()
538 .safeToKillPackages, in update()
544 } else if (!resourceOveruseConfiguration.safeToKillPackages.empty()) { in update()
631 resourceOveruseConfiguration.safeToKillPackages = in get()
/packages/services/Car/service/src/com/android/car/watchdog/
DOveruseConfigurationCache.java245 mSafeToKillSystemPackages.addAll(config.safeToKillPackages); in set()
248 mSafeToKillVendorPackages.addAll(config.safeToKillPackages); in set()
315 (packages, safeToKillPackages) -> { in isSafeToKill()
320 if (safeToKillPackages.contains(packages.get(i))) { in isSafeToKill()
DWatchdogPerfHandler.java2589 internalConfig.safeToKillPackages = config.getSafeToKillPackages(); in toInternalResourceOveruseConfiguration()
2730 internalConfig.safeToKillPackages, in toResourceOveruseConfiguration()
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/
DResourceOveruseConfiguration.aidl37 @utf8InCpp List<String> safeToKillPackages;
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/android/automotive/watchdog/internal/
DResourceOveruseConfiguration.aidl37 @utf8InCpp List<String> safeToKillPackages;
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/1/android/automotive/watchdog/internal/
DResourceOveruseConfiguration.aidl37 @utf8InCpp List<String> safeToKillPackages;
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/3/android/automotive/watchdog/internal/
DResourceOveruseConfiguration.aidl37 @utf8InCpp List<String> safeToKillPackages;
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/
DResourceOveruseConfiguration.aidl36 @utf8InCpp List<String> safeToKillPackages;