Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogProcessHandler.java69 CarWatchdogService.class.getSimpleName()).getLooper());
127 if (CarWatchdogService.DEBUG) { in init()
128 Slogf.d(CarWatchdogService.TAG, "WatchdogProcessHandler is initialized"); in init()
197 Slogf.w(CarWatchdogService.TAG, "Cannot register the client: invalid timeout"); in registerClient()
223 Slogf.w(CarWatchdogService.TAG, in registerClient()
228 if (CarWatchdogService.DEBUG) { in registerClient()
229 Slogf.d(CarWatchdogService.TAG, "Registered client: %s", clientInfo); in registerClient()
244 Slogf.w(CarWatchdogService.TAG, in unregisterClient()
257 if (CarWatchdogService.DEBUG) { in unregisterClient()
258 Slogf.d(CarWatchdogService.TAG, "Unregistered client: %s", clientInfo); in unregisterClient()
[all …]
DCarWatchdogService.java102 public final class CarWatchdogService extends ICarWatchdogService.Stub implements CarServiceBase { class
103 static final String TAG = CarLog.tagFor(CarWatchdogService.class);
289 public CarWatchdogService(Context context, Context carServiceBuiltinPackageContext) { in CarWatchdogService() method in CarWatchdogService
295 public CarWatchdogService(Context context, Context carServiceBuiltinPackageContext, in CarWatchdogService() method in CarWatchdogService
302 CarWatchdogService(Context context, Context carServiceBuiltinPackageContext, in CarWatchdogService() method in CarWatchdogService
885 private final WeakReference<CarWatchdogService> mService;
887 ICarWatchdogServiceForSystemImpl(CarWatchdogService service) { in ICarWatchdogServiceForSystemImpl()
893 CarWatchdogService service = mService.get(); in checkIfAlive()
913 CarWatchdogService service = mService.get(); in getPackageInfosForUids()
929 CarWatchdogService service = mService.get(); in latestIoOveruseStats()
[all …]
DWatchdogPerfHandler.java57 import static com.android.car.watchdog.CarWatchdogService.DEBUG;
58 import static com.android.car.watchdog.CarWatchdogService.TAG;
325 CarWatchdogService.class.getSimpleName()).getLooper()); in WatchdogPerfHandler()
2524 return new File(CarWatchdogService.getWatchdogDirFile(), METADATA_FILENAME); in getWatchdogMetadataFile()
DWatchdogStorage.java19 import static com.android.car.watchdog.CarWatchdogService.DEBUG;
1292 ? new File(CarWatchdogService.getWatchdogDirFile(), DATABASE_NAME) in WatchdogDbHelper()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/os/
DCarPerformanceServiceUnitTest.java34 import com.android.car.watchdog.CarWatchdogService;
50 @Mock private CarWatchdogService mMockCarWatchdogService;
60 CarLocalServices.addService(CarWatchdogService.class, mMockCarWatchdogService); in setUp()
67 CarLocalServices.removeServiceForTest(CarWatchdogService.class); in tearDown()
/packages/services/Car/service/src/com/android/car/os/
DCarPerformanceService.java37 import com.android.car.watchdog.CarWatchdogService;
48 private CarWatchdogService mCarWatchdogService;
57 mCarWatchdogService = CarLocalServices.getService(CarWatchdogService.class); in init()
/packages/services/Car/tests/carservice_test/src/com/android/car/os/
DCarPerformanceManagerTest.java41 import com.android.car.watchdog.CarWatchdogService;
55 private CarWatchdogService mCarWatchdogService;
82 mCarWatchdogService = new CarWatchdogService( in configureMockedHal()
/packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/
DCarWatchdogServiceTest.java120 private CarWatchdogService mCarWatchdogService;
124 super(CarWatchdogService.TAG); in CarWatchdogServiceTest()
156 mCarWatchdogService = new CarWatchdogService(mMockContext, mMockBuiltinPackageContext, in setUp()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DMockedCarTestBase.java79 import com.android.car.watchdog.CarWatchdogService;
120 private CarWatchdogService mCarWatchdogService = mock(CarWatchdogService.class);
207 protected void setCarWatchDogService(CarWatchdogService service) { in setCarWatchDogService()
DICarImplTest.java64 import com.android.car.watchdog.CarWatchdogService;
102 @Mock private CarWatchdogService mMockCarWatchdogService;
/packages/services/Car/service/src/com/android/car/
DICarImpl.java99 import com.android.car.watchdog.CarWatchdogService;
170 private final CarWatchdogService mCarWatchdogService;
392 mCarWatchdogService = getFromBuilderOrConstruct(t, CarWatchdogService.class, in ICarImpl()
394 () -> new CarWatchdogService(mContext, mCarServiceBuiltinPackageContext), in ICarImpl()
1144 CarWatchdogService mCarWatchdogService;
1228 public Builder setCarWatchdogService(CarWatchdogService carWatchdogService) { in setCarWatchdogService()
DCarShellCommand.java155 import com.android.car.watchdog.CarWatchdogService;
552 private final CarWatchdogService mCarWatchdogService;
584 mCarWatchdogService = (CarWatchdogService) allServicesByClazz.get(CarWatchdogService.class); in CarShellCommand()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DWatchdogProcessHandlerUnitTest.java76 CarWatchdogService.class.getSimpleName();
90 super(CarWatchdogService.TAG); in WatchdogProcessHandlerUnitTest()
DCarWatchdogServiceUnitTest.java43 import static com.android.car.watchdog.CarWatchdogService.ACTION_GARAGE_MODE_OFF;
44 import static com.android.car.watchdog.CarWatchdogService.ACTION_GARAGE_MODE_ON;
45 import static com.android.car.watchdog.CarWatchdogService.MISSING_ARG_VALUE;
206 private CarWatchdogService mCarWatchdogService;
235 super(CarWatchdogService.TAG); in CarWatchdogServiceUnitTest()
319 mCarWatchdogService = new CarWatchdogService(mMockContext, mMockBuiltinPackageContext, in setUp()
DWatchdogPerfHandlerUnitTest.java183 CarWatchdogService.class.getSimpleName();
267 super(CarWatchdogService.TAG); in WatchdogPerfHandlerUnitTest()
279 .spyStatic(CarWatchdogService.class) in onSessionBuilder()
320 CarWatchdogService::getWatchdogDirFile); in setUp()
4084 CarServiceUtils.runEmptyRunnableOnLooperSync(CarWatchdogService.class.getSimpleName());
/packages/services/Car/service/proto/android/car/watchdog/
Dcarwatchdog_daemon_dump.proto29 // the CarWatchdog daemon and CarWatchdogService.
Datoms.proto17 // Partial clone of frameworks/proto_logging/stats/atoms.proto. CarWatchdogService only uses small
/packages/services/Car/car_product/sepolicy/private/
Dcarservice_app.te113 # Allow CarWatchdogService to access car watchdog daemon