Home
last modified time | relevance | path

Searched refs:oomCatcher (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/securitybulletin/src/android/security/cts/
DHostsideOomCatcher.java119 BackgroundDeviceAction oomCatcher = null; in start()
121 oomCatcher = reference.get(); in start()
123 if (oomCatcher == null || !oomCatcher.isAlive() || oomCatcher.isCancelled()) { in start()
126 oomCatcher = new BackgroundDeviceAction( in start()
131 oomCatchers.put(getDevice().getSerialNumber(), new WeakReference<>(oomCatcher)); in start()
132 oomCatcher.start(); in start()
143 BackgroundDeviceAction oomCatcher = reference.get();
144 if (oomCatcher != null) {
145 oomCatcher.cancel();
DSecurityTestCase.java50 private HostsideOomCatcher oomCatcher = new HostsideOomCatcher(this); field in SecurityTestCase
64 oomCatcher.start(); in setUp()
73 oomCatcher.stop(getDevice().getSerialNumber()); in tearDown()
83 if (oomCatcher.isOomDetected()) { in tearDown()
86 switch (oomCatcher.getOomBehavior()) { in tearDown()
222 return oomCatcher; in getOomCatcher()