Searched refs:Watchdog (Results 1 – 7 of 7) sorted by relevance
/system/security/keystore2/src/ |
D | watchdog_helper.rs | 24 use watchdog_rs::Watchdog; 33 static ref WD: Arc<Watchdog> = Watchdog::new(Duration::from_secs(10)); 38 Watchdog::watch(&WD, id, Duration::from_millis(millis)) in watch_millis() 43 Watchdog::watch(&WD, id, DEFAULT_TIMEOUT) in watch() 53 Watchdog::watch_with(&WD, id, Duration::from_millis(millis), callback) in watch_millis_with()
|
/system/core/trusty/storage/proxy/ |
D | watchdog.cpp | 88 class Watchdog { class 94 Watchdog() : watcher_(), done_(false) {} in Watchdog() function in __anon9048094c0111::Watchdog 95 ~Watchdog(); 115 Watchdog gWatchdog; 123 struct watcher* Watchdog::RegisterWatch(const char* id, const struct storage_msg* request) { in RegisterWatch() 125 watchdog_thread_ = std::thread(&Watchdog::WatchdogLoop, this); in RegisterWatch() 142 void Watchdog::UnRegisterWatch(struct watcher* watcher) { in UnRegisterWatch() 158 void Watchdog::AddProgress(struct watcher* watcher, const char* state) { in AddProgress() 167 void Watchdog::WatchdogLoop() { in WatchdogLoop() 186 Watchdog::~Watchdog() { in ~Watchdog()
|
/system/memory/lmkd/ |
D | watchdog.cpp | 28 Watchdog *watchdog = static_cast<Watchdog*>(param); in watchdog_main() 53 bool Watchdog::init() { in init() 67 bool Watchdog::start() { in start() 88 bool Watchdog::stop() { in stop() 103 bool Watchdog::create_timer(sigset_t &sigset) { in create_timer()
|
D | watchdog.h | 23 class Watchdog { 30 Watchdog(int timeout, void (*callback)()) : in Watchdog() function
|
D | lmkd.cpp | 2472 static Watchdog watchdog(WATCHDOG_TIMEOUT_SEC, watchdog_callback);
|
/system/security/keystore2/watchdog/src/ |
D | lib.rs | 36 wd: Arc<Watchdog>, 101 if self.last_report.elapsed() < Watchdog::NOISY_REPORT_TIMEOUT { in log_report() 193 pub struct Watchdog { struct 197 impl Watchdog { implementation 341 let wd = Watchdog::new(Watchdog::NOISY_REPORT_TIMEOUT.checked_mul(3).unwrap()); in test_watchdog() 345 Watchdog::watch_with(&wd, "test_watchdog", Duration::from_millis(100), move || { in test_watchdog() 351 thread::sleep(Watchdog::NOISY_REPORT_TIMEOUT); in test_watchdog() 354 thread::sleep(Watchdog::NOISY_REPORT_TIMEOUT.checked_mul(4).unwrap()); in test_watchdog()
|
/system/sepolicy/private/ |
D | system_server.te | 377 # frameworks/base/services/core/java/com/android/server/Watchdog.java. 400 # frameworks/base/services/core/java/com/android/server/Watchdog.java. 1277 # Watchdog prints debugging log to /dev/kmsg_debug. 1281 # Watchdog reads sysprops framework_watchdog.fatal_* to handle watchdog timeout loop.
|