Home
last modified time | relevance | path

Searched refs:instr (Results 1 – 25 of 41) 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/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/car-sms-messenger-helper/src/android/platform/helpers/
DCarSmsMessengerHelperImpl.java26 public CarSmsMessengerHelperImpl(Instrumentation instr) { in CarSmsMessengerHelperImpl() argument
27 super(instr); in CarSmsMessengerHelperImpl()
/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/flicker/src/android/tools/device/apphelpers/
DStandardAppHelper.kt46 instr: Instrumentation,
49 ) : AbstractStandardAppHelper(instr), IComponentNameMatcher by componentMatcher {
51 instr: Instrumentation,
55 ) : this(instr, appName, ComponentNameMatcher(packageName, ".$activity"))
57 protected val pkgManager: PackageManager = instr.context.packageManager
/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()
DMediaCenterHelperImpl.java52 public MediaCenterHelperImpl(Instrumentation instr) { in MediaCenterHelperImpl() argument
53 super(instr); in MediaCenterHelperImpl()
54 mUiAutomation = instr.getUiAutomation(); in MediaCenterHelperImpl()
58 instr.getContext().getSystemService(Context.MEDIA_SESSION_SERVICE); in MediaCenterHelperImpl()
/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()
DSettingsBluetoothHelperImpl.java31 public SettingsBluetoothHelperImpl(Instrumentation instr) { in SettingsBluetoothHelperImpl() argument
32 super(instr); in SettingsBluetoothHelperImpl()
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/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/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.java53 public VehicleHardKeysHelperImpl(Instrumentation instr) { in VehicleHardKeysHelperImpl() argument
54 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()
/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()

12