Home
last modified time | relevance | path

Searched refs:deviceSerial (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/localdrive/
DLocalDrive.java104 String deviceSerial = null; in main() local
109 deviceSerial = args[1]; in main()
114 deviceSerial = Utils.chooseDevice(deviceSerial, connectedDevices, in main()
116 if (deviceSerial == null) { in main()
120 if (!Utils.isAcceptableStatsd(sLogger, MIN_SDK, MIN_CODENAME, deviceSerial)) { in main()
130 cmdClear(args, idx, deviceSerial); in main()
133 cmdGetData(args, idx, deviceSerial); in main()
139 cmdUpdate(args, idx, deviceSerial); in main()
142 cmdUpload(args, idx, deviceSerial); in main()
154 private static boolean cmdUpload(String[] args, int idx, String deviceSerial) { in cmdUpload() argument
[all …]
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java90 boolean useShellUid, Logger logger, String deviceSerial) in getReportList() argument
100 deviceSerial, in getReportList()
130 public static void logAppBreadcrumb(int label, int state, Logger logger, String deviceSerial) in logAppBreadcrumb() argument
137 deviceSerial, in logAppBreadcrumb()
161 String deviceSerial) { in isAcceptableStatsd() argument
167 "adb", "-s", deviceSerial, "shell", "getprop", "ro.build.version.sdk"); in isAcceptableStatsd()
178 "adb", "-s", deviceSerial, "shell", "getprop", "ro.build.version.codename"); in isAcceptableStatsd()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceSettings.java96 String deviceSerial = device.getSerialNumber(); in matchesDevice() local
98 return mAoap && deviceSerial.equals(mSerialNumber); in matchesDevice()
99 } else if (deviceSerial == null) { in matchesDevice()
103 && deviceSerial.equals(mSerialNumber); in matchesDevice()
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/
DTestDrive.java414 private static String pushConfig(StatsdConfig config, String deviceSerial) in pushConfig() argument
420 Utils.runCommand(null, LOGGER, "adb", "-s", deviceSerial, in pushConfig()
422 Utils.runCommand(null, LOGGER, "adb", "-s", deviceSerial, in pushConfig()
428 private static void removeConfig(String deviceSerial) { in removeConfig() argument
430 Utils.runCommand(null, LOGGER, "adb", "-s", deviceSerial, in removeConfig()