Home
last modified time | relevance | path

Searched refs:watchdog (Results 1 – 16 of 16) 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;
930 public static ObserverInternal read(XmlPullParser parser, PackageWatchdog watchdog) { in read() argument
954 packages.add(watchdog.new MonitoredPackage(packageName, duration, in read()
DEventLogTags.logtags99 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/av/media/extractors/midi/
DMidiExtractor.cpp154 Watchdog watchdog(kTimeout); in MidiEngine() local
195 Watchdog watchdog(kTimeout); in ~MidiEngine() local
228 Watchdog watchdog(kTimeout); in seekTo() local
236 Watchdog watchdog(kTimeout); in readBuffer() local
/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.java651 final Watchdog watchdog = Watchdog.getInstance(); in startBootstrapServices() local
652 watchdog.start(); in startBootstrapServices()
819 watchdog.init(mSystemContext, mActivityManagerService); in startBootstrapServices()
/frameworks/base/cmds/statsd/src/
Datoms.proto3884 * Logs when system server watchdog occurs.
6338 CRASH_RESTART = 4; // NfcService watchdog timeout restart.
7734 // Device didn't finish booting before timeout and userspace reboot watchdog issued a hard
/frameworks/base/api/
Dsystem-current.txt7644 package android.service.watchdog {
7652 …method @NonNull public abstract java.util.List<android.service.watchdog.ExplicitHealthCheckService…
7655 …field public static final String SERVICE_INTERFACE = "android.service.watchdog.ExplicitHealthCheck…
7664 …field @NonNull public static final android.os.Parcelable.Creator<android.service.watchdog.Explicit…
/frameworks/base/non-updatable-api/
Dsystem-current.txt7542 package android.service.watchdog {
7550 …method @NonNull public abstract java.util.List<android.service.watchdog.ExplicitHealthCheckService…
7553 …field public static final String SERVICE_INTERFACE = "android.service.watchdog.ExplicitHealthCheck…
7562 …field @NonNull public static final android.os.Parcelable.Creator<android.service.watchdog.Explicit…