summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorTony Mak <tonymak@google.com>2018-12-14 11:57:54 +0800
committerTony Mak <tonymak@google.com>2018-12-15 08:04:15 +0800
commite94e0787db1b5b8ce5fe533634bd116a063faef1 (patch)
tree4045f691d3fe2cea4bbf0c97b526cd62d2d4653b /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent37ccedcc1255bf6f6b45d491d55e6cefa481d839 (diff)
Send logs to TextClassifier by calling onTextClassifierEvent in NAS
Whenever NAS called TextClassifier.suggestConversationActions, it will cache the notification key to result id mapping. The result id will be used to log subsequent events related to these suggestions. This change should allow us to collect CTR. TODO: Log the coverage, i.e. among all suggestConversationActions request, how many of them actually contains some suggestions. BUG: 120803809 Test: atest SmartActionHelperTest Test: Manual, add a log in TextClassifierImpl.onTextClassifierEvent 1. Send a message notification 2. Expand the notification, observe event is logged. 4. Clicked on one of the replies, observe event is logged. 5. Send another message to myself 6. Inline reply it, observe event is logged. Change-Id: I590d9bfcdb7ae7ee7976740d71bf7f1204683939
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions