/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()
|
D | MemHealthRecord.java | 83 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/ |
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/automotive-helpers/car-sms-messenger-helper/src/android/platform/helpers/ |
D | CarSmsMessengerHelperImpl.java | 26 public CarSmsMessengerHelperImpl(Instrumentation instr) { in CarSmsMessengerHelperImpl() argument 27 super(instr); in CarSmsMessengerHelperImpl()
|
/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/flicker/src/android/tools/device/apphelpers/ |
D | StandardAppHelper.kt | 46 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/ |
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()
|
D | MediaCenterHelperImpl.java | 52 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/ |
D | SettingsLocationHelperImpl.java | 28 public SettingsLocationHelperImpl(Instrumentation instr) { in SettingsLocationHelperImpl() argument 29 super(instr); in SettingsLocationHelperImpl()
|
D | SettingsBluetoothHelperImpl.java | 31 public SettingsBluetoothHelperImpl(Instrumentation instr) { in SettingsBluetoothHelperImpl() argument 32 super(instr); in SettingsBluetoothHelperImpl()
|
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/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/collectors-helper/utilities/src/com/android/helpers/ |
D | MetricUtility.java | 122 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/ |
D | VehicleHardKeysHelperImpl.java | 53 public VehicleHardKeysHelperImpl(Instrumentation instr) { in VehicleHardKeysHelperImpl() argument 54 super(instr); in VehicleHardKeysHelperImpl()
|
/platform_testing/libraries/app-helpers/interfaces/tv/src/android/platform/helpers/ |
D | AbstractLeanbackAppHelper.java | 70 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/ |
D | AppGridHelperImpl.java | 37 public AppGridHelperImpl(Instrumentation instr) { in AppGridHelperImpl() argument 38 super(instr); in AppGridHelperImpl()
|