Home
last modified time | relevance | path

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

12345678910>>...22

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttMetricsTest.java76 WifiMetricsProto.WifiRttLog log; in testRecordRequest() local
79 log = mDut.consolidateProto(); in testRecordRequest()
80 checkMainStats("No requests", log, 0, 0); in testRecordRequest()
81 checkPeerStats("No requests: AP", log.rttToAp, 0, 0, 0, 0, 0, 0, 0, 0); in testRecordRequest()
82 checkPeerStats("No requests: Aware", log.rttToAware, 0, 0, 0, 0, 0, 0, 0, 0); in testRecordRequest()
112 log = mDut.consolidateProto(); in testRecordRequest()
113 checkMainStats("Sequence AP-only", log, 10, 0); in testRecordRequest()
115 checkPeerStats("Sequence AP-only: AP", log.rttToAp, 10, 41, 2, 2, 4, 0, 0, 5); in testRecordRequest()
118 log.rttToAp.histogramNumRequestsPerApp[0], 1, 10, 1); in testRecordRequest()
120 log.rttToAp.histogramNumRequestsPerApp[1], 10, 100, 1); in testRecordRequest()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java142 private String convertProtoToBase64String(TelephonyLog log) throws Exception { in convertProtoToBase64String() argument
148 return (String) method.invoke(null, log); in convertProtoToBase64String()
157 TelephonyLog log = buildProto(); in testEventDropped() local
158 assertEquals(1000, log.events.length); in testEventDropped()
159 assertEquals(0, log.callSessions.length); in testEventDropped()
160 assertEquals(0, log.smsSessions.length); in testEventDropped()
161 assertTrue(log.eventsDropped); in testEventDropped()
162 assertEquals(1, log.events[0].dataStallAction); in testEventDropped()
170 TelephonyLog log = buildProto(); in testWriteDataStallEvent() local
172 assertEquals(1, log.events.length); in testWriteDataStallEvent()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java113 WifiMetricsProto.WifiAwareLog log; in testEnableDisableUsageMetrics() local
126 log = mDut.consolidateProto(); in testEnableDisableUsageMetrics()
127 collector.checkThat(countAllHistogramSamples(log.histogramAwareAvailableDurationMs), in testEnableDisableUsageMetrics()
129 validateProtoHistBucket("Duration[0] #1", log.histogramAwareAvailableDurationMs[0], 1, 2, in testEnableDisableUsageMetrics()
131 validateProtoHistBucket("Duration[1] #1", log.histogramAwareAvailableDurationMs[1], 5, 6, in testEnableDisableUsageMetrics()
133 collector.checkThat(log.availableTimeMs, equalTo(6L)); in testEnableDisableUsageMetrics()
140 log = mDut.consolidateProto(); in testEnableDisableUsageMetrics()
141 collector.checkThat(countAllHistogramSamples(log.histogramAwareAvailableDurationMs), in testEnableDisableUsageMetrics()
143 validateProtoHistBucket("Duration[0] #2", log.histogramAwareAvailableDurationMs[0], 1, 2, in testEnableDisableUsageMetrics()
145 validateProtoHistBucket("Duration[1] #2", log.histogramAwareAvailableDurationMs[1], 5, 6, in testEnableDisableUsageMetrics()
[all …]
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DMain.java73 Log log = new Log(); in main() local
78 if (!processArgs(log, args, osJarPath, osDestJar)) { in main()
79 log.error("Usage: layoutlib_create [-v] [--create-stub] output.jar input.jar ..."); in main()
80 log.error("Usage: layoutlib_create [-v] [--list-deps|--missing-deps] input.jar ..."); in main()
85 System.exit(listDeps(osJarPath, log)); in main()
88 System.exit(createLayoutLib(osDestJar[0], osJarPath, log)); in main()
95 private static int createLayoutLib(String osDestJar, ArrayList<String> osJarPath, Log log) { in createLayoutLib() argument
96 log.info("Output: %1$s", osDestJar); in createLayoutLib()
98 log.info("Input : %1$s", path); in createLayoutLib()
103 AsmGenerator agen = new AsmGenerator(log, info); in createLayoutLib()
[all …]
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierEventTronLogger.java65 final LogMaker log = new LogMaker(category) in writeEvent() local
70 log.addTaggedData(FIELD_TEXT_CLASSIFIER_SCORE, event.getScores()[0]); in writeEvent()
76 log.addTaggedData(FIELD_TEXT_CLASSIFIER_FIRST_ENTITY_TYPE, entityTypes[0]); in writeEvent()
79 log.addTaggedData(FIELD_TEXT_CLASSIFIER_SECOND_ENTITY_TYPE, entityTypes[1]); in writeEvent()
82 log.addTaggedData(FIELD_TEXT_CLASSIFIER_THIRD_ENTITY_TYPE, entityTypes[2]); in writeEvent()
86 log.addTaggedData(FIELD_TEXT_CLASSIFIER_WIDGET_TYPE, eventContext.getWidgetType()); in writeEvent()
87 log.addTaggedData(FIELD_TEXT_CLASSIFIER_WIDGET_VERSION, in writeEvent()
89 log.setPackageName(eventContext.getPackageName()); in writeEvent()
91 mMetricsLogger.write(log); in writeEvent()
92 debugLog(log); in writeEvent()
[all …]
/frameworks/rs/tests/lldb/
Drun_tests.py232 log = util_log.get_logger()
235 log.TestSuiteException('Need to specify --emu-cmd (or specify a'
263 log.log_and_print('Option --install-only set. The test APKs will '
361 log = util_log.get_logger()
362 log.debug('Trying to kill an emulator but it is already dead.')
407 log = util_log.get_logger()
408 log.info('Launching emulator with command line {0}'.format(state.emu_cmd))
421 log.warning(
490 log = util_log.get_logger()
493 log.info('Running {0}'.format(name))
[all …]
/frameworks/rs/tests/lldb/tests/
Drun_test.py65 log = util_log.get_logger()
66 log.info('running: {0}'.format(state.name))
90 log.error('unable to get pid of target')
148 log = util_log.get_logger()
150 log.error('test %s:%s failed: %r' % (state.name, test, err))
207 log = util_log.get_logger()
216 log.info('Test passed')
230 log = util_log.get_logger()
231 log.debug("loading test suites from %r", module)
235 log.info("Found test class %r", name)
[all …]
/frameworks/base/libs/hwui/renderthread/
DCacheManager.cpp153 void CacheManager::dumpMemoryUsage(String8& log, const RenderState* renderState) { in dumpMemoryUsage() argument
155 log.appendFormat("No valid cache instance.\n"); in dumpMemoryUsage()
159 log.appendFormat("Font Cache (CPU):\n"); in dumpMemoryUsage()
160 log.appendFormat(" Size: %.2f kB \n", SkGraphics::GetFontCacheUsed() / 1024.0f); in dumpMemoryUsage()
161 log.appendFormat(" Glyph Count: %d \n", SkGraphics::GetFontCacheCountUsed()); in dumpMemoryUsage()
163 log.appendFormat("CPU Caches:\n"); in dumpMemoryUsage()
172 cpuTracer.logOutput(log); in dumpMemoryUsage()
174 log.appendFormat("GPU Caches:\n"); in dumpMemoryUsage()
177 gpuTracer.logOutput(log); in dumpMemoryUsage()
179 log.appendFormat("Other Caches:\n"); in dumpMemoryUsage()
[all …]
/frameworks/base/tests/CoreTests/android/core/
DTestWebServer.java106 public void initServer(boolean log) throws Exception { in initServer() argument
107 initServer(DEFAULT_PORT, DEFAULT_TIMEOUT, log); in initServer()
115 public void initServer(int port, boolean log) throws Exception { in initServer() argument
116 initServer(port, DEFAULT_TIMEOUT, log); in initServer()
126 public void initServer(int port, int timeout, boolean log) throws Exception { in initServer() argument
129 mLog = log; in initServer()
143 protected void log(String s) { in log() method in TestWebServer
201 log("Server will redirect output to "+redirect+" code "+code); in setRedirect()
210 log("Closing AcceptThread"+acceptT); in close()
236 log("IOException in AcceptThread.init()"); in init()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipConnectionBase.java54 if (DBG) log("SipConnectionBase: ctor dialString=" + SipPhone.hidePii(dialString)); in SipConnectionBase()
61 if (DBG) log("setState: state=" + state); in setState()
84 if (VDBG) log("getCreateTime: ret=" + mCreateTime); in getCreateTime()
90 if (VDBG) log("getConnectTime: ret=" + mConnectTime); in getConnectTime()
96 if (VDBG) log("getDisconnectTime: ret=" + mDisconnectTime); in getDisconnectTime()
110 if (VDBG) log("getDurationMillis: ret=" + dur); in getDurationMillis()
123 if (VDBG) log("getHoldDurationMillis: ret=" + dur); in getHoldDurationMillis()
128 if (DBG) log("setDisconnectCause: prev=" + mCause + " new=" + cause); in setDisconnectCause()
139 if (DBG) log("proceedAfterWaitChar: ignore"); in proceedAfterWaitChar()
144 if (DBG) log("proceedAfterWildChar: ignore"); in proceedAfterWildChar()
[all …]
DSipPhone.java75 if (DBG) log("new SipPhone: " + hidePii(profile.getUriString())); in SipPhone()
105 if (DBG) log("takeIncomingCall: ret=null, not a SipAudioCall"); in takeIncomingCall()
109 if (DBG) log("takeIncomingCall: ret=null, ringingCall not alive"); in takeIncomingCall()
118 log("takeIncomingCall: ret=null," + " foreground and background both alive"); in takeIncomingCall()
125 if (DBG) log("takeIncomingCall: taking call from: " in takeIncomingCall()
134 if (DBG) log(" takeIncomingCall: call cancelled !!"); in takeIncomingCall()
144 if (DBG) log(" takeIncomingCall: exception e=" + e); in takeIncomingCall()
147 if (DBG) log("takeIncomingCall: NOT taking !!"); in takeIncomingCall()
157 if (DBG) log("acceptCall: accepting"); in acceptCall()
163 log("acceptCall:" + in acceptCall()
[all …]
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringDependencies.java56 public OffloadHardwareInterface getOffloadHardwareInterface(Handler h, SharedLog log) { in getOffloadHardwareInterface() argument
57 return new OffloadHardwareInterface(h, log); in getOffloadHardwareInterface()
65 @NonNull SharedLog log, @NonNull OffloadController.Dependencies deps) { in getOffloadController() argument
68 return new OffloadController(h, getOffloadHardwareInterface(h, log), in getOffloadController()
69 getContext().getContentResolver(), statsManager, log, deps); in getOffloadController()
77 SharedLog log, int what) { in getUpstreamNetworkMonitor() argument
78 return new UpstreamNetworkMonitor(ctx, target, log, what); in getUpstreamNetworkMonitor()
85 ArrayList<IpServer> notifyList, SharedLog log) { in getIPv6TetheringCoordinator() argument
86 return new IPv6TetheringCoordinator(notifyList, log); in getIPv6TetheringCoordinator()
109 public EntitlementManager getEntitlementManager(Context ctx, Handler h, SharedLog log, in getEntitlementManager() argument
[all …]
/frameworks/base/services/net/java/android/net/ip/
DIpClientManager.java57 private void log(String s, Throwable e) { in log() method in IpClientManager
72 log("Error completing PreDhcpAction", e); in completedPreDhcpAction()
88 log("Error confirming IpClient configuration", e); in confirmConfiguration()
102 log("Error notifying IpClient of packet filter read", e); in readPacketFilterComplete()
118 log("Error shutting down IpClient", e); in shutdown()
134 log("Error starting IpClient provisioning", e); in startProvisioning()
152 log("Error stopping IpClient", e); in stop()
171 log("Error setting IpClient TCP buffer sizes", e); in setTcpBufferSizes()
190 log("Error setting IpClient proxy", e); in setHttpProxy()
207 log("Error setting multicast filter", e); in setMulticastFilter()
[all …]
/frameworks/av/media/libnblog/
DWriter.cpp71 void Writer::log(const char *string) in log() function in android::NBLog::Writer
81 log(EVENT_STRING, string, length); in log()
102 log(EVENT_TIMESTAMP, &ts, sizeof(ts)); in logTimestamp()
126 log(event, &data, sizeof(data)); in logEventHistTs()
144 void Writer::log(const Entry &etr, bool trusted) in log() function in android::NBLog::Writer
150 log(etr.mEvent, etr.mData, etr.mLength); in log()
168 void Writer::log(Event event, const void *data, size_t length) in log() function in android::NBLog::Writer
184 log(etr, true /*trusted*/); in log()
200 log(EVENT_STRING, buffer, length); in logvf()
213 log(EVENT_FMT_START, fmt, length); in logStart()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeLog.java72 log("pickupWakeUp withinVibrationThreshold=" + withinVibrationThreshold); in tracePickupWakeUp()
80 log("pulseStart reason=" + reasonToString(reason)); in tracePulseStart()
86 log("pulseFinish"); in tracePulseFinish()
92 log("notificationPulse"); in traceNotificationPulse()
113 log("init"); in init()
125 log("dozing " + dozing); in traceDozing()
131 log("fling expand=" + expand + " aboveThreshold=" + aboveThreshold + " thresholdNeeded=" in traceFling()
137 log("emergencyCall"); in traceEmergencyCall()
143 log("bouncer " + showing); in traceKeyguardBouncerChanged()
148 log("screenOn pulsing=" + sPulsing); in traceScreenOn()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareMetrics.java500 WifiMetricsProto.WifiAwareLog log = new WifiMetricsProto.WifiAwareLog(); in consolidateProto() local
503 log.histogramAwareAvailableDurationMs = histogramToProtoArray( in consolidateProto()
506 log.availableTimeMs = mAvailableTimeMs; in consolidateProto()
508 log.availableTimeMs += now - mLastEnableUsageInThisSampleWindowMs; in consolidateProto()
511 log.histogramAwareEnabledDurationMs = histogramToProtoArray( in consolidateProto()
514 log.enabledTimeMs = mEnabledTimeMs; in consolidateProto()
516 log.enabledTimeMs += now - mLastEnableAwareInThisSampleWindowMs; in consolidateProto()
519 log.numApps = mAttachDataByUid.size(); in consolidateProto()
520 log.numAppsUsingIdentityCallback = 0; in consolidateProto()
521 log.maxConcurrentAttachSessionsInApp = 0; in consolidateProto()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java342 if (DBG) log("screen on");
348 if (DBG) log("screen off");
356 if (DBG) log("Provisioning apn alarm");
382 if (DBG) log("onReceive: Unknown action=" + action);
494 log("onDataReconnect: invalid subId"); in onDataReconnect()
501 log("onDataReconnect: mState=" + mState + " reason=" + reason + " apnType=" + apnType in onDataReconnect()
509 log("onDataReconnect: apnContext state=" + apnContextState); in onDataReconnect()
514 log("onDataReconnect: state is FAILED|IDLE, disassociate"); in onDataReconnect()
518 if (DBG) log("onDataReconnect: keep associated"); in onDataReconnect()
526 if (VDBG_STALL) log("onActionIntentDataStallAlarm: action=" + intent.getAction()); in onActionIntentDataStallAlarm()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRetryManager.java256 if (DBG) log("configure: '" + configStr + "'"); in configure()
262 if (VDBG) log("configure: not empty"); in configure()
266 if (VDBG) log("configure: strArray[" + i + "]='" + strArray[i] + "'"); in configure()
270 if (VDBG) log("configure: splitStr[0]='" + splitStr[0] + "'"); in configure()
273 if (VDBG) log("configure: splitStr[1]='" + splitStr[1] + "'"); in configure()
306 if (VDBG) log("configure: splitStr[1]='" + splitStr[1] + "'"); in configure()
318 if (VDBG) log("configure: setting mMaxRetryCount=" + mMaxRetryCount); in configure()
321 log("configure: cleared"); in configure()
324 if (VDBG) log("configure: true"); in configure()
390 log("Invalid APN retry configuration!. Use the default one now."); in configureRetry()
[all …]
/frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/
DDisplayProtoUtils.java39 for (StatsLog.StatsLogReport log : report.getMetricsList()) { in displayLogReport()
41 sb.append("metric id: ").append(log.getMetricId()).append("\n"); in displayLogReport()
43 switch (log.getDataCase()) { in displayLogReport()
46 displayDurationMetricData(sb, log); in displayLogReport()
50 displayEventMetricData(sb, log); in displayLogReport()
54 displayCountMetricData(sb, log); in displayLogReport()
58 displayGaugeMetricData(sb, log); in displayLogReport()
62 displayValueMetricData(sb, log); in displayLogReport()
97 public static void displayDurationMetricData(StringBuilder sb, StatsLog.StatsLogReport log) { in displayDurationMetricData() argument
99 = log.getDurationMetrics(); in displayDurationMetricData()
[all …]
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DDisplayProtoUtils.java43 for (StatsLog.StatsLogReport log : report.getMetricsList()) { in displayLogReport()
51 sb.append("metric id: ").append(log.getMetricId()).append("\n"); in displayLogReport()
53 switch (log.getDataCase()) { in displayLogReport()
56 displayDurationMetricData(sb, log); in displayLogReport()
60 displayEventMetricData(sb, log); in displayLogReport()
64 displayCountMetricData(sb, log); in displayLogReport()
68 displayGaugeMetricData(sb, log); in displayLogReport()
72 displayValueMetricData(sb, log); in displayLogReport()
108 public static void displayDurationMetricData(StringBuilder sb, StatsLog.StatsLogReport log) { in displayDurationMetricData() argument
110 = log.getDurationMetrics(); in displayDurationMetricData()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorPhoneSwitcher.java149 log("mSimStateIntentReceiver: phoneId = " + phoneId + " value = " + value);
172 log("handle event - " + msg.what); in handleMessage()
177 log("EVENT_SUBSCRIPTION_CHANGED: update HAL command"); in handleMessage()
185 log("EVENT_PRECISE_CALL_STATE_CHANGED"); in handleMessage()
199 log("EVENT_ALLOW_DATA_TRUE_RESPONSE"); in handleMessage()
204 log("EVENT_ALLOW_DATA_FALSE_RESPONSE"); in handleMessage()
215 log("EVENT_DDS_SWITCH_RESPONSE"); in handleMessage()
220 log("EVENT_PREFERRED_SUB_VALID"); in handleMessage()
237 log("SIM READY for phoneId: " + phoneId); in isSimReady()
286 if (VDBG) log("Found an active subscription"); in onEvaluate()
[all …]
/frameworks/base/telephony/java/com/android/telephony/
DRlog.java39 private static int log(int priority, String tag, String msg) { in log() method in Rlog
44 return log(Log.VERBOSE, tag, msg); in v()
48 return log(Log.VERBOSE, tag, in v()
53 return log(Log.DEBUG, tag, msg); in d()
57 return log(Log.DEBUG, tag, in d()
62 return log(Log.INFO, tag, msg); in i()
66 return log(Log.INFO, tag, in i()
71 return log(Log.WARN, tag, msg); in w()
75 return log(Log.WARN, tag, in w()
80 return log(Log.WARN, tag, Log.getStackTraceString(tr)); in w()
[all …]
/frameworks/base/services/net/java/android/net/
DNetworkMonitorManager.java53 private void log(String s, Throwable e) { in log() method in NetworkMonitorManager
65 log("Error in start", e); in start()
78 log("Error in launchCaptivePortalApp", e); in launchCaptivePortalApp()
91 log("Error in notifyCaptivePortalAppFinished", e); in notifyCaptivePortalAppFinished()
104 log("Error in setAcceptPartialConnectivity", e); in setAcceptPartialConnectivity()
117 log("Error in forceReevaluation", e); in forceReevaluation()
130 log("Error in notifyPrivateDnsChanged", e); in notifyPrivateDnsChanged()
143 log("Error in notifyDnsResponse", e); in notifyDnsResponse()
156 log("Error in notifyNetworkConnected", e); in notifyNetworkConnected()
169 log("Error in notifyNetworkDisconnected", e); in notifyNetworkDisconnected()
[all …]
/frameworks/base/core/java/android/net/metrics/
DIpConnectivityLog.java87 public boolean log(@NonNull ConnectivityMetricsEvent ev) { in log() method in IpConnectivityLog
113 public boolean log(long timestamp, @NonNull Event data) { in log() method in IpConnectivityLog
116 return log(ev); in log()
125 public boolean log(@NonNull String ifname, @NonNull Event data) { in log() method in IpConnectivityLog
128 return log(ev); in log()
139 public boolean log(@NonNull Network network, @NonNull int[] transports, @NonNull Event data) { in log() method in IpConnectivityLog
140 return log(network.netId, transports, data); in log()
151 public boolean log(int netid, @NonNull int[] transports, @NonNull Event data) { in log() method in IpConnectivityLog
155 return log(ev); in log()
163 public boolean log(@NonNull Event data) { in log() method in IpConnectivityLog
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccPkcs15.java68 log("Creating FileHandler, pkcs15Path: " + pkcs15Path); in FileHandler()
73 log("loadFile: " + fileId); in loadFile()
86 log("EF based"); in selectFile()
95 log("EF based"); in readBinary()
101 log("handleMessage: " + msg.what); in handleMessage()
104 log("Error: " + ar.exception); in handleMessage()
119 log("IccIoResult: " + response + " payload: " + result); in handleMessage()
126 log("Unknown event" + msg.what); in handleMessage()
146 log("handleMessage: " + msg.what); in handleMessage()
154 log("mChannelId: " + mChannelId); in handleMessage()
[all …]

12345678910>>...22