/packages/services/Car/cpp/watchdog/server/tests/ |
D | PackageInfoResolverTest.cpp | 178 constructPackageInfo("system.package.B", 7700, UidType::NATIVE, ComponentType::SYSTEM, in TEST_F() 181 constructPackageInfo("vendor.package.A", 5100, UidType::NATIVE, ComponentType::VENDOR, in TEST_F() 184 constructPackageInfo("vendor.package.B", 6700, UidType::NATIVE, ComponentType::VENDOR, in TEST_F() 187 constructPackageInfo("vendor.pkg.C", 9997, UidType::NATIVE, ComponentType::VENDOR, in TEST_F() 221 constructPackageInfo("shared:system.package.A", 6100, UidType::NATIVE, in TEST_F() 225 constructPackageInfo("system.package.B", 7700, UidType::NATIVE, ComponentType::SYSTEM, in TEST_F() 228 constructPackageInfo("vendor.package.A", 15100, UidType::APPLICATION, in TEST_F() 231 constructPackageInfo("vendor.pkg", 16700, UidType::NATIVE, ComponentType::VENDOR, in TEST_F() 234 constructPackageInfo("shared:vendor.package.C", 18100, UidType::APPLICATION, in TEST_F() 237 constructPackageInfo("shared:vendor.package.D", 19100, UidType::APPLICATION, in TEST_F() [all …]
|
D | PackageInfoTestUtils.cpp | 28 PackageInfo constructPackageInfo(const char* packageName, int32_t uid, UidType uidType, in constructPackageInfo() function 45 return constructPackageInfo(packageName, 0, UidType::APPLICATION, componentType, in constructAppPackageInfo()
|
D | UidStatsCollectorTest.cpp | 94 return {{1001234, constructPackageInfo("system.daemon", 1001234, UidType::NATIVE)}, in samplePackageInfoByUid() 95 {1005678, constructPackageInfo("kitchensink.app", 1005678, UidType::APPLICATION)}}; in samplePackageInfoByUid() 131 return {{.packageInfo = constructPackageInfo("system.daemon", 1001234, UidType::NATIVE), in sampleUidStats() 140 {.packageInfo = constructPackageInfo("kitchensink.app", 1005678, UidType::APPLICATION), in sampleUidStats() 421 expected[0].packageInfo = constructPackageInfo("", 1001234); in TEST_F()
|
D | IoOveruseMonitorTest.cpp | 313 constructPackageInfo( 317 constructPackageInfo( 321 constructPackageInfo( 325 constructPackageInfo( 329 constructPackageInfo( 333 constructPackageInfo( 1161 constructPackageInfo(/*packageName=*/"system.daemon", /*uid=*/1001000, in TEST_F()
|
D | PackageInfoTestUtils.h | 33 aidl::android::automotive::watchdog::internal::PackageInfo constructPackageInfo(
|
D | PerformanceProfilerTest.cpp | 407 uidStats{{.packageInfo = constructPackageInfo("mount", 1009), in sampleUidStats() 433 constructPackageInfo("com.google.android.car.kitchensink", 1002001), in sampleUidStats() 469 {.packageInfo = constructPackageInfo("", 1012345), in sampleUidStats() 495 {.packageInfo = constructPackageInfo("com.google.radio", 1015678), in sampleUidStats() 1468 {.packageInfo = constructPackageInfo("mount", 1009), in TEST_F()
|
D | WatchdogServiceHelperTest.cpp | 411 constructPackageInfo("vendor.package.A", 120000, UidType::NATIVE, ComponentType::VENDOR, in TEST_F() 413 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 | 799 constructPackageInfo("system_package.A", 6001, new ArrayList<>(), in testGetPackageInfosForUids() 801 constructPackageInfo("vendor_package.B", 10005100, new ArrayList<>(), in testGetPackageInfosForUids() 803 constructPackageInfo("third_party_package.D", 10200056, new ArrayList<>(), in testGetPackageInfosForUids() 806 constructPackageInfo("vendor_package.C", 10345678, new ArrayList<>(), in testGetPackageInfosForUids() 834 constructPackageInfo("shared:system_shared_package", 6050, in testGetPackageInfosWithSharedUids() 837 constructPackageInfo("shared:vendor_shared_package", 10100035, in testGetPackageInfosWithSharedUids() 841 constructPackageInfo("shared:third_party_shared_package", 10200078, in testGetPackageInfosWithSharedUids() 877 constructPackageInfo("vendor_package.A", 10010034, new ArrayList<>(), in testGetPackageInfosForUidsWithVendorPackagePrefixes() 879 constructPackageInfo("shared:vendor_shared_package", 10010035, in testGetPackageInfosForUidsWithVendorPackagePrefixes() 883 constructPackageInfo("shared:third_party_shared_package", 10200078, in testGetPackageInfosForUidsWithVendorPackagePrefixes() [all …]
|