Home
last modified time | relevance | path

Searched refs:watchdog (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java19 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
122 PackageWatchdog watchdog = createWatchdog(); in testRegistration() local
128 watchdog.startObservingHealth(observer1, Arrays.asList(APP_A), SHORT_DURATION); in testRegistration()
130 watchdog.startObservingHealth(observer2, Arrays.asList(APP_A, APP_B), SHORT_DURATION); in testRegistration()
132 watchdog.startObservingHealth(observer3, Arrays.asList(APP_A), LONG_DURATION); in testRegistration()
136 assertEquals(1, watchdog.getPackages(observer1).size()); in testRegistration()
137 assertTrue(watchdog.getPackages(observer1).contains(APP_A)); in testRegistration()
139 assertEquals(2, watchdog.getPackages(observer2).size()); in testRegistration()
140 assertTrue(watchdog.getPackages(observer2).contains(APP_A)); in testRegistration()
141 assertTrue(watchdog.getPackages(observer2).contains(APP_B)); in testRegistration()
[all …]
/frameworks/base/services/core/java/com/android/server/
DExplicitHealthCheckController.java18 import static android.service.watchdog.ExplicitHealthCheckService.EXTRA_HEALTH_CHECK_PASSED_PACKAGE;
19 import static android.service.watchdog.ExplicitHealthCheckService.EXTRA_REQUESTED_PACKAGES;
20 import static android.service.watchdog.ExplicitHealthCheckService.EXTRA_SUPPORTED_PACKAGES;
21 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
37 import android.service.watchdog.ExplicitHealthCheckService;
38 import android.service.watchdog.IExplicitHealthCheckService;
DPackageWatchdog.java19 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
911 public static ObserverInternal read(XmlPullParser parser, PackageWatchdog watchdog) { in read() argument
935 packages.add(watchdog.new MonitoredPackage(packageName, duration, in read()
DEventLogTags.logtags93 2802 watchdog (Service|3)
/frameworks/rs/
DrsContext.cpp108 watchdog.inRoot = true; in runRootScript()
110 watchdog.inRoot = false; in runRootScript()
391 if (rsc->watchdog.command && rsc->watchdog.file) { in printWatchdogInfo()
392 ALOGE("RS watchdog timeout: %i %s line %i %s", rsc->watchdog.inRoot, in printWatchdogInfo()
393 rsc->watchdog.command, rsc->watchdog.line, rsc->watchdog.file); in printWatchdogInfo()
395 ALOGE("RS watchdog timeout: %i", rsc->watchdog.inRoot); in printWatchdogInfo()
436 memset(&watchdog, 0, sizeof(watchdog)); in Context()
DrsContext.h190 watchdog.command = cmd; in setWatchdogGL()
191 watchdog.file = file; in setWatchdogGL()
192 watchdog.line = line; in setWatchdogGL()
230 } watchdog; variable
/frameworks/base/core/java/android/service/watchdog/
DPackageConfig.aidl17 package android.service.watchdog;
DIExplicitHealthCheckService.aidl17 package android.service.watchdog;
DExplicitHealthCheckService.java17 package android.service.watchdog;
/frameworks/base/proto/src/
Dwifi.proto148 // Total number of networks over bad association threshold when watchdog triggered
151 // Total number of networks over bad authentication threshold when watchdog triggered
154 // Total number of networks over bad dhcp threshold when watchdog triggered
157 // Total number of networks over bad other threshold when watchdog triggered
160 // Total count of networks seen when watchdog triggered
175 // Count of times connectivity watchdog confirmed pno is working
178 // Count of times connectivity watchdog found pno not working
181 // Count of times connectivity watchdog confirmed background scan is working
184 // Count of times connectivity watchdog found background scan not working
429 // The number of times wifi experienced failures after watchdog has already been triggered and is
/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java102 AppErrors(Context context, ActivityManagerService service, PackageWatchdog watchdog) { in AppErrors() argument
106 mPackageWatchdog = watchdog; in AppErrors()
/frameworks/base/services/java/com/android/server/
DSystemServer.java627 final Watchdog watchdog = Watchdog.getInstance(); in startBootstrapServices() local
628 watchdog.start(); in startBootstrapServices()
785 watchdog.init(mSystemContext, mActivityManagerService); in startBootstrapServices()
/frameworks/base/
DAndroid.bp323 "core/java/android/service/watchdog/IExplicitHealthCheckService.aidl",
324 "core/java/android/service/watchdog/PackageConfig.aidl",
/frameworks/base/cmds/statsd/src/
Datoms.proto3600 * Logs when system server watchdog occurs.
5568 CRASH_RESTART = 4; // NfcService watchdog timeout restart.
/frameworks/base/api/
Dsystem-current.txt6822 package android.service.watchdog {
6830 …method @NonNull public abstract java.util.List<android.service.watchdog.ExplicitHealthCheckService…
6833 …field public static final String SERVICE_INTERFACE = "android.service.watchdog.ExplicitHealthCheck…
6842 …field @NonNull public static final android.os.Parcelable.Creator<android.service.watchdog.Explicit…