Home
last modified time | relevance | path

Searched refs:UidType (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DPackageInfoResolverTest.cpp34 using ::android::automotive::watchdog::internal::UidType;
51 PackageInfo constructPackageInfo(const char* packageName, int32_t uid, UidType uidType, in constructPackageInfo()
165 constructPackageInfo("system.package.B", 7700, UidType::NATIVE, ComponentType::SYSTEM, in TEST()
168 constructPackageInfo("vendor.package.A", 5100, UidType::NATIVE, ComponentType::VENDOR, in TEST()
171 constructPackageInfo("vendor.package.B", 6700, UidType::NATIVE, ComponentType::VENDOR, in TEST()
174 constructPackageInfo("vendor.pkg.C", 9997, UidType::NATIVE, ComponentType::VENDOR, in TEST()
208 constructPackageInfo("shared:system.package.A", 6100, UidType::NATIVE, in TEST()
212 constructPackageInfo("system.package.B", 7700, UidType::NATIVE, ComponentType::SYSTEM, in TEST()
215 constructPackageInfo("vendor.package.A", 15100, UidType::APPLICATION, in TEST()
218 constructPackageInfo("vendor.pkg", 16700, UidType::NATIVE, ComponentType::VENDOR, in TEST()
[all …]
DIoOveruseMonitorTest.cpp43 using ::android::automotive::watchdog::internal::UidType;
79 const UidType uidType) { in constructPackageInfo()
216 /*packageName=*/"system.daemon", /*uid=*/1001000, UidType::NATIVE)}, in setUpPackagesAndConfigurations()
220 UidType::APPLICATION)}, in setUpPackagesAndConfigurations()
224 UidType::APPLICATION)}, in setUpPackagesAndConfigurations()
228 UidType::APPLICATION)}, in setUpPackagesAndConfigurations()
232 UidType::APPLICATION)}}; in setUpPackagesAndConfigurations()
791 UidType::NATIVE)}}; in TEST_F()
DWatchdogServiceHelperTest.cpp37 using aawi::UidType;
74 PackageInfo constructPackageInfo(const char* packageName, int32_t uid, UidType uidType, in constructPackageInfo()
328 constructPackageInfo("vendor.package.A", 120000, UidType::NATIVE, ComponentType::VENDOR, in TEST_F()
330 constructPackageInfo("third_party.package.B", 130000, UidType::APPLICATION, in TEST_F()
DIoOveruseConfigsTest.cpp41 using ::android::automotive::watchdog::internal::UidType;
81 packageInfo.uidType = UidType::APPLICATION; in constructPackageInfo()
910 packageInfo.uidType = UidType::NATIVE; in TEST_F()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogServiceUnitTest.java63 import android.automotive.watchdog.internal.UidType;
1117 UidType.NATIVE, ComponentType.SYSTEM, ApplicationCategoryType.OTHERS), in testGetPackageInfosForUids()
1120 UidType.NATIVE, ComponentType.SYSTEM, ApplicationCategoryType.OTHERS), in testGetPackageInfosForUids()
1122 UidType.NATIVE, ComponentType.VENDOR, ApplicationCategoryType.OTHERS), in testGetPackageInfosForUids()
1125 "third_party.package.G"), UidType.APPLICATION, in testGetPackageInfosForUids()
1128 UidType.APPLICATION, ComponentType.THIRD_PARTY, in testGetPackageInfosForUids()
1132 UidType.APPLICATION, ComponentType.THIRD_PARTY, in testGetPackageInfosForUids()
1135 UidType.APPLICATION, ComponentType.VENDOR, in testGetPackageInfosForUids()
1173 UidType.APPLICATION, ComponentType.VENDOR, ApplicationCategoryType.OTHERS), in testGetPackageInfosForUidsWithVendorPackagePrefixes()
1176 "third_party.package.G"), UidType.APPLICATION, in testGetPackageInfosForUidsWithVendorPackagePrefixes()
[all …]
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/
DPackageInfo.aidl22 import android.automotive.watchdog.internal.UidType;
36 UidType uidType;
DUidType.aidl23 enum UidType { enum
/packages/services/Car/cpp/watchdog/server/src/
DPackageInfoResolver.cpp41 using ::android::automotive::watchdog::internal::UidType;
86 packageInfo.uidType = UidType::NATIVE; in getPackageInfoForNativeUid()
183 packageInfo.uidType == UidType::APPLICATION && it != mPackagesToAppCategories.end()) { in updatePackageInfos()
DIoOveruseMonitor.cpp52 using ::android::automotive::watchdog::internal::UidType;
274 if (dailyIoUsage->packageInfo.uidType == UidType::NATIVE) { in onPeriodicCollection()
278 } else if (dailyIoUsage->packageInfo.uidType != UidType::NATIVE && in onPeriodicCollection()
DIoOveruseConfigs.cpp46 using ::android::automotive::watchdog::internal::UidType;
721 if (packageInfo.uidType == UidType::NATIVE) { in isSafeToKill()
/packages/services/Car/service/src/com/android/car/watchdog/
DPackageInfoHandler.java23 import android.automotive.watchdog.internal.UidType;
126 packageInfo.uidType = appId >= Process.FIRST_APPLICATION_UID ? UidType.APPLICATION : in getPackageInfo()
127 UidType.NATIVE; in getPackageInfo()