Home
last modified time | relevance | path

Searched refs:Watchdog (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerHalWatchdog.java48 try (Watchdog ignore = new Watchdog()) { in getProperties()
55 try (Watchdog ignore = new Watchdog()) { in registerCallback()
62 try (Watchdog ignore = new Watchdog()) { in loadSoundModel()
70 try (Watchdog ignore = new Watchdog()) { in loadPhraseSoundModel()
77 try (Watchdog ignore = new Watchdog()) { in unloadSoundModel()
84 try (Watchdog ignore = new Watchdog()) { in stopRecognition()
92 try (Watchdog ignore = new Watchdog()) { in startRecognition()
99 try (Watchdog ignore = new Watchdog()) { in forceRecognitionEvent()
106 try (Watchdog ignore = new Watchdog()) { in getModelParameter()
113 try (Watchdog ignore = new Watchdog()) { in setModelParameter()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DWatchdogTest.java29 import com.android.server.Watchdog.HandlerChecker;
61 Watchdog.Monitor monitor = mock(Watchdog.Monitor.class); in checkerPausedUntilResume()
67 assertEquals(Watchdog.COMPLETED, mChecker.getCompletionStateLocked()); in checkerPausedUntilResume()
71 assertEquals(Watchdog.WAITING, mChecker.getCompletionStateLocked()); in checkerPausedUntilResume()
76 Watchdog.Monitor monitor = mock(Watchdog.Monitor.class); in checkerPausedUntilDeadline()
82 assertEquals(Watchdog.COMPLETED, mChecker.getCompletionStateLocked()); in checkerPausedUntilDeadline()
86 assertEquals(Watchdog.COMPLETED, mChecker.getCompletionStateLocked()); in checkerPausedUntilDeadline()
91 assertEquals(Watchdog.WAITING, mChecker.getCompletionStateLocked()); in checkerPausedUntilDeadline()
96 Watchdog.Monitor monitor = mock(Watchdog.Monitor.class); in checkerPausedDuringScheduledRun()
103 assertEquals(Watchdog.COMPLETED, mChecker.getCompletionStateLocked()); in checkerPausedDuringScheduledRun()
[all …]
/frameworks/av/media/module/libwatchdog/
DWatchdog.cpp30 Watchdog::Watchdog(::std::chrono::steady_clock::duration timeout) { in Watchdog() function in android::Watchdog
55 Watchdog::~Watchdog() { in ~Watchdog()
DAndroid.bp28 "Watchdog.cpp",
/frameworks/av/media/module/libwatchdog/include/watchdog/
DWatchdog.h38 class Watchdog final {
40 Watchdog(std::chrono::steady_clock::duration timeout);
41 ~Watchdog();
/frameworks/base/services/core/java/com/android/server/tv/
DTvRemoteService.java23 import com.android.server.Watchdog;
32 public class TvRemoteService extends SystemService implements Watchdog.Monitor {
46 Watchdog.getInstance().addMonitor(this); in TvRemoteService()
/frameworks/base/services/core/java/com/android/server/
DWatchdogDiagnostics.java24 import com.android.server.Watchdog.HandlerChecker;
72 PrintWriter out = new PrintWriter(new LogWriter(Log.WARN, Watchdog.TAG, Log.LOG_ID_SYSTEM), in diagnoseCheckers()
81 Slog.w(Watchdog.TAG, blockedThread.getName() + " stack trace:"); in diagnoseCheckers()
84 Slog.w(Watchdog.TAG, " at " + element); in diagnoseCheckers()
DWatchdog.java19 import static com.android.server.Watchdog.HandlerCheckerAndTimeout.withCustomTimeout;
20 import static com.android.server.Watchdog.HandlerCheckerAndTimeout.withDefaultTimeout;
86 public class Watchdog implements Dumpable { class
196 private static Watchdog sWatchdog;
442 private static final class BinderThreadMonitor implements Watchdog.Monitor {
453 public static Watchdog getInstance() { in getInstance()
455 sWatchdog = new Watchdog(); in getInstance()
461 private Watchdog() { in Watchdog() method in Watchdog
542 private final Watchdog mWatchdog;
544 SettingsObserver(Context context, Watchdog watchdog) { in SettingsObserver()
DOWNERS1 # BootReceiver / Watchdog
2 per-file BootReceiver.java,Watchdog.java = benmiles@google.com
DSystemServerInitThreadPool.java198 CompletableFuture.completedFuture(Watchdog.getInterestingNativePids()), in dumpStackTraces()
/frameworks/av/media/module/libmediatranscoding/
DTranscodingSessionController.cpp67 struct TranscodingSessionController::Watchdog { struct in android::TranscodingSessionController
68 Watchdog(TranscodingSessionController* owner, int64_t timeoutUs);
69 ~Watchdog();
98 TranscodingSessionController::Watchdog::Watchdog(TranscodingSessionController* owner, in Watchdog() function in android::TranscodingSessionController::Watchdog
104 mThread(&Watchdog::threadLoop, this) { in Watchdog()
108 TranscodingSessionController::Watchdog::~Watchdog() { in ~Watchdog()
123 void TranscodingSessionController::Watchdog::start(const SessionKeyType& key) { in start()
136 void TranscodingSessionController::Watchdog::stop() { in stop()
147 void TranscodingSessionController::Watchdog::keepAlive() { in keepAlive()
159 void TranscodingSessionController::Watchdog::updateTimer_l() NO_THREAD_SAFETY_ANALYSIS { in updateTimer_l()
[all …]
/frameworks/av/media/module/extractors/midi/
DMidiExtractor.cpp154 Watchdog watchdog(kTimeout); in MidiEngine()
195 Watchdog watchdog(kTimeout); in ~MidiEngine()
228 Watchdog watchdog(kTimeout); in seekTo()
236 Watchdog watchdog(kTimeout); in readBuffer()
/frameworks/base/proto/src/criticalevents/
Dcritical_event_log.proto57 Watchdog watchdog = 2;
76 message Watchdog { message
83 // Generated in {@link com.android.server.Watchdog#run}.
/frameworks/av/media/module/libmediatranscoding/include/media/
DTranscodingSessionController.h148 struct Watchdog;
178 std::shared_ptr<Watchdog> mWatchdog;
/frameworks/base/services/core/java/com/android/server/criticalevents/
DCriticalEventLog.java37 import com.android.server.criticalevents.nano.CriticalEventProto.Watchdog;
172 Watchdog watchdog = new Watchdog(); in logWatchdog()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/cpu/
DCpuMonitorServiceTest.java53 import com.android.server.Watchdog;
113 .mockStatic(Watchdog.class)
126 doReturn(mock(Watchdog.class)).when(Watchdog::getInstance); in setUp()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRule.java85 import com.android.server.Watchdog;
204 .mockStatic(Watchdog.class, mockStubOnly)
221 doReturn(mock(Watchdog.class)).when(Watchdog::getInstance);
/frameworks/opt/car/services/builtInServices/src/com/android/internal/car/
DCarServiceHelperService.java78 import com.android.server.Watchdog;
557 if (Watchdog.HAL_INTERFACES_OF_INTEREST.contains(info.interfaceName) || in addInterestingHidlPids()
575 Watchdog.AIDL_INTERFACE_PREFIXES_OF_INTEREST, info.name) in addInterestingAidlPids()
600 int[] nativePids = Process.getPidsForCommands(Watchdog.NATIVE_STACKS_OF_INTEREST); in getInterestingNativePids()
/frameworks/base/services/core/java/com/android/server/rollback/
DREADME.md53 #### Watchdog Triggered Rollback
55 Watchdog triggered rollback is intended to address severe issues with the
59 ##### Package Watchdog
65 ##### Native Watchdog
/frameworks/base/services/core/java/com/android/server/cpu/
DCpuMonitorService.java47 import com.android.server.Watchdog;
193 Watchdog.getInstance().addThread(mHandler); in onStart()
/frameworks/base/services/java/com/android/server/
DSystemServer.java1077 final Watchdog watchdog = Watchdog.getInstance(); in startBootstrapServices()
1247 Watchdog.getInstance().pauseWatchingCurrentThread("packagemanagermain"); in startBootstrapServices()
1252 Watchdog.getInstance().resumeWatchingCurrentThread("packagemanagermain"); in startBootstrapServices()
1278 Watchdog.getInstance().pauseWatchingCurrentThread("moveab"); in startBootstrapServices()
1283 Watchdog.getInstance().resumeWatchingCurrentThread("moveab"); in startBootstrapServices()
1836 Watchdog.getInstance().pauseWatchingCurrentThread("dexopt"); in startOtherServices()
1841 Watchdog.getInstance().resumeWatchingCurrentThread("dexopt"); in startOtherServices()
3363 Watchdog.getInstance().registerSettingsObserver(mSystemContext); in updateWatchdogTimeout()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java82 import com.android.server.Watchdog;
100 implements Watchdog.Monitor {
166 Watchdog.getInstance().addMonitor(this); in MediaProjectionManagerService()
/frameworks/base/services/tests/servicestests/src/com/android/server/criticalevents/
DCriticalEventLogTest.java34 import com.android.server.criticalevents.nano.CriticalEventProto.Watchdog;
682 event.setWatchdog(new Watchdog()); in watchdog()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java100 import com.android.server.Watchdog;
781 Watchdog.getInstance().pauseWatchingCurrentThread("native_lib_extract"); in waitForNativeBinariesExtractionForIncremental()
787 Watchdog.getInstance().resumeWatchingCurrentThread("native_lib_extract"); in waitForNativeBinariesExtractionForIncremental()
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemService.java71 import com.android.server.Watchdog;
952 Watchdog.getInstance().pauseWatchingCurrentThreadFor( in rebootWithLskfImpl()

12