Unbreak gen command and sync with current tree

Fix location of UnsupportedAppUsage.java.

Update templates to match current sources.

Add set-up sanity checks to gen script.

Bug: 151443957
Test: ./gen and observe no source changes
Change-Id: I095ef85ba9b2ef6617c451221a35f3545c3933a3
3 files changed