Home
last modified time | relevance | path

Searched refs:BytesMatcher (Results 1 – 3 of 3) sorted by relevance

/frameworks/libs/modules-utils/javatests/com/android/modules/utils/
DBytesMatcherTest.java34 BytesMatcher matcher = BytesMatcher.decode(""); in testEmpty()
41 BytesMatcher matcher = BytesMatcher.decode("+cafe"); in testExact()
50 BytesMatcher matcher = BytesMatcher.decode("+cafe/ff00"); in testMask()
60 BytesMatcher matcher = BytesMatcher.decode("⊆cafe,⊆beef/ff00"); in testPrefix()
73 BytesMatcher matcher = new BytesMatcher(); in testSerialize_Empty()
74 matcher = BytesMatcher.decode(BytesMatcher.encode(matcher)); in testSerialize_Empty()
77 BytesMatcher.decode(""); in testSerialize_Empty()
78 BytesMatcher.decode(null); in testSerialize_Empty()
83 BytesMatcher matcher = new BytesMatcher(); in testSerialize_Exact()
96 matcher = BytesMatcher.decode(BytesMatcher.encode(matcher)); in testSerialize_Exact()
[all …]
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBytesMatcher.java42 public class BytesMatcher implements Predicate<byte[]> { class
224 public static @NonNull String encode(@NonNull BytesMatcher matcher) { in encode()
250 public static @NonNull BytesMatcher decode(@Nullable String value) { in decode()
251 final BytesMatcher matcher = new BytesMatcher(); in decode()
DAndroid.bp89 srcs: ["BytesMatcher.java"],