Home
last modified time | relevance | path

Searched refs:ProcessUtil (Results 1 – 11 of 11) sorted by relevance

/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DMallocDebug.java57 throws DeviceNotAvailableException, TimeoutException, ProcessUtil.KillException { in MallocDebug()
79 mProcessKill = ProcessUtil.withProcessKill(device, processName, null); in MallocDebug()
80 ProcessUtil.waitProcessRunning(device, processName); in MallocDebug()
119 ProcessUtil.waitProcessRunning(mDevice, mProcessName); in close()
147 ProcessUtil.KillException { in withLibcMallocDebugOnService()
167 ProcessUtil.KillException { in withLibcMallocDebugOnNewProcess()
171 if (ProcessUtil.pidsOf(device, processName).isPresent()) { in withLibcMallocDebugOnNewProcess()
188 throws DeviceNotAvailableException, TimeoutException, ProcessUtil.KillException { in withLibcMallocDebugOnAllNewProcesses()
DRootcanalUtils.java89 ProcessUtil.killAll( in finished()
104 } catch (ProcessUtil.KillException e) { in finished()
105 if (e.getReason() != ProcessUtil.KillException.Reason.NO_SUCH_PROCESS) { in finished()
192 if (ProcessUtil.killAll(device, "android\\.hardware\\.bluetooth@.*", 10_000, false)) { in enableRootcanal()
203 ProcessUtil.killAll(device, "hwservicemanager$", 10_000); in enableRootcanal()
216 ProcessUtil.waitProcessRunning( in enableRootcanal()
220 } catch (ProcessUtil.KillException e) { in enableRootcanal()
DNativePocMallocDebugAsserter.java53 throws DeviceNotAvailableException, TimeoutException, ProcessUtil.KillException { in withAutoCloseable()
DFridaUtils.java185 ProcessUtil.waitProcessRunning(device, "^" + remoteFridaExeName); in withFridaScript()
202 ProcessUtil.killPid(device, pid.intValue(), 10_000L); in close()
203 } catch (ProcessUtil.KillException e) { in close()
204 if (e.getReason() != ProcessUtil.KillException.Reason.NO_SUCH_PROCESS) { in close()
DProcessUtil.java37 public final class ProcessUtil { class
58 private static final String LOG_TAG = ProcessUtil.class.getSimpleName();
66 private ProcessUtil() {} in ProcessUtil() method in ProcessUtil
/platform_testing/libraries/sts-common-util/host-side/tests/src/com/android/sts/common/
DProcessUtilTest.java53 ProcessUtil.findFileLoadedByProcess( in testFindLoadedByProcessNonRoot()
63 ProcessUtil.findFileLoadedByProcess( in testFindLoadedByProcessMultipleProcesses()
74 ProcessUtil.findFileLoadedByProcess( in testFindLoadedByProcessUtilRoot()
89 ProcessUtil.findFileLoadedByProcess( in testFindLoadedByProcessUtilNoMatch()
/platform_testing/libraries/sts-common-util/host-side/tests/src/com/android/sts/common/util/
DTombstoneUtilsTest.java27 import com.android.sts.common.ProcessUtil;
487 ProcessUtil.killAll( in testWithAssertNoCrashesCatchesCrash()
505 Map<Integer, String> pidsMap = ProcessUtil.waitProcessRunning(getDevice(), pgrepRegex); in testWithAssertNoCrashesCatchesCrash()
509 ProcessUtil.killPid( in testWithAssertNoCrashesCatchesCrash()
510 getDevice(), pid.get(), /* SIGSEGV */ 11, ProcessUtil.PROCESS_WAIT_TIMEOUT_MS); in testWithAssertNoCrashesCatchesCrash()
527 ProcessUtil.killAll( in testWithAssertNoCrashesForNoCrashPriorCrashes()
539 Map<Integer, String> pidsMap = ProcessUtil.waitProcessRunning(getDevice(), pgrepRegex); in testWithAssertNoCrashesForNoCrashPriorCrashes()
543 ProcessUtil.killPid( in testWithAssertNoCrashesForNoCrashPriorCrashes()
544 getDevice(), pid.get(), /* SIGSEGV */ 11, ProcessUtil.PROCESS_WAIT_TIMEOUT_MS); in testWithAssertNoCrashesForNoCrashPriorCrashes()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DProcessUtil.kt9 class ProcessUtil(private val packageName: String) { in <lambda>() class
DSysuiRestarter.kt34 private val sysuiProcessUtils = ProcessUtil(UI_PACKAGE_NAME_SYSUI)
/platform_testing/libraries/sts-common-util/sts-sdk/package/sts-test/src/main/java/android/security/sts/
DStsHostSideTestCase.java27 import com.android.sts.common.ProcessUtil;
131 ProcessUtil.findFileLoadedByProcess( in testWithVulnerableLibrary()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/util/
DTombstoneUtils.java23 import com.android.sts.common.ProcessUtil;
93 ProcessUtil.pidsOf(device, "^crash_dump.*$") in withAssertNoSecurityCrashes()
100 ProcessUtil.waitPidExited(device, pid); in withAssertNoSecurityCrashes()
103 | ProcessUtil.KillException e) { in withAssertNoSecurityCrashes()