summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2021-03-04 09:50:50 -0700
committerJeff Sharkey <jsharkey@android.com>2021-03-04 14:57:01 -0700
commit6644436a75353ace2560cc8d72b01f4ebb0480f6 (patch)
tree4b601f616d7bfa54a71999a3b84f76921f9290a4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent60ec82fcf186f6d66087a75c33e44adac7ced917 (diff)
General BytesMatcher utility class.
As part of an upcoming feature, we're anticipating the need to match arbitrary byte sequences, such as Bluetooth UUIDs or MAC addresses, so this change adds a new BytesMatcher similar in spirit to the existing PatternMatcher. It supports a reasonably compact serialization format which can be used to transport a server-pushed deny-list. The choice to support both "accept" and "reject" rules in an ordered list means that very complex matching rules can be expressed efficiently. Bug: 181812624 Test: atest FrameworksCoreTests:android.os.BytesMatcherTest Change-Id: I55193051354278abaef8bef51413c632b07c7177
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions