/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 | NativeAnalyzerThread.java | 60 log("Error loading loopback JNI library"); 123 log(" Started capture test"); 127 log(String.format("audioContext = 0x%X",audioContext)); 130 log(" ERROR at JNI initialization"); 177 log("latency: analyze returns " + result); 191 private static void log(String msg) { in log() method in NativeAnalyzerThread
|
/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/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/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 …]
|
/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/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/tests/tests/util/src/android/util/cts/ |
D | LruCacheTest.java | 175 List<String> log = new ArrayList<String>(); in testEntryEvictedWhenFull() local 176 LruCache<String, String> cache = newRemovalLogCache(log); in testEntryEvictedWhenFull() 181 assertEquals(Collections.<String>emptyList(), log); in testEntryEvictedWhenFull() local 184 assertEquals(Arrays.asList("a=A"), log); in testEntryEvictedWhenFull() 193 List<String> log = new ArrayList<String>(); in testPutCauseEviction() local 194 LruCache<String, String> cache = newRemovalLogCache(log); in testPutCauseEviction() 200 assertEquals(Arrays.asList("b=B>B2"), log); in testPutCauseEviction() 314 List<String> log = new ArrayList<String>(); in testEvictAll() local 315 LruCache<String, String> cache = newRemovalLogCache(log); in testEvictAll() 321 assertEquals(Arrays.asList("a=A", "b=B", "c=C"), log); in testEvictAll() [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/hostsidetests/bootstats/src/android/bootstats/cts/ |
D | BootStatsHostTest.java | 89 String log = getDevice().executeShellCommand("cmd stats print-stats"); in checkAllExpectedAtoms() local 91 int atomIndex = log.indexOf(atom); in checkAllExpectedAtoms() 95 int numberOfEvents = getIntValue(log, atomIndex + atom.length()); in checkAllExpectedAtoms() 142 final String log = getDevice().executeShellCommand("logcat --buffer=events -d"); in testBootStatsForApiLevel29AndBelow() local 144 int counterNameIndex = log.indexOf(counterNamePattern); in testBootStatsForApiLevel29AndBelow() 147 int multiLogStart = log.lastIndexOf(multiActionPattern, counterNameIndex); in testBootStatsForApiLevel29AndBelow() 149 int multiLogEnd = log.indexOf("]", multiLogStart); in testBootStatsForApiLevel29AndBelow() 150 String[] multiLogDataStrings = log.substring(multiLogStart, multiLogEnd).split(","); in testBootStatsForApiLevel29AndBelow()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | ActivityMetricsLoggerTests.java | 140 int category, LogMaker log, long preUptimeMs, long postUptimeMs) { in assertMetricsLogs() argument 142 + " category:" + categoryToString(category), log); in assertMetricsLogs() 144 ((Number) log.getTaggedData(APP_TRANSITION_DEVICE_UPTIME_SECONDS)).intValue(); in assertMetricsLogs() 148 assertThat("must be either cold or warm launch", log.getType(), in assertMetricsLogs() 154 assertNotNull("log should have delay", log.getTaggedData(APP_TRANSITION_DELAY_MS)); in assertMetricsLogs() 156 log.getTaggedData(APP_TRANSITION_WINDOWS_DRAWN_DELAY_MS)); in assertMetricsLogs() 157 long windowsDrawnDelayMs = (int) log.getTaggedData(APP_TRANSITION_WINDOWS_DRAWN_DELAY_MS); in assertMetricsLogs() 162 private void assertTransitionIsStartingWindow(LogMaker log) { in assertTransitionIsStartingWindow() argument 164 1 /* APP_TRANSITION_STARTING_WINDOW */, log.getSubtype()); in assertTransitionIsStartingWindow() 166 log.getTaggedData(APP_TRANSITION_STARTING_WINDOW_DELAY_MS)); in assertTransitionIsStartingWindow() [all …]
|
D | ParentChildTestBase.java | 21 import static android.server.wm.StateLogger.log; 54 log("Running test fullscreen"); in doFullscreenTest() 61 log("Running test docked"); in doDockedTest() 63 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() 101 log("Observed sequence: " + observedTransitions); in assertLaunchSequence() 138 log("Observed sequence: " + observedTransitions); in assertLaunchAndStopSequence() 160 log("Observed sequence: " + observedTransitions); in assertLaunchAndPauseSequence() 172 log("Observed sequence: " + observedTransitions); in assertRestartSequence() 184 log("Observed sequence: " + observedTransitions); in assertRestartAndResumeSequence() 196 log("Observed sequence: " + observedTransitions); in assertRecreateAndResumeSequence() 208 log("Observed sequence: " + observedTransitions); in assertLaunchAndDestroySequence() 220 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()
|
/cts/tests/tests/jni/src/android/jni/cts/ |
D | ClassLoaderStaticNonce.java | 31 log("Initializing ClassLoaderStaticNonce"); 36 public static void log(String s) { in log() method in ClassLoaderStaticNonce
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | AttachShaderTest.java | 152 String log = mActivity.glGetInfoLog(); in test_glCompileShaders_shader_info_log_fail() local 153 assertNotNull(log); in test_glCompileShaders_shader_info_log_fail() 154 assertTrue(log.length() > 0); in test_glCompileShaders_shader_info_log_fail()
|