/packages/services/Car/cpp/watchdog/server/tests/ |
D | PackageInfoResolverTest.cpp | 182 EXPECT_CALL(*peer.mockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST() 184 auto actualMappings = packageInfoResolver->getPackageInfosForUids({7700, 5100, 6700, 9997}); in TEST() 229 getPackageInfosForUids(expectedUids, expectedPrefixes, _)) in TEST() 232 auto actualMappings = packageInfoResolver->getPackageInfosForUids({6100, 7700, 15100, 16700}); in TEST() 249 EXPECT_CALL(*peer.mockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST() 251 auto actualMappings = packageInfoResolver->getPackageInfosForUids({1003456}); in TEST()
|
D | WatchdogServiceHelperTest.cpp | 337 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(uids, prefixesStr, _)) in TEST_F() 341 mWatchdogServiceHelper->getPackageInfosForUids(uids, prefixesStr, &actualPackageInfo); in TEST_F() 349 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F() 355 mWatchdogServiceHelper->getPackageInfosForUids(uids, prefixes, &actualPackageInfo); in TEST_F() 365 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(_, _, _)) in TEST_F() 372 mWatchdogServiceHelper->getPackageInfosForUids(uids, prefixes, &actualPackageInfo); in TEST_F()
|
D | IoOveruseMonitorTest.cpp | 233 ON_CALL(*mMockPackageInfoResolver, getPackageInfosForUids(_)) in setUpPackagesAndConfigurations() 469 EXPECT_CALL(*mMockPackageInfoResolver, getPackageInfosForUids(_)).Times(0); in TEST_F() 582 ON_CALL(*mMockPackageInfoResolver, getPackageInfosForUids(_)) in TEST_F() 787 ON_CALL(*mMockPackageInfoResolver, getPackageInfosForUids(_)) in TEST_F()
|
D | MockPackageInfoResolver.h | 40 getPackageInfosForUids, (const std::vector<uid_t>& uids), (override));
|
D | MockCarWatchdogServiceForSystem.h | 46 MOCK_METHOD(android::binder::Status, getPackageInfosForUids,
|
D | MockWatchdogServiceHelper.h | 54 MOCK_METHOD(android::binder::Status, getPackageInfosForUids,
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | PackageInfoResolver.h | 58 getPackageInfosForUids(const std::vector<uid_t>& uids) = 0; 103 getPackageInfosForUids(const std::vector<uid_t>& uids);
|
D | WatchdogServiceHelper.h | 65 virtual android::binder::Status getPackageInfosForUids( 106 android::binder::Status getPackageInfosForUids(
|
D | WatchdogServiceHelper.cpp | 179 Status WatchdogServiceHelper::getPackageInfosForUids( in getPackageInfosForUids() function in android::automotive::watchdog::WatchdogServiceHelper 192 return service->getPackageInfosForUids(uids, vendorPackagePrefixes, packageInfos); in getPackageInfosForUids()
|
D | PackageInfoResolver.cpp | 170 mWatchdogServiceHelper->getPackageInfosForUids(missingUids, mVendorPackagePrefixes, in updatePackageInfos() 209 std::unordered_map<uid_t, PackageInfo> PackageInfoResolver::getPackageInfosForUids( in getPackageInfosForUids() function in android::automotive::watchdog::PackageInfoResolver
|
D | IoOveruseMonitor.cpp | 215 const auto packageInfosByUid = mPackageInfoResolver->getPackageInfosForUids(seenUids); in onPeriodicCollection() 504 const auto packageInfosByUid = mPackageInfoResolver->getPackageInfosForUids({callingUid}); in getIoOveruseStats()
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
D | ICarWatchdogServiceForSystem.aidl | 55 List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | CarWatchdogService.java | 494 public List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method in CarWatchdogService.ICarWatchdogServiceForSystemImpl 505 return service.mPackageInfoHandler.getPackageInfosForUids(uids, vendorPackagePrefixes); in getPackageInfosForUids()
|
D | PackageInfoHandler.java | 96 public List<PackageInfo> getPackageInfosForUids(int[] uids, in getPackageInfosForUids() method in PackageInfoHandler
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/watchdoglib/ |
D | CarWatchdogDaemonHelperTest.java | 259 public List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method in CarWatchdogDaemonHelperTest.ICarWatchdogServiceForSystemImpl
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceUnitTest.java | 1162 List<PackageInfo> actualPackageInfos = mWatchdogServiceForSystemImpl.getPackageInfosForUids( in testGetPackageInfosForUids() 1205 List<PackageInfo> actualPackageInfos = mWatchdogServiceForSystemImpl.getPackageInfosForUids( in testGetPackageInfosForUidsWithVendorPackagePrefixes() 1242 List<PackageInfo> actualPackageInfos = mWatchdogServiceForSystemImpl.getPackageInfosForUids( in testGetPackageInfosForUidsWithMissingApplicationInfos()
|