/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
H A D | LogTest.java | 27 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 D | PromoteClassClassAdapterTest.java | 38 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 D | LocalLog.java | 31 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 D | WifiHandler.java | 34 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 D | WifiAsyncChannel.java | 33 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 D | RemoteLayoutLogAdapter.java | 28 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 D | RemoteLayoutLogAdapter.java | 26 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 D | LastMileLogger.java | 40 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 D | WifiDiagnostics.java | 106 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 D | WifiServiceImpl.java | 177 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 D | GeneratedAdaptersTest.java | 54 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 D | IpReachabilityMonitorTest.java | 47 @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 D | StartVoiceInteractionActivity.java | 38 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 D | TestInteractionActivity.java | 42 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 D | AfterConstructorMethodAdapter.java | 40 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 D | DelegateClassAdapter.java | 43 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 D | IconLoggerImpl.java | 64 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 D | FalsingLog.java | 62 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 D | OffloadController.java | 84 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 D | OffloadHardwareInterface.java | 53 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 D | TetherInterfaceStateMachine.java | 112 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 D | InterfaceController.java | 45 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 D | ConnectivityPacketTracker.java | 67 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 D | ListPopupWindowActivity.java | 43 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 D | ListPopupWindowActivity.java | 43 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());
|