Home
last modified time | relevance | path

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

/packages/services/Car/cpp/watchdog/server/tests/
DPackageInfoResolverTest.cpp195 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()
DUidStatsCollectorTest.cpp266 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()
DWatchdogServiceHelperTest.cpp417 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()
DMockPackageInfoResolver.h44 getPackageInfosForUids, (const std::vector<uid_t>& uids), (override));
DMockCarWatchdogServiceForSystem.h37 MOCK_METHOD(ndk::ScopedAStatus, getPackageInfosForUids,
DMockWatchdogServiceHelper.h65 MOCK_METHOD(ndk::ScopedAStatus, getPackageInfosForUids,
DIoOveruseMonitorTest.cpp239 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/
DPackageInfoResolver.h63 getPackageInfosForUids(const std::vector<uid_t>& uids) = 0;
122 getPackageInfosForUids(const std::vector<uid_t>& uids);
DWatchdogServiceHelper.h68 virtual ndk::ScopedAStatus getPackageInfosForUids(
115 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()
DIoOveruseMonitor.cpp664 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/
DICarWatchdogServiceForSystem.aidl39 …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/
DICarWatchdogServiceForSystem.aidl39 …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/
DICarWatchdogServiceForSystem.aidl39 …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/
DICarWatchdogServiceForSystem.aidl39 …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/
DICarWatchdogServiceForSystem.aidl57 List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java907 public List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method in CarWatchdogService.ICarWatchdogServiceForSystemImpl
918 return service.mPackageInfoHandler.getPackageInfosForUids(uids, vendorPackagePrefixes); in getPackageInfosForUids()
DPackageInfoHandler.java167 public List<PackageInfo> getPackageInfosForUids(int[] uids, in getPackageInfosForUids() method in PackageInfoHandler
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogServiceUnitTest.java795 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/
DCarWatchdogDaemonHelperTest.java417 public List<PackageInfo> getPackageInfosForUids( in getPackageInfosForUids() method in CarWatchdogDaemonHelperTest.ICarWatchdogServiceForSystemImpl