Home
last modified time | relevance | path

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

1234

/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java67 private final SharedLog mLog; field in BpfCoordinatorShimImpl
112 mLog = deps.getSharedLog().forSubComponent(TAG); in BpfCoordinatorShimImpl()
127 mLog.e("Could not clear mBpfDownstream4Map: " + e); in BpfCoordinatorShimImpl()
132 mLog.e("Could not clear mBpfUpstream4Map: " + e); in BpfCoordinatorShimImpl()
137 mLog.e("Could not clear mBpfDownstream6Map: " + e); in BpfCoordinatorShimImpl()
142 mLog.e("Could not clear mBpfUpstream6Map: " + e); in BpfCoordinatorShimImpl()
147 mLog.e("Could not clear mBpfStatsMap: " + e); in BpfCoordinatorShimImpl()
152 mLog.e("Could not clear mBpfLimitMap: " + e); in BpfCoordinatorShimImpl()
157 mLog.e("Could not clear mBpfDevMap: " + e); in BpfCoordinatorShimImpl()
179 mLog.e("Could not insert upstream IPv6 entry: " + e); in addIpv6UpstreamRule()
[all …]
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/
DDeviceConfigHelper.java51 private final Logger mLog; field in DeviceConfigHelper
60 mLog = mInterface.mLog; in DeviceConfigHelper()
61 mLog.v("Constructor: interface=%s, logger=%s, namespace=%s", mInterface, logger, namespace); in DeviceConfigHelper()
81 mLog.d("reset(): not needed"); in reset()
84 mLog.v("reset(): restoring %d flags", size); in reset()
119 + mLog in toString()
135 mLog.v("Value of %s (%s) already saved for reset()", name, mFlagsToBeReset.get(name)); in savePreviousValue()
138 mLog.v("Saving %s=%s for reset", name, oldValue); in savePreviousValue()
170 protected final Logger mLog; field in DeviceConfigHelper.Interface
175 mLog = new Logger(Objects.requireNonNull(logger), DeviceConfigHelper.class); in Interface()
[all …]
DAbstractProcessLifeguardRule.java67 mLog.w( in ignoreUncaughtBackgroundException()
92 + mLog.getTag() in newUncaughtBackgroundException()
104 mLog.e( in newUncaughtBackgroundException()
111 mLog.e("And %d tests executed so far: %s", allTests.size(), allTests); in newUncaughtBackgroundException()
124 + mLog.getTag() in newUncaughtBackgroundException()
133 mLog.i( in evaluate()
137 mLog.d("No real UncaughtExceptionHandler"); in evaluate()
142 mLog.i( in evaluate()
181 mLog.e("Forwarding uncaught exception to %s", sRealHandler); in evaluate()
186 mLog.e("Invalid mode: %s", mMode); in evaluate()
[all …]
DSystemPropertiesHelper.java43 private final Logger mLog; field in SystemPropertiesHelper
48 mLog = new Logger(Objects.requireNonNull(logger), SystemPropertiesHelper.class); in SystemPropertiesHelper()
49 mLog.v("Constructor: interface=%s, logger=%s", helperInterface, logger); in SystemPropertiesHelper()
62 mLog.d("reset(): not needed"); in reset()
65 mLog.v("reset(): restoring %d system properties", size); in reset()
87 + mLog in toString()
99 mLog.v("Value of %s (%s) already saved for reset()", name, mPropsToBeReset.get(name)); in savePreviousValue()
103 mLog.v("Saving %s=%s for reset", name, oldValue); in savePreviousValue()
117 protected final Logger mLog; field in SystemPropertiesHelper.Interface
120 mLog = new Logger(Objects.requireNonNull(logger), DeviceConfigHelper.class); in Interface()
[all …]
DAbstractRethrowerRule.java63 mLog.v("Good News, Everyone! %s passed.", testName); in throwIfNecessary()
67 mLog.i("%s is being ignored: %s", testName, testError); in throwIfNecessary()
82 mLog.v("preTest(%s): not overridden by subclass", TestHelper.getTestName(description)); in preTest()
96 mLog.v( in onTestFailure()
109 mLog.v("postTest(%s): not overridden by subclass", TestHelper.getTestName(description)); in postTest()
120 mLog.e("%s failed with %s. %s: \n%s", testName, testError, dumpDescription, dump); in failTest()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/experimental/
DAbstractSupportedFeatureRule.java85 protected final Logger mLog; field in AbstractSupportedFeatureRule
91 mLog = new Logger(logger, TAG); in AbstractSupportedFeatureRule()
92 mLog.d("Constructor: logger=%s, mode=%s", logger, mode); in AbstractSupportedFeatureRule()
104 mLog.d( in apply()
123 mLog.d( in apply()
136 mLog.d("Base evaluated: thrown=%s", thrown); in apply()
189 mLog.v(
194 mLog.v(
199 mLog.v(
221 mLog.v(
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java46 private final boolean mLog; field in DatabaseWrapper
83 mLog = LogUtil.isLoggable(LogUtil.BUGLE_DATABASE_PERF_TAG, LogUtil.VERBOSE); in DatabaseWrapper()
150 if (mLog) { in endTransaction()
160 if (mLog) { in endTransaction()
169 if (mLog) { in yieldTransaction()
173 if (wasYielded && mLog) { in yieldTransaction()
181 if (mLog) { in insertWithOnConflict()
191 if (mLog) { in insertWithOnConflict()
256 if (mLog) { in query()
261 if (mLog) { in query()
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/util/
DMdnsLogger.java29 public final SharedLog mLog; field in MdnsLogger
37 mLog = new SharedLog(tag); in MdnsLogger()
41 mLog.log(message); in log()
45 mLog.log(message + " ; " + TextUtils.join(" ; ", args)); in log()
49 mLog.log(message); in d()
53 mLog.e(message); in e()
57 mLog.e(message, e); in e()
61 mLog.w(message); in w()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java76 private final SharedLog mLog; field in OffloadHardwareInterface
176 mLog = log.forSubComponent(TAG); in OffloadHardwareInterface()
183 private final SharedLog mLog; field in OffloadHardwareInterface.Dependencies
187 mLog = log; in Dependencies()
192 IOffloadHal hal = OffloadHalAidlImpl.getIOffloadHal(mHandler, mLog); in getOffload()
194 hal = OffloadHalHidlImpl.getIOffloadHal(mHandler, mLog); in getOffload()
205 mLog.e("Unable to create conntrack socket " + e); in createConntrackSocket()
213 mLog.e("Unable to bind conntrack socket for groups " + groups + " error: " + e); in createConntrackSocket()
224 mLog.e("connect to kernel fail for groups " + groups + " error: " + e); in createConntrackSocket()
264 mLog.e("Unable to send netfilter message, error: " + e); in sendIpv4NfGenMsg()
[all …]
DOffloadHalAidlImpl.java52 private final SharedLog mLog; field in OffloadHalAidlImpl
65 mLog = log.forSubComponent(TAG); in OffloadHalAidlImpl()
78 mTetheringOffloadCallback = new TetheringOffloadCallback(mHandler, callback, mLog); in initOffload()
88 mLog.i(methodStr); in initOffload()
103 mLog.i(methodStr); in stopOffload()
121 mLog.i(methodStr); in getForwardedStats()
135 mLog.i(methodStr); in setLocalPrefixes()
153 mLog.i(methodStr); in setDataLimit()
167 mLog.i(methodStr); in setDataWarningAndLimit()
183 mLog.i(methodStr); in setUpstreamParameters()
[all …]
DOffloadController.java99 private final SharedLog mLog; field in OffloadController
183 mLog = log.forSubComponent(TAG); in OffloadController()
203 mLog.i("tethering offload disabled"); in start()
215 mLog.log("onStarted"); in start()
221 mLog.log("onStoppedError"); in start()
227 mLog.log("onStoppedUnsupported"); in start()
241 mLog.log("onSupportAvailable"); in start()
258 mLog.log("onStoppedLimitReached"); in start()
278 mLog.log("onWarningReached"); in start()
298 mLog.i("tethering offload not supported"); in start()
[all …]
DTethering.java228 private final SharedLog mLog = new SharedLog(TAG); field in Tethering
294 mLog.mark("Tethering.constructed"); in Tethering()
315 mOffloadController = mDeps.makeOffloadController(mHandler, mLog, in Tethering()
323 mUpstreamNetworkMonitor = mDeps.makeUpstreamNetworkMonitor(mContext, mHandler, mLog, in Tethering()
332 mEntitlementMgr = mDeps.makeEntitlementManager(mContext, mHandler, mLog, in Tethering()
336 mLog.log("OBSERVED OnTetherProvisioningFailed : " + reason); in Tethering()
346 mLog.log("OBSERVED carrier config change"); in Tethering()
392 return mLog; in Tethering()
435 mLog.i("OBSERVED TETHER_FORCE_USB_FUNCTIONS settings change"); in onChange()
443 mLog.i("OBSERVED TETHER_SUPPORTED settings change"); in onChange()
[all …]
/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/
DAbstractDeviceSupportHelper.java48 protected final Logger mLog; field in AbstractDeviceSupportHelper
53 mLog = new Logger(Objects.requireNonNull(logger), getClass()); in AbstractDeviceSupportHelper()
64 mLog.i( in isDeviceSupported()
72 mLog.v("isDeviceSupported(): returning hardcoded value (%b)", supported); in isDeviceSupported()
88 mLog.i( in isLowRamDevice()
100 mLog.v( in isLowRamDevice()
113 mLog.i( in isLargeScreenDevice()
125 mLog.v( in isLargeScreenDevice()
166 mLog.v("isPhone(): returning %b", isIt); in isPhone()
DAbstractAdServicesShellCommandHelper.java60 private final Logger mLog; field in AbstractAdServicesShellCommandHelper
66 mLog = new Logger(logger, TAG); in AbstractAdServicesShellCommandHelper()
96 mLog.d("Output for command %s: %s", cmd, res); in runCommand()
135 mLog.d("Output for command %s: %s", cmd, res); in runCommandRwe()
161 mLog.d("Output for command %s: %s", startShellActivity(args), res); in runShellCommandRS()
243 mLog.d( in runGetResultShellCommand()
265 mLog.d("Checking if ShellCommandActivity is finished"); in checkShellCommandActivityFinished()
269 mLog.d( in checkShellCommandActivityFinished()
284 mLog.d("Sleep for %dms before we check for result", WAIT_SAMPLE_INTERVAL_MILLIS); in tryWaitForSuccess()
287 mLog.d("ShellCommandActivity is finished"); in tryWaitForSuccess()
[all …]
DAbstractAdServicesDeviceSupportedRule.java85 protected final Logger mLog; field in AbstractAdServicesDeviceSupportedRule
108 mLog = new Logger(Objects.requireNonNull(logger), getClass()); in AbstractAdServicesDeviceSupportedRule()
110 mLog.d("Constructor: logger=%s", logger); in AbstractAdServicesDeviceSupportedRule()
116 mLog.v("isAdServicesSupportedOnDevice(): %b", isSupported); in isAdServicesSupportedOnDevice()
123 mLog.v("isLowRamDevice(): %b", isLowRamDevice); in isLowRamDevice()
130 mLog.v("isLargeScreenDevice(): %b", isLargeScreenDevice); in isLargeScreenDevice()
137 mLog.v("isGoDevice(): %b", isGoDevice); in isGoDevice()
149 mLog.v( in isAndroidServiceAvailable()
178 mLog.d( in apply()
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/
DCameraCommandExecutor.java51 mLog.d("Executing command: " + mCommand + " START"); in run()
53 mLog.d("Executing command: " + mCommand + " END"); in run()
63 mLog.d("Interrupted while executing command: " + mCommand); in run()
66 mLog.d("Unable to connect to camera while executing command: " + mCommand); in run()
70 mLog.d("Unable to connect to capture session while executing command: " + in run()
73 mLog.e("Exception when executing command: " + mCommand, e); in run()
78 private final Logger mLog; field in CameraCommandExecutor
89 mLog = loggerFactory.create(new Log.Tag("CommandExecutor")); in CameraCommandExecutor()
/packages/apps/Camera2/src/com/android/camera/one/v2/errorhandling/
DFastCameraReset.java39 private final Logger mLog; field in FastCameraReset
48 mLog = logFactory.create(new Log.Tag("FastCameraReset")); in FastCameraReset()
61 mLog.w("beginning reset()"); in run()
63 mLog.w("abortCaptures()"); in run()
70 mLog.w("flushing existing camera commands"); in run()
72 mLog.w("restarting the preview"); in run()
74 mLog.w("finished reset()"); in run()
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DLocalLog.java44 private final Deque<String> mLog; field in LocalLog
61 mLog = new ArrayDeque<>(mMaxLines); in LocalLog()
82 while (mLog.size() >= mMaxLines) { in append()
83 mLog.remove(); in append()
85 mLog.add(logLine); in append()
107 Iterator<String> itr = mLog.iterator(); in dump()
122 Iterator<String> itr = mLog.descendingIterator(); in reverseDump()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java251 private final SharedLog mLog; field in IpServer
331 mLog = log.forSubComponent(ifaceName); in IpServer()
336 mInterfaceCtrl = new InterfaceController(ifaceName, mNetd, mLog); in IpServer()
349 mIpNeighborMonitor = mDeps.getIpNeighborMonitor(getHandler(), mLog, in IpServer()
355 mLog.e("Failed to create IpNeighborMonitor on " + mIfaceName); in IpServer()
495 mLog.e("Error obtaining DHCP server: " + statusCode); in onDhcpServerCreated()
506 mLog.e("Error starting DHCP server: " + startStatusCode); in onDhcpServerCreated()
630 mLog.e("Error stopping DHCP server: " + statusCode); in stopDhcp()
640 mLog.e("Error stopping DHCP server", e); in stopDhcp()
676 mLog.e("No available ipv4 address"); in configureIPv4()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java304 private final WifiLog mLog; field in WifiServiceImpl
350 mLog.trace("onLocalOnlyHotspotRequestorDeath pid=%") in onLocalOnlyHotspotRequestorDeath()
542 mLog = mWifiInjector.makeLog(TAG); in WifiServiceImpl()
764 mLog.info("stopSoftAp DISALLOW_WIFI_TETHERING set").flush(); in onUserRestrictionsChanged()
928 mLog.info("startScan uid=%").c(callingUid).flush(); in startScan()
995 mLog.info("getCurrentNetworkWpsNfcConfigurationToken uid=%") in getCurrentNetworkWpsNfcConfigurationToken()
1279 mLog.info("setWifiEnabled not allowed for uid=%").c(callingUid).flush(); in setWifiEnabled()
1285 mLog.info("setWifiEnabled not allowed as satellite mode is on.").flush(); in setWifiEnabled()
1291 mLog.err("setWifiEnabled in Airplane mode: only Settings can toggle wifi").flush(); in setWifiEnabled()
1300 mLog.err("setWifiEnabled with SoftAp enabled: only Settings can toggle wifi").flush(); in setWifiEnabled()
[all …]
DLastMileLogger.java112 private WifiLog mLog; field in LastMileLogger
123 mLog = injector.makeLog(TAG); in initLastMileLogger()
131 mLog.wC("Failed to arm fail-safe."); in enableTracing()
138 mLog.warn("Failed to start event tracing: %").r(e.getMessage()).flush(); in enableTracing()
146 mLog.warn("Failed to stop event tracing: %").r(e.getMessage()).flush(); in disableTracing()
154 mLog.warn("Failed to read event trace: %").r(e.getMessage()).flush(); in readTrace()
179 mLog.warn("Failed to open free_buffer pseudo-file: %").r(e.getMessage()).flush(); in ensureFailSafeIsArmed()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java85 private final SharedLog mLog = new SharedLog("TetheringConfigurationTest"); field in TetheringConfigurationTest
242 return new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID, mDeps); in getTetheringConfiguration()
328 mMockContext, mLog, INVALID_SUBSCRIPTION_ID, mDeps); in testNoDefinedUpstreamTypesAddsEthernet()
351 mMockContext, mLog, INVALID_SUBSCRIPTION_ID, mDeps); in testDefinedUpstreamTypesSansEthernetAddsEthernet()
369 mMockContext, mLog, INVALID_SUBSCRIPTION_ID, mDeps); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
391 new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID, mDeps); in testBpfOffloadEnabledByResource()
400 new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID, mDeps); in testBpfOffloadEnabledByDeviceConfigOverride()
409 new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID, mDeps); in testBpfOffloadDisabledByResource()
418 new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID, mDeps); in testBpfOffloadDisabledByDeviceConfigOverride()
430 new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID, mDeps); in testNewDhcpServerDisabled()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVoipCallTransactionTest.java50 private StringBuilder mLog; field in VoipCallTransactionTest
75 mLog.append(mName).append(" exception;\n"); in processTransaction()
81 mLog.append(mName).append(" success;\n"); in processTransaction()
86 mLog.append(mName).append(" failed;\n"); in processTransaction()
91 mLog.append(mName).append(" timeout;\n"); in processTransaction()
111 mLog = new StringBuilder(); in setUp()
143 assertEquals(expectedLog, mLog.toString()); in testSerialTransactionSuccess()
178 assertEquals(expectedLog, mLog.toString()); in testSerialTransactionFailed()
203 String log = mLog.toString(); in testParallelTransactionSuccess()
240 assertTrue(mLog.toString().contains("t2 failed;\n")); in testParallelTransactionFailed()
[all …]
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServer.java111 private final SharedLog mLog; field in DhcpServer
274 mLog = log; in DhcpServer()
277 mLeaseRepo = deps.makeLeaseRepository(mServingParams, mLog, mClock); in DhcpServer()
370 mLog.e("Invalid parameters sent to DhcpServer", e); in updateParams()
394 mLog.e("Could not send status back to caller", e); in maybeNotifyStatus()
444 mLog.e("Starting DHCP server more than once is not supported."); in enter()
452 mLog.e("Fail to start DHCP Packet Listener, rollback to StoppedState"); in enter()
478 mLog.e("ALERT: START received in StartedState. Please fix caller."); in processMessage()
494 mLog.logf("DHCP Packet Listener stopped"); in exit()
513 mLog.log("Received packet of type " + packet.getClass().getSimpleName()); in processPacket()
[all …]
/packages/modules/Connectivity/Tethering/apishim/30/com/android/networkstack/tethering/apishim/api30/
DBpfCoordinatorShimImpl.java45 private final SharedLog mLog; field in BpfCoordinatorShimImpl
50 mLog = deps.getSharedLog().forSubComponent(TAG); in BpfCoordinatorShimImpl()
74 mLog.e("Could not add IPv6 forwarding rule: ", e); in addIpv6DownstreamRule()
86 mLog.e("Could not remove IPv6 forwarding rule: ", e); in removeIpv6DownstreamRule()
102 mLog.e("Fail to fetch tethering stats from netd: " + e); in tetherOffloadGetStats()
114 mLog.e("Exception when updating quota " + quotaBytes + ": ", e); in tetherOffloadSetInterfaceQuota()
142 mLog.e("Exception when cleanup tether stats for upstream index " in tetherOffloadGetAndClearStats()

1234