Lines Matching refs:android
35 namespace android {
48 class IWatchdogServiceHelper : public android::IBinder::DeathRecipient {
50 virtual android::binder::Status registerService(
51 const android::sp<
52 android::automotive::watchdog::internal::ICarWatchdogServiceForSystem>&
54 virtual android::binder::Status unregisterService(
55 const android::sp<
56 android::automotive::watchdog::internal::ICarWatchdogServiceForSystem>&
60 virtual android::binder::Status checkIfAlive(const android::wp<android::IBinder>& who,
63 virtual android::binder::Status prepareProcessTermination(
64 const android::wp<android::IBinder>& who) = 0;
65 virtual android::binder::Status getPackageInfosForUids(
67 std::vector<android::automotive::watchdog::internal::PackageInfo>* packageInfos) = 0;
68 virtual android::binder::Status latestIoOveruseStats(
69 const std::vector<android::automotive::watchdog::internal::PackageIoOveruseStats>&
71 virtual android::binder::Status resetResourceOveruseStats(
75 virtual android::base::Result<void> init(
76 const android::sp<WatchdogProcessService>& watchdogProcessService) = 0;
91 android::binder::Status registerService(
92 const android::sp<
93 android::automotive::watchdog::internal::ICarWatchdogServiceForSystem>& service)
95 android::binder::Status unregisterService(
96 const android::sp<
97 android::automotive::watchdog::internal::ICarWatchdogServiceForSystem>& service)
99 void binderDied(const android::wp<android::IBinder>& who) override;
102 android::binder::Status checkIfAlive(const android::wp<android::IBinder>& who,
104 android::binder::Status prepareProcessTermination(
105 const android::wp<android::IBinder>& who) override;
106 android::binder::Status getPackageInfosForUids(
108 std::vector<android::automotive::watchdog::internal::PackageInfo>* packageInfos);
109 android::binder::Status latestIoOveruseStats(
110 const std::vector<android::automotive::watchdog::internal::PackageIoOveruseStats>&
112 android::binder::Status resetResourceOveruseStats(const std::vector<std::string>& packageNames);
115 android::base::Result<void> init(
116 const android::sp<WatchdogProcessService>& watchdogProcessService);
123 android::sp<android::automotive::watchdog::internal::ICarWatchdogServiceForSystem> mService
125 android::sp<WatchdogProcessService> mWatchdogProcessService;