Searched refs:mLog (Results 1 - 25 of 68) sorted by relevance

123

/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DLogTest.java27 private MockLog mLog; field in class:LogTest
31 mLog = new MockLog();
41 assertEquals("", mLog.getOut());
42 assertEquals("", mLog.getErr());
44 mLog.setVerbose(false);
45 mLog.debug("Test %d", 42);
46 assertEquals("", mLog.getOut());
48 mLog.setVerbose(true);
49 mLog.debug("Test %d", 42);
51 assertEquals("Test 42\n", mLog
[all...]
H A DPromoteClassClassAdapterTest.java38 List<String> mLog = new LinkedList<String>(); field in class:LoggingClassVisitor
71 mLog.add(
132 assertTrue(log.mLog.contains(
140 log.mLog.clear();
144 assertTrue(log.mLog.contains("[visitInnerClass] - " +
165 assertTrue(log.mLog.contains("[visit] - version=52, access=[public], " +
/frameworks/base/core/java/android/util/
H A DLocalLog.java31 private final Deque<String> mLog; field in class:LocalLog
36 mLog = new ArrayDeque<>(mMaxLines);
47 while (mLog.size() >= mMaxLines) {
48 mLog.remove();
50 mLog.add(logLine);
54 Iterator<String> itr = mLog.iterator();
61 Iterator<String> itr = mLog.descendingIterator();
68 private final LocalLog mLog; field in class:LocalLog.ReadOnlyLocalLog
70 mLog = log;
73 mLog
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DWifiHandler.java34 private WifiLog mLog; field in class:WifiHandler
44 // Lazy initialization of mLog
45 if (mLog == null) {
46 mLog = WifiInjector.getInstance().makeLog(mTag);
48 return mLog;
65 // b/33308811 tracks removing lazy initializations of mLog
66 mLog = wifiLog;
H A DWifiAsyncChannel.java33 private WifiLog mLog; field in class:WifiAsyncChannel
44 // Lazy initization of mLog
45 if (mLog == null) {
46 mLog = WifiInjector.getInstance().makeLog(mTag);
48 return mLog;
104 mLog = log;
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
H A DRemoteLayoutLogAdapter.java28 private final LayoutLog mLog; field in class:RemoteLayoutLogAdapter
31 mLog = log;
41 mLog.warning(tag, message, null);
47 mLog.fidelityWarning(tag, message, throwable, viewCookie, data);
52 mLog.error(tag, message, null);
57 mLog.error(tag, message, throwable, null);
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
H A DRemoteLayoutLogAdapter.java26 private final RemoteLayoutLog mLog; field in class:RemoteLayoutLogAdapter
29 mLog = log;
35 mLog.warning(tag, message, null);
45 mLog.fidelityWarning(tag, message, throwable, viewCookie, data);
54 mLog.error(tag, message, null);
63 mLog.error(tag, message, throwable, null);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DLastMileLogger.java40 mLog = injector.makeLog(TAG);
53 mLog.warn("Ignoring negative connection id: %").c(connectionId).flush();
105 private WifiLog mLog; field in class:LastMileLogger
112 mLog.wC("Failed to arm fail-safe.");
119 mLog.warn("Failed to start event tracing: %").r(e.getMessage()).flush();
127 mLog.warn("Failed to stop event tracing: %").r(e.getMessage()).flush();
135 mLog.warn("Failed to read event trace: %").r(e.getMessage()).flush();
160 mLog.warn("Failed to open free_buffer pseudo-file: %").r(e.getMessage()).flush();
H A DWifiDiagnostics.java106 private final WifiLog mLog; field in class:WifiDiagnostics
125 mLog = wifiInjector.makeLog(TAG);
164 mLog.wC("Failed to start packet fate monitoring");
173 if (DBG) mLog.tC("There is no per packet ring buffer");
182 if (DBG) mLog.tC("There is no per packet ring buffer");
190 mLog.wC("Fail to reset log handler");
192 if (DBG) mLog.tC("Reset log handler");
263 mLog.err("error taking bugreport: %").c(e.getClass().getName()).flush();
440 if (DBG) mLog.trace("RingBufferStatus is: %").c(buffer.name).flush();
450 mLog
[all...]
H A DWifiServiceImpl.java177 private WifiLog mLog; field in class:WifiServiceImpl
477 mLog = mWifiInjector.makeLog(TAG);
615 mLog.info("startScan uid=%").c(callingUid).flush();
678 mLog.info("getCurrentNetworkWpsNfcConfigurationToken uid=%")
815 mLog.info("setWifiEnabled package=% uid=% enable=%").c(packageName)
823 mLog.info("setWifiEnabled in Airplane mode: only Settings can enable wifi").flush();
831 mLog.info("setWifiEnabled SoftAp not disabled: only Settings can enable wifi").flush();
885 mLog.info("getWifiEnabledState uid=%").c(Binder.getCallingUid()).flush();
902 mLog.info("getWifiApEnabledState uid=%").c(Binder.getCallingUid()).flush();
929 mLog
[all...]
/frameworks/support/lifecycle/integration-tests/testapp/src/test/java/androidx/lifecycle/
H A DGeneratedAdaptersTest.java54 List<String> mLog; field in class:GeneratedAdaptersTest.SimpleObserver
57 mLog = log;
62 mLog.add("onCreate");
76 List<String> mLog; field in class:GeneratedAdaptersTest.TestObserver
79 mLog = log;
84 mLog.add("onCreate");
89 mLog.add("onAny");
120 List<String> mLog; field in class:GeneratedAdaptersTest.Impl1
123 mLog = log;
128 mLog
156 List<String> mLog; field in class:GeneratedAdaptersTest.Base
[all...]
/frameworks/base/tests/net/java/android/net/ip/
H A DIpReachabilityMonitorTest.java47 @Mock SharedLog mLog; field in class:IpReachabilityMonitorTest
53 when(mLog.forSubComponent(anyString())).thenReturn(mLog);
59 return new IpReachabilityMonitor(ifParams, mHandler, mLog, mCallback, null, mDependencies);
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DStartVoiceInteractionActivity.java38 TextView mLog; field in class:StartVoiceInteractionActivity
51 mLog = (TextView)findViewById(R.id.log);
63 mLog.append("Local Voice Interaction Supported = " + isLocalVoiceInteractionSupported());
101 mLog.append("\nLocalVoiceInteraction started!");
108 mLog.append("\nLocalVoiceInteraction stopped!");
123 ((StartVoiceInteractionActivity)getActivity()).mLog.append("Canceled abort\n");
127 ((StartVoiceInteractionActivity)getActivity()).mLog.append(
139 ((StartVoiceInteractionActivity)getActivity()).mLog.append("Canceled complete\n");
143 ((StartVoiceInteractionActivity)getActivity()).mLog.append("Complete: result="
155 ((StartVoiceInteractionActivity)getActivity()).mLog
[all...]
H A DTestInteractionActivity.java42 TextView mLog; field in class:TestInteractionActivity
69 mLog = (TextView)findViewById(R.id.log);
115 mLog.append(cmds[i] + ": " + (sup[i] ? "SUPPORTED" : "NOT SUPPORTED") + "\n");
177 ((TestInteractionActivity)getActivity()).mLog.append("Canceled abort\n");
181 ((TestInteractionActivity)getActivity()).mLog.append("Abort: result=" + result + "\n");
192 ((TestInteractionActivity)getActivity()).mLog.append("Canceled complete\n");
196 ((TestInteractionActivity)getActivity()).mLog.append("Complete: result="
208 ((TestInteractionActivity)getActivity()).mLog.append("Canceled command\n");
224 ((TestInteractionActivity)getActivity()).mLog.append(sb.toString());
239 ((TestInteractionActivity)getActivity()).mLog
[all...]
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAfterConstructorMethodAdapter.java40 private final Log mLog; field in class:AfterConstructorMethodAdapter
55 mLog = log;
73 mLog.debug("After constructor call for class %s delegated to %s#%s", mClassName,
H A DDelegateClassAdapter.java43 private final Log mLog; field in class:DelegateClassAdapter
64 mLog = log;
115 mLog, null, mwDelegate, mClassName, name, desc, isStaticMethod,
127 return new AfterConstructorMethodAdapter(mLog, mwOriginal, mClassName);
146 mLog, mwOriginal, mwDelegate, mClassName, name, desc, isStaticMethod,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DIconLoggerImpl.java64 if (!mHandler.hasCallbacks(mLog)) {
65 mHandler.postDelayed(mLog, MIN_LOG_INTERVAL);
75 if (!mHandler.hasCallbacks(mLog)) {
76 mHandler.postDelayed(mLog, MIN_LOG_INTERVAL);
107 private final Runnable mLog = this::doLog; field in class:IconLoggerImpl
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DFalsingLog.java62 private final ArrayDeque<String> mLog = new ArrayDeque<>(MAX_SIZE); field in class:FalsingLog
114 if (sInstance.mLog.size() >= MAX_SIZE) {
115 sInstance.mLog.removeFirst();
120 sInstance.mLog.add(entry);
130 if (sInstance == null || sInstance.mLog.isEmpty()) {
135 for (String s : sInstance.mLog) {
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
H A DOffloadController.java84 private final SharedLog mLog; field in class:OffloadController
119 mLog = log.forSubComponent(TAG);
127 mLog.e("Cannot register offload stats provider: " + e);
135 mLog.i("tethering offload disabled");
142 mLog.i("tethering offload config not supported");
156 mLog.log("onStarted");
162 mLog.log("onStoppedError");
168 mLog.log("onStoppedUnsupported");
182 mLog.log("onSupportAvailable");
199 mLog
[all...]
H A DOffloadHardwareInterface.java53 private final SharedLog mLog; field in class:OffloadHardwareInterface
91 mLog = log.forSubComponent(TAG);
109 mLog.e("tethering offload control not supported: " + e);
113 mLog.e("tethering IOffloadControl.getService() returned null");
122 mTetheringOffloadCallback = new TetheringOffloadCallback(mHandler, mControlCallback, mLog);
145 if (!success) mLog.e("stopOffload failed: " + errMsg);
148 mLog.e("failed to stopOffload: " + e);
154 mLog.log("stopOffloadControl()");
173 mLog.log(logmsg + YIELDS + stats);
284 mLog
[all...]
H A DTetherInterfaceStateMachine.java112 private final SharedLog mLog; field in class:TetherInterfaceStateMachine
145 mLog = log.forSubComponent(ifaceName);
150 mInterfaceCtrl = new InterfaceController(ifaceName, nMService, mNetd, mLog);
221 mLog.e("Received null interface config");
243 mLog.e("Error configuring interface " + e);
272 mLog.e("Failed to find InterfaceParams");
346 mLog.e(String.format("Failed to remove %d IPv6 routes from local table.",
350 mLog.e("Failed to remove IPv6 routes from local table: " + e);
383 mLog.e("Failed to add IPv6 routes to local table: " + e);
396 mLog
[all...]
/frameworks/base/services/net/java/android/net/ip/
H A DInterfaceController.java45 private final SharedLog mLog; field in class:InterfaceController
52 mLog = log;
60 if (DBG) mLog.log("IPv4 configuration succeeded");
160 mLog.e(String.format(fmt, args));
H A DConnectivityPacketTracker.java67 private final LocalLog mLog; field in class:ConnectivityPacketTracker
76 mLog = log;
131 mLog.log(msg);
140 mLog.log(msg);
150 mLog.log(entry);
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DListPopupWindowActivity.java43 private TextView mLog; field in class:ListPopupWindowActivity
63 mLog = (TextView) mContainer.findViewById(R.id.log);
147 mLog.setOnClickListener(new View.OnClickListener() {
157 mLog.setText(toPrepend + mLog.getText());
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DListPopupWindowActivity.java43 private TextView mLog; field in class:ListPopupWindowActivity
63 mLog = (TextView) mContainer.findViewById(R.id.log);
147 mLog.setOnClickListener(new View.OnClickListener() {
157 mLog.setText(toPrepend + mLog.getText());

Completed in 509 milliseconds

123