Fix test packages.

The name of the package is determined by the build system based
on the directory name, so the netlegacy22 API tests were going
into package "android.api" and the netlegacy22 permission tests
were going into package "android.permission".

Fix this by moving from two subdirectories under
tests/netlegacy22 to two directories under tests. Also move from
tests/tests/ to tests/ because the former is deprecated.

The two sets of tests are in different directories because they
need to have different AndroidManifest.xml files (one needs
permissions, the other must not have permissions).

Bug: 23003635
Change-Id: Ia8e82c41265531766f532c3502e4bdf120cdc843
8 files changed