devmode: Add app allowlist regex to DevSession

Start storing a new string called app_allowlist_pattern which can store
a pattern used to allow a set of apps in addition to just debuggable
apps that dev mode currently allows by default. Note that we compile the
regex upon every read of DevSession, so the default pattern matches
everything to ensure minimal performance impact.

Design: go/rb-dev-mode-allowlist
Change-Id: Idea97248bc2f3b71ed3a0d5a6b763b003c4bd19e
Flag: EXEMPT (bug 337358613 )
BYPASS_PS_FLAG_CHECK: Dev mode change.
Fixes: 408901081
3 files changed