Home
last modified time | relevance | path

Searched refs:getPackageInfosForUids (Results 1 – 18 of 18) sorted by relevance

/aosp12/packages/services/Car/cpp/watchdog/server/tests/
H A DPackageInfoResolverTest.cpp169 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 DUidStatsCollectorTest.cpp228 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 DWatchdogServiceHelperTest.cpp342 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 DMockPackageInfoResolver.h40 getPackageInfosForUids, (const std::vector<uid_t>& uids), (override));
H A DMockCarWatchdogServiceForSystem.h46 MOCK_METHOD(android::binder::Status, getPackageInfosForUids,
H A DMockWatchdogServiceHelper.h54 MOCK_METHOD(android::binder::Status, getPackageInfosForUids,
H A DIoOveruseMonitorTest.cpp228 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 DPackageInfoResolver.h58 getPackageInfosForUids(const std::vector<uid_t>& uids) = 0;
103 getPackageInfosForUids(const std::vector<uid_t>& uids);
H A DWatchdogServiceHelper.h65 virtual android::binder::Status getPackageInfosForUids(
109 android::binder::Status getPackageInfosForUids(
H A DPackageInfoResolver.cpp170 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 DWatchdogServiceHelper.cpp180 Status WatchdogServiceHelper::getPackageInfosForUids( in getPackageInfosForUids() function in android::automotive::watchdog::WatchdogServiceHelper
193 return service->getPackageInfosForUids(uids, vendorPackagePrefixes, packageInfos); in getPackageInfosForUids()
H A DUidStatsCollector.cpp82 const auto packageInfoByUid = mPackageInfoResolver->getPackageInfosForUids(uids); in process()
H A DIoOveruseMonitor.cpp560 const auto packageInfosByUid = mPackageInfoResolver->getPackageInfosForUids({callingUid}); in getIoOveruseStats()
/aosp12/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/
H A DICarWatchdogServiceForSystem.aidl56 List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method
/aosp12/packages/services/Car/tests/carservice_unit_test/src/android/car/watchdoglib/
H A DCarWatchdogDaemonHelperTest.java257 public List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method in CarWatchdogDaemonHelperTest.ICarWatchdogServiceForSystemImpl
/aosp12/packages/services/Car/service/src/com/android/car/watchdog/
H A DCarWatchdogService.java723 public List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method in CarWatchdogService.ICarWatchdogServiceForSystemImpl
734 return service.mPackageInfoHandler.getPackageInfosForUids(uids, vendorPackagePrefixes); in getPackageInfosForUids()
H A DPackageInfoHandler.java165 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 DCarWatchdogServiceUnitTest.java3273 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()