Home
last modified time | relevance | path

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

123

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DNativeAudioThread.java81 log("Error loading loopback JNI library");
116 log(" Started capture test"); in run()
125 log(String.format("about to init, sampling rate: %d, buffer:%d", mSamplingRate, in run()
128 log(String.format("sles_data = 0x%X",sles_data)); in run()
131 log(" ERROR at JNI initialization"); in run()
152 log(String.format("block %d...", ii)); in run()
157 log(" [" + ii + "] jni samples read:" + samplesRead + " currentOffset:" + offset); in run()
160 log(String.format(" samplesRead: %d, sampleOffset:%d", totalSamplesRead, offset)); in run()
161 log(String.format("about to destroy...")); in run()
178 log("destroy try: " + tryCount); in run()
[all …]
DCorrelation.java40 log("Started Auto Correlation for data with " + data.length + " points"); in computeCorrelation()
71 log(String.format(" Maxvalue %f, max Index : %d/%d (%d) minIndex=%d",maxValue, maxIndex, in computeCorrelation()
74 log(String.format(" average : %.3f rms: %.3f", average, rms)); in computeCorrelation()
81 log(String.format("Raw: %.3f",raw)); in computeCorrelation()
85 log(String.format(" ****Confidence: %.2f",mEstimatedLatencyConfidence)); in computeCorrelation()
91 log(String.format(" latencySamples: %.2f %.2f ms", mEstimatedLatencySamples, in computeCorrelation()
153 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);
/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/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/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java154 log("CA Certificate installed successfully"); in onActivityResult()
156 log("REQUEST_CA_INSTALL failed with result code: " + resultCode); in onActivityResult()
203 log("Reading resources"); in doInBackground()
216 log("Private key length: " + userKey.size() + " bytes"); in doInBackground()
218 log("Setting up KeyStore"); in doInBackground()
237 log("KeyStore initialized"); in doInBackground()
239 log("KeyStore initialization failed"); in doInBackground()
259 log("Requesting install of server's credentials"); in doInBackground()
263 log("Failed to install credentials: " + e); in doInBackground()
277 log("Connection failed"); in doInBackground()
[all …]
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceResultTest.java115 ReportLog log = getReportLog(); in runTest() local
116 log.printArray("Times", result, ResultType.LOWER_BETTER, ResultUnit.MS); in runTest()
117 log.printValue("Min", stat.mMin, ResultType.LOWER_BETTER, ResultUnit.MS); in runTest()
118 log.printValue("Max", stat.mMax, ResultType.LOWER_BETTER, ResultUnit.MS); in runTest()
120 log.printSummary("Average", stat.mAverage, ResultType.LOWER_BETTER, ResultUnit.MS); in runTest()
/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/tests/tests/media/src/android/media/cts/
DAudioTrack_ListenerTest.java209 ReportLog log = getReportLog(); in doTest() local
210 log.printValue(reportName + ": Average Marker diff", markerStat.getAvg(), in doTest()
212 log.printValue(reportName + ": Maximum Marker abs diff", markerStat.getMaxAbs(), in doTest()
214 log.printValue(reportName + ": Average Marker abs diff", markerStat.getAvgAbs(), in doTest()
216 log.printValue(reportName + ": Average Periodic diff", periodicStat.getAvg(), in doTest()
218 log.printValue(reportName + ": Maximum Periodic abs diff", periodicStat.getMaxAbs(), in doTest()
220 log.printValue(reportName + ": Average Periodic abs diff", periodicStat.getAvgAbs(), in doTest()
222 log.printSummary(reportName + ": Unified abs diff", in doTest()
DAudioRecordTest.java947 ReportLog log = getReportLog(); in doTest() local
948 log.printValue(reportName + ": startRecording lag", firstSampleTime - startTime, in doTest()
950 log.printValue(reportName + ": stop execution time", stopTime - stopRequestTime, in doTest()
952 log.printValue(reportName + ": Total record time expected", TEST_TIME_MS, in doTest()
954 log.printValue(reportName + ": Total record time actual", endTime - firstSampleTime, in doTest()
956 log.printValue(reportName + ": Total markers expected", markerPeriods, in doTest()
958 log.printValue(reportName + ": Total markers actual", markerList.size(), in doTest()
960 log.printValue(reportName + ": Total periods expected", updatePeriods, in doTest()
962 log.printValue(reportName + ": Total periods actual", periodicList.size(), in doTest()
964 log.printValue(reportName + ": Average Marker diff", markerStat.getAvg(), in doTest()
[all …]
/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/suite/cts/deviceTests/browserbench/assets/octane/
Dbase.js154 var log = 0;
156 log += Math.log(numbers[i]);
158 return Math.pow(Math.E, log / numbers.length);
/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/tests/hardware/src/android/hardware/cts/
DSensorIntegrationTests.java101 operation.getStats().log(TAG); in testSensorsWithSeveralClients()
158 operation.getStats().log(TAG); in testSensorsMovingRates()
249 operation.getStats().log(TAG); in verifySensorStoppingInteraction()
253 testee.getStats().log(TAG); in verifySensorStoppingInteraction()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTest.java360 TestLog log = TestLog.fromXml(parser); in parseTestLog() local
361 if (log == null) { in parseTestLog()
364 addTestLog(log); in parseTestLog()
378 for (TestLog log : mTestLogs) { in serializeTestLogsLocked()
379 log.serialize(serializer); in serializeTestLogsLocked()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DMixedDeviceOwnerTest.java21 import com.android.tradefed.log.LogUtil.CLog;
DMixedProfileOwnerTest.java21 import com.android.tradefed.log.LogUtil.CLog;
DBaseLauncherAppsTest.java20 import com.android.tradefed.log.LogUtil.CLog;
DLauncherAppsMultiUserTest.java21 import com.android.tradefed.log.LogUtil.CLog;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspFftServer.java35 mOrder = (int) (Math.log(mN) / Math.log(2)); in init()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DWrappedGTestResultParser.java19 import com.android.tradefed.log.LogUtil.CLog;
/cts/tests/tests/hardware/src/android/hardware/multiprocess/
DErrorLoggingService.java113 MainHandler(ArrayList<LogEvent> log, ArrayList<Pair<Integer, Messenger>> waiters) { in MainHandler() argument
114 mErrorLog = log; in MainHandler()
498 public void log(final int id, final String msg) { in log() method in ErrorLoggingService.ErrorServiceConnection
522 log(id, msg); in logAsync()

123