Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 27) sorted by relevance

12

/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/
DTimeInStateHelper.java62 String source = keys[1].trim(); in setUp() local
63 Log.i(LOG_TAG, "key: " + key + ", source: " + source); in setUp()
65 String cmd = String.format(CHECK_FILE_EXIST_CMD, source); in setUp()
70 Log.e(LOG_TAG, "Error when checking source file " + source); in setUp()
73 Log.e(LOG_TAG, "Source " + source + " does not exist"); in setUp()
76 mSourceLocations.add(source); in setUp()
121 for (String source : mSourceLocations) { in readAllFreqStats()
122 Map<String, Long> result = readFreqStats(source); in readAllFreqStats()
128 private Map<String, Long> readFreqStats(String source) { in readFreqStats() argument
132 String cmd = String.format(READ_FILE_CMD, source); in readFreqStats()
[all …]
/platform_testing/docs/
Dindex.md4 source.android.com.
7 [Android Platform Testing](https://source.android.com/compatibility/tests)
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DReportLog.java64 Metric(String source, String message, double value, ResultType type, ResultUnit unit) { in Metric() argument
65 this(source, message, new double[] { value }, type, unit); in Metric()
79 Metric(String source, String message, double[] values, ResultType type, ResultUnit unit) { in Metric() argument
80 int sourceLength = source.length(); in Metric()
83 mSource = source.substring(sourceLength - MAX_SOURCE_LENGTH); in Metric()
85 mSource = source; in Metric()
143 String source = parser.getAttributeValue(null, SOURCE_ATTR); in parse() local
161 return new Metric(source, message, values, type, unit); in parse()
184 public void addValues(String source, String message, double[] values, ResultType type, in addValues() argument
199 public void addValue(String source, String message, double value, ResultType type, in addValue() argument
DCrashUtils.java115 public static BigInteger getBigInteger(JSONObject source, String name) throws JSONException { in getBigInteger() argument
116 if (source.isNull(name)) { in getBigInteger()
119 String intString = source.getString(name); in getBigInteger()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/
DMediaInstrumentation.java101 MediaMetadata source = mMediaSources.stream().findFirst().orElse(null); in initialize() local
102 mMediaSession.setMetadata(source); in initialize()
104 mPlayer.setDataSource(source); in initialize()
107 source == null ? PlaybackState.STATE_NONE : PlaybackState.STATE_STOPPED); in initialize()
177 MediaMetadata source = mMediaSources.stream().findFirst().orElseThrow(); in getMediaNotification() local
178 UiObject2 notification = scrollToMediaNotification(source); in getMediaNotification()
190 MediaMetadata source = mMediaSources.stream().findFirst().orElseThrow(); in getMediaNotificationInCurrentView() local
192 .text(source.getString(MediaMetadata.METADATA_KEY_TITLE)); in getMediaNotificationInCurrentView()
331 public Builder addDataSource(MediaMetadata source) { in addDataSource() argument
332 mDataSources.add(source); in addDataSource()
DMockMediaPlayer.java85 public void setDataSource(MediaMetadata source) { in setDataSource() argument
86 mCurrentSource = source; in setDataSource()
/platform_testing/libraries/sts-common-util/sts-sdk/package/
DREADME.md1 See https://source.android.com/docs/security/test/sts-sdk for instructions and
/platform_testing/libraries/app-helpers/interfaces/clockwork/src/android/platform/helpers/
DITranslateHelper.java39 public void changeLanguages(String source, String target); in changeLanguages() argument
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DReportLogTest.java117 String source = sb.toString(); in testLimits_source() local
119 metric = new Metric(source, MESSAGE, 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in testLimits_source()
120 assertEquals("Expected source to be trimmed", source.substring(source.length() - 200), in testLimits_source()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/android/
DSampleRenderTest.java52 Source source = ImageDecoder.createSource(context.getResources(), in testLoadImage() local
54 Bitmap bitmap = ImageDecoder.decodeBitmap(source); in testLoadImage()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java597 private static int[] concat(int[] source, int[] items) { in concat() argument
598 int[] concatenated = Arrays.copyOf(source, source.length + items.length); in concat()
599 System.arraycopy(items, 0, concatenated, source.length, items.length); in concat()
603 private static <T> T[] concat(T[] source, T[] items) { in concat() argument
604 T[] concatenated = Arrays.copyOf(source, source.length + items.length); in concat()
605 System.arraycopy(items, 0, concatenated, source.length, items.length); in concat()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/
DUtils.kt60 val source = pipe[0] in doBinderDump() constant
76 ParcelFileDescriptor.AutoCloseInputStream(source).use { inputStream -> in doBinderDump()
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/
DIAutoDialHelper.java193 void changeAudioSource(AudioSource source); in changeAudioSource() argument
/platform_testing/tests/functional/devicehealthchecks/
DAndroid.bp23 // Only compile source java files in this apk.
/platform_testing/tests/perf/BootHelperApp/
DAndroid.bp23 // Only compile source java files in this apk.
/platform_testing/tests/perf/PerformanceAppTest/
DAndroid.bp23 // Only compile source java files in this apk.
/platform_testing/libraries/device-collectors/src/hostsidetests/
DAndroid.bp24 // Only compile source java files in this jar.
/platform_testing/tests/perf/PerfTransitionTest/
DAndroid.bp23 // Only compile source java files in this apk.
/platform_testing/utils/shell-as/
DAndroid.bp62 // https://source.android.com/docs/core/ota/sign_builds#release-keys
86 // A source file that contains the contents of the above shell-as-test-app APK
/platform_testing/tests/bettertogether/betocq/
DReadMe.md156 Run the suite and pass the quality bar with one source device
244 In this example, the source device is 17011FDEE0002N and the target
247 - Specify the target and source device serial numbers:
283 3. Configure device capabilities for both source and target devices.
325 source build/envsetup.sh
384 - Review the source and target device capability summary.
452 source and target sides. You can find them as boxed links under the test
499 source build/envsetup.sh
/platform_testing/libraries/flicker/collector/trace_config/
Dtrace_config.textproto42 # section, but keep the data source itself as it still provides on-demand
/platform_testing/libraries/flicker/utils/test/trace_config/
Dtrace_config.textproto42 # section, but keep the data source itself as it still provides on-demand
/platform_testing/libraries/flicker/test/trace_config/
Dtrace_config.textproto42 # section, but keep the data source itself as it still provides on-demand
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DRootcanalUtils.java290 DOMSource source = new DOMSource(doc); in tryUpdateVintfManifest() local
292 transformer.transform(source, result); in tryUpdateVintfManifest()
/platform_testing/libraries/automotive-helpers/dial-app-helper/src/android/platform/helpers/
DDialHelperImpl.java376 public void changeAudioSource(AudioSource source) { in changeAudioSource() argument
386 if (source == AudioSource.PHONE) { in changeAudioSource()
395 .validateUiObject(channelButton, String.format("Voice Channel %s", source)); in changeAudioSource()

12