Adjust code in response to Burst validation tests

This CL includes three changes in response to the Burst validation
tests:
(1) it cleans up the validation code in both ExecutionBurstServer and
    ExecutionBurstController to handle missed edge cases
(2) it alters IBurstExecutorWithCache's caches to use a map instead of
    an indexed vector to handle cases where non-NN runtime clients use
    sparse slots
(3) it combines the ValidationTest calls of "validateModel" and
    "validateRequest" into a generic "validateEverything"

Bug: 129779280
Bug: 129157135
Test: mma
Test: VtsHalNeuralnetworksV1_2TargetTest (with sample-all)
Change-Id: Ie06235ee19ea7d8173f7ac02f620c83e15705370
Merged-In: Ie06235ee19ea7d8173f7ac02f620c83e15705370
(cherry picked from commit 3260db96845a6dd3becba100aa9f019e8fc504db)
8 files changed
tree: 46ab58a071e4f343a7968fb35783d1c90a1eea51
  1. nn/
  2. .clang-format
  3. CleanSpec.mk
  4. OWNERS
  5. PREUPLOAD.cfg