Searched refs:cacheCount (Results 1 – 9 of 9) sorted by relevance
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()205 .cacheCount(BluetoothProtoEnums.LE_ADV_INSTANCE_COUNT_15P, 1); in recordAdvertiseInstanceCount()213 MetricsLogger.getInstance().cacheCount(key, 1); in recordAdvertiseErrorCount()316 .cacheCount(BluetoothProtoEnums.LE_ADV_DURATION_COUNT_TOTAL_1M, 1); in recordAdvertiseDurationCount()319 .cacheCount(BluetoothProtoEnums.LE_ADV_DURATION_COUNT_CONNECTABLE_1M, 1); in recordAdvertiseDurationCount()323 .cacheCount(BluetoothProtoEnums.LE_ADV_DURATION_COUNT_PERIODIC_1M, 1); in recordAdvertiseDurationCount()327 .cacheCount(BluetoothProtoEnums.LE_ADV_DURATION_COUNT_TOTAL_30M, 1); in recordAdvertiseDurationCount()330 .cacheCount(BluetoothProtoEnums.LE_ADV_DURATION_COUNT_CONNECTABLE_30M, 1); in recordAdvertiseDurationCount()[all …]
184 mTestableMetricsLogger.cacheCount(1, 10); in testAddAndSendCountersNormalCases()185 mTestableMetricsLogger.cacheCount(1, 10); in testAddAndSendCountersNormalCases()186 mTestableMetricsLogger.cacheCount(2, 5); in testAddAndSendCountersNormalCases()192 mTestableMetricsLogger.cacheCount(1, 3); in testAddAndSendCountersNormalCases()193 mTestableMetricsLogger.cacheCount(2, 5); in testAddAndSendCountersNormalCases()194 mTestableMetricsLogger.cacheCount(2, 5); in testAddAndSendCountersNormalCases()195 mTestableMetricsLogger.cacheCount(3, 1); in testAddAndSendCountersNormalCases()206 mTestableMetricsLogger.cacheCount(1, -1); in testAddAndSendCountersCornerCases()207 mTestableMetricsLogger.cacheCount(3, 0); in testAddAndSendCountersCornerCases()208 mTestableMetricsLogger.cacheCount(2, 10); in testAddAndSendCountersCornerCases()[all …]
389 logger.cacheCount(BluetoothProtoEnums.LE_SCAN_COUNT_TOTAL_ENABLE, 1); in recordScanAppCountMetricsStart()391 logger.cacheCount(BluetoothProtoEnums.LE_SCAN_COUNT_AUTO_BATCH_ENABLE, 1); in recordScanAppCountMetricsStart()393 logger.cacheCount(BluetoothProtoEnums.LE_SCAN_COUNT_BATCH_ENABLE, 1); in recordScanAppCountMetricsStart()396 logger.cacheCount(BluetoothProtoEnums.LE_SCAN_COUNT_FILTERED_ENABLE, 1); in recordScanAppCountMetricsStart()398 logger.cacheCount(BluetoothProtoEnums.LE_SCAN_COUNT_UNFILTERED_ENABLE, 1); in recordScanAppCountMetricsStart()405 logger.cacheCount(BluetoothProtoEnums.LE_SCAN_COUNT_TOTAL_DISABLE, 1); in recordScanAppCountMetricsStop()407 logger.cacheCount(BluetoothProtoEnums.LE_SCAN_COUNT_AUTO_BATCH_DISABLE, 1); in recordScanAppCountMetricsStop()409 logger.cacheCount(BluetoothProtoEnums.LE_SCAN_COUNT_BATCH_DISABLE, 1); in recordScanAppCountMetricsStop()412 logger.cacheCount(BluetoothProtoEnums.LE_SCAN_COUNT_FILTERED_DISABLE, 1); in recordScanAppCountMetricsStop()414 logger.cacheCount(BluetoothProtoEnums.LE_SCAN_COUNT_UNFILTERED_DISABLE, 1); in recordScanAppCountMetricsStop()[all …]
282 .cacheCount(eq(BluetoothProtoEnums.LE_ADV_COUNT_ENABLE), eq((long) 1)); in testAdvertiseCounterMetrics()284 .cacheCount(eq(BluetoothProtoEnums.LE_ADV_COUNT_CONNECTABLE_ENABLE), eq((long) 1)); in testAdvertiseCounterMetrics()286 .cacheCount(eq(BluetoothProtoEnums.LE_ADV_COUNT_PERIODIC_ENABLE), eq((long) 1)); in testAdvertiseCounterMetrics()291 .cacheCount(eq(BluetoothProtoEnums.LE_ADV_COUNT_DISABLE), eq((long) 1)); in testAdvertiseCounterMetrics()293 .cacheCount(eq(BluetoothProtoEnums.LE_ADV_COUNT_CONNECTABLE_DISABLE), eq((long) 1)); in testAdvertiseCounterMetrics()295 .cacheCount(eq(BluetoothProtoEnums.LE_ADV_COUNT_PERIODIC_DISABLE), eq((long) 1)); in testAdvertiseCounterMetrics()297 .cacheCount(eq(BluetoothProtoEnums.LE_ADV_DURATION_COUNT_TOTAL_1M), eq((long) 1)); in testAdvertiseCounterMetrics()299 .cacheCount( in testAdvertiseCounterMetrics()302 .cacheCount( in testAdvertiseCounterMetrics()
1330 .cacheCount(eq(BluetoothProtoEnums.LE_SCAN_RADIO_DURATION_REGULAR), anyLong()); in testMetricsScanRadioDurationScreenOn()1332 .cacheCount( in testMetricsScanRadioDurationScreenOn()1336 .cacheCount( in testMetricsScanRadioDurationScreenOn()1344 .cacheCount(eq(BluetoothProtoEnums.LE_SCAN_RADIO_DURATION_REGULAR), anyLong()); in testMetricsScanRadioDurationScreenOn()1346 .cacheCount( in testMetricsScanRadioDurationScreenOn()1350 .cacheCount( in testMetricsScanRadioDurationScreenOn()1368 .cacheCount(eq(BluetoothProtoEnums.LE_SCAN_RADIO_DURATION_REGULAR), anyLong()); in testMetricsScanRadioDurationScreenOnOff()1370 .cacheCount( in testMetricsScanRadioDurationScreenOnOff()1374 .cacheCount( in testMetricsScanRadioDurationScreenOnOff()1382 .cacheCount(eq(BluetoothProtoEnums.LE_SCAN_RADIO_DURATION_REGULAR), anyLong()); in testMetricsScanRadioDurationScreenOnOff()[all …]
56 int cacheCount = mCache == null ? 0 : mCache.size(); in setConsumer() local57 for (int i = 0; i < cacheCount; i++) { in setConsumer()
122 .cacheCount(BluetoothProtoEnums.SDP_SENDING_DELAYED_UUID, 1); in handleMessage()128 .cacheCount(BluetoothProtoEnums.SDP_NOT_SENDING_DELAYED_UUID, 1); in handleMessage()702 MetricsLogger.getInstance().cacheCount(BluetoothProtoEnums.SDP_SENT_UUID, 1); in sendUuidIntent()943 .cacheCount(BluetoothProtoEnums.SDP_UUIDS_EQUAL_SKIP, 1); in devicePropertyChangedCallback()950 .cacheCount( in devicePropertyChangedCallback()958 .cacheCount( in devicePropertyChangedCallback()964 .cacheCount(BluetoothProtoEnums.SDP_DROP_UUID, 1); in devicePropertyChangedCallback()1366 .cacheCount(BluetoothProtoEnums.SDP_FETCH_UUID_SKIP_ALREADY_CACHED, 1); in fetchUuids()1377 .cacheCount(BluetoothProtoEnums.SDP_FETCH_UUID_SKIP_ALREADY_BONDED, 1); in fetchUuids()1397 MetricsLogger.getInstance().cacheCount(BluetoothProtoEnums.SDP_INVOKE_SDP_CYCLE, 1); in fetchUuids()
168 public boolean cacheCount(int key, long count) { in cacheCount() method in MetricsLogger
3113 MetricsLogger.getInstance().cacheCount(BluetoothProtoEnums.SDP_FETCH_UUID_REQUEST, 1); in fetchRemoteUuids()