Home
last modified time | relevance | path

Searched refs:instr (Results 1 – 25 of 47) 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()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DPerfettoTracingPerTestStrategy.java44 PerfettoTracingPerTestStrategy(Instrumentation instr) { in PerfettoTracingPerTestStrategy() argument
45 super(instr); in PerfettoTracingPerTestStrategy()
53 public PerfettoTracingPerTestStrategy(PerfettoHelper helper, Instrumentation instr) { in PerfettoTracingPerTestStrategy() argument
54 super(helper, instr); in PerfettoTracingPerTestStrategy()
64 Instrumentation instr, in PerfettoTracingPerTestStrategy() argument
70 super(helper, instr, wakeLockContext, wakelockSupplier, wakeLockAcquirer, wakeLockReleaser); in PerfettoTracingPerTestStrategy()
80 PerfettoHelper helper, Instrumentation instr, Map invocationMap) { in PerfettoTracingPerTestStrategy() argument
81 super(instr); in PerfettoTracingPerTestStrategy()
DPerfettoTracingPerRunStrategy.java42 PerfettoTracingPerRunStrategy(Instrumentation instr) { in PerfettoTracingPerRunStrategy() argument
43 super(instr); in PerfettoTracingPerRunStrategy()
51 public PerfettoTracingPerRunStrategy(PerfettoHelper helper, Instrumentation instr) { in PerfettoTracingPerRunStrategy() argument
52 super(helper, instr); in PerfettoTracingPerRunStrategy()
62 Instrumentation instr, in PerfettoTracingPerRunStrategy() argument
67 super(helper, instr, wakeLockContext, wakelockSupplier, wakeLockAcquirer, wakeLockReleaser); in PerfettoTracingPerRunStrategy()
DPerfettoTracingPerClassStrategy.java45 PerfettoTracingPerClassStrategy(Instrumentation instr) { in PerfettoTracingPerClassStrategy() argument
46 super(instr); in PerfettoTracingPerClassStrategy()
54 public PerfettoTracingPerClassStrategy(PerfettoHelper helper, Instrumentation instr) { in PerfettoTracingPerClassStrategy() argument
55 super(helper, instr); in PerfettoTracingPerClassStrategy()
65 Instrumentation instr, in PerfettoTracingPerClassStrategy() argument
70 super(helper, instr, wakeLockContext, wakelockSupplier, wakeLockAcquirer, wakeLockReleaser); in PerfettoTracingPerClassStrategy()
DPerfettoTracingStrategy.java134 PerfettoTracingStrategy(Instrumentation instr) { in PerfettoTracingStrategy() argument
136 mInstr = instr; in PerfettoTracingStrategy()
148 PerfettoTracingStrategy(PerfettoHelper helper, Instrumentation instr) { in PerfettoTracingStrategy() argument
151 mInstr = instr; in PerfettoTracingStrategy()
164 Instrumentation instr, in PerfettoTracingStrategy() argument
171 mInstr = instr; in PerfettoTracingStrategy()
/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/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/general-ui-helper/src/android.platform.helpers/
DUIHelperImpl.java32 public UIHelperImpl(Instrumentation instr) { in UIHelperImpl() argument
33 super(instr); in UIHelperImpl()
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DStopwatchRuleTest.java61 Instrumentation instr = Mockito.mock(Instrumentation.class); in testMetricSendToInstr() local
62 rule.setInstrumentation(instr); in testMetricSendToInstr()
70 verify(instr).sendStatus(StopwatchRule.INST_STATUS_IN_PROGRESS, rule.getMetric()); in testMetricSendToInstr()
/platform_testing/libraries/automotive-helpers/media-center-app-helper/src/android/platform/helpers/
DTestMediaAppHelperImpl.java32 public TestMediaAppHelperImpl(Instrumentation instr) { in TestMediaAppHelperImpl() argument
33 super(instr); in TestMediaAppHelperImpl()
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingsLocationHelperImpl.java28 public SettingsLocationHelperImpl(Instrumentation instr) { in SettingsLocationHelperImpl() argument
29 super(instr); in SettingsLocationHelperImpl()
DSettingsDisplayHelperImpl.java43 public SettingsDisplayHelperImpl(Instrumentation instr) { in SettingsDisplayHelperImpl() argument
44 super(instr); in SettingsDisplayHelperImpl()
DSettingsUIHelperImpl.java39 public SettingsUIHelperImpl(Instrumentation instr) { in SettingsUIHelperImpl() argument
40 super(instr); in SettingsUIHelperImpl()
/platform_testing/libraries/automotive-helpers/facet-bar-helper/src/android/platform/helpers/
DFacetBarHelperImpl.java30 public FacetBarHelperImpl(Instrumentation instr) { in FacetBarHelperImpl() argument
31 super(instr); in FacetBarHelperImpl()
/platform_testing/libraries/automotive-helpers/car-sms-messenger-helper/src/android/platform/helpers/
DCarSmsMessengerHelperImpl.java27 public CarSmsMessengerHelperImpl(Instrumentation instr) { in CarSmsMessengerHelperImpl() argument
28 super(instr); in CarSmsMessengerHelperImpl()
/platform_testing/libraries/automotive-helpers/phone-helper/src/android/platform/helpers/
DPhoneHelperImpl.java26 public PhoneHelperImpl(Instrumentation instr) { in PhoneHelperImpl() argument
27 super(instr); in PhoneHelperImpl()
/platform_testing/libraries/automotive-helpers/lock-screen-helper/src/android/platform/helpers/
DLockScreenHelperImpl.java37 public LockScreenHelperImpl(Instrumentation instr) { in LockScreenHelperImpl() argument
38 super(instr); in LockScreenHelperImpl()
/platform_testing/libraries/automotive-helpers/notifications-app-helper/src/android/platform/helpers/
DAutoNotificationMockingHelperImpl.java63 public AutoNotificationMockingHelperImpl(Instrumentation instr) { in AutoNotificationMockingHelperImpl() argument
64 super(instr); in AutoNotificationMockingHelperImpl()
65 mNotificationManager = instr.getContext().getSystemService(NotificationManager.class); in AutoNotificationMockingHelperImpl()
/platform_testing/libraries/automotive-helpers/dial-app-helper/src/android/platform/helpers/
DContactDetailsHelperImpl.java37 public ContactDetailsHelperImpl(Instrumentation instr) { in ContactDetailsHelperImpl() argument
38 super(instr); in ContactDetailsHelperImpl()
/platform_testing/libraries/automotive-helpers/hardkeys-app-helper/src/android/platform/helpers/
DVehicleHardKeysHelperImpl.java52 public VehicleHardKeysHelperImpl(Instrumentation instr) { in VehicleHardKeysHelperImpl() argument
53 super(instr); in VehicleHardKeysHelperImpl()
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/
DMetricUtility.java125 public static byte[] executeCommandBlocking(String command, Instrumentation instr) { in executeCommandBlocking() argument
126 try (InputStream is = new ParcelFileDescriptor.AutoCloseInputStream(instr.getUiAutomation() in executeCommandBlocking()

12