Home
last modified time | relevance | path

Searched defs:componentType (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DPackageInfoTestUtils.cpp29 ComponentType componentType, in constructPackageInfo()
42 PackageInfo constructAppPackageInfo(const char* packageName, const ComponentType componentType, in constructAppPackageInfo()
/packages/modules/Connectivity/tests/cts/hostside/app2/src/com/android/cts/net/hostside/app2/
DCommon.java76 private static boolean validateComponentState(Context context, int componentType, in validateComponentState()
119 static void notifyNetworkStateObserver(Context context, Intent intent, int componentType) { in notifyNetworkStateObserver()
127 static void notifyNetworkStateObserver(Context context, Bundle extras, int componentType) { in notifyNetworkStateObserver()
/packages/services/Car/service/src/com/android/car/watchdog/
DOveruseConfigurationCache.java168 @ComponentType int componentType) { in fetchThreshold()
200 public boolean isSafeToKill(String genericPackageName, @ComponentType int componentType, in isSafeToKill()
261 private void setIoThresholdsLocked(int componentType, IoOveruseConfiguration ioConfig) { in setIoThresholdsLocked()
DPackageInfoHandler.java188 int componentType = ComponentType.UNKNOWN; in getComponentType() local
339 @ComponentType int componentType) { in cachePackageComponentType()
DWatchdogPerfHandler.java720 int componentType = mPackageInfoHandler.getComponentType( in getPackageKillableStatesForUserId() local
742 int componentType = mPackageInfoHandler.getSharedComponentType( in getPackageKillableStatesForUserId() local
1400 int userId, String genericPackageName, int componentType, boolean isSafeToKill) { in getPackageKillableStateForUserPackageLocked()
2034 @ComponentType int componentType = mPackageInfoHandler.getComponentType( in constructCarWatchdogIoOveruseStatsLocked() local
2413 toResourceSpecificConfiguration(int componentType, IoOveruseConfiguration config) { in toResourceSpecificConfiguration()
2444 static String toComponentTypeStr(int componentType) { in toComponentTypeStr()
2593 int componentType = config.getComponentType(); in checkResourceOveruseConfig() local
2602 checkIoOveruseConfig(config.getIoOveruseConfiguration(), componentType); in checkResourceOveruseConfig() local
2605 private static void checkIoOveruseConfig(IoOveruseConfiguration config, int componentType) { in checkIoOveruseConfig()
/packages/services/Car/car-lib/src/android/car/watchdog/
DResourceOveruseConfiguration.java181 /* package-private */ ResourceOveruseConfiguration( in ResourceOveruseConfiguration()
325 int componentType = in.readInt(); in ResourceOveruseConfiguration() local
422 public Builder( in Builder()
/packages/services/Car/cpp/watchdog/server/src/
DOveruseConfigurationXmlHelper.cpp266 Result<PerStateIoOveruseThreshold> readComponentLevelThresholds(ComponentType componentType, in readComponentLevelThresholds()
402 Result<IoOveruseConfiguration> readIoOveruseConfiguration(ComponentType componentType, in readIoOveruseConfiguration()
437 Result<void> writeComponentType(ComponentType componentType, XMLElement* rootElement) { in writeComponentType()
DIoOveruseConfigs.cpp127 Result<void> isValidIoOveruseConfiguration(const ComponentType componentType, in isValidIoOveruseConfiguration()
163 Result<int32_t> getComponentFilter(const ComponentType componentType) { in getComponentFilter()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogServiceUnitTest.java5028 private static ResourceOveruseConfiguration.Builder sampleResourceOveruseConfigurationBuilder( in sampleResourceOveruseConfigurationBuilder()
5050 private static IoOveruseConfiguration.Builder sampleIoOveruseConfigurationBuilder( in sampleIoOveruseConfigurationBuilder()
5084 sampleInternalResourceOveruseConfiguration(@ComponentType int componentType, in sampleInternalResourceOveruseConfiguration()
5111 sampleInternalIoOveruseConfiguration(@ComponentType int componentType) { in sampleInternalIoOveruseConfiguration()
5443 List<String> sharedUidPackages, int uidType, int componentType, int appCategoryType) { in constructPackageInfo()