From 7961d2742958464c37c4a34f4d14c950e07182d0 Mon Sep 17 00:00:00 2001 From: Tej Singh Date: Thu, 8 Jul 2021 14:45:36 -0700 Subject: [PATCH] Cleanup appsearch platform logger Test: TH Bug: 192684294 Change-Id: I8e6828b9cbcbd30d06370ad19f2d36290298da25 --- .../android/server/appsearch/stats/PlatformLogger.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apex/appsearch/service/java/com/android/server/appsearch/stats/PlatformLogger.java b/apex/appsearch/service/java/com/android/server/appsearch/stats/PlatformLogger.java index 81788c2435330..5371478f239bc 100644 --- a/apex/appsearch/service/java/com/android/server/appsearch/stats/PlatformLogger.java +++ b/apex/appsearch/service/java/com/android/server/appsearch/stats/PlatformLogger.java @@ -203,7 +203,7 @@ public final class PlatformLogger implements AppSearchLogger { stats.getNumOperationsSucceeded(), stats.getNumOperationsFailed()); } catch (NoSuchAlgorithmException | UnsupportedEncodingException e) { - // TODO(b/184204720) report hashing error to Westworld + // TODO(b/184204720) report hashing error to statsd // We need to set a special value(e.g. 0xFFFFFFFF) for the hashing of the database, // so in the dashboard we know there is some error for hashing. // @@ -240,7 +240,7 @@ public final class PlatformLogger implements AppSearchLogger { stats.getNativeNumTokensIndexed(), stats.getNativeExceededMaxNumTokens()); } catch (NoSuchAlgorithmException | UnsupportedEncodingException e) { - // TODO(b/184204720) report hashing error to Westworld + // TODO(b/184204720) report hashing error to statsd // We need to set a special value(e.g. 0xFFFFFFFF) for the hashing of the database, // so in the dashboard we know there is some error for hashing. // @@ -286,7 +286,7 @@ public final class PlatformLogger implements AppSearchLogger { stats.getDocumentRetrievingLatencyMillis(), stats.getResultWithSnippetsCount()); } catch (NoSuchAlgorithmException | UnsupportedEncodingException e) { - // TODO(b/184204720) report hashing error to Westworld + // TODO(b/184204720) report hashing error to statsd // We need to set a special value(e.g. 0xFFFFFFFF) for the hashing of the database, // so in the dashboard we know there is some error for hashing. // @@ -363,7 +363,7 @@ public final class PlatformLogger implements AppSearchLogger { /** * Creates {@link ExtraStats} to hold additional information generated for logging. * - *

This method is called by most of logToWestworldLocked functions to reduce code + *

This method is called by most of logStatsImplLocked functions to reduce code * duplication. */ // TODO(b/173532925) Once we add CTS test for logging atoms and can inspect the result, we can