/packages/services/Car/cpp/watchdog/server/tests/ |
D | PackageInfoResolverTest.cpp | 51 PackageInfo constructPackageInfo(const char* packageName, int32_t uid, UidType uidType, in constructPackageInfo() function 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() 244 constructPackageInfo("vendor.package", 1003456, UidType::NATIVE, ComponentType::SYSTEM, in TEST()
|
D | IoOveruseConfigsTest.cpp | 76 PackageInfo constructPackageInfo( in constructPackageInfo() function 527 auto packageInfo = constructPackageInfo("systemPackage", ComponentType::SYSTEM); in TEST_F() 533 packageInfo = constructPackageInfo("vendorPackage", ComponentType::VENDOR, in TEST_F() 540 packageInfo = constructPackageInfo("3pPackage", ComponentType::THIRD_PARTY, in TEST_F() 811 constructPackageInfo("systemPackageGeneric", ComponentType::SYSTEM)); in TEST_F() 816 constructPackageInfo("systemPackageA", ComponentType::SYSTEM)); in TEST_F() 820 actual = ioOveruseConfigs->fetchThreshold(constructPackageInfo("systemPackageB", in TEST_F() 827 actual = ioOveruseConfigs->fetchThreshold(constructPackageInfo("systemPackageC", in TEST_F() 839 constructPackageInfo("vendorPackageGeneric", ComponentType::VENDOR)); in TEST_F() 844 constructPackageInfo("vendorPkgB", ComponentType::VENDOR)); in TEST_F() [all …]
|
D | IoOveruseMonitorTest.cpp | 78 PackageInfo constructPackageInfo(const char* packageName, const int32_t uid, in constructPackageInfo() function 215 constructPackageInfo( in setUpPackagesAndConfigurations() 218 constructPackageInfo( in setUpPackagesAndConfigurations() 222 constructPackageInfo( in setUpPackagesAndConfigurations() 226 constructPackageInfo( in setUpPackagesAndConfigurations() 230 constructPackageInfo( in setUpPackagesAndConfigurations() 790 constructPackageInfo(/*packageName=*/"system.daemon", /*uid=*/1001000, in TEST_F()
|
D | WatchdogServiceHelperTest.cpp | 74 PackageInfo constructPackageInfo(const char* packageName, int32_t uid, UidType uidType, in constructPackageInfo() function 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()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceUnitTest.java | 1116 constructPackageInfo("system.package.A", 6001, new ArrayList<>(), in testGetPackageInfosForUids() 1118 constructPackageInfo("shared:system.package", 6050, in testGetPackageInfosForUids() 1121 constructPackageInfo("vendor.package.D", 5100, new ArrayList<>(), in testGetPackageInfosForUids() 1123 constructPackageInfo("shared:vendor.package", 110035, in testGetPackageInfosForUids() 1127 constructPackageInfo("third_party.package.H", 120056, new ArrayList<>(), in testGetPackageInfosForUids() 1130 constructPackageInfo("shared:third_party.package", 120078, in testGetPackageInfosForUids() 1134 constructPackageInfo("vendor.package.J", 1345678, new ArrayList<>(), in testGetPackageInfosForUids() 1172 constructPackageInfo("vendor.package.D", 110034, new ArrayList<>(), in testGetPackageInfosForUidsWithVendorPackagePrefixes() 1174 constructPackageInfo("shared:vendor.package", 110035, in testGetPackageInfosForUidsWithVendorPackagePrefixes() 1178 constructPackageInfo("vendor.package.imposter", 123456, in testGetPackageInfosForUidsWithVendorPackagePrefixes() [all …]
|