Home
last modified time | relevance | path

Searched refs:mLog (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/
DLogTest.java27 private MockLog mLog; field in LogTest
31 mLog = new MockLog(); in setUp()
41 assertEquals("", mLog.getOut()); in testDebug()
42 assertEquals("", mLog.getErr()); in testDebug()
44 mLog.setVerbose(false); in testDebug()
45 mLog.debug("Test %d", 42); in testDebug()
46 assertEquals("", mLog.getOut()); in testDebug()
48 mLog.setVerbose(true); in testDebug()
49 mLog.debug("Test %d", 42); in testDebug()
51 assertEquals("Test 42\n", mLog.getOut()); in testDebug()
[all …]
DPromoteClassClassAdapterTest.java38 List<String> mLog = new LinkedList<String>(); field in LoggingClassVisitor
71 mLog.add( in log()
132 assertTrue(log.mLog.contains( in testInnerClassPromotion()
140 log.mLog.clear(); in testInnerClassPromotion()
144 assertTrue(log.mLog.contains("[visitInnerClass] - " + in testInnerClassPromotion()
165 assertTrue(log.mLog.contains("[visit] - version=52, access=[public], " + in testProtectedClassPromotion()
DAsmGeneratorTest.java57 private MockLog mLog; field in AsmGeneratorTest
67 mLog = new MockLog(); in setUp()
101 AsmGenerator agen = new AsmGenerator(mLog, ci); in testClassRenaming()
103 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, in testClassRenaming()
143 AsmGenerator agen = new AsmGenerator(mLog, ci); in testJavaClassRefactoring()
145 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, in testJavaClassRefactoring()
190 AsmGenerator agen = new AsmGenerator(mLog, ci); in testClassRefactoring()
192 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, in testClassRefactoring()
226 AsmGenerator agen = new AsmGenerator(mLog, ci); in testClassExclusion()
227 AsmAnalyzer aa = new AsmAnalyzer(mLog, mOsJarPath, in testClassExclusion()
[all …]
/frameworks/base/core/java/android/util/
DLocalLog.java35 private final Deque<String> mLog; field in LocalLog
52 mLog = new ArrayDeque<>(mMaxLines); in LocalLog()
72 while (mLog.size() >= mMaxLines) { in append()
73 mLog.remove(); in append()
75 mLog.add(logLine); in append()
94 Iterator<String> itr = mLog.iterator(); in dump()
105 Iterator<String> itr = mLog.descendingIterator(); in reverseDump()
112 private final LocalLog mLog; field in LocalLog.ReadOnlyLocalLog
114 mLog = log; in ReadOnlyLocalLog()
118 mLog.dump(pw); in dump()
[all …]
/frameworks/av/services/mediametrics/
DTransactionLog.h76 mLog.clear();
80 mLog = other.mLog;
98 mLog.emplace_hint(mLog.end(), time, item); in put()
109 return getItemsInRange(mLog, startTime, endTime);
146 auto [s, l] = dumpMapTimeItem(mLog, ll, sinceNs, prefix);
174 return mLog.size(); in size()
183 mLog.clear(); in clear()
223 if (mLog.size() < mHighWaterMark) return false; in gc()
225 auto eraseEnd = mLog.begin(); in gc()
226 size_t toRemove = mLog.size() - mLowWaterMark; in gc()
[all …]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DStartVoiceInteractionActivity.java38 TextView mLog; field in StartVoiceInteractionActivity
51 mLog = (TextView)findViewById(R.id.log); in onCreate()
63 mLog.append("Local Voice Interaction Supported = " + isLocalVoiceInteractionSupported()); in onCreate()
101 mLog.append("\nLocalVoiceInteraction started!"); in onLocalVoiceInteractionStarted()
108 mLog.append("\nLocalVoiceInteraction stopped!"); in onLocalVoiceInteractionStopped()
123 ((StartVoiceInteractionActivity)getActivity()).mLog.append("Canceled abort\n"); in onCancel()
127 ((StartVoiceInteractionActivity)getActivity()).mLog.append( in onAbortResult()
139 ((StartVoiceInteractionActivity)getActivity()).mLog.append("Canceled complete\n"); in onCancel()
143 ((StartVoiceInteractionActivity)getActivity()).mLog.append("Complete: result=" in onCompleteResult()
155 ((StartVoiceInteractionActivity)getActivity()).mLog.append("Canceled command\n"); in onCancel()
[all …]
DTestInteractionActivity.java42 TextView mLog; field in TestInteractionActivity
69 mLog = (TextView)findViewById(R.id.log); in onCreate()
115 mLog.append(cmds[i] + ": " + (sup[i] ? "SUPPORTED" : "NOT SUPPORTED") + "\n"); in onCreate()
177 ((TestInteractionActivity)getActivity()).mLog.append("Canceled abort\n"); in onCancel()
181 ((TestInteractionActivity)getActivity()).mLog.append("Abort: result=" + result + "\n"); in onAbortResult()
192 ((TestInteractionActivity)getActivity()).mLog.append("Canceled complete\n"); in onCancel()
196 ((TestInteractionActivity)getActivity()).mLog.append("Complete: result=" in onCompleteResult()
208 ((TestInteractionActivity)getActivity()).mLog.append("Canceled command\n"); in onCancel()
224 ((TestInteractionActivity)getActivity()).mLog.append(sb.toString()); in onCommandResult()
239 ((TestInteractionActivity)getActivity()).mLog.append("Canceled pick\n"); in onCancel()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java190 private final WifiLog mLog; field in WifiServiceImpl
222 mLog.trace("onLocalOnlyHotspotRequestorDeath pid=%") in onLocalOnlyHotspotRequestorDeath()
318 mLog = mWifiInjector.makeLog(TAG); in WifiServiceImpl()
479 mLog.info("startScan uid=%").c(callingUid).flush(); in startScan()
541 mLog.info("getCurrentNetworkWpsNfcConfigurationToken uid=%") in getCurrentNetworkWpsNfcConfigurationToken()
777 mLog.info("setWifiEnabled not allowed for uid=%") in setWifiEnabled()
783 mLog.err("setWifiEnabled in Airplane mode: only Settings can toggle wifi").flush(); in setWifiEnabled()
789 mLog.err("setWifiEnabled with SoftAp enabled: only Settings can toggle wifi").flush(); in setWifiEnabled()
793 mLog.info("setWifiEnabled package=% uid=% enable=%").c(packageName) in setWifiEnabled()
825 mLog.info("getWifiEnabledState uid=%").c(Binder.getCallingUid()).flush(); in getWifiEnabledState()
[all …]
DLastMileLogger.java101 private WifiLog mLog; field in LastMileLogger
107 mLog = injector.makeLog(TAG); in initLastMileLogger()
115 mLog.wC("Failed to arm fail-safe."); in enableTracing()
122 mLog.warn("Failed to start event tracing: %").r(e.getMessage()).flush(); in enableTracing()
130 mLog.warn("Failed to stop event tracing: %").r(e.getMessage()).flush(); in disableTracing()
138 mLog.warn("Failed to read event trace: %").r(e.getMessage()).flush(); in readTrace()
163 mLog.warn("Failed to open free_buffer pseudo-file: %").r(e.getMessage()).flush(); in ensureFailSafeIsArmed()
DWifiDiagnostics.java131 private final WifiLog mLog; field in WifiDiagnostics
150 mLog = wifiInjector.makeLog(TAG); in WifiDiagnostics()
194 if (DBG) mLog.tC("There is no per packet ring buffer"); in startPacketLog()
203 if (DBG) mLog.tC("There is no per packet ring buffer"); in stopPacketLog()
231 mLog.wC("Fail to reset log handler"); in stopLogging()
233 if (DBG) mLog.tC("Reset log handler"); in stopLogging()
323 mLog.err("error taking bugreport: %").c(e.getClass().getName()).flush(); in takeBugReport()
500 mLog.wC("verbosity changed: restart logging"); in enableVerboseLogging()
526 if (DBG) mLog.trace("RingBufferStatus is: %").c(buffer.name).flush(); in fetchRingBuffers()
536 mLog.wC("no ring buffers found"); in fetchRingBuffers()
[all …]
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
DRemoteLayoutLogAdapter.java28 private final LayoutLog mLog; field in RemoteLayoutLogAdapter
31 mLog = log; in RemoteLayoutLogAdapter()
41 mLog.warning(tag, message, viewCookie, null); in warning()
47 mLog.fidelityWarning(tag, message, throwable, viewCookie, data); in fidelityWarning()
52 mLog.error(tag, message, viewCookie, null); in error()
57 mLog.error(tag, message, throwable, viewCookie, null); in error()
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
DRemoteLayoutLogAdapter.java26 private final RemoteLayoutLog mLog; field in RemoteLayoutLogAdapter
29 mLog = log; in RemoteLayoutLogAdapter()
35 mLog.warning(tag, message, viewCookie, null); in warning()
45 mLog.fidelityWarning(tag, message, throwable, viewCookie, data); in fidelityWarning()
54 mLog.error(tag, message, viewCookie, null); in error()
64 mLog.error(tag, message, throwable, viewCookie, null); in error()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java96 private final SharedLog mLog; field in OffloadController
149 mLog = log.forSubComponent(TAG); in OffloadController()
169 mLog.i("tethering offload disabled"); in start()
176 mLog.i("tethering offload config not supported"); in start()
190 mLog.log("onStarted"); in start()
196 mLog.log("onStoppedError"); in start()
202 mLog.log("onStoppedUnsupported"); in start()
216 mLog.log("onSupportAvailable"); in start()
233 mLog.log("onStoppedLimitReached"); in start()
261 mLog.i("tethering offload control not supported"); in start()
[all …]
DOffloadHardwareInterface.java79 private final SharedLog mLog; field in OffloadHardwareInterface
146 mLog = log.forSubComponent(TAG); in OffloadHardwareInterface()
152 private final SharedLog mLog; field in OffloadHardwareInterface.Dependencies
155 mLog = log; in Dependencies()
162 mLog.e("getIOffloadConfig error " + e); in getOffloadConfig()
171 mLog.e("tethering offload control not supported: " + e); in getOffloadControl()
181 mLog.e("Unable to create conntrack socket " + e); in createConntrackSocket()
189 mLog.e("Unable to bind conntrack socket for groups " + groups + " error: " + e); in createConntrackSocket()
200 mLog.e("connect to kernel fail for groups " + groups + " error: " + e); in createConntrackSocket()
226 mLog.e("Could not find IOffloadConfig service"); in initOffloadConfig()
[all …]
DEntitlementManager.java88 private final SharedLog mLog; field in EntitlementManager
105 mLog = log.forSubComponent(TAG); in EntitlementManager()
236 mLog.i("notifyUpstream: " + isCellular in notifyUpstream()
304 if (DBG) mLog.i("reevaluateSimCardProvisioning"); in reevaluateSimCardProvisioning()
308 mLog.log("reevaluateSimCardProvisioning() don't run in TetherMaster thread"); in reevaluateSimCardProvisioning()
368 if (DBG) mLog.i("runSilentTetherProvisioning: " + type); in runSilentTetherProvisioning()
400 if (DBG) mLog.i("runUiTetherProvisioning: " + type); in runUiTetherProvisioning()
444 mLog.i("Cellular permission change from " + mLastCellularUpstreamPermitted in evaluateCellularPermission()
449 mLog.log("Cellular permission change: " + permitted); in evaluateCellularPermission()
470 mLog.i("addDownstreamMapping: " + type + ", result: " + resultCode in addDownstreamMapping()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiHandler.java33 private WifiLog mLog; field in WifiHandler
44 if (mLog == null) { in getOrInitLog()
45 mLog = WifiInjector.getInstance().makeLog(mTag); in getOrInitLog()
47 return mLog; in getOrInitLog()
65 mLog = wifiLog; in setWifiLog()
DWifiAsyncChannel.java33 private WifiLog mLog; field in WifiAsyncChannel
45 if (mLog == null) { in getOrInitLog()
46 mLog = WifiInjector.getInstance().makeLog(mTag); in getOrInitLog()
48 return mLog; in getOrInitLog()
104 mLog = log; in setWifiLog()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java227 private final SharedLog mLog; field in IpServer
287 mLog = log.forSubComponent(ifaceName); in IpServer()
291 mInterfaceCtrl = new InterfaceController(ifaceName, mNetd, mLog); in IpServer()
303 mIpNeighborMonitor = mDeps.getIpNeighborMonitor(getHandler(), mLog, in IpServer()
311 mLog.e("Failed to create IpNeighborMonitor on " + mIfaceName); in IpServer()
433 mLog.e("Error obtaining DHCP server: " + statusCode); in onDhcpServerCreated()
444 mLog.e("Error starting DHCP server: " + startStatusCode); in onDhcpServerCreated()
559 mLog.e("Error stopping DHCP server: " + statusCode); in stopDhcp()
569 mLog.e("Error stopping DHCP server", e); in stopDhcp()
604 mLog.e("No available ipv4 address"); in configureIPv4()
[all …]
/frameworks/base/services/net/java/android/net/
DNetworkStackClient.java65 private final SharedLog mLog = new SharedLog(TAG); field in NetworkStackClient
243 synchronized (mLog) { in log()
244 mLog.log(message); in log()
250 synchronized (mLog) { in logWtf()
251 mLog.e(message, e); in logWtf()
256 synchronized (mLog) { in loge()
257 mLog.e(message, e); in loge()
265 synchronized (mLog) { in logi()
266 mLog.i(message); in logi()
329 mLog.dump(null, pw, null); in dump()
DConnectivityModuleConnector.java77 private final SharedLog mLog = new SharedLog(TAG); field in ConnectivityModuleConnector
385 synchronized (mLog) {
386 mLog.log(message);
392 synchronized (mLog) {
393 mLog.e(message);
399 synchronized (mLog) {
400 mLog.e(message);
406 synchronized (mLog) {
407 mLog.i(message);
416 mLog.dump(null, pw, null);
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DDependencyFinder.java55 private final Log mLog; field in DependencyFinder
63 mLog = log; in DependencyFinder()
76 mLog.info("Found %d classes in input JAR%s.", in findDeps()
102 mLog.info("++++++ %d Entries found in source JARs", deps.size()); in printAllDeps()
103 mLog.info(""); in printAllDeps()
106 mLog.info( "+Found : %s", entry.getKey()); in printAllDeps()
108 mLog.info(" uses: %s", dep); in printAllDeps()
111 mLog.info(""); in printAllDeps()
119 mLog.info(""); in printAllDeps()
120 mLog.info("------ %d Entries missing from source JARs", missing.size()); in printAllDeps()
[all …]
DDelegateClassAdapter.java43 private final Log mLog; field in DelegateClassAdapter
64 mLog = log; in DelegateClassAdapter()
115 mLog, null, mwDelegate, mClassName, name, desc, isStaticMethod, in visitMethod()
127 return new AfterConstructorMethodAdapter(mLog, mwOriginal, mClassName); in visitMethod()
146 mLog, mwOriginal, mwDelegate, mClassName, name, desc, isStaticMethod, in visitMethod()
DChangeFileVersionAdapter.java26 private final Log mLog; field in ChangeFileVersionAdapter
31 mLog = logger; in ChangeFileVersionAdapter()
41 mLog.debug("Class %s has had its file version changed from %d to %d", name, version, in visit()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java61 private final SharedLog mLog = new SharedLog("TetheringConfigurationTest"); field in TetheringConfigurationTest
146 return new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in getTetheringConfiguration()
232 mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testNoDefinedUpstreamTypesAddsEthernet()
255 mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testDefinedUpstreamTypesSansEthernetAddsEthernet()
273 mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
296 new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testBpfOffloadEnabledByResource()
305 new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testBpfOffloadEnabledByDeviceConfigOverride()
314 new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testBpfOffloadDisabledByResource()
323 new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testBpfOffloadDisabledByDeviceConfigOverride()
337 new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in testNewDhcpServerDisabled()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingLog.java60 private final ArrayDeque<String> mLog = new ArrayDeque<>(MAX_SIZE); field in FalsingLog
112 if (sInstance.mLog.size() >= MAX_SIZE) { in log()
113 sInstance.mLog.removeFirst(); in log()
118 sInstance.mLog.add(entry); in log()
128 if (sInstance == null || sInstance.mLog.isEmpty()) { in dump()
133 for (String s : sInstance.mLog) { in dump()

123