Home
last modified time | relevance | path

Searched refs:MetricsLogger (Results 1 – 25 of 61) sorted by relevance

123

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DAppAdvertiseStats.java28 import com.android.bluetooth.btservice.MetricsLogger;
198 MetricsLogger.getInstance().cacheCount(BluetoothProtoEnums.LE_ADV_INSTANCE_COUNT_5, 1); in recordAdvertiseInstanceCount()
200 MetricsLogger.getInstance().cacheCount(BluetoothProtoEnums.LE_ADV_INSTANCE_COUNT_10, 1); in recordAdvertiseInstanceCount()
202 MetricsLogger.getInstance().cacheCount(BluetoothProtoEnums.LE_ADV_INSTANCE_COUNT_15, 1); in recordAdvertiseInstanceCount()
204 MetricsLogger.getInstance() in recordAdvertiseInstanceCount()
213 MetricsLogger.getInstance().cacheCount(key, 1); in recordAdvertiseErrorCount()
315 MetricsLogger.getInstance() in recordAdvertiseDurationCount()
318 MetricsLogger.getInstance() in recordAdvertiseDurationCount()
322 MetricsLogger.getInstance() in recordAdvertiseDurationCount()
326 MetricsLogger.getInstance() in recordAdvertiseDurationCount()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DMetricsLoggerTest.java92 private static class TestableMetricsLogger extends MetricsLogger {
117 MetricsLogger.dumpProto(BluetoothLog.newBuilder()); in setUp()
126 MetricsLogger.dumpProto(BluetoothLog.newBuilder()); in tearDown()
133 MetricsLogger.logProfileConnectionEvent(ProfileId.AVRCP); in testLogProfileConnectionEvent()
135 MetricsLogger.dumpProto(metricsBuilder); in testLogProfileConnectionEvent()
143 MetricsLogger.dumpProto(metricsBuilderAfterDump); in testLogProfileConnectionEvent()
151 MetricsLogger.logProfileConnectionEvent(ProfileId.AVRCP); in testLogProfileConnectionEventMultipleProfile()
152 MetricsLogger.logProfileConnectionEvent(ProfileId.HEADSET); in testLogProfileConnectionEventMultipleProfile()
153 MetricsLogger.logProfileConnectionEvent(ProfileId.AVRCP); in testLogProfileConnectionEventMultipleProfile()
155 MetricsLogger.dumpProto(metricsBuilder); in testLogProfileConnectionEventMultipleProfile()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DMetricsLoggerWrapper.java23 import com.android.internal.logging.MetricsLogger;
45 MetricsLogger.action(context, category, value); in logAction()
59 MetricsLogger.action(context, category, value); in logAction()
72 MetricsLogger.action(context, category); in logAction()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DAppScanStats.java31 import com.android.bluetooth.btservice.MetricsLogger;
388 MetricsLogger logger = MetricsLogger.getInstance(); in recordScanAppCountMetricsStart()
404 MetricsLogger logger = MetricsLogger.getInstance(); in recordScanAppCountMetricsStop()
420 MetricsLogger.getInstance() in recordScanTimeoutCountMetrics()
425 MetricsLogger.getInstance() in recordHwFilterNotAvailableCountMetrics()
430 MetricsLogger.getInstance() in recordTrackingHwFilterNotAvailableCountMetrics()
471 MetricsLogger logger = MetricsLogger.getInstance(); in recordScanRadioDurationMetrics()
494 MetricsLogger.getInstance().cacheCount(BluetoothProtoEnums.SCREEN_ON_EVENT, 1); in recordScreenOnOffMetrics()
496 MetricsLogger.getInstance().cacheCount(BluetoothProtoEnums.SCREEN_OFF_EVENT, 1); in recordScreenOnOffMetrics()
524 MetricsLogger logger = MetricsLogger.getInstance(); in recordScanRadioResultCount()
[all …]
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppDeletionPreferenceGroup.java25 import com.android.internal.logging.MetricsLogger;
120 MetricsLogger.action(getContext(), MetricsEvent.ACTION_DELETION_SELECTION_ALL_APPS, in onPreferenceChange()
136 MetricsLogger.action( in onClick()
169 MetricsLogger.action( in logAppToggle()
172 MetricsLogger.action(getContext(), MetricsEvent.ACTION_DELETION_SELECTION_APP_OFF, in logAppToggle()
DConfirmDeletionDialog.java29 import com.android.internal.logging.MetricsLogger;
84 MetricsLogger.action(getContext(), in onClick()
99 MetricsLogger.action(getContext(), in onClick()
DDownloadsDeletionPreferenceGroup.java28 import com.android.internal.logging.MetricsLogger;
115 MetricsLogger.action(getContext(), MetricsEvent.ACTION_DELETION_SELECTION_DOWNLOADS, in onPreferenceChange()
132 MetricsLogger.action( in onClick()
DPhotosDeletionPreference.java27 import com.android.internal.logging.MetricsLogger;
83 MetricsLogger.action(getContext(), MetricsEvent.ACTION_DELETION_SELECTION_PHOTOS, checked); in onPreferenceChange()
DDownloadsDeletionType.java30 import com.android.internal.logging.MetricsLogger;
100 MetricsLogger.action(activity, in clearFreeableData()
DAppDeletionType.java29 import com.android.internal.logging.MetricsLogger;
119 MetricsLogger.action(activity, in clearFreeableData()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/logging/
DEventLogModule.kt20 import com.android.internal.logging.MetricsLogger
44 @Provides fun metricsLogger(): MetricsLogger = MetricsLogger() in eventLog()
DEventLogImpl.java33 import com.android.internal.logging.MetricsLogger;
54 private final MetricsLogger mMetricsLogger;
62 MetricsLogger metricsLogger, InstanceId instanceId) { in EventLogImpl()
167 MetricsLogger.histogram( in logShareTargetSelected()
169 MetricsLogger.histogram(null, "app_position_for_smart_sharing", positionPicked); in logShareTargetSelected()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEmergencyContactsPreference.java36 import com.android.internal.logging.MetricsLogger;
129 MetricsLogger.action(getContext(), MetricsEvent.ACTION_DELETE_EMERGENCY_CONTACT); in onRemoveContactPreference()
151 MetricsLogger.action(getContext(), MetricsEvent.ACTION_ADD_EMERGENCY_CONTACT); in addNewEmergencyContact()
197 MetricsLogger.action(getContext(), MetricsEvent.ACTION_GET_CONTACT, 0); in setEmergencyContacts()
201 MetricsLogger.action(getContext(), MetricsEvent.ACTION_GET_CONTACT, 1); in setEmergencyContacts()
215 MetricsLogger.histogram(getContext(), in setEmergencyContacts()
/packages/apps/EmergencyInfo/src/com/android/emergency/
DEmergencyContactManager.java23 import com.android.internal.logging.MetricsLogger;
105 MetricsLogger.action(context, MetricsEvent.ACTION_PHONE_EXISTS, 1); in phoneExists()
110 MetricsLogger.action(context, MetricsEvent.ACTION_PHONE_EXISTS, 2); in phoneExists()
117 MetricsLogger.action(context, MetricsEvent.ACTION_PHONE_EXISTS, 0); in phoneExists()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenOnboardingActivity.java36 import com.android.internal.logging.MetricsLogger;
57 private MetricsLogger mMetrics;
63 setMetricsLogger(new MetricsLogger()); in onCreate()
113 protected void setMetricsLogger(MetricsLogger ml) { in setMetricsLogger()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/
DAppAdvertiseStatsTest.java33 import com.android.bluetooth.btservice.MetricsLogger;
56 @Mock private MetricsLogger mMetricsLogger;
60 MetricsLogger.setInstanceForTesting(mMetricsLogger); in setUp()
65 MetricsLogger.setInstanceForTesting(null); in tearDown()
66 MetricsLogger.getInstance(); in tearDown()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/utils/
DMetricsLogger.java27 public class MetricsLogger { class
33 public MetricsLogger(TelephonyUtils telephonyUtils) { in MetricsLogger() method in MetricsLogger
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DMetricsLogger.java57 public class MetricsLogger { class
70 private static volatile MetricsLogger sInstance = null;
87 public static MetricsLogger getInstance() { in getInstance()
91 sInstance = new MetricsLogger(); in getInstance()
104 public static void setInstanceForTesting(MetricsLogger instance) { in setInstanceForTesting()
DRemoteDevices.java121 MetricsLogger.getInstance() in handleMessage()
127 MetricsLogger.getInstance() in handleMessage()
702 MetricsLogger.getInstance().cacheCount(BluetoothProtoEnums.SDP_SENT_UUID, 1); in sendUuidIntent()
942 MetricsLogger.getInstance() in devicePropertyChangedCallback()
949 MetricsLogger.getInstance() in devicePropertyChangedCallback()
957 MetricsLogger.getInstance() in devicePropertyChangedCallback()
963 MetricsLogger.getInstance() in devicePropertyChangedCallback()
1365 MetricsLogger.getInstance() in fetchUuids()
1376 MetricsLogger.getInstance() in fetchUuids()
1397 MetricsLogger.getInstance().cacheCount(BluetoothProtoEnums.SDP_INVOKE_SDP_CYCLE, 1); in fetchUuids()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DWfcActivationController.java45 import com.android.imsserviceentitlement.utils.MetricsLogger;
71 private final MetricsLogger mMetricsLogger;
88 this.mMetricsLogger = new MetricsLogger(mTelephonyUtils); in WfcActivationController()
98 MetricsLogger metricsLogger) { in WfcActivationController()
DImsEntitlementPollingService.java50 import com.android.imsserviceentitlement.utils.MetricsLogger;
151 private final MetricsLogger mMetricsLogger;
177 this.mMetricsLogger = new MetricsLogger(mTelephonyUtils); in EntitlementPollingTask()
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/
DEditMedicalInfoFragment.java30 import com.android.internal.logging.MetricsLogger;
62 MetricsLogger.action( in onCreatePreferences()
DEditInfoActivity.java43 import com.android.internal.logging.MetricsLogger;
83 MetricsLogger.visible(this, MetricsEvent.ACTION_EDIT_EMERGENCY_INFO); in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/instrumentation/
DSettingsEventLogWriterTest.java27 import com.android.internal.logging.MetricsLogger;
101 @Implements(MetricsLogger.class)
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DIntentForwarderActivity.java51 import com.android.internal.logging.MetricsLogger;
86 private MetricsLogger mMetricsLogger;
381 protected MetricsLogger getMetricsLogger() { in getMetricsLogger()
383 mMetricsLogger = new MetricsLogger(); in getMetricsLogger()

123