From fe1351124bed30d0ad470718965c6c3c03ec3b6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=AE=87?= Date: Tue, 19 Oct 2021 16:17:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E4=B8=80=E9=83=A8=E5=88=86lo?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 董宏宇 --- .../function/smp/SmallMapDirectionView.java | 2 +- .../CallerAutoPilotStatusListenerManager.kt | 36 +++++++++---------- .../common/drawer/IdentifyDataDrawer.java | 4 +-- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/core/function-impl/mogo-core-function-smp/src/main/java/com/mogo/eagle/core/function/smp/SmallMapDirectionView.java b/core/function-impl/mogo-core-function-smp/src/main/java/com/mogo/eagle/core/function/smp/SmallMapDirectionView.java index 3a6ea7a84f..17d5114ab0 100644 --- a/core/function-impl/mogo-core-function-smp/src/main/java/com/mogo/eagle/core/function/smp/SmallMapDirectionView.java +++ b/core/function-impl/mogo-core-function-smp/src/main/java/com/mogo/eagle/core/function/smp/SmallMapDirectionView.java @@ -181,7 +181,7 @@ public class SmallMapDirectionView @Override public void onCarLocationChanged2(Location latLng) { - Logger.d(MODULE_NAME, "onCarLocationChanged2 latLng:" + latLng); + //Logger.d(MODULE_NAME, "onCarLocationChanged2 latLng:" + latLng); LatLng currentLatLng = new LatLng(latLng.getLatitude(), latLng.getLongitude()); if (mCarMarker != null) { diff --git a/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutoPilotStatusListenerManager.kt b/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutoPilotStatusListenerManager.kt index 03d8d9eba1..ccb92461b9 100644 --- a/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutoPilotStatusListenerManager.kt +++ b/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutoPilotStatusListenerManager.kt @@ -6,8 +6,8 @@ import com.mogo.eagle.core.data.traffic.TrafficData import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotStatusListener import com.mogo.eagle.core.function.api.obu.IMoGoObuStatusListener import com.mogo.eagle.core.function.call.base.CallerBase +import com.mogo.eagle.core.utilcode.mogo.logger.Logger import com.mogo.eagle.core.utilcode.util.GsonUtils -import com.mogo.eagle.core.utilcode.util.LogUtils /** * @author xiaoyuzhou @@ -76,7 +76,7 @@ object CallerAutoPilotStatusListenerManager : CallerBase() { */ @Synchronized fun invokeAutoPilotStatus() { - LogUtils.dTag(TAG, "$mAutopilotStatusInfo") + //Logger.d(TAG, "$mAutopilotStatusInfo") invokeAutoPilotStatus(mAutopilotStatusInfo) } @@ -86,12 +86,12 @@ object CallerAutoPilotStatusListenerManager : CallerBase() { */ @Synchronized fun invokeAutoPilotStatus(autopilotStatusInfo: AutopilotStatusInfo) { - LogUtils.dTag(TAG, "$autopilotStatusInfo") + //Logger.d(TAG, "$autopilotStatusInfo") mAutopilotStatusInfo = autopilotStatusInfo M_AUTOPILOT_STATUS_LISTENERS.forEach { val tag = it.key val listener = it.value - LogUtils.dTag(TAG, "tag:$tag listener:$listener") + //Logger.d(TAG, "tag:$tag listener:$listener") listener.onAutopilotStatusResponse(mAutopilotStatusInfo) } } @@ -102,11 +102,11 @@ object CallerAutoPilotStatusListenerManager : CallerBase() { */ @Synchronized fun invokeArriveAtStation(autopilotStationInfo: AutopilotStationInfo) { - LogUtils.dTag(TAG, "$autopilotStationInfo") + //Logger.d(TAG, "$autopilotStationInfo") M_AUTOPILOT_STATUS_LISTENERS.forEach { val tag = it.key val listener = it.value - LogUtils.dTag(TAG, "tag:$tag listener:$listener") + //Logger.d(TAG, "tag:$tag listener:$listener") listener.onAutopilotArriveAtStation(autopilotStationInfo) } } @@ -117,11 +117,11 @@ object CallerAutoPilotStatusListenerManager : CallerBase() { */ @Synchronized fun invokeAutopilotCarStateData(autoPilotCarStateInfo: AutopilotCarStateInfo?) { - LogUtils.dTag(TAG, "$autoPilotCarStateInfo") + //Logger.d(TAG, "$autoPilotCarStateInfo") M_AUTOPILOT_STATUS_LISTENERS.forEach { val tag = it.key val listener = it.value - LogUtils.dTag(TAG, "tag:$tag listener:$listener") + //Logger.d(TAG, "tag:$tag listener:$listener") listener.onAutopilotCarStateData(autoPilotCarStateInfo) } } @@ -132,11 +132,11 @@ object CallerAutoPilotStatusListenerManager : CallerBase() { */ @Synchronized fun invokeAutopilotRoute(routeInfo: AutopilotRouteInfo?) { - LogUtils.dTag(TAG, "$routeInfo") + //Logger.d(TAG, "$routeInfo") M_AUTOPILOT_STATUS_LISTENERS.forEach { val tag = it.key val listener = it.value - LogUtils.dTag(TAG, "tag:$tag listener:$listener") + //Logger.d(TAG, "tag:$tag listener:$listener") listener.onAutopilotRoute(routeInfo) } } @@ -146,11 +146,11 @@ object CallerAutoPilotStatusListenerManager : CallerBase() { */ @Synchronized fun invokeAutopilotSNRequest() { - LogUtils.dTag(TAG, "") + //Logger.d(TAG, "") M_AUTOPILOT_STATUS_LISTENERS.forEach { val tag = it.key val listener = it.value - LogUtils.dTag(TAG, "tag:$tag listener:$listener") + //Logger.d(TAG, "tag:$tag listener:$listener") listener.onAutopilotSNRequest() } } @@ -160,11 +160,11 @@ object CallerAutoPilotStatusListenerManager : CallerBase() { */ @Synchronized fun invokeAutopilotGuardian(guardianInfo: AutopilotGuardianStatusInfo?) { - LogUtils.dTag(TAG, "$guardianInfo") + //Logger.d(TAG, "$guardianInfo") M_AUTOPILOT_STATUS_LISTENERS.forEach { val tag = it.key val listener = it.value - LogUtils.dTag(TAG, "tag:$tag listener:$listener") + //Logger.d(TAG, "tag:$tag listener:$listener") listener.onAutopilotGuardian(guardianInfo) } } @@ -174,11 +174,11 @@ object CallerAutoPilotStatusListenerManager : CallerBase() { */ @Synchronized fun invokeAutopilotIdentifyDataUpdate(trafficData: List?) { - LogUtils.dTag(TAG, "$trafficData") + //Logger.d(TAG, "$trafficData") M_AUTOPILOT_STATUS_LISTENERS.forEach { val tag = it.key val listener = it.value - LogUtils.dTag(TAG, "tag:$tag listener:$listener") + //Logger.d(TAG, "tag:$tag listener:$listener") listener.onAutopilotIdentifyDataUpdate(trafficData) } } @@ -188,11 +188,11 @@ object CallerAutoPilotStatusListenerManager : CallerBase() { */ @Synchronized fun invokeAutopilotWarnMessage(autopilotWarnMessage: AutopilotWarnMessage?) { - LogUtils.dTag(TAG, "$autopilotWarnMessage") + //Logger.d(TAG, "$autopilotWarnMessage") M_AUTOPILOT_STATUS_LISTENERS.forEach { val tag = it.key val listener = it.value - LogUtils.dTag(TAG, "tag:$tag listener:$listener") + //Logger.d(TAG, "tag:$tag listener:$listener") listener.onAutopilotWarnMessage(autopilotWarnMessage) } } diff --git a/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/IdentifyDataDrawer.java b/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/IdentifyDataDrawer.java index e2c95f4d59..92831ad660 100644 --- a/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/IdentifyDataDrawer.java +++ b/modules/mogo-module-common/src/main/java/com/mogo/module/common/drawer/IdentifyDataDrawer.java @@ -67,13 +67,13 @@ public class IdentifyDataDrawer extends BaseDrawer { final long start = System.nanoTime(); if (resultList == null || resultList.isEmpty() || !DebugConfig.isUseAdasRecognize()) { clearOldMarker(); - Log.w("ADAS数据延时绘制", "resultList==>" + resultList + " DebugConfig.isUseAdasRecognize()==>" + DebugConfig.isUseAdasRecognize()); + Log.w(TAG, "ADAS数据延时绘制 resultList==>" + resultList + " DebugConfig.isUseAdasRecognize()==>" + DebugConfig.isUseAdasRecognize()); return; } if (!MogoApisHandler.getInstance().getApis().getStatusManagerApi().isVrMode()) { clearOldMarker(); - Log.w("ADAS数据延时绘制", "当前不是VR模式"); + Log.w(TAG, "ADAS数据延时绘制 当前不是VR模式"); return; }