Home
last modified time | relevance | path

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

12

/packages/services/Car/cpp/watchdog/stable_server/tests/
DPackageInfoResolverTest.cpp193 EXPECT_CALL(*mMockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F()
195 auto actualMappings = mPackageInfoResolver->getPackageInfosForUids({7700, 5100, 6700, 9997}); in TEST_F()
255 getPackageInfosForUids(expectedUids, expectedPrefixes, _)) in TEST_F()
260 mPackageInfoResolver->getPackageInfosForUids({6100, 7700, 15100, 16700, 18100, 19100}); in TEST_F()
280 EXPECT_CALL(*mMockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F()
283 mPackageInfoResolver->getPackageInfosForUids({6100, 7700, 15100, 16700, 18100, 19100}); in TEST_F()
302 EXPECT_CALL(*mMockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F()
305 mPackageInfoResolver->getPackageInfosForUids({6100, 7700, 15100, 16700, 18100, 19100}); in TEST_F()
323 EXPECT_CALL(*mMockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F()
325 auto actualMappings = mPackageInfoResolver->getPackageInfosForUids({1003456}); in TEST_F()
DUidStatsCollectorTest.cpp267 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
295 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
324 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
354 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
382 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
413 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
442 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
471 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
501 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
DWatchdogServiceHelperTest.cpp413 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(uids, prefixesStr, _)) in TEST_F()
419 mWatchdogServiceHelper->getPackageInfosForUids(uids, prefixesStr, &actualPackageInfo); in TEST_F()
427 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F()
433 mWatchdogServiceHelper->getPackageInfosForUids(uids, prefixes, &actualPackageInfo); in TEST_F()
443 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(_, _, _)) in TEST_F()
451 mWatchdogServiceHelper->getPackageInfosForUids(uids, prefixes, &actualPackageInfo); in TEST_F()
DMockPackageInfoResolver.h43 getPackageInfosForUids, (const std::vector<uid_t>& uids), (override));
DMockCarWatchdogServiceForSystem.h36 MOCK_METHOD(ndk::ScopedAStatus, getPackageInfosForUids,
DMockWatchdogServiceHelper.h64 MOCK_METHOD(ndk::ScopedAStatus, getPackageInfosForUids,
/packages/services/Car/cpp/watchdog/server/tests/
DPackageInfoResolverTest.cpp193 EXPECT_CALL(*mMockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F()
195 auto actualMappings = mPackageInfoResolver->getPackageInfosForUids({7700, 5100, 6700, 9997}); in TEST_F()
255 getPackageInfosForUids(expectedUids, expectedPrefixes, _)) in TEST_F()
260 mPackageInfoResolver->getPackageInfosForUids({6100, 7700, 15100, 16700, 18100, 19100}); in TEST_F()
280 EXPECT_CALL(*mMockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F()
283 mPackageInfoResolver->getPackageInfosForUids({6100, 7700, 15100, 16700, 18100, 19100}); in TEST_F()
302 EXPECT_CALL(*mMockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F()
305 mPackageInfoResolver->getPackageInfosForUids({6100, 7700, 15100, 16700, 18100, 19100}); in TEST_F()
323 EXPECT_CALL(*mMockWatchdogServiceHelper, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F()
325 auto actualMappings = mPackageInfoResolver->getPackageInfosForUids({1003456}); in TEST_F()
DUidStatsCollectorBaseTest.cpp195 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
219 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
243 EXPECT_CALL(*mMockPackageInfoResolver, getPackageInfosForUids(UnorderedElementsAre(1005678))) in TEST_F()
269 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
295 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
322 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
350 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
DUidStatsCollectorTest.cpp270 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
298 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
327 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
357 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
385 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
416 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
445 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
475 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
506 getPackageInfosForUids(UnorderedElementsAre(1001234, 1005678))) in TEST_F()
DWatchdogServiceHelperTest.cpp413 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(uids, prefixesStr, _)) in TEST_F()
419 mWatchdogServiceHelper->getPackageInfosForUids(uids, prefixesStr, &actualPackageInfo); in TEST_F()
427 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(_, _, _)).Times(0); in TEST_F()
433 mWatchdogServiceHelper->getPackageInfosForUids(uids, prefixes, &actualPackageInfo); in TEST_F()
443 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getPackageInfosForUids(_, _, _)) in TEST_F()
451 mWatchdogServiceHelper->getPackageInfosForUids(uids, prefixes, &actualPackageInfo); in TEST_F()
DMockPackageInfoResolver.h43 getPackageInfosForUids, (const std::vector<uid_t>& uids), (override));
DMockCarWatchdogServiceForSystem.h36 MOCK_METHOD(ndk::ScopedAStatus, getPackageInfosForUids,
DMockWatchdogServiceHelper.h64 MOCK_METHOD(ndk::ScopedAStatus, getPackageInfosForUids,
/packages/services/Car/cpp/watchdog/server/src/
DPackageInfoResolver.h62 getPackageInfosForUids(const std::vector<uid_t>& uids) = 0;
121 getPackageInfosForUids(const std::vector<uid_t>& uids);
DWatchdogServiceHelper.h67 virtual ndk::ScopedAStatus getPackageInfosForUids(
114 ndk::ScopedAStatus getPackageInfosForUids(
DWatchdogServiceHelper.cpp231 ScopedAStatus WatchdogServiceHelper::getPackageInfosForUids( in getPackageInfosForUids() function in android::automotive::watchdog::WatchdogServiceHelper
245 return service->getPackageInfosForUids(uids, vendorPackagePrefixes, packageInfos); in getPackageInfosForUids()
DPackageInfoResolver.cpp179 mWatchdogServiceHelper->getPackageInfosForUids(missingUids, mVendorPackagePrefixes, in updatePackageInfos()
222 std::unordered_map<uid_t, PackageInfo> PackageInfoResolver::getPackageInfosForUids( in getPackageInfosForUids() function in android::automotive::watchdog::PackageInfoResolver
DUidStatsCollectorBase.cpp73 const auto packageInfoByUid = mPackageInfoResolver->getPackageInfosForUids(uids); in process()
DUidStatsCollector.cpp79 const auto packageInfoByUid = mPackageInfoResolver->getPackageInfosForUids(uids); in process()
/packages/services/Car/cpp/watchdog/stable_server/src/
DPackageInfoResolver.h62 getPackageInfosForUids(const std::vector<uid_t>& uids) = 0;
121 getPackageInfosForUids(const std::vector<uid_t>& uids);
DWatchdogServiceHelper.h67 virtual ndk::ScopedAStatus getPackageInfosForUids(
114 ndk::ScopedAStatus getPackageInfosForUids(
DWatchdogServiceHelper.cpp231 ScopedAStatus WatchdogServiceHelper::getPackageInfosForUids( in getPackageInfosForUids() function in android::automotive::watchdog::WatchdogServiceHelper
245 return service->getPackageInfosForUids(uids, vendorPackagePrefixes, packageInfos); in getPackageInfosForUids()
DPackageInfoResolver.cpp179 mWatchdogServiceHelper->getPackageInfosForUids(missingUids, mVendorPackagePrefixes, in updatePackageInfos()
222 std::unordered_map<uid_t, PackageInfo> PackageInfoResolver::getPackageInfosForUids( in getPackageInfosForUids() function in android::automotive::watchdog::PackageInfoResolver
DUidStatsCollector.cpp95 const auto packageInfoByUid = mPackageInfoResolver->getPackageInfosForUids(uids); in process()
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/
DICarWatchdogServiceForSystem.aidl57 List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method

12