Home
last modified time | relevance | path

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

12

/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java19 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
206 for (PackageWatchdog watchdog : mAllocatedWatchdogs) { in tearDown()
207 watchdog.removePropertyChangedListener(); in tearDown()
214 PackageWatchdog watchdog = createWatchdog(); in testRegistration_singleObserver() local
217 watchdog.startObservingHealth(observer, Arrays.asList(APP_A), SHORT_DURATION); in testRegistration_singleObserver()
218 raiseFatalFailureAndDispatch(watchdog, in testRegistration_singleObserver()
229 PackageWatchdog watchdog = createWatchdog(); in testRegistration_multiObservers() local
233 watchdog.startObservingHealth(observer1, Arrays.asList(APP_A), SHORT_DURATION); in testRegistration_multiObservers()
234 watchdog.startObservingHealth(observer2, Arrays.asList(APP_A, APP_B), SHORT_DURATION); in testRegistration_multiObservers()
235 raiseFatalFailureAndDispatch(watchdog, in testRegistration_multiObservers()
[all …]
DCrashRecoveryTest.java19 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
212 for (PackageWatchdog watchdog : mAllocatedWatchdogs) { in tearDown()
213 watchdog.removePropertyChangedListener(); in tearDown()
220 PackageWatchdog watchdog = createWatchdog(); in testBootLoopWithRescueParty() local
221 RescuePartyObserver rescuePartyObserver = setUpRescuePartyObserver(watchdog); in testBootLoopWithRescueParty()
226 watchdog.noteBoot(); in testBootLoopWithRescueParty()
232 watchdog.noteBoot(); in testBootLoopWithRescueParty()
237 watchdog.noteBoot(); in testBootLoopWithRescueParty()
242 watchdog.noteBoot(); in testBootLoopWithRescueParty()
247 watchdog.noteBoot(); in testBootLoopWithRescueParty()
[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/proto_logging/stats/express/catalog/
Dbiometric.cfg3 display_name: "Biometric scheduler operation watchdog triggered count"
4 …description: "Number of times the watchdog had to clear the scheduler due to a potentially hung op…
/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;
249 …result.getParcelableArrayList(EXTRA_SUPPORTED_PACKAGES, android.service.watchdog.ExplicitHealthChe… in getSupportedPackages()
DWatchdog.java544 SettingsObserver(Context context, Watchdog watchdog) { in SettingsObserver() argument
547 mWatchdog = watchdog; in SettingsObserver()
DPackageWatchdog.java19 import static android.service.watchdog.ExplicitHealthCheckService.PackageConfig;
1413 public static ObserverInternal read(TypedXmlPullParser parser, PackageWatchdog watchdog) { in read() argument
1439 MonitoredPackage pkg = watchdog.parseMonitoredPackage(parser); in read()
DEventLogTags.logtags101 2802 watchdog (Service|3)
/frameworks/base/proto/src/criticalevents/
Dcritical_event_log.proto48 // A "critical" event such as an ANR or watchdog.
57 Watchdog watchdog = 2; field
77 // The watchdog subject.
81 // Unique identifier of the watchdog.
82 // Can be used to join with other data for this watchdog such as stack dumps & perfetto traces.
89 // The half-watchdog subject.
/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/module/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/packages/CrashRecovery/framework/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.java172 Watchdog watchdog = new Watchdog(); in logWatchdog() local
173 watchdog.subject = subject; in logWatchdog()
174 watchdog.uuid = uuid.toString(); in logWatchdog()
176 event.setWatchdog(watchdog); in logWatchdog()
/frameworks/opt/car/services/builtInServices/
DAndroid.bp19 "android.automotive.watchdog.internal-V3-java",
/frameworks/base/services/core/java/com/android/server/power/stats/
Dflags.aconfig44 description: "Bugfix flag for locking issues and watchdog kills in BatteryStatsService"
/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/
DCarServiceHelperService.java44 import android.automotive.watchdog.internal.ICarWatchdogMonitor;
45 import android.automotive.watchdog.internal.ProcessIdentifier;
46 import android.automotive.watchdog.internal.StateType;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DRescuePartyTest.java1088 private void mockCrashRecoveryProperties(PackageWatchdog watchdog) { in mockCrashRecoveryProperties() argument
1145 mSpyBootThreshold = spy(watchdog.new BootThreshold( in mockCrashRecoveryProperties()
1197 Field mBootThresholdField = watchdog.getClass().getDeclaredField("mBootThreshold"); in mockCrashRecoveryProperties()
1199 mBootThresholdField.set(watchdog, mSpyBootThreshold); in mockCrashRecoveryProperties()
/frameworks/base/services/core/
DAndroid.bp210 "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()

12