CRAS: Log the enabled status of Noise Cancellation

It is used for tracing the user behavior on enabling/disabling Noise
Cancellation when it is supported. When the device is opened, submit the
enabled status to the UMA server.

BUG=b:170281884
BUG=chromium:1199218
TEST=Record audio and check the chrome://histograms

Change-Id: If8dcf5d3f2b7e5f034ba2ac965d5676ebe0f81bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2921790
Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Pin-chih Lin <johnylin@chromium.org>
Auto-Submit: Pin-chih Lin <johnylin@chromium.org>
Commit-Queue: Pin-chih Lin <johnylin@chromium.org>
(cherry picked from commit 7658d61614cc93aafd2802413329b61ad6d2a7a2)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2942534
Reviewed-by: Pin-chih Lin <johnylin@chromium.org>
4 files changed