10445 Commits

Author SHA1 Message Date
Jeff Sharkey
8e53462d94 am d0c6ccba: Move NetworkPolicy from apps to UID.
* commit 'd0c6ccbafdebc73d03cf3cd47f02f9f6c78a69ff':
  Move NetworkPolicy from apps to UID.
2012-09-15 16:12:23 -07:00
Christopher Tate
55ffb815ae am 2892dfbe: Merge "Fix default population of wifi settings" into jb-mr1-dev
* commit '2892dfbeafec5315d05fb6ceabeaee73b88f5ff0':
  Fix default population of wifi settings
2012-09-15 16:11:53 -07:00
Jeff Sharkey
d0c6ccbafd Move NetworkPolicy from apps to UID.
For multi-user devices, switch to storing policy per-user instead of
per-app.  Also watch for user added/removed broadcasts to clean up
policies and apply global restrictions.

Bug: 7121279
Change-Id: Ia7326bd0ebe0586fa4ec6d3a62f6313dc8814007
2012-09-14 23:00:27 -07:00
Christopher Tate
2892dfbeaf Merge "Fix default population of wifi settings" into jb-mr1-dev 2012-09-14 17:59:00 -07:00
Christopher Tate
6f5a9a9652 Fix default population of wifi settings
Various wifi settings that are explicitly defaulted did not get their
default code properly converted to refer to the correct settings
database table.

A collection of moved-to-Global settings that had not yet been
marked @deprecated in the Secure.* namespace are now so marked.

Also updated the namespace used to refer to wifi settings from the
Wifi Service.  These changes are cosmetic, but they do eliminate a
number of runtime log messages.

Bug 7153671

Change-Id: I9e5b6464d025cfb480ef97373996e38e82f90593
2012-09-14 17:57:35 -07:00
rich cannings
63eda54c9d am 0b62fa23: Merge "Send more information to verifiers" into jb-mr1-dev
* commit '0b62fa234d2e3580b1f04cb9c4a6a308be99a5ae':
  Send more information to verifiers
2012-09-14 16:04:30 -07:00
rich cannings
0b62fa234d Merge "Send more information to verifiers" into jb-mr1-dev 2012-09-14 16:02:29 -07:00
Svetoslav Ganov
65a65db3b8 am 8b681cb8: Some formatting missed in the previous patch
* commit '8b681cb8813454aac8a626bf3d7adaa8beca4d75':
  Some formatting missed in the previous patch
2012-09-14 15:22:34 -07:00
Svetoslav Ganov
8b681cb881 Some formatting missed in the previous patch
Change-Id: I299090ca67b1d90cf75a46dc85b13970d32511e5
2012-09-14 15:20:45 -07:00
Svetoslav Ganov
f46519a97d am 3efa8bab: Merge "Adding accessibility events for touch and gesture detection states." into jb-mr1-dev
* commit '3efa8babf581b107f63e29dedb56166e5db1bfdb':
  Adding accessibility events for touch and gesture detection states.
2012-09-14 15:18:53 -07:00
Svetoslav Ganov
3efa8babf5 Merge "Adding accessibility events for touch and gesture detection states." into jb-mr1-dev 2012-09-14 15:16:27 -07:00
Svetoslav Ganov
77276b6085 Adding accessibility events for touch and gesture detection states.
1. Currently the system fires accessibility events to announce the
   start and end of a touch exploration gesture. However, such a
   gesture starts after we have decided that the user is not
   performing a gesture which is achieved by measuring speed of
   movement during a threshold distance. This allows an accessibility
   service to provide some feedback to the user so he knows that
   he is touch exploring.

   This change adds event types for the first and last touches
   of the user. Note that the first touch does not conincide with
   the start of a touch exploration gesture since we need a time
   or distance to pass before we know whether the user explores
   or gestures. However, it is very useful for an accessibility
   service to know when the user starts to interact with the
   touch screen so it can turn the speech off, to name one
   compelling use case.

   This change also provides event types for the start and end
   of gesture detection. If the user has moved over the threshold
   with a speed greater than X, then the system detects gestures.
   It is useful for an accessibility service to know the begin
   and end of gesture detection so it can provide given feedback
   type for such a gesture, say it may produce haptic feedback
   or sound that differs for the one for touch exploration.

   The main benefit of announcing these new events is that an
   accessibility service can provide feedback for each touch
   state allowing the user to always know what he is doing.

bug:7166935

Change-Id: I26270d774cc059cb921d6a4254bc0aab0530c1dd
2012-09-14 15:12:54 -07:00
rich cannings
13d428e830 Send more information to verifiers
Send package name, version code and the uid of the application requesting the
install to package verifiers.

Bug: 7164155
Change-Id: I2464dc5d4551f60b4f38f7982495a8920c83e1cd
2012-09-14 14:25:52 -07:00
Ben Gruver
ff02582a3b am 51fbaff1: Merge "DEFAULT_VERIFY_ENABLE turns verification off" into jb-mr1-dev
* commit '51fbaff11c195d3004f872d19f98a20fa6c44456':
  DEFAULT_VERIFY_ENABLE turns verification off
2012-09-14 14:03:56 -07:00
Ben Gruver
51fbaff11c Merge "DEFAULT_VERIFY_ENABLE turns verification off" into jb-mr1-dev 2012-09-14 14:01:37 -07:00
Jeff Sharkey
d0f5607e76 am 04a34b37: Merge "Actually move to Global settings." into jb-mr1-dev
* commit '04a34b375513eaeec67f54bb203ef6b763328751':
  Actually move to Global settings.
2012-09-14 13:51:19 -07:00
Jeff Sharkey
04a34b3755 Merge "Actually move to Global settings." into jb-mr1-dev 2012-09-14 13:49:24 -07:00
Christopher Tate
b808ce2307 am ce18d1c8: Merge "Get correct user\'s package info during clip processing" into jb-mr1-dev
* commit 'ce18d1c871f7101af58391918b7f249438c4c307':
  Get correct user's package info during clip processing
2012-09-14 13:48:36 -07:00
Jeff Sharkey
e6e6197d7c Actually move to Global settings.
Also add better ConnectivityService logging.

Bug: 7157464
Change-Id: Ia235a7e62ed809240913c4782920c1410c7d597d
2012-09-14 13:47:51 -07:00
Christopher Tate
ce18d1c871 Merge "Get correct user's package info during clip processing" into jb-mr1-dev 2012-09-14 13:44:52 -07:00
Christopher Tate
ad9833a77f Get correct user's package info during clip processing
Also clear the binder identity correctly for purposes of doing
that query.

Bug 7162477

Change-Id: Ie9e43a2d8fc964d1be649887905244dcceaa3c80
2012-09-14 13:43:16 -07:00
rich cannings
e4bf0eae06 DEFAULT_VERIFY_ENABLE turns verification off
When DEFAULT_VERIFY_ENABLE == false, package verification must be completely
off.

Bug: 7132197
Change-Id: Icc0dbb4a3f4f5f00ddadecda6cc42976618c4332
2012-09-14 13:40:30 -07:00
Jeff Sharkey
d3941f4c33 am a043c2c0: Merge "Move to Global.NETSTATS and Global.NTP constants." into jb-mr1-dev
* commit 'a043c2c0534afe418fc39bdb43bfaab394ba821a':
  Move to Global.NETSTATS and Global.NTP constants.
2012-09-14 13:17:46 -07:00
Jeff Sharkey
a043c2c053 Merge "Move to Global.NETSTATS and Global.NTP constants." into jb-mr1-dev 2012-09-14 13:15:16 -07:00
Jeff Sharkey
023c05a341 Move to Global.NETSTATS and Global.NTP constants.
Bug: 7157464
Change-Id: Ief10fd37940f62420f5684940994c9f93802e0be
2012-09-14 13:14:21 -07:00
Jim Miller
76d795c313 am f229e4d3: Add support for settings for lock widgets
* commit 'f229e4d3eb8f910c181f96416c6798f6f305a395':
  Add support for settings for lock widgets
2012-09-14 12:40:05 -07:00
Jim Miller
f229e4d3eb Add support for settings for lock widgets
Change-Id: Iade094c6f32a7653bdbbd4921d345d68f2443ff4
2012-09-14 12:31:24 -07:00
Michael Jurka
2dbb603912 am ad92ce85: Merge "Fix bug with getting widget categories" into jb-mr1-dev
* commit 'ad92ce85175a45e5d059f129d2e0627cae60aa82':
  Fix bug with getting widget categories
2012-09-14 12:26:28 -07:00
Michael Jurka
ad92ce8517 Merge "Fix bug with getting widget categories" into jb-mr1-dev 2012-09-14 12:21:54 -07:00
Michael Jurka
ca5e341574 Fix bug with getting widget categories
Change-Id: I3b0f410707d37436732c45b572c2f588427a784f
2012-09-14 12:18:51 -07:00
Kenny Root
99b72639a2 am a96fa35e: Merge "Don\'t prematurely delete temporary files" into jb-mr1-dev
* commit 'a96fa35e50788d26fc8ab7667ed5000e7b67b26e':
  Don't prematurely delete temporary files
2012-09-14 11:22:44 -07:00
Kenny Root
0b2fa8ca22 Don't prematurely delete temporary files
When verification and encryption is used, the temporary file was deleted
prematurely.

Also, on next boot-up, scan the directory we use for temporary files to
clean them up if the user rebooted in the middle of installation.

Bug: 7132197
Change-Id: Ic9e8aab9a664ca00d9ac16f72e53fc43d78d21bc
2012-09-14 10:34:21 -07:00
Jeff Brown
6e35180586 am 44015010: Merge "Eat copy pasta." into jb-mr1-dev
* commit '44015010acefa952b66e8405849314363a52242d':
  Eat copy pasta.
2012-09-13 19:28:20 -07:00
Jeff Brown
44015010ac Merge "Eat copy pasta." into jb-mr1-dev 2012-09-13 19:26:46 -07:00
Jeff Brown
5380a064c3 Eat copy pasta.
Change-Id: I74cbad279c15f1999cc68d732fc04d6c448b5c39
2012-09-13 19:24:57 -07:00
Jeff Brown
bc63023f3d am 3a1136ee: Merge "We don\'t need black frames for forced display size." into jb-mr1-dev
* commit '3a1136eeeb6c2b30b0528e30c41ce36bda35c531':
  We don't need black frames for forced display size.
2012-09-13 18:58:36 -07:00
Jeff Brown
3a1136eeeb Merge "We don't need black frames for forced display size." into jb-mr1-dev 2012-09-13 18:55:32 -07:00
Craig Mautner
c7f3f93005 am 4796dfd9: Merge "Improve debug output." into jb-mr1-dev
* commit '4796dfd92cd8abc102be2b65b9991ae264eaf672':
  Improve debug output.
2012-09-13 17:26:31 -07:00
Craig Mautner
4796dfd92c Merge "Improve debug output." into jb-mr1-dev 2012-09-13 16:35:56 -07:00
Craig Mautner
dc5a6384e7 Improve debug output.
Change-Id: I94f46e1e373dc9e67bfbc1d1847399c119ec2fcb
2012-09-13 16:34:41 -07:00
Jeff Brown
76a3cb9773 We don't need black frames for forced display size.
Now that surface flinger lets us set a display projection,
the window manager no longer needs to place a black frame
around the content when simulating a different display size.

Bug: 7139798
Change-Id: I6014390f47444633d434ccf918cee5ff7b502869
2012-09-13 16:02:10 -07:00
Jeff Brown
e63a1a05d7 am cdfc56a3: Merge "Add preliminary API for reporting display capabilities." into jb-mr1-dev
* commit 'cdfc56a3872f6bae7c43aedd5c718c5fa3fbdf9d':
  Add preliminary API for reporting display capabilities.
2012-09-13 15:36:19 -07:00
Jeff Brown
cdfc56a387 Merge "Add preliminary API for reporting display capabilities." into jb-mr1-dev 2012-09-13 15:34:51 -07:00
Victoria Lease
c6500d2e27 am 1f1f5970: Merge "Require ACCESS_FINE_LOCATION for Geofence use." into jb-mr1-dev
* commit '1f1f5970f9b256c89e94ac6876f8d8204e4b2fb9':
  Require ACCESS_FINE_LOCATION for Geofence use.
2012-09-13 15:34:31 -07:00
Jeff Brown
1eb6314dd0 am 45a0b90a: Merge "Enable remote submix for wifi display." into jb-mr1-dev
* commit '45a0b90a7ed7ebd8219a7a6d7b9e64c55183523a':
  Enable remote submix for wifi display.
2012-09-13 15:34:28 -07:00
Victoria Lease
1f1f5970f9 Merge "Require ACCESS_FINE_LOCATION for Geofence use." into jb-mr1-dev 2012-09-13 15:32:00 -07:00
Jeff Brown
45a0b90a7e Merge "Enable remote submix for wifi display." into jb-mr1-dev 2012-09-13 15:32:00 -07:00
Kenny Root
5d6d5f3d7a am 24271a8c: Merge "Use shared app gid for forward-locked processes" into jb-mr1-dev
* commit '24271a8c4c55a60047fd3d35c8a7af98b0f4e666':
  Use shared app gid for forward-locked processes
2012-09-13 14:46:38 -07:00
Kenny Root
24271a8c4c Merge "Use shared app gid for forward-locked processes" into jb-mr1-dev 2012-09-13 14:43:20 -07:00
Victoria Lease
4fab68b532 Require ACCESS_FINE_LOCATION for Geofence use.
Bug: 7153226
Change-Id: I49236379e739fcda66bbc9a31cfdca9a87122aec
2012-09-13 14:17:41 -07:00