/aosp12/packages/services/Car/cpp/watchdog/server/tests/ |
H A D | PackageInfoResolverTest.cpp | 169 EXPECT_CALL(*peer.mockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST() 171 auto actualMappings = packageInfoResolver->getPackageInfosForUids({7700, 5100, 6700, 9997}); in TEST() 232 getPackageInfosForUids(expectedUids, expectedPrefixes, _)) in TEST() 236 packageInfoResolver->getPackageInfosForUids({6100, 7700, 15100, 16700, 18100, 19100}); in TEST() 253 EXPECT_CALL(*peer.mockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST() 255 auto actualMappings = packageInfoResolver->getPackageInfosForUids({1003456}); in TEST()
|
H A D | UidStatsCollectorTest.cpp | 228 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F() 254 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F() 281 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F() 309 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F() 337 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F() 365 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F() 394 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F() 424 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
|
H A D | WatchdogServiceHelperTest.cpp | 342 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(uids, prefixesStr, _)) in TEST_F() 346 mWatchdogServiceHelper->getPackageInfosForUids(uids, prefixesStr, &actualPackageInfo); in TEST_F() 354 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F() 360 mWatchdogServiceHelper->getPackageInfosForUids(uids, prefixes, &actualPackageInfo); in TEST_F() 370 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(_, _, _)) in TEST_F() 377 mWatchdogServiceHelper->getPackageInfosForUids(uids, prefixes, &actualPackageInfo); in TEST_F()
|
H A D | MockPackageInfoResolver.h | 40 getPackageInfosForUids, (const std::vector<uid_t>& uids), (override));
|
H A D | MockCarWatchdogServiceForSystem.h | 46 MOCK_METHOD(android::binder::Status, getPackageInfosForUids,
|
H A D | MockWatchdogServiceHelper.h | 54 MOCK_METHOD(android::binder::Status, getPackageInfosForUids,
|
H A D | IoOveruseMonitorTest.cpp | 228 ON_CALL(*mMockPackageInfoResolver, getPackageInfosForUids(_)) in setUpPackagesAndConfigurations() 528 EXPECT_CALL(*mMockPackageInfoResolver, getPackageInfosForUids(_)).Times(0); in TEST_F() 1033 ON_CALL(*mMockPackageInfoResolver, getPackageInfosForUids(_)) in TEST_F()
|
/aosp12/packages/services/Car/cpp/watchdog/server/src/ |
H A D | PackageInfoResolver.h | 58 getPackageInfosForUids(const std::vector<uid_t>& uids) = 0; 103 getPackageInfosForUids(const std::vector<uid_t>& uids);
|
H A D | WatchdogServiceHelper.h | 65 virtual android::binder::Status getPackageInfosForUids( 109 android::binder::Status getPackageInfosForUids(
|
H A D | PackageInfoResolver.cpp | 170 mWatchdogServiceHelper->getPackageInfosForUids(missingUids, mVendorPackagePrefixes, in updatePackageInfos() 223 std::unordered_map<uid_t, PackageInfo> PackageInfoResolver::getPackageInfosForUids( in getPackageInfosForUids() function in android::automotive::watchdog::PackageInfoResolver
|
H A D | WatchdogServiceHelper.cpp | 180 Status WatchdogServiceHelper::getPackageInfosForUids( in getPackageInfosForUids() function in android::automotive::watchdog::WatchdogServiceHelper 193 return service->getPackageInfosForUids(uids, vendorPackagePrefixes, packageInfos); in getPackageInfosForUids()
|
H A D | UidStatsCollector.cpp | 82 const auto packageInfoByUid = mPackageInfoResolver->getPackageInfosForUids(uids); in process()
|
H A D | IoOveruseMonitor.cpp | 560 const auto packageInfosByUid = mPackageInfoResolver->getPackageInfosForUids({callingUid}); in getIoOveruseStats()
|
/aosp12/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
H A D | ICarWatchdogServiceForSystem.aidl | 56 List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/android/car/watchdoglib/ |
H A D | CarWatchdogDaemonHelperTest.java | 257 public List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method in CarWatchdogDaemonHelperTest.ICarWatchdogServiceForSystemImpl
|
/aosp12/packages/services/Car/service/src/com/android/car/watchdog/ |
H A D | CarWatchdogService.java | 723 public List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method in CarWatchdogService.ICarWatchdogServiceForSystemImpl 734 return service.mPackageInfoHandler.getPackageInfosForUids(uids, vendorPackagePrefixes); in getPackageInfosForUids()
|
H A D | PackageInfoHandler.java | 165 public List<PackageInfo> getPackageInfosForUids(int[] uids, in getPackageInfosForUids() method in PackageInfoHandler
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
H A D | CarWatchdogServiceUnitTest.java | 3273 List<PackageInfo> actualPackageInfos = mWatchdogServiceForSystemImpl.getPackageInfosForUids( in testGetPackageInfosForUids() 3308 List<PackageInfo> actualPackageInfos = mWatchdogServiceForSystemImpl.getPackageInfosForUids( in testGetPackageInfosWithSharedUids() 3349 List<PackageInfo> actualPackageInfos = mWatchdogServiceForSystemImpl.getPackageInfosForUids( in testGetPackageInfosForUidsWithVendorPackagePrefixes() 3399 List<PackageInfo> actualPackageInfos = mWatchdogServiceForSystemImpl.getPackageInfosForUids( in testGetPackageInfosForUidsWithMissingApplicationInfos()
|