/packages/services/Car/cpp/watchdog/server/tests/ |
D | PackageInfoResolverTest.cpp | 195 EXPECT_CALL(*mMockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F() 197 auto actualMappings = mPackageInfoResolver->getPackageInfosForUids({7700, 5100, 6700, 9997}); in TEST_F() 257 getPackageInfosForUids(expectedUids, expectedPrefixes, _)) in TEST_F() 262 mPackageInfoResolver->getPackageInfosForUids({6100, 7700, 15100, 16700, 18100, 19100}); in TEST_F() 282 EXPECT_CALL(*mMockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F() 285 mPackageInfoResolver->getPackageInfosForUids({6100, 7700, 15100, 16700, 18100, 19100}); in TEST_F() 304 EXPECT_CALL(*mMockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F() 307 mPackageInfoResolver->getPackageInfosForUids({6100, 7700, 15100, 16700, 18100, 19100}); in TEST_F() 325 EXPECT_CALL(*mMockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F() 327 auto actualMappings = mPackageInfoResolver->getPackageInfosForUids({1003456}); in TEST_F()
|
D | UidStatsCollectorTest.cpp | 266 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F() 294 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F() 323 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F() 353 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F() 381 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F() 412 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F() 441 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F() 470 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F() 500 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
|
D | WatchdogServiceHelperTest.cpp | 417 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(uids, prefixesStr, _)) in TEST_F() 423 mWatchdogServiceHelper->getPackageInfosForUids(uids, prefixesStr, &actualPackageInfo); in TEST_F() 431 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F() 437 mWatchdogServiceHelper->getPackageInfosForUids(uids, prefixes, &actualPackageInfo); in TEST_F() 447 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(_, _, _)) in TEST_F() 455 mWatchdogServiceHelper->getPackageInfosForUids(uids, prefixes, &actualPackageInfo); in TEST_F()
|
D | MockPackageInfoResolver.h | 44 getPackageInfosForUids, (const std::vector<uid_t>& uids), (override));
|
D | MockCarWatchdogServiceForSystem.h | 37 MOCK_METHOD(ndk::ScopedAStatus, getPackageInfosForUids,
|
D | MockWatchdogServiceHelper.h | 65 MOCK_METHOD(ndk::ScopedAStatus, getPackageInfosForUids,
|
D | IoOveruseMonitorTest.cpp | 239 ON_CALL(*mMockPackageInfoResolver, getPackageInfosForUids(_)) in setUpPackagesAndConfigurations() 585 EXPECT_CALL(*mMockPackageInfoResolver, getPackageInfosForUids(_)).Times(0); in TEST_F() 1158 ON_CALL(*mMockPackageInfoResolver, getPackageInfosForUids(_)) in TEST_F()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | PackageInfoResolver.h | 63 getPackageInfosForUids(const std::vector<uid_t>& uids) = 0; 122 getPackageInfosForUids(const std::vector<uid_t>& uids);
|
D | WatchdogServiceHelper.h | 68 virtual ndk::ScopedAStatus getPackageInfosForUids( 115 ndk::ScopedAStatus getPackageInfosForUids(
|
D | WatchdogServiceHelper.cpp | 231 ScopedAStatus WatchdogServiceHelper::getPackageInfosForUids( in getPackageInfosForUids() function in android::automotive::watchdog::WatchdogServiceHelper 245 return service->getPackageInfosForUids(uids, vendorPackagePrefixes, packageInfos); in getPackageInfosForUids()
|
D | PackageInfoResolver.cpp | 179 mWatchdogServiceHelper->getPackageInfosForUids(missingUids, mVendorPackagePrefixes, in updatePackageInfos() 222 std::unordered_map<uid_t, PackageInfo> PackageInfoResolver::getPackageInfosForUids( in getPackageInfosForUids() function in android::automotive::watchdog::PackageInfoResolver
|
D | UidStatsCollector.cpp | 95 const auto packageInfoByUid = mPackageInfoResolver->getPackageInfosForUids(uids); in process()
|
D | IoOveruseMonitor.cpp | 664 const auto packageInfosByUid = mPackageInfoResolver->getPackageInfosForUids({callingUid}); in getIoOveruseStats()
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/android/automotive/watchdog/internal/ |
D | ICarWatchdogServiceForSystem.aidl | 39 …List<android.automotive.watchdog.internal.PackageInfo> getPackageInfosForUids(in int[] uids, in @u… in getPackageInfosForUids() method
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/1/android/automotive/watchdog/internal/ |
D | ICarWatchdogServiceForSystem.aidl | 39 …List<android.automotive.watchdog.internal.PackageInfo> getPackageInfosForUids(in int[] uids, in @u… in getPackageInfosForUids() method
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/3/android/automotive/watchdog/internal/ |
D | ICarWatchdogServiceForSystem.aidl | 39 …List<android.automotive.watchdog.internal.PackageInfo> getPackageInfosForUids(in int[] uids, in @u… in getPackageInfosForUids() method
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/ |
D | ICarWatchdogServiceForSystem.aidl | 39 …List<android.automotive.watchdog.internal.PackageInfo> getPackageInfosForUids(in int[] uids, in @u… in getPackageInfosForUids() method
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
D | ICarWatchdogServiceForSystem.aidl | 57 List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | CarWatchdogService.java | 907 public List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method in CarWatchdogService.ICarWatchdogServiceForSystemImpl 918 return service.mPackageInfoHandler.getPackageInfosForUids(uids, vendorPackagePrefixes); in getPackageInfosForUids()
|
D | PackageInfoHandler.java | 167 public List<PackageInfo> getPackageInfosForUids(int[] uids, in getPackageInfosForUids() method in PackageInfoHandler
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceUnitTest.java | 795 List<PackageInfo> actualPackageInfos = mWatchdogServiceForSystemImpl.getPackageInfosForUids( in testGetPackageInfosForUids() 830 List<PackageInfo> actualPackageInfos = mWatchdogServiceForSystemImpl.getPackageInfosForUids( in testGetPackageInfosWithSharedUids() 873 List<PackageInfo> actualPackageInfos = mWatchdogServiceForSystemImpl.getPackageInfosForUids( in testGetPackageInfosForUidsWithVendorPackagePrefixes() 923 List<PackageInfo> actualPackageInfos = mWatchdogServiceForSystemImpl.getPackageInfosForUids( in testGetPackageInfosForUidsWithMissingApplicationInfos()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/watchdoglib/ |
D | CarWatchdogDaemonHelperTest.java | 417 public List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method in CarWatchdogDaemonHelperTest.ICarWatchdogServiceForSystemImpl
|