Home
last modified time | relevance | path

Searched defs:device (Results 1 – 25 of 59) sorted by relevance

123

/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DDumpsysUtils.java40 public static String getRawDumpsys(ITestDevice device, String args) throws Exception { in getRawDumpsys()
63 ITestDevice device, in getParsedDumpsys()
96 ITestDevice device, String service, String pattern, int matcherFlag) throws Exception { in getParsedDumpsys()
108 public static boolean hasActivityResumed(ITestDevice device, String activityName) in hasActivityResumed()
127 public static boolean isActivityVisible(ITestDevice device, String activityName) in isActivityVisible()
147 public static String getRoleHolder(ITestDevice device, String roleName, int userId) in getRoleHolder()
181 public static String getRoleHolder(ITestDevice device, String roleName) throws Exception { in getRoleHolder()
DProcessUtil.java76 public static Optional<Map<Integer, String>> pidsOf(ITestDevice device, String pgrepRegex) in pidsOf()
107 public static Optional<Integer> pidOf(ITestDevice device, String pgrepRegex) in pidOf()
126 public static Map<Integer, String> waitProcessRunning(ITestDevice device, String pgrepRegex) in waitProcessRunning()
140 ITestDevice device, String pgrepRegex, long timeoutMs) in waitProcessRunning()
167 public static Optional<String> getProcessName(ITestDevice device, int pid) in getProcessName()
185 public static void waitPidExited(ITestDevice device, int pid) in waitPidExited()
198 public static void waitPidExited(ITestDevice device, int pid, long timeoutMs) in waitPidExited()
233 public static void killPid(ITestDevice device, int pid, long timeoutMs) in killPid()
246 public static void killPid(ITestDevice device, int pid, int signal, long timeoutMs) in killPid()
272 public static boolean killAll(ITestDevice device, String pgrepRegex, long timeoutMs) in killAll()
[all …]
DMallocDebug.java56 ITestDevice device, String mallocDebugOption, String processName, boolean isService) in MallocDebug()
145 ITestDevice device, String mallocDebugOptions, String processName) in withLibcMallocDebugOnService()
165 ITestDevice device, String mallocDebugOptions, String processName) in withLibcMallocDebugOnNewProcess()
187 ITestDevice device, String mallocDebugOptions) in withLibcMallocDebugOnAllNewProcesses()
DCommandUtil.java39 public static CommandResult runAndCheck(ITestDevice device, String cmd) in runAndCheck()
52 public static CommandResult runAndCheck(ITestDevice device, String cmd, int retries) in runAndCheck()
DFridaUtils.java78 private final ITestDevice device; field in FridaUtils
84 private FridaUtils(ITestDevice device, IBuildInfo buildInfo) in FridaUtils()
142 public static FridaUtils withFrida(ITestDevice device, IBuildInfo buildInfo) in withFrida()
220 private String getFridaAbiFor(ITestDevice device) in getFridaAbiFor()
238 private List<String> getSupportedAbis(ITestDevice device) throws DeviceNotAvailableException { in getSupportedAbis()
DOverlayFsUtils.java74 ITestDevice device = test.getDevice(); in makeWritable() local
148 ITestDevice device = test.getDevice(); in anyOverlayFsMounted() local
156 ITestDevice device = test.getDevice(); in finished() local
DNativePocAsserter.java25 public default AutoCloseable withAutoCloseable(NativePoc nativePoc, ITestDevice device) in withAutoCloseable()
DSystemUtil.java42 final ITestDevice device, final String name, final String value) in withProperty()
DPocPusher.java40 private ITestDevice device = null; field in PocPusher
72 public PocPusher setDevice(ITestDevice device) { in setDevice()
DRootcanalUtils.java85 ITestDevice device = test.getDevice(); in finished() local
118 ITestDevice device = test.getDevice(); in enableRootcanal() local
256 private void tryUpdateVintfManifest(ITestDevice device) in tryUpdateVintfManifest()
307 private void waitPropertyValue(ITestDevice device, String name, String value, long timeoutMs) in waitPropertyValue()
DNativePocMallocDebugAsserter.java52 public AutoCloseable withAutoCloseable(NativePoc nativePoc, ITestDevice device) in withAutoCloseable()
DNativePocCrashAsserter.java52 public AutoCloseable withAutoCloseable(NativePoc nativePoc, ITestDevice device) in withAutoCloseable()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/util/
DKernelVersionHost.java34 public static KernelVersion getKernelVersion(ITestDevice device) in getKernelVersion()
48 public static boolean isKernelVersionEqualTo(ITestDevice device, String testVersion) in isKernelVersionEqualTo()
61 public static boolean isKernelVersionLessThan(ITestDevice device, String testVersion) in isKernelVersionLessThan()
74 public static boolean isKernelVersionLessThanEqualTo(ITestDevice device, String testVersion) in isKernelVersionLessThanEqualTo()
87 public static boolean isKernelVersionGreaterThan(ITestDevice device, String testVersion) in isKernelVersionGreaterThan()
100 public static boolean isKernelVersionGreaterThanEqualTo(ITestDevice device, String testVersion) in isKernelVersionGreaterThanEqualTo()
DUnameVersionHost.java29 private final ITestDevice device; field in UnameVersionHost
32 public UnameVersionHost(ITestDevice device) { in UnameVersionHost()
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/core/
DAudioSystemService.java48 AudioCapturer createCapturerFor(AudioDevice device, AudioFormat audioFormat) throws IOException; in createCapturerFor()
69 default AudioCapturer createWithDefaultAudioFormat(AudioDevice device) throws IOException { in createWithDefaultAudioFormat()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/tradefed/testtype/
DSecurityTestCase.java164 public static IBuildInfo getBuildInfo(ITestDevice device) { in getBuildInfo()
168 public static IAbi getAbi(ITestDevice device) { in getAbi()
172 public static String getTestName(ITestDevice device) { in getTestName()
176 public static PocPusher getPocPusher(ITestDevice device) { in getPocPusher()
296 protected boolean containsDriver(ITestDevice device, String driver) throws Exception { in containsDriver()
301 protected boolean containsDriver(ITestDevice device, String driver, boolean checkReadable) in containsDriver()
336 public static MetricsReportLog buildMetricsReportLog(ITestDevice device) { in buildMetricsReportLog()
396 ITestDevice device = getDevice(); in logAndTerminateTestProcesses() local
477 public void assumeIsSupportedNfcDevice(ITestDevice device) throws Exception { in assumeIsSupportedNfcDevice()
505 ITestDevice device = getDevice(); in createWifiHelper() local
[all …]
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DUiWatchers.java43 final UiDevice device = UiDevice.getInstance(instr); in registerAnrAndCrashWatchers() local
80 final UiDevice device = UiDevice.getInstance(instr); in removeAnrAndCrashWatchers() local
104 public void postHandler(UiDevice device) { in postHandler()
/platform_testing/host_runners/utils/src/com/android/runner/utils/
DNohupCommandHelper.java43 public static void executeAdbNohupCommand(ITestDevice device, String cmd, int timeout) in executeAdbNohupCommand()
97 public static void executeAdbNohupCommand(ITestDevice device, String cmd) in executeAdbNohupCommand()
/platform_testing/tests/featureflag/src/android/test/featureflag/
DFeatureFlagTest.java45 private ITestDevice device; field in FeatureFlagTest
72 public void setDevice(ITestDevice device) { in setDevice()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DMonitorUtilsTest.kt31 private val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) constant
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/javasound/
DJavaAudioSystemService.java85 public AudioCapturer createCapturerFor(AudioDevice device, AudioFormat audioFormat) in createCapturerFor()
155 AudioDevice device = audioDeviceBuilder.build(); in rebuildMixerCache() local
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DDeviceConfigHelper.java29 UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setConfigValue() local
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
DUiBenchJankTestsHelper.java60 private UiBenchJankTestsHelper(UiDevice device, Context context) { in UiBenchJankTestsHelper()
65 public static UiBenchJankTestsHelper getInstance(UiDevice device) { in getInstance()
69 public static UiBenchJankTestsHelper getInstance(UiDevice device, Context context) { in getInstance()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/ghidra/
DGhidra.java27 private ITestDevice device; field in Ghidra
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/wm/
DWindowManagerTraceParserTest.kt52 val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) in canParseAllEntriesFromNewTrace() constant

123