Support command whitelist feature
Depends on I87d8aa3 in core.
Bug: T106061 Change-Id: I694e4e5a83f281da92380a895b72611141838f42