White list file names and do not allow ".."

Fixes security vulnerability where application can pass in relative file paths
with ".." in the string to access files outside of the dumpedfiles directory.

Bug: 9607306
Change-Id: Iad219cb48fa560d837498c2dc75127294dcf401b
am 9c842fcf: White list file names and do not allow ".."

* commit '9c842fcf486ed5c70ca6db3106349aade27751bf':
  White list file names and do not allow ".."
am 4214d57a: am 9c842fcf: White list file names and do not allow ".."

* commit '4214d57a4a87dbebc7c937275acc9b54fd718697':
  White list file names and do not allow ".."
Do not allow updates to the _data column.

Fixes a security hole where applications can update the data location of
voicemail files to point to arbitrary file paths.

Voicemail provider stores the location of the data file in the _data column.
Applications can update this with an arbitrary file path as long as they
have the ADD_VOICEMAIL permission.  Then they can subsequently read that
voicemail and obtain access to the file. This location is generated by the
provider and does not need to be updated by the applications.

Bug: 9674953
(cherry picked from commit ab2a24c126f35ae4aefb469f91094e5972abd8f0)

Change-Id: I6c795fe8e283f60f71ebc0e53606383c9fd22e71
am 284f7164: Do not allow updates to the _data column.

* commit '284f71646d1953f2d78b53e2cdb42cb93e1d9d6f':
  Do not allow updates to the _data column.
resolved conflicts for merge of b8fb609b to jb-mr1-dev

Change-Id: I336ee0b3f041f83a4b4e2c9973abb73852c2cc6f
am 8d54a6e0: resolved conflicts for merge of b8fb609b to jb-mr1-dev

* commit '8d54a6e0fa9fb4bb0a2b3b2f36d0e9bf930d05c8':
  Do not allow updates to the _data column.
am 466d8411: am 8d54a6e0: resolved conflicts for merge of b8fb609b to jb-mr1-dev

* commit '466d84110ef8f03b91561dd7a778558570e32abb':
  Do not allow updates to the _data column.
am 13d744f2: am 466d8411: am 8d54a6e0: resolved conflicts for merge of b8fb609b to jb-mr1-dev

* commit '13d744f2290a405bf99b1f8114da23668bd15274':
  Do not allow updates to the _data column.
am 44c3d51b: am 13d744f2: am 466d8411: am 8d54a6e0: resolved conflicts for merge of b8fb609b to jb-mr1-dev

* commit '44c3d51be8deee28d01e3e3f739a2f6b1fc608fa':
  Do not allow updates to the _data column.
Merge tag 'android-4.3_r3.1' of https://android.googlesource.com/platform/packages/providers/ContactsProvider into jb3

Android 4.3 Release 3.1