Home
last modified time | relevance | path

Searched refs:instr (Results 1 – 25 of 32) sorted by relevance

12

/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DLogGenerator.java40 Instrumentation instr, in saveLog() argument
44 instr, in saveLog()
52 void save(Instrumentation instr, String logDir) in save() argument
58 public void save(Instrumentation instr, String logDir) in save() argument
61 saveLog(instr, "dumpsys meminfo -c -S", logDir + "/compact-meminfo-%s.txt"); in save()
70 public void save(Instrumentation instr, String logDir) in save() argument
73 saveLog(instr, "dumpsys cpuinfo", logDir + "/cpuinfo-%s.txt"); in save()
82 public void save(Instrumentation instr, String logDir) in save() argument
85 FilesystemUtil.saveBugreport(instr, logDir + "/bugreport-%s.txt"); in save()
94 public void save(Instrumentation instr, String logDir) in save() argument
[all …]
DFilesystemUtil.java41 public static void saveProcessOutput(Instrumentation instr, String command, File file) in saveProcessOutput() argument
47 saveProcessOutput(instr, command, out); in saveProcessOutput()
52 public static void saveProcessOutput(Instrumentation instr, String command, OutputStream out) in saveProcessOutput() argument
56 ParcelFileDescriptor pfd = instr.getUiAutomation().executeShellCommand(command); in saveProcessOutput()
79 public static void saveBugreport(Instrumentation instr, String filename) in saveBugreport() argument
84 saveProcessOutput(instr, cmdline, baos); in saveBugreport()
89 public static void saveBugreportz(Instrumentation instr) throws IOException { in saveBugreportz() argument
98 public static void dumpMeminfo(Instrumentation instr, String notes) { in dumpMeminfo() argument
114 saveProcessOutput(instr, "dumpsys meminfo -c", fos); in dumpMeminfo()
DUiWatchers.java42 public void registerAnrAndCrashWatchers(Instrumentation instr) { in registerAnrAndCrashWatchers() argument
43 final UiDevice device = UiDevice.getInstance(instr); in registerAnrAndCrashWatchers()
79 public void removeAnrAndCrashWatchers(Instrumentation instr) { in removeAnrAndCrashWatchers() argument
80 final UiDevice device = UiDevice.getInstance(instr); in removeAnrAndCrashWatchers()
DDataCollector.java54 long bugreportzInterval, File outputLocation, Instrumentation instr) { in DataCollector() argument
57 instrumentation = instr; in DataCollector()
DMemHealthRecord.java83 Instrumentation instr, in get() argument
91 String meminfo = getMeminfoOutput(instr, procName); in get()
489 public static String getMeminfoOutput(Instrumentation instr, String processName) in getMeminfoOutput() argument
491 return getProcessOutput(instr, "dumpsys meminfo " + processName); in getMeminfoOutput()
494 public static String getProcessOutput(Instrumentation instr, String command) in getProcessOutput() argument
497 FilesystemUtil.saveProcessOutput(instr, command, baos); in getProcessOutput()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/helpers/
DStandardAppHelper.kt40 instr: Instrumentation,
44 LauncherStrategyFactory.getInstance(instr).launcherStrategy
45 ) : AbstractStandardAppHelper(instr) {
47 instr: Instrumentation,
52 LauncherStrategyFactory.getInstance(instr).launcherStrategy
53 ): this(instr, appName,
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DStopwatchRuleTest.java62 Instrumentation instr = Mockito.mock(Instrumentation.class); in testMetricSendToInstr() local
63 rule.setInstrumentation(instr); in testMetricSendToInstr()
71 verify(instr).sendStatus(StopwatchRule.INST_STATUS_IN_PROGRESS, rule.getMetric()); in testMetricSendToInstr()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DHelperManager.java76 public static HelperManager getInstance(Context context, Instrumentation instr) { in getInstance() argument
82 if (instr == null) { in getInstance()
88 sInstance = new HelperManager(paths, instr); in getInstance()
102 public static HelperManager getInstance(List<String> paths, Instrumentation instr) { in getInstance() argument
111 if (instr == null) { in getInstance()
116 sInstance = new HelperManager(paths, instr); in getInstance()
125 private HelperManager(List<String> paths, Instrumentation instr) { in HelperManager() argument
126 mInstrumentation = instr; in HelperManager()
/platform_testing/libraries/automotive-helpers/home-helper/src/android/platform/helpers/
DHomeHelperImpl.java25 public HomeHelperImpl(Instrumentation instr) { in HomeHelperImpl() argument
26 super(instr); in HomeHelperImpl()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityHelper.java56 private AccessibilityHelper(Instrumentation instr) { in AccessibilityHelper() argument
57 mInstrumentation = instr; in AccessibilityHelper()
59 mDevice = UiDevice.getInstance(instr); in AccessibilityHelper()
63 public static AccessibilityHelper getInstance(Instrumentation instr) { in getInstance() argument
65 sInstance = new AccessibilityHelper(instr); in getInstance()
DAccessibilityScannerHelper.java53 private AccessibilityScannerHelper(Instrumentation instr) { in AccessibilityScannerHelper() argument
54 mDevice = UiDevice.getInstance(instr); in AccessibilityScannerHelper()
56 mPackageHelper = PackageHelper.getInstance(instr); in AccessibilityScannerHelper()
57 mAccessibilityHelper = AccessibilityHelper.getInstance(instr); in AccessibilityScannerHelper()
60 public static AccessibilityScannerHelper getInstance(Instrumentation instr) { in getInstance() argument
62 sInstance = new AccessibilityScannerHelper(instr); in getInstance()
/platform_testing/libraries/automotive-helpers/media-center-app-helper/src/android/platform/helpers/
DTestMediaAppHelperImpl.java31 public TestMediaAppHelperImpl(Instrumentation instr) { in TestMediaAppHelperImpl() argument
32 super(instr); in TestMediaAppHelperImpl()
DMediaCenterHelperImpl.java51 public MediaCenterHelperImpl(Instrumentation instr) { in MediaCenterHelperImpl() argument
52 super(instr); in MediaCenterHelperImpl()
53 mUiAutomation = instr.getUiAutomation(); in MediaCenterHelperImpl()
57 instr.getContext().getSystemService(Context.MEDIA_SESSION_SERVICE); in MediaCenterHelperImpl()
/platform_testing/libraries/automotive-helpers/app-grid-helper/src/android/platform/helpers/
DAppGridHelperImpl.java37 public AppGridHelperImpl(Instrumentation instr) { in AppGridHelperImpl() argument
38 super(instr); in AppGridHelperImpl()
/platform_testing/libraries/automotive-helpers/dial-app-helper/src/android/platform/helpers/
DContactDetailsHelperImpl.java30 public ContactDetailsHelperImpl(Instrumentation instr) { in ContactDetailsHelperImpl() argument
31 super(instr); in ContactDetailsHelperImpl()
/platform_testing/libraries/automotive-helpers/notifications-app-helper/src/android/platform/helpers/
DAutoNotificationMockingHelperImpl.java55 public AutoNotificationMockingHelperImpl(Instrumentation instr) { in AutoNotificationMockingHelperImpl() argument
56 super(instr); in AutoNotificationMockingHelperImpl()
57 mNotificationManager = instr.getContext().getSystemService(NotificationManager.class); in AutoNotificationMockingHelperImpl()
DAutoNotificationHelperImpl.java31 public AutoNotificationHelperImpl(Instrumentation instr) { in AutoNotificationHelperImpl() argument
32 super(instr); in AutoNotificationHelperImpl()
/platform_testing/libraries/automotive-helpers/lock-screen-helper/src/android/platform/helpers/
DLockScreenHelperImpl.java36 public LockScreenHelperImpl(Instrumentation instr) { in LockScreenHelperImpl() argument
37 super(instr); in LockScreenHelperImpl()
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingUserHelperImpl.java42 public SettingUserHelperImpl(Instrumentation instr) { in SettingUserHelperImpl() argument
43 super(instr); in SettingUserHelperImpl()
DSettingsSoundsHelperImpl.java49 public SettingsSoundsHelperImpl(Instrumentation instr) { in SettingsSoundsHelperImpl() argument
50 super(instr); in SettingsSoundsHelperImpl()
DSettingsSecurityHelperImpl.java12 public SettingsSecurityHelperImpl(Instrumentation instr) { in SettingsSecurityHelperImpl() argument
13 super(instr); in SettingsSecurityHelperImpl()
DSettingsAppInfoHelperImpl.java30 public SettingsAppInfoHelperImpl(Instrumentation instr) { in SettingsAppInfoHelperImpl() argument
31 super(instr); in SettingsAppInfoHelperImpl()
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/
DMetricUtility.java122 public static byte[] executeCommandBlocking(String command, Instrumentation instr) { in executeCommandBlocking() argument
123 try (InputStream is = new ParcelFileDescriptor.AutoCloseInputStream(instr.getUiAutomation() in executeCommandBlocking()
/platform_testing/libraries/automotive-helpers/hardkeys-app-helper/src/android/platform/helpers/
DVehicleHardKeysHelperImpl.java50 public VehicleHardKeysHelperImpl(Instrumentation instr) { in VehicleHardKeysHelperImpl() argument
51 super(instr); in VehicleHardKeysHelperImpl()
/platform_testing/libraries/app-helpers/interfaces/tv/src/android/platform/helpers/
DAbstractLeanbackAppHelper.java70 public AbstractLeanbackAppHelper(Instrumentation instr) { in AbstractLeanbackAppHelper() argument
71 super(instr); in AbstractLeanbackAppHelper()
72 mDPadUtil = new DPadUtil(instr); in AbstractLeanbackAppHelper()
75 mLauncherStrategy.setInstrumentation(instr); in AbstractLeanbackAppHelper()

12