Searched refs:namePattern (Results 1 – 4 of 4) sorted by relevance
92 static boolean matchesName(@Nullable Pattern namePattern, BluetoothDevice device) { in matchesName() argument94 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() argument108 if (namePattern == null) { in matchesName()114 result = name != null && namePattern.matcher(name).find(); in matchesName()116 if (DEBUG) debugLogMatchResult(result, device, namePattern); in matchesName()
44 private WifiDeviceFilter(Pattern namePattern) { in WifiDeviceFilter() argument45 mNamePattern = namePattern; in WifiDeviceFilter()
53 Pattern namePattern, in BluetoothDeviceFilter() argument57 mNamePattern = namePattern; in BluetoothDeviceFilter()
73 private BluetoothLeDeviceFilter(Pattern namePattern, ScanFilter scanFilter, in BluetoothLeDeviceFilter() argument77 mNamePattern = namePattern; in BluetoothLeDeviceFilter()