Home
last modified time | relevance | path

Searched refs:matchedString (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DMetricsLogger.java382 String matchedString = ""; in getMatchedString() local
385 if (mBloomFilter.mightContain(sha256) && word.length() > matchedString.length()) { in getMatchedString()
386 matchedString = word; in getMatchedString()
389 return matchedString; in getMatchedString()
394 String matchedString = getMatchedString(wordBreakdownList); in getAllowlistedDeviceNameHash() local
395 return getSha256String(matchedString); in getAllowlistedDeviceNameHash()
401 String matchedString = getMatchedString(wordBreakdownList); in logAllowlistedDeviceNameHash() local
408 if (!matchedString.isEmpty()) { in logAllowlistedDeviceNameHash()
409 statslogBluetoothDeviceNames(metricId, matchedString); in logAllowlistedDeviceNameHash()
411 return getSha256String(matchedString); in logAllowlistedDeviceNameHash()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DMetricsLoggerTest.java109 protected void statslogBluetoothDeviceNames(int metricId, String matchedString) { in statslogBluetoothDeviceNames() argument
110 mTestableDeviceNames.merge(matchedString, 1, Integer::sum); in statslogBluetoothDeviceNames()