Home
last modified time | relevance | path

Searched refs:namePattern (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/companion/
DBluetoothDeviceFilterUtils.java92 static boolean matchesName(@Nullable Pattern namePattern, BluetoothDevice device) { in matchesName() argument
94 if (namePattern == null) { in matchesName()
100 result = name != null && namePattern.matcher(name).find(); in matchesName()
102 if (DEBUG) debugLogMatchResult(result, device, namePattern); in matchesName()
106 static boolean matchesName(@Nullable Pattern namePattern, ScanResult device) { in matchesName() argument
108 if (namePattern == null) { in matchesName()
114 result = name != null && namePattern.matcher(name).find(); in matchesName()
116 if (DEBUG) debugLogMatchResult(result, device, namePattern); in matchesName()
DWifiDeviceFilter.java44 private WifiDeviceFilter(Pattern namePattern) { in WifiDeviceFilter() argument
45 mNamePattern = namePattern; in WifiDeviceFilter()
DBluetoothDeviceFilter.java53 Pattern namePattern, in BluetoothDeviceFilter() argument
57 mNamePattern = namePattern; in BluetoothDeviceFilter()
DBluetoothLeDeviceFilter.java73 private BluetoothLeDeviceFilter(Pattern namePattern, ScanFilter scanFilter, in BluetoothLeDeviceFilter() argument
77 mNamePattern = namePattern; in BluetoothLeDeviceFilter()