Home
last modified time | relevance | path

Searched refs:log (Results 1 – 25 of 104) sorted by relevance

12345

/cts/libs/deviceutil/src/android/cts/util/
DMediaPerfUtils.java55 DeviceReportLog log, String message, int round, String codecName, in addPerformanceHeadersToLog() argument
57 log.addValue("round", round, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog()
58 log.addValue("codec_name", codecName, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog()
59 log.addValue("mime_type", configFormat.getString(MediaFormat.KEY_MIME), in addPerformanceHeadersToLog()
61 log.addValue("width", configFormat.getInteger(MediaFormat.KEY_WIDTH), in addPerformanceHeadersToLog()
63 log.addValue("height", configFormat.getInteger(MediaFormat.KEY_HEIGHT), in addPerformanceHeadersToLog()
65 log.addValue("config_format", formatForReport(configFormat), in addPerformanceHeadersToLog()
67 log.addValue("input_format", formatForReport(inputFormat), in addPerformanceHeadersToLog()
69 log.addValue("output_format", formatForReport(outputFormat), in addPerformanceHeadersToLog()
82 DeviceReportLog log, MediaUtils.Stats durationsUsStats, String message) { in addPerformanceStatsToLog() argument
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DNativeAudioThread.java84 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 …]
DCorrelation.java42 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
DSoundPlayerObject.java95 log(String.format("Setting balance to %f", mBalance)); in setBalance()
120 log("opening resource with stream type: " + mStreamType); in setSoundWithResId()
148 log("done preparing media player"); in setSoundWithResId()
212 private static void log(String msg) { in log() method in SoundPlayerObject
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestLog.rs24 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/services/activitymanager/src/android/server/cts/
DActivityManagerState.java35 import static android.server.cts.StateLogger.log;
70 log("=============================="); in computeState()
71 log(" ActivityManagerState "); in computeState()
72 log("=============================="); in computeState()
76 log("***Incomplete AM state. Retrying..."); in computeState()
81 log(e.toString()); in computeState()
96 log(dump); in computeState()
135 log(line); in parseSysDump()
137 log(stackId); in parseSysDump()
144 log(line); in parseSysDump()
[all …]
DWindowManagerState.java22 import com.android.tradefed.log.LogUtil.CLog;
34 import static android.server.cts.StateLogger.log;
79 log("=============================="); in computeState()
80 log(" WindowManagerState "); in computeState()
81 log("=============================="); in computeState()
84 log("***Incomplete WM state. Retrying..."); in computeState()
89 log(e.toString()); in computeState()
105 log(dump); in computeState()
128 log(display.toString()); in parseSysDump()
144 log(ws.toString()); in parseSysDump()
[all …]
DActivityAndWindowManagersState.java35 import static android.server.cts.StateLogger.log;
129 log("***Waiting for valid stacks and activities states..."); in waitForValidState()
133 log(e.toString()); in waitForValidState()
147 log("***Waiting for home activity to be visible..."); in waitForHomeActivityVisible()
151 log(e.toString()); in waitForHomeActivityVisible()
164 log("***taskListsInAmAndWmAreEqual=false"); in shouldWaitForValidStacks()
170 log("***stackBoundsInAMAndWMAreEqual=false"); in shouldWaitForValidStacks()
178 log("***taskBoundsInAMAndWMAreEqual=false : " + e.getMessage()); in shouldWaitForValidStacks()
201 log("Activity window not visible: " + waitForActivitiesVisible[i]); in shouldWaitForActivities()
213 log("Window in incorrect stack: " + waitForActivitiesVisible[i]); in shouldWaitForActivities()
[all …]
DActivityManagerTestBase.java23 import com.android.tradefed.log.LogUtil.CLog;
33 import static android.server.cts.StateLogger.log;
137 log("adb shell " + command); in executeShellCommand()
143 log("adb shell " + command); in executeShellCommand()
254 log("power state=" + state); in isDisplayOn()
258 log("power state :("); in isDisplayOn()
267 log("***Waiting for display to turn off..."); in lockDevice()
271 log(e.toString()); in lockDevice()
324 log(output); in runCommandAndPrintOutput()
DStateLogger.java19 import com.android.tradefed.log.LogUtil.CLog;
31 public static void log(String logText) { in log() method in StateLogger
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
DTestLogTest.java50 TestLog log = TestLog.fromDataName("logcat-baz_test", "http://logs/baz_test"); in testFromDataName() local
51 assertEquals(TestLogType.LOGCAT, log.getLogType()); in testFromDataName()
52 assertEquals("http://logs/baz_test", log.getUrl()); in testFromDataName()
72 … TestLog log = TestLog.fromXml(newXml("<TestLog type=\"logcat\" url=\"http://logs/baz_test\">")); in testFromXml() local
73 assertEquals(TestLogType.LOGCAT, log.getLogType()); in testFromXml()
74 assertEquals("http://logs/baz_test", log.getUrl()); in testFromXml()
98 TestLog log = TestLog.of(TestLogType.LOGCAT, "http://logs/foo/bar"); in testSerialize() local
99 log.serialize(serializer); in testSerialize()
/cts/apps/CtsVerifier/assets/scripts/power_monitors/
Dmonsoon.py70 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/
DKeyChainTest.java163 log("Client keys installed successfully"); in onActivityResult()
165 log("REQUEST_KEY_INSTALL failed with result code: " + resultCode); in onActivityResult()
212 log("Reading resources"); in doInBackground()
225 log("Private key length: " + userKey.size() + " bytes"); in doInBackground()
227 log("Setting up KeyStore"); in doInBackground()
252 log("KeyStore initialized"); in doInBackground()
254 log("KeyStore initialization failed"); in doInBackground()
272 log("ERROR: Credential archive is empty"); in doInBackground()
275 log("Requesting install of credentials"); in doInBackground()
279 log("Failed to install credentials: " + e); in doInBackground()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
DLocationVerifier.java90 mCb.log("(ignored) active " + mProvider + " update (" + delta + "ms)"); in onLocationChanged()
100 mCb.log("active " + mProvider + " update (" + delta + "ms)"); in onLocationChanged()
135 mCb.log(provider + " provider mean: " + mean); in assertMeanAndStdev()
136 mCb.log(provider + " provider stdev: " + stdev); in assertMeanAndStdev()
167 mCb.log("ignoring passive " + mProvider + " update"); in onLocationChanged()
177 mCb.log("(ignored) passive " + mProvider + " update (" + delta + "ms)"); in onLocationChanged()
187 mCb.log("passive " + mProvider + " update (" + delta + "ms)"); in onLocationChanged()
218 mCb.log("enabling passive listener"); in start()
221 mCb.log("enabling " + mProvider + " (minTime=" + mInterval + "ms)"); in start()
228 mCb.log("disabling " + mProvider); in stop()
[all …]
DGpsTestActivity.java36 public void log(String s); in log() method
120 log("All GPS tests complete", Color.GREEN); in nextTest()
127 public void log(String s) { in log() method in GpsTestActivity
140 private void log(String s, int color) { in log() method in GpsTestActivity
151 log(s, Color.RED); in fail()
157 log("OK!\n", Color.GREEN); in pass()
160 log("(Sleep 2 second) \n", Color.GREEN); in pass()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrack_ListenerTest.java210 DeviceReportLog log = new DeviceReportLog(REPORT_LOG_NAME, reportName); in doTest() local
211 log.addValue("average_marker_diff", markerStat.getAvg(), ResultType.LOWER_BETTER, in doTest()
213 log.addValue("maximum_marker_abs_diff", markerStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest()
215 log.addValue("average_marker_abs_diff", markerStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest()
217 log.addValue("average_periodic_diff", periodicStat.getAvg(), ResultType.LOWER_BETTER, in doTest()
219 log.addValue("maximum_periodic_abs_diff", periodicStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest()
221 log.addValue("average_periodic_abs_diff", periodicStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest()
223 log.setSummary("unified_abs_diff", (periodicStat.getAvgAbs() + markerStat.getAvgAbs()) / 2, in doTest()
225 log.submit(getInstrumentation()); in doTest()
DAudioTrackSurroundTest.java78 private static void log(String testName, String message) { in log() method in AudioTrackSurroundTest
106 log(MTAG, "scanning devices, name = " + info.getProductName() in scanDevicesForEncodings()
116 log(MTAG, " encodings = " + text); in scanDevicesForEncodings()
122 log(MTAG, " sample rates = " + text); in scanDevicesForEncodings()
128 log(MTAG, "mInfoPCM16 set to " + info); in scanDevicesForEncodings()
132 log(MTAG, "mInfoAC3 set to " + info); in scanDevicesForEncodings()
136 log(MTAG, "mInfoE_AC3 set to " + info); in scanDevicesForEncodings()
140 log(MTAG, "mInfoDTS set to " + info); in scanDevicesForEncodings()
144 log(MTAG, "mInfoDTS_HD set to " + info); in scanDevicesForEncodings()
148 log(MTAG, "mInfoIEC61937 set to " + info); in scanDevicesForEncodings()
[all …]
/cts/tests/tests/jni/src/android/jni/cts/
DClassLoaderStaticNonce.java31 log("Initializing ClassLoaderStaticNonce");
36 public static void log(String s) { in log() method in ClassLoaderStaticNonce
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DReportExporter.java54 LOG.log(Level.WARNING, "External storage is not writable."); in doInBackground()
62 LOG.log(Level.WARNING, "Couldn't create test results report", e); in doInBackground()
77 LOG.log(Level.WARNING, "I/O exception writing report to storage.", e); in doInBackground()
85 LOG.log(Level.WARNING, "I/O exception closing report.", e); in doInBackground()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTest.java238 TestLog log = TestLog.fromXml(parser); in parseTestLog() local
239 if (log == null) { in parseTestLog()
242 addTestLog(log); in parseTestLog()
256 for (TestLog log : mTestLogs) { in serializeTestLogsLocked()
257 log.serialize(serializer); in serializeTestLogsLocked()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DConsoleReporter.java26 import com.android.tradefed.log.LogUtil.CLog;
171 log(format, args); in logProgress()
179 log(format, args); in logMessage()
185 private void log(String format, Object... args) { in log() method in ConsoleReporter
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorIntegrationTests.java102 operation.getStats().log(TAG); in testSensorsWithSeveralClients()
160 operation.getStats().log(TAG); in testSensorsMovingRates()
251 operation.getStats().log(TAG); in verifySensorStoppingInteraction()
255 testee.getStats().log(TAG); in verifySensorStoppingInteraction()
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/
DDeviceReportTest.java77 DeviceReportLog log = new DeviceReportLog(REPORT_NAME_1, STREAM_NAME_1); in testSubmit() local
78 log.addValue(TEST_MESSAGE_1, TEST_VALUE_1, TEST_TYPE_1, TEST_UNIT_1); in testSubmit()
79 log.setSummary(TEST_MESSAGE_2, TEST_VALUE_2, TEST_TYPE_2, TEST_UNIT_2); in testSubmit()
81 log.submit(inst); in testSubmit()
/cts/tests/tests/permission/src/android/permission/cts/
DNoReadLogsPermissionTest.java94 private static void testLogIsSane(String log) throws ErrnoException { in testLogIsSane() argument
96 StructStat stat = Os.stat(log); in testLogIsSane()
/cts/tests/backup/src/android/backup/cts/
DBackupQuotaTest.java125 BufferedReader log = new BufferedReader(new InputStreamReader(fis)); in waitForLogcat() local
127 while ((line = log.readLine()) != null) { in waitForLogcat()
132 closeQuietly(log); in waitForLogcat()

12345