Home
last modified time | relevance | path

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

12

/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java19 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
193 for (PackageWatchdog watchdog : mAllocatedWatchdogs) { in tearDown()
194 watchdog.removePropertyChangedListener(); in tearDown()
201 PackageWatchdog watchdog = createWatchdog(); in testRegistration_singleObserver() local
204 watchdog.startObservingHealth(observer, Arrays.asList(APP_A), SHORT_DURATION); in testRegistration_singleObserver()
205 raiseFatalFailureAndDispatch(watchdog, in testRegistration_singleObserver()
216 PackageWatchdog watchdog = createWatchdog(); in testRegistration_multiObservers() local
220 watchdog.startObservingHealth(observer1, Arrays.asList(APP_A), SHORT_DURATION); in testRegistration_multiObservers()
221 watchdog.startObservingHealth(observer2, Arrays.asList(APP_A, APP_B), SHORT_DURATION); in testRegistration_multiObservers()
222 raiseFatalFailureAndDispatch(watchdog, in testRegistration_multiObservers()
[all …]
DExplicitHealthCheckServiceTest.java26 import android.service.watchdog.ExplicitHealthCheckService;
27 import android.service.watchdog.IExplicitHealthCheckService;
/frameworks/base/services/tests/servicestests/src/com/android/server/criticalevents/
DCriticalEventLogTest.java101 watchdog(START_TIME_MS - 2000, "Old watchdog 1"), in loadEvents_validContents()
102 watchdog(START_TIME_MS - 1000, "Old watchdog 2"), in loadEvents_validContents()
176 watchdog(START_TIME_MS - 5000, "Old watchdog 6"), in loadEvents_numEventsExceedsBufferCapacity()
177 watchdog(START_TIME_MS - 4000, "Old watchdog 7"), in loadEvents_numEventsExceedsBufferCapacity()
178 watchdog(START_TIME_MS - 3000, "Old watchdog 8"), in loadEvents_numEventsExceedsBufferCapacity()
179 watchdog(START_TIME_MS - 2000, "Old watchdog 9"), in loadEvents_numEventsExceedsBufferCapacity()
180 watchdog(START_TIME_MS - 1000, "Old watchdog 10"), in loadEvents_numEventsExceedsBufferCapacity()
224 watchdog(START_TIME_MS + 1000, "Subject 1", "123e4567-e89b-12d3-a456-556642440000") in logWatchdog()
493 watchdog(START_TIME_MS + 5000, "Subject 5", UUID_STRING), in getOutputLogProto_numberOfEventsExceedsCapacity()
494 watchdog(START_TIME_MS + 6000, "Subject 6", UUID_STRING), in getOutputLogProto_numberOfEventsExceedsCapacity()
[all …]
/frameworks/base/proto/src/criticalevents/
Dcritical_event_log.proto48 // A "critical" event such as an ANR or watchdog.
57 Watchdog watchdog = 2; field
65 // The watchdog subject.
69 // Unique identifier of the watchdog.
70 // Can be used to join with other data for this watchdog such as stack dumps & perfetto traces.
77 // The half-watchdog subject.
/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;
DWatchdog.java465 SettingsObserver(Context context, Watchdog watchdog) { in SettingsObserver() argument
468 mWatchdog = watchdog; in SettingsObserver()
DPackageWatchdog.java19 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
1291 public static ObserverInternal read(TypedXmlPullParser parser, PackageWatchdog watchdog) { in read() argument
1306 MonitoredPackage pkg = watchdog.parseMonitoredPackage(parser); in read()
DEventLogTags.logtags101 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/sysprop/
DWatchdogProperties.sysprop18 # To escape the watchdog timeout loop, fatal reboot the system when
19 # watchdog timed out 'fatal_count' times in 'fatal_window_seconds'
DAndroid.bp33 name: "com.android.sysprop.watchdog",
/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/services/core/java/com/android/server/criticalevents/
DCriticalEventLog.java146 Watchdog watchdog = new Watchdog(); in logWatchdog() local
147 watchdog.subject = subject; in logWatchdog()
148 watchdog.uuid = uuid.toString(); in logWatchdog()
150 event.setWatchdog(watchdog); in logWatchdog()
/frameworks/opt/car/services/builtInServices/
DAndroid.bp18 "android.automotive.watchdog.internal-V2-java",
/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/
DCarServiceHelperService.java34 import android.automotive.watchdog.internal.ICarWatchdogMonitor;
35 import android.automotive.watchdog.internal.ProcessIdentifier;
36 import android.automotive.watchdog.internal.StateType;
/frameworks/base/services/core/
DAndroid.bp175 "com.android.sysprop.watchdog",
/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java145 AppErrors(Context context, ActivityManagerService service, PackageWatchdog watchdog) { in AppErrors() argument
150 mPackageWatchdog = watchdog; in AppErrors()
/frameworks/base/services/java/com/android/server/
DSystemServer.java1056 final Watchdog watchdog = Watchdog.getInstance(); in startBootstrapServices() local
1057 watchdog.start(); in startBootstrapServices()
1058 mDumper.addDumpable(watchdog); in startBootstrapServices()
1294 watchdog.init(mSystemContext, mActivityManagerService); in startBootstrapServices()
/frameworks/base/services/core/java/com/android/server/rollback/
DREADME.md61 There is a package watchdog service running on device that will trigger rollback
/frameworks/proto_logging/stats/
Datoms.proto6636 * Logs when system server watchdog occurs.
10010 CRASH_RESTART = 4; // NfcService watchdog timeout restart.
13951 // Device didn't finish booting before timeout and userspace reboot watchdog issued a hard
17355 * packages/services/Car/service/src/com/android/car/watchdog/proto/atoms.proto
17358 * packages/services/Car/service/src/com/android/car/watchdog/WatchdogPerfHandler.java
17382 // Keep in sync with proto file at packages/services/Car/cpp/watchdog/proto
17403 * packages/services/Car/service/src/com/android/car/watchdog/proto/atoms.proto
17406 * packages/services/Car/service/src/com/android/car/watchdog/WatchdogPerfHandler.java
17420 * packages/services/Car/service/src/com/android/car/watchdog/proto/atoms.proto
17423 * packages/services/Car/service/src/com/android/car/watchdog/WatchdogPerfHandler.java
[all …]
/frameworks/base/core/api/
Dtest-lint-baseline.txt72 ExecutorRegistration: android.service.watchdog.ExplicitHealthCheckService#setCallback(android.os.Re…
896 OnNameExpected: android.service.watchdog.ExplicitHealthCheckService#setCallback(android.os.RemoteCa…

12