/packages/services/Car/cpp/watchdog/stable_server/tests/ |
D | PackageInfoResolverTest.cpp | 193 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()
|
D | UidStatsCollectorTest.cpp | 267 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()
|
D | WatchdogServiceHelperTest.cpp | 413 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()
|
D | MockPackageInfoResolver.h | 43 getPackageInfosForUids, (const std::vector<uid_t>& uids), (override));
|
D | MockCarWatchdogServiceForSystem.h | 36 MOCK_METHOD(ndk::ScopedAStatus, getPackageInfosForUids,
|
D | MockWatchdogServiceHelper.h | 64 MOCK_METHOD(ndk::ScopedAStatus, getPackageInfosForUids,
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | PackageInfoResolverTest.cpp | 193 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()
|
D | UidStatsCollectorBaseTest.cpp | 195 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()
|
D | UidStatsCollectorTest.cpp | 270 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()
|
D | WatchdogServiceHelperTest.cpp | 413 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()
|
D | MockPackageInfoResolver.h | 43 getPackageInfosForUids, (const std::vector<uid_t>& uids), (override));
|
D | MockCarWatchdogServiceForSystem.h | 36 MOCK_METHOD(ndk::ScopedAStatus, getPackageInfosForUids,
|
D | MockWatchdogServiceHelper.h | 64 MOCK_METHOD(ndk::ScopedAStatus, getPackageInfosForUids,
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | PackageInfoResolver.h | 62 getPackageInfosForUids(const std::vector<uid_t>& uids) = 0; 121 getPackageInfosForUids(const std::vector<uid_t>& uids);
|
D | WatchdogServiceHelper.h | 67 virtual ndk::ScopedAStatus getPackageInfosForUids( 114 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 | UidStatsCollectorBase.cpp | 73 const auto packageInfoByUid = mPackageInfoResolver->getPackageInfosForUids(uids); in process()
|
D | UidStatsCollector.cpp | 79 const auto packageInfoByUid = mPackageInfoResolver->getPackageInfosForUids(uids); in process()
|
/packages/services/Car/cpp/watchdog/stable_server/src/ |
D | PackageInfoResolver.h | 62 getPackageInfosForUids(const std::vector<uid_t>& uids) = 0; 121 getPackageInfosForUids(const std::vector<uid_t>& uids);
|
D | WatchdogServiceHelper.h | 67 virtual ndk::ScopedAStatus getPackageInfosForUids( 114 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()
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
D | ICarWatchdogServiceForSystem.aidl | 57 List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method
|