/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | LogGenerator.java | 40 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 …]
|
D | FilesystemUtil.java | 41 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()
|
D | UiWatchers.java | 42 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()
|
D | DataCollector.java | 54 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/ |
D | PerfettoTracingPerTestStrategy.java | 44 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()
|
D | PerfettoTracingPerRunStrategy.java | 42 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()
|
D | PerfettoTracingPerClassStrategy.java | 45 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()
|
D | PerfettoTracingStrategy.java | 134 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/ |
D | HelperManager.java | 76 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/ |
D | AccessibilityHelper.java | 56 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()
|
D | AccessibilityScannerHelper.java | 53 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/ |
D | UIHelperImpl.java | 32 public UIHelperImpl(Instrumentation instr) { in UIHelperImpl() argument 33 super(instr); in UIHelperImpl()
|
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/ |
D | StopwatchRuleTest.java | 61 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/ |
D | TestMediaAppHelperImpl.java | 32 public TestMediaAppHelperImpl(Instrumentation instr) { in TestMediaAppHelperImpl() argument 33 super(instr); in TestMediaAppHelperImpl()
|
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/ |
D | SettingsLocationHelperImpl.java | 28 public SettingsLocationHelperImpl(Instrumentation instr) { in SettingsLocationHelperImpl() argument 29 super(instr); in SettingsLocationHelperImpl()
|
D | SettingsDisplayHelperImpl.java | 43 public SettingsDisplayHelperImpl(Instrumentation instr) { in SettingsDisplayHelperImpl() argument 44 super(instr); in SettingsDisplayHelperImpl()
|
D | SettingsUIHelperImpl.java | 39 public SettingsUIHelperImpl(Instrumentation instr) { in SettingsUIHelperImpl() argument 40 super(instr); in SettingsUIHelperImpl()
|
/platform_testing/libraries/automotive-helpers/facet-bar-helper/src/android/platform/helpers/ |
D | FacetBarHelperImpl.java | 30 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/ |
D | CarSmsMessengerHelperImpl.java | 27 public CarSmsMessengerHelperImpl(Instrumentation instr) { in CarSmsMessengerHelperImpl() argument 28 super(instr); in CarSmsMessengerHelperImpl()
|
/platform_testing/libraries/automotive-helpers/phone-helper/src/android/platform/helpers/ |
D | PhoneHelperImpl.java | 26 public PhoneHelperImpl(Instrumentation instr) { in PhoneHelperImpl() argument 27 super(instr); in PhoneHelperImpl()
|
/platform_testing/libraries/automotive-helpers/lock-screen-helper/src/android/platform/helpers/ |
D | LockScreenHelperImpl.java | 37 public LockScreenHelperImpl(Instrumentation instr) { in LockScreenHelperImpl() argument 38 super(instr); in LockScreenHelperImpl()
|
/platform_testing/libraries/automotive-helpers/notifications-app-helper/src/android/platform/helpers/ |
D | AutoNotificationMockingHelperImpl.java | 63 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/ |
D | ContactDetailsHelperImpl.java | 37 public ContactDetailsHelperImpl(Instrumentation instr) { in ContactDetailsHelperImpl() argument 38 super(instr); in ContactDetailsHelperImpl()
|
/platform_testing/libraries/automotive-helpers/hardkeys-app-helper/src/android/platform/helpers/ |
D | VehicleHardKeysHelperImpl.java | 52 public VehicleHardKeysHelperImpl(Instrumentation instr) { in VehicleHardKeysHelperImpl() argument 53 super(instr); in VehicleHardKeysHelperImpl()
|
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/ |
D | MetricUtility.java | 125 public static byte[] executeCommandBlocking(String command, Instrumentation instr) { in executeCommandBlocking() argument 126 try (InputStream is = new ParcelFileDescriptor.AutoCloseInputStream(instr.getUiAutomation() in executeCommandBlocking()
|