Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e43ee26 authored by Juho Kim's avatar Juho Kim
Browse files

Add a parser to sequentially parse STK commands

Currently searchForTag and searchForNextTag of CommandParamsFactory are
used to parse STK commands. They provide only basic functionalities, so
not appropriate to validate mandatory/optional tags and their order.

This commit adds SequentialParser that provides two function for
mandatory and optional tag.

Bug: b/404099417
Test: atest FrameworksTelephonyTests
Flag: EXEMPT only adds a class and its tests, no uses
Change-Id: If7edb9fe4f2c24246a24667bc755d5f42d6ac37f
parent 367d1ea0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment