AssetManager cookies should be int32_t and not void*.

Cookies are really indices into vectors and arrays, so
they don't need to be void*. We choose int32_t instead
of size_t to allow their width to be well specified.

(cherry picked from commit ebfdd0f467e39c3af8d92cade78263935340acb7)
(cherry picked from commit a7fa2e592e2e579e5acdb903dba83fc074ebc215)
(cherry picked from commit a9d5701b034ed2d9771b3f0943e1add00741d7cd)

Change-Id: I2aed3db568b6fdc487bf99e2c5dd123206736fda
Revert "Vpn: Setup routes."

This reverts commit cbea2045cbb27d57dc37a3d8d23766a4a89751b5.
Revert "Fix can't change airplane mode from GlobalActions."

This reverts commit c180ad471970fb6415cdf4b7d23c475140ecae3f.
Fix for default USB debugging in eng builds.

* Start adbd on first launch and accept all connections for eng
* Start adbd on first launch and prompt for userdebug
* Do not start adbd for user.

Change-Id: I26d1ef1bb208cec79d45687aea833a1b3e076b83
Revert "PackageManager: fix app lib migration for device with /datadata"

This reverts commit 2360540e4acb6b93a8c948126993b5c448ff8932.
Missing wifi auto connect setting