/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | SoundPlayerObject.java | 107 log("got thread interrupted!"); in run() 113 log("run . using media player"); in run() 160 log("[v] input EOS at decode round " + decodeRounds); in run() 174 log("looping is enabled. Rewinding"); in run() 179 log("[v] no input buffer available at decode round " in run() 223 log("[w] INFO_OUTPUT_FORMAT_CHANGED at decode round " + in run() 227 log("[w] INFO_TRY_AGAIN_LATER at decode round " + decodeRounds); in run() 236 log ("note: outputEosSignalled"); in run() 248 log("done running thread"); in run() 258 log(String.format("Setting balance to %f", mBalance)); in setBalance() [all …]
|
D | NativeAudioThread.java | 84 log("Error loading loopback JNI library"); 120 log(" Started capture test"); in run() 129 log(String.format("about to init, sampling rate: %d, buffer:%d", mSamplingRate, in run() 133 log(String.format("sles_data = 0x%X",sles_data)); in run() 136 log(" ERROR at JNI initialization"); in run() 157 log(String.format("block %d...", ii)); in run() 162 log(" [" + ii + "] jni samples read:" + samplesRead + " currentOffset:" + offset); in run() 165 log(String.format(" samplesRead: %d, sampleOffset:%d", totalSamplesRead, offset)); in run() 166 log(String.format("about to destroy...")); in run() 183 log("destroy try: " + tryCount); in run() [all …]
|
D | Correlation.java | 42 log("Started Auto Correlation for data with " + data.length + " points"); in computeCorrelation() 73 log(String.format(" Maxvalue %f, max Index : %d/%d (%d) minIndex=%d",maxValue, maxIndex, in computeCorrelation() 76 log(String.format(" average : %.3f rms: %.3f", average, rms)); in computeCorrelation() 83 log(String.format("Raw: %.3f",raw)); in computeCorrelation() 87 log(String.format(" ****Confidence: %.2f",mEstimatedLatencyConfidence)); in computeCorrelation() 93 log(String.format(" latencySamples: %.2f %.2f ms", mEstimatedLatencySamples, in computeCorrelation() 134 log(String.format(" Threshold: %.3f, ignored:%d/%d (%.2f)", threshold, ignored, N, in downsampleData() 166 private static void log(String msg) { in log() method in Correlation
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaPerfUtils.java | 55 DeviceReportLog log, String message, int round, String codecName, in addPerformanceHeadersToLog() argument 61 log.addValue("round", round, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 62 log.addValue("codec_name", codecName, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 63 log.addValue("mime_type", mime, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 64 log.addValue("width", width, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 65 log.addValue("height", height, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 66 log.addValue("config_format", formatForReport(configFormat), in addPerformanceHeadersToLog() 68 log.addValue("input_format", formatForReport(inputFormat), in addPerformanceHeadersToLog() 70 log.addValue("output_format", formatForReport(outputFormat), in addPerformanceHeadersToLog() 80 log.addValue("reported_low", reported.getLower(), ResultType.NEUTRAL, ResultUnit.FPS); in addPerformanceHeadersToLog() [all …]
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecDecoderTest.java | 259 String log = String.format("codec: %s, file: %s, mode: %s, eos type: %s:: ", in testSimpleDecode() local 281 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testSimpleDecode() 282 assertTrue(log + "no input sent", 0 != mInputCount); in testSimpleDecode() 283 assertTrue(log + "output received", 0 != mOutputCount); in testSimpleDecode() 285 assertTrue(log + "decoder output is flaky", ref.equals(test)); in testSimpleDecode() 288 assertTrue(log + " pts is not strictly increasing", in testSimpleDecode() 292 log + " input pts list and output pts list are not identical", in testSimpleDecode() 297 assertTrue(log + "not received format change", in testSimpleDecode() 300 assertTrue(log + "configured format and output format are not similar", in testSimpleDecode() 374 String log = String.format("decoder: %s, input file: %s, mode: %s:: ", decoder, in testFlush() local [all …]
|
D | CodecEncoderTest.java | 291 String log = String.format( in testSimpleEncode() local 307 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testSimpleEncode() 308 assertTrue(log + "no input sent", 0 != mInputCount); in testSimpleEncode() 309 assertTrue(log + "output received", 0 != mOutputCount); in testSimpleEncode() 312 log + "input count != output count, act/exp: " + mOutputCount + in testSimpleEncode() 316 assertTrue(log + "encoder output is flaky", ref.equals(test)); in testSimpleEncode() 319 assertTrue(log + " pts is not strictly increasing", in testSimpleEncode() 323 … log + " input pts list and output pts list are not identical", in testSimpleEncode() 379 String log = String.format("encoder: %s, input file: %s, mode: %s:: ", encoder, in testFlush() local 389 assertTrue(log + " pts is not strictly increasing", in testFlush() [all …]
|
D | CodecDecoderSurfaceTest.java | 212 String log = String.format("codec: %s, file: %s, mode: %s:: ", decoder, mTestFile, in testSimpleDecodeToSurface() local 225 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testSimpleDecodeToSurface() 226 assertTrue(log + "no input sent", 0 != mInputCount); in testSimpleDecodeToSurface() 227 assertTrue(log + "output received", 0 != mOutputCount); in testSimpleDecodeToSurface() 228 assertTrue(log + "decoder output is flaky", ref.equals(test)); in testSimpleDecodeToSurface() 273 String log = String.format("decoder: %s, input file: %s, mode: %s:: ", decoder, in testFlush() local 292 assertTrue(log + " pts is not strictly increasing", in testFlush() 303 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testFlush() 304 assertTrue(log + "no input sent", 0 != mInputCount); in testFlush() 305 assertTrue(log + "output received", 0 != mOutputCount); in testFlush() [all …]
|
D | CodecDecoderExtTest.java | 98 String log = String.format("codec: %s, test file: %s, ref file: %s:: ", decoder, in testDecodeAndValidate() local 100 assertTrue(log + " unexpected error", !mAsyncHandle.hasSeenError()); in testDecodeAndValidate() 101 assertTrue(log + "no input sent", 0 != mInputCount); in testDecodeAndValidate() 102 assertTrue(log + "output received", 0 != mOutputCount); in testDecodeAndValidate() 112 assertTrue(log + "decoder outputs are not identical", ref.equals(test)); in testDecodeAndValidate()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaPerfUtils.java | 55 DeviceReportLog log, String message, int round, String codecName, in addPerformanceHeadersToLog() argument 61 log.addValue("round", round, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 62 log.addValue("codec_name", codecName, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 63 log.addValue("mime_type", mime, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 64 log.addValue("width", width, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 65 log.addValue("height", height, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 66 log.addValue("config_format", formatForReport(configFormat), in addPerformanceHeadersToLog() 68 log.addValue("input_format", formatForReport(inputFormat), in addPerformanceHeadersToLog() 70 log.addValue("output_format", formatForReport(outputFormat), in addPerformanceHeadersToLog() 80 log.addValue("reported_low", reported.getLower(), ResultType.NEUTRAL, ResultUnit.FPS); in addPerformanceHeadersToLog() [all …]
|
/cts/tests/media/jni/ |
D | NativeCodecEncoderTest.cpp | 406 char log[1000]; in testSimpleEncode() local 407 snprintf(log, sizeof(log), in testSimpleEncode() 419 ALOGE("%s unable to create media codec by name %s", log, encoder); in testSimpleEncode() 426 ALOGE("%s error codec-name act/got: %s/%s", log, name, encoder); in testSimpleEncode() 443 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testSimpleEncode() 444 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testSimpleEncode() 445 CHECK_ERR((0 == mOutputCount), log, "received 0 outputs", isPass); in testSimpleEncode() 446 CHECK_ERR((!mIsAudio && mInputCount != mOutputCount), log, in testSimpleEncode() 448 CHECK_ERR((loopCounter != 0 && !ref->equals(test)), log, "output is flaky", isPass); in testSimpleEncode() 451 log, "pts is not strictly increasing", isPass); in testSimpleEncode() [all …]
|
D | NativeCodecDecoderTest.cpp | 300 char log[1000]; in testSimpleDecode() local 301 snprintf(log, sizeof(log), "codec: %s, file: %s, async mode: %s, eos type: %s:: \n", in testSimpleDecode() 318 ALOGE("%s error codec-name act/got: %s/%s", log, name, decoder); in testSimpleDecode() 341 CHECK_ERR(hasSeenError(), log, "has seen error", isPass); in testSimpleDecode() 342 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testSimpleDecode() 343 CHECK_ERR((0 == mOutputCount), log, "received 0 outputs", isPass); in testSimpleDecode() 344 CHECK_ERR(loopCounter != 0 && (!ref->equals(test)), log, "output is flaky", isPass); in testSimpleDecode() 347 log, "pts is not strictly increasing", isPass); in testSimpleDecode() 350 log, "input pts list and output pts list are not identical", isPass); in testSimpleDecode() 354 ALOGE(log, "not received format change"); in testSimpleDecode() [all …]
|
D | NativeCodecEncoderSurfaceTest.cpp | 521 char log[1000]; in testSimpleEncode() local 522 snprintf(log, sizeof(log), "format: %s \n codec: %s, file: %s, mode: %s:: ", in testSimpleEncode() 524 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testSimpleEncode() 525 CHECK_ERR((0 == mDecInputCount), log, "no input sent", isPass); in testSimpleEncode() 526 CHECK_ERR((0 == mDecOutputCount), log, "no decoder output received", isPass); in testSimpleEncode() 527 CHECK_ERR((0 == mEncOutputCount), log, "no encoder output received", isPass); in testSimpleEncode() 528 CHECK_ERR((mDecInputCount != mDecOutputCount), log, "decoder input count != output count", in testSimpleEncode() 540 CHECK_ERR(loopCounter == 0 && (!ref->isPtsStrictlyIncreasing(INT32_MIN)), log, in testSimpleEncode() 542 CHECK_ERR(loopCounter != 0 && (!test->isPtsStrictlyIncreasing(INT32_MIN)), log, in testSimpleEncode()
|
/cts/apps/CtsVerifier/assets/scripts/power_monitors/ |
D | monsoon.py | 70 self.log("device %s is in use" % dev) 139 self.log( "error opening device %s: %s" % (dev, e)) 153 self.log( "no response from device %s" % device) 176 def log(self, msg , debug = False): member in Power_Monitor 188 self.log("Got signal %d"%signum) 225 monsoon.log("... no response from device %s, skipping") 241 self.log("Getting status...", debug = True) 264 self.log("wanted status, dropped type=0x%02x, len=%d" % ( 298 self.log("Setting voltage to %s..."%v, debug = True) 303 self.log("...Set voltage", debug = True) [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | KeyChainTest.java | 166 log("Client keys installed successfully"); in onActivityResult() 168 log("REQUEST_KEY_INSTALL failed with result code: " + resultCode); in onActivityResult() 215 log("Reading resources"); in doInBackground() 228 log("Private key length: " + userKey.size() + " bytes"); in doInBackground() 230 log("Setting up KeyStore"); in doInBackground() 255 log("KeyStore initialized"); in doInBackground() 257 log("KeyStore initialization failed"); in doInBackground() 275 log("ERROR: Credential archive is empty"); in doInBackground() 278 log("Requesting install of credentials"); in doInBackground() 282 log("Failed to install credentials: " + e); in doInBackground() [all …]
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutLaunchedActivity.java | 53 private void log(String action) { in log() method in ShortcutLaunchedActivity 59 log("ctor"); in ShortcutLaunchedActivity() 68 log("onCreate"); in onCreate() 75 log("onResume"); in onResume() 79 log("Not my turn yet."); in onResume() 95 log("onPause"); in onPause() 102 log("onDestroy"); in onDestroy()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestLog.rscript | 24 return log(inV); 28 return log(inV); 32 return log(inV); 36 return log(inV); 40 return log(inV); 44 return log(inV); 48 return log(inV); 52 return log(inV);
|
/cts/hostsidetests/bootstats/src/android/bootstats/cts/ |
D | BootStatsHostTest.java | 21 import com.android.tradefed.log.LogUtil.CLog; 66 final String log = getDevice().executeShellCommand("logcat --buffer=events -d"); in testBootStats() local 68 int counterNameIndex = log.indexOf(counterNamePattern); in testBootStats() 71 int multiLogStart = log.lastIndexOf(multiActionPattern, counterNameIndex); in testBootStats() 73 int multiLogEnd = log.indexOf("]", multiLogStart); in testBootStats() 74 String[] multiLogDataStrings = log.substring(multiLogStart, multiLogEnd).split(","); in testBootStats()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | ActivityMetricsLoggerTests.java | 130 int category, LogMaker log, long preUptimeMs, long postUptimeMs) { in assertMetricsLogs() argument 132 + " category:" + category, log); in assertMetricsLogs() 134 ((Number) log.getTaggedData(APP_TRANSITION_DEVICE_UPTIME_SECONDS)).intValue(); in assertMetricsLogs() 138 assertThat("must be either cold or warm launch", log.getType(), in assertMetricsLogs() 144 assertNotNull("log should have delay", log.getTaggedData(APP_TRANSITION_DELAY_MS)); in assertMetricsLogs() 146 log.getTaggedData(APP_TRANSITION_WINDOWS_DRAWN_DELAY_MS)); in assertMetricsLogs() 147 long windowsDrawnDelayMs = (int) log.getTaggedData(APP_TRANSITION_WINDOWS_DRAWN_DELAY_MS); in assertMetricsLogs() 152 private void assertTransitionIsStartingWindow(LogMaker log) { in assertTransitionIsStartingWindow() argument 154 1 /* APP_TRANSITION_STARTING_WINDOW */, log.getSubtype()); in assertTransitionIsStartingWindow() 156 log.getTaggedData(APP_TRANSITION_STARTING_WINDOW_DELAY_MS)); in assertTransitionIsStartingWindow() [all …]
|
D | ParentChildTestBase.java | 20 import static android.server.wm.StateLogger.log; 53 log("Running test fullscreen"); in doFullscreenTest() 60 log("Running test docked"); in doDockedTest() 62 log("Skipping test: no split multi-window support"); in doDockedTest()
|
D | ReplaceWindowTests.java | 21 import static android.server.wm.StateLogger.log; 78 log("==========Before Docking========"); in testReplaceWindow_Dock() 87 log("==========After Docking========"); in testReplaceWindow_Dock()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrack_ListenerTest.java | 211 DeviceReportLog log = new DeviceReportLog(REPORT_LOG_NAME, reportName); in doTest() local 212 log.addValue("average_marker_diff", markerStat.getAvg(), ResultType.LOWER_BETTER, in doTest() 214 log.addValue("maximum_marker_abs_diff", markerStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest() 216 log.addValue("average_marker_abs_diff", markerStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest() 218 log.addValue("average_periodic_diff", periodicStat.getAvg(), ResultType.LOWER_BETTER, in doTest() 220 log.addValue("maximum_periodic_abs_diff", periodicStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest() 222 log.addValue("average_periodic_abs_diff", periodicStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest() 224 log.setSummary("unified_abs_diff", (periodicStat.getAvgAbs() + markerStat.getAvgAbs()) / 2, in doTest() 226 log.submit(getInstrumentation()); in doTest()
|
D | AudioTrackSurroundTest.java | 85 private static void log(String testName, String message) { in log() method in AudioTrackSurroundTest 113 log(MTAG, "scanning devices, name = " + info.getProductName() in scanDevicesForEncodings() 123 log(MTAG, " encodings = " + text); in scanDevicesForEncodings() 129 log(MTAG, " sample rates = " + text); in scanDevicesForEncodings() 135 log(MTAG, "mInfoPCM16 set to " + info); in scanDevicesForEncodings() 139 log(MTAG, "mInfoAC3 set to " + info); in scanDevicesForEncodings() 143 log(MTAG, "mInfoE_AC3 set to " + info); in scanDevicesForEncodings() 147 log(MTAG, "mInfoDTS set to " + info); in scanDevicesForEncodings() 151 log(MTAG, "mInfoDTS_HD set to " + info); in scanDevicesForEncodings() 155 log(MTAG, "mInfoIEC61937 set to " + info); in scanDevicesForEncodings() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | LifecycleVerifier.java | 19 import static android.server.wm.StateLogger.log; 55 log("Observed sequence: " + observedTransitions); in assertLaunchSequence() 93 log("Observed sequence: " + observedTransitions); in assertLaunchSequence() 130 log("Observed sequence: " + observedTransitions); in assertLaunchAndStopSequence() 152 log("Observed sequence: " + observedTransitions); in assertLaunchAndPauseSequence() 164 log("Observed sequence: " + observedTransitions); in assertRestartSequence() 176 log("Observed sequence: " + observedTransitions); in assertRestartAndResumeSequence() 188 log("Observed sequence: " + observedTransitions); in assertRecreateAndResumeSequence() 200 log("Observed sequence: " + observedTransitions); in assertLaunchAndDestroySequence() 212 log("Observed sequence: " + observedTransitions); in assertResumeToDestroySequence() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | ReportExporter.java | 72 LOG.log(Level.WARNING, "External storage is not writable."); in doInBackground() 80 LOG.log(Level.WARNING, "Couldn't create test results report", e); in doInBackground() 110 LOG.log(Level.WARNING, "I/O exception writing report to storage.", e); in doInBackground() 132 LOG.log(Level.WARNING, "I/O exception writing report to internal storage.", e); in saveReportOnInternalStorage() 148 LOG.log(Level.WARNING, "Failed to load " + resultFileName + " from assets."); in copyFormattingFiles() 155 LOG.log(Level.WARNING, "Failed to write " + resultFileName + " to a file."); in copyFormattingFiles()
|
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/ |
D | StoragedDumpsysTest.java | 41 private String getCgroupFromLog(String log) { in getCgroupFromLog() argument 43 Matcher matcher = pattern.matcher(log); in getCgroupFromLog() 81 String log = mDevice.executeAdbCommand( in testStoragedOutput() local 84 String serviceCgroup = getCgroupFromLog(log); in testStoragedOutput()
|