OSDN Git Service

android-x86/frameworks-base.git
11 years agoMerge "Allow packages.list access with new GID." into klp-dev
Jeff Sharkey [Fri, 9 Aug 2013 00:44:55 +0000 (00:44 +0000)]
Merge "Allow packages.list access with new GID." into klp-dev

11 years agoAllow packages.list access with new GID.
Jeff Sharkey [Wed, 10 Jul 2013 23:19:52 +0000 (16:19 -0700)]
Allow packages.list access with new GID.

The FUSE daemon is using packages.list to map from package name to
appId after it drops permissions, so create a new "package_info" GID
to grant read access.

Also switches FileUtils to use Libcore.os.

Change-Id: I9451ca4e90e8a985526805c6df0888a244a1db36

11 years agoMerge "Refactor Canvas.drawPicture() to delegate to Picture" into klp-dev
Jonathan Dixon [Fri, 9 Aug 2013 00:36:03 +0000 (00:36 +0000)]
Merge "Refactor Canvas.drawPicture() to delegate to Picture" into klp-dev

11 years agoRefactor Canvas.drawPicture() to delegate to Picture
Jonathan Dixon [Fri, 2 Aug 2013 22:28:31 +0000 (15:28 -0700)]
Refactor Canvas.drawPicture() to delegate to Picture

Bug: 9814370

To allow WebView.capturePicture() to return a subclass, we need to
ensure the subclass is always consulted when being drawn into a canvas.

Change-Id: Ia0357f95b6fafb3ac81e6bcfaef05739e619897a

11 years agoam 9b7b4450: am 02eab434: am 4d87d91d: Merge "If in a mobile captive portal is detect...
Wink Saville [Fri, 9 Aug 2013 00:10:34 +0000 (17:10 -0700)]
am 9b7b4450: am 02eab434: am 4d87d91d: Merge "If in a mobile captive portal is detected enable fail fast." into jb-mr2-dev

* commit '9b7b4450185e723dc7021f7e8bae4a12d4dd5606':
  If in a mobile captive portal is detected enable fail fast.

11 years agoam 7c00be48: am 55adb390: am 35152f13: Merge "Have CaptivePortalTracker use gservices...
Wink Saville [Fri, 9 Aug 2013 00:10:32 +0000 (17:10 -0700)]
am 7c00be48: am 55adb390: am 35152f13: Merge "Have CaptivePortalTracker use gservices updateable provisioning urls." into jb-mr2-dev

* commit '7c00be48fcb1986db14915beef549e925b5670d2':
  Have CaptivePortalTracker use gservices updateable provisioning urls.

11 years agoMerge "Merge commit '81132d51' into fix-merge-conflict" into klp-dev
Wink Saville [Fri, 9 Aug 2013 00:09:23 +0000 (00:09 +0000)]
Merge "Merge commit '81132d51' into fix-merge-conflict" into klp-dev

11 years agoMerge commit '81132d51' into fix-merge-conflict
Wink Saville [Thu, 8 Aug 2013 23:51:46 +0000 (16:51 -0700)]
Merge commit '81132d51' into fix-merge-conflict

* commit '81132d51':
  In CaptiviePortalTracker a socket timeout is probably a captive portal.

Change-Id: I624732a5c29427bc22a156ccd46e6ff727af09c5

11 years agoMerge "Use new ISurfaceComposer::destroyDisplay method" into klp-dev
Jeff Brown [Thu, 8 Aug 2013 23:30:27 +0000 (23:30 +0000)]
Merge "Use new ISurfaceComposer::destroyDisplay method" into klp-dev

11 years agoam 81b1fa6f: am 9b6363e5: am cbad1243: Merge "Check that hipri has started." into...
Wink Saville [Thu, 8 Aug 2013 23:22:14 +0000 (16:22 -0700)]
am 81b1fa6f: am 9b6363e5: am cbad1243: Merge "Check that hipri has started." into jb-mr2-dev

* commit '81b1fa6fc62190d64a6b76b4a5ee7cc2bf3172ac':
  Check that hipri has started.

11 years agoam bc8bb009: am 93bb7bf2: am 5986f497: Merge "Doc Change: Fix 10224981 error in code...
Joe Malin [Thu, 8 Aug 2013 23:21:55 +0000 (16:21 -0700)]
am bc8bb009: am 93bb7bf2: am 5986f497: Merge "Doc Change: Fix 10224981 error in code snippet" into jb-mr2-docs

* commit 'bc8bb009ae7144a81c66aeed985a929dbc4778e7':
  Doc Change: Fix 10224981 error in code snippet

11 years agoam 42380b6d: am 9f11f105: am 7f09ec39: Fix issue #10226007: Reset apps restores most...
Dianne Hackborn [Thu, 8 Aug 2013 23:21:19 +0000 (16:21 -0700)]
am 42380b6d: am 9f11f105: am 7f09ec39: Fix issue #10226007: Reset apps restores most of the changed settings...

* commit '42380b6de656ca1336b8b99dbc7995cfbf875924':
  Fix issue #10226007: Reset apps restores most of the changed settings...

11 years agoMerge "Add FlpHal layer to support Location Batching." into klp-dev
destradaa [Thu, 8 Aug 2013 22:57:24 +0000 (22:57 +0000)]
Merge "Add FlpHal layer to support Location Batching." into klp-dev

11 years agoam 02eab434: am 4d87d91d: Merge "If in a mobile captive portal is detected enable...
Wink Saville [Thu, 8 Aug 2013 22:46:55 +0000 (15:46 -0700)]
am 02eab434: am 4d87d91d: Merge "If in a mobile captive portal is detected enable fail fast." into jb-mr2-dev

* commit '02eab434ad9faa25291e63023b7e66698ca457a8':
  If in a mobile captive portal is detected enable fail fast.

11 years agoam 55adb390: am 35152f13: Merge "Have CaptivePortalTracker use gservices updateable...
Wink Saville [Thu, 8 Aug 2013 22:46:52 +0000 (15:46 -0700)]
am 55adb390: am 35152f13: Merge "Have CaptivePortalTracker use gservices updateable provisioning urls." into jb-mr2-dev

* commit '55adb390bb96175db9abee3ead349a98b4dc4262':
  Have CaptivePortalTracker use gservices updateable provisioning urls.

11 years agoam b9b4321b: am 5191b859: Merge "In CaptiviePortalTracker a socket timeout is probabl...
Wink Saville [Thu, 8 Aug 2013 22:46:49 +0000 (15:46 -0700)]
am b9b4321b: am 5191b859: Merge "In CaptiviePortalTracker a socket timeout is probably a captive portal." into jb-mr2-dev

* commit 'b9b4321b756ac6e44650031ebfe0134508f60eaa':
  In CaptiviePortalTracker a socket timeout is probably a captive portal.

11 years agoam 9b6363e5: am cbad1243: Merge "Check that hipri has started." into jb-mr2-dev
Wink Saville [Thu, 8 Aug 2013 22:46:46 +0000 (15:46 -0700)]
am 9b6363e5: am cbad1243: Merge "Check that hipri has started." into jb-mr2-dev

* commit '9b6363e5e6d37e3e8d103751d81613eeca32bbbf':
  Check that hipri has started.

11 years agoUse new ISurfaceComposer::destroyDisplay method
Jesse Hall [Thu, 8 Aug 2013 19:15:03 +0000 (12:15 -0700)]
Use new ISurfaceComposer::destroyDisplay method

Bug: 10191053
Change-Id: I3ecc6880db4a4c77c6db4e8b50faa9b4021d17c6

11 years agoam 4d87d91d: Merge "If in a mobile captive portal is detected enable fail fast."...
Wink Saville [Thu, 8 Aug 2013 22:43:24 +0000 (15:43 -0700)]
am 4d87d91d: Merge "If in a mobile captive portal is detected enable fail fast." into jb-mr2-dev

* commit '4d87d91dfe886713df96abd3c0d1c9e20cf385e5':
  If in a mobile captive portal is detected enable fail fast.

11 years agoam 35152f13: Merge "Have CaptivePortalTracker use gservices updateable provisioning...
Wink Saville [Thu, 8 Aug 2013 22:43:13 +0000 (15:43 -0700)]
am 35152f13: Merge "Have CaptivePortalTracker use gservices updateable provisioning urls." into jb-mr2-dev

* commit '35152f13b3302dbcb43345458dd5b8b092e37320':
  Have CaptivePortalTracker use gservices updateable provisioning urls.

11 years agoam 5191b859: Merge "In CaptiviePortalTracker a socket timeout is probably a captive...
Wink Saville [Thu, 8 Aug 2013 22:43:07 +0000 (15:43 -0700)]
am 5191b859: Merge "In CaptiviePortalTracker a socket timeout is probably a captive portal." into jb-mr2-dev

* commit '5191b8599011c255936e3a3cacc052c03e57b772':
  In CaptiviePortalTracker a socket timeout is probably a captive portal.

11 years agoam cbad1243: Merge "Check that hipri has started." into jb-mr2-dev
Wink Saville [Thu, 8 Aug 2013 22:43:00 +0000 (15:43 -0700)]
am cbad1243: Merge "Check that hipri has started." into jb-mr2-dev

* commit 'cbad1243ad901b8ffcb7497a8f440414b8d41898':
  Check that hipri has started.

11 years agoAdd FlpHal layer to support Location Batching.
destradaa [Fri, 12 Jul 2013 22:43:36 +0000 (15:43 -0700)]
Add FlpHal layer to support Location Batching.

Change-Id: Ia3a57d869dfb3f067a1b95fa66d54f311ddcfdc3

11 years agoMerge "If in a mobile captive portal is detected enable fail fast." into jb-mr2-dev
Wink Saville [Thu, 8 Aug 2013 22:07:27 +0000 (22:07 +0000)]
Merge "If in a mobile captive portal is detected enable fail fast." into jb-mr2-dev

11 years agoMerge "Have CaptivePortalTracker use gservices updateable provisioning urls." into...
Wink Saville [Thu, 8 Aug 2013 22:06:21 +0000 (22:06 +0000)]
Merge "Have CaptivePortalTracker use gservices updateable provisioning urls." into jb-mr2-dev

11 years agoMerge "In CaptiviePortalTracker a socket timeout is probably a captive portal." into...
Wink Saville [Thu, 8 Aug 2013 22:05:20 +0000 (22:05 +0000)]
Merge "In CaptiviePortalTracker a socket timeout is probably a captive portal." into jb-mr2-dev

11 years agoMerge "Check that hipri has started." into jb-mr2-dev
Wink Saville [Thu, 8 Aug 2013 22:03:44 +0000 (22:03 +0000)]
Merge "Check that hipri has started." into jb-mr2-dev

11 years agoGet ProcessStats callable from other processes.
Dianne Hackborn [Wed, 7 Aug 2013 22:22:07 +0000 (15:22 -0700)]
Get ProcessStats callable from other processes.

Also fix a bug where, when parceling the stats, we were
computing the final duration values too late.  We need to
do that before we write the long table.

Change-Id: Idb6c1ed95417448c56973fe5866bfb3570e525f4

11 years agoMerge "Update gps status icon to be a "high power" location icon. Move icon to right...
David Christie [Thu, 8 Aug 2013 21:41:03 +0000 (21:41 +0000)]
Merge "Update gps status icon to be a "high power" location icon. Move icon to right side of the screen and synchronize status with AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION." into klp-dev

11 years agoMerge "Use a single socket to communicate with supplicant" into klp-dev
Vinit Deshapnde [Thu, 8 Aug 2013 21:23:50 +0000 (21:23 +0000)]
Merge "Use a single socket to communicate with supplicant" into klp-dev

11 years agoam 68091b9e: am 72289702: am 6180f104: DOC CHANGE: Fixed bug 10210178
Joe Malin [Thu, 8 Aug 2013 21:14:23 +0000 (14:14 -0700)]
am 68091b9e: am 72289702: am 6180f104: DOC CHANGE: Fixed bug 10210178

* commit '68091b9e108336af21ff1248aac960e9544668af':
  DOC CHANGE: Fixed bug 10210178

11 years agoam 9d42e438: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release - do...
The Android Open Source Project [Thu, 8 Aug 2013 21:14:15 +0000 (14:14 -0700)]
am 9d42e438: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge

* commit '9d42e438cb86a398bd1f9255a7ede35e8c455139':
  Add new app ops method to reset all op modes.
  Add new app ops method to reset all op modes.
  Revert "Add version identifier to app ops."
  Add version identifier to app ops.
  Allow the user to block notifications for foreground services.
  (DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...

11 years agoam 53d86f6e: am f5cfe708: am e8acd367: Merge "When deleting a db file, Context.delete...
Marco Nelissen [Thu, 8 Aug 2013 21:14:10 +0000 (14:14 -0700)]
am 53d86f6e: am f5cfe708: am e8acd367: Merge "When deleting a db file, Context.deleteDatabase() has to be called instead of File.delete() to guarantee all db related files like journal, wal, shm, etc are deleted together."

* commit '53d86f6e495e3f950191419645e34970779a3fea':
  When deleting a db file, Context.deleteDatabase() has to be called instead of File.delete() to guarantee all db related files like journal, wal, shm, etc are deleted together.

11 years agoam ca4553d3: am 7ffbcb28: am ca5d99ac: Merge "Guarantee that all db related files...
Marco Nelissen [Thu, 8 Aug 2013 21:14:06 +0000 (14:14 -0700)]
am ca4553d3: am 7ffbcb28: am ca5d99ac: Merge "Guarantee that all db related files are deleted together."

* commit 'ca4553d33fe779dcdf2daad4590e4dbcfec7b62f':
  Guarantee that all db related files are deleted together.

11 years agoUpdate gps status icon to be a "high power" location icon.
David Christie [Thu, 8 Aug 2013 19:56:57 +0000 (12:56 -0700)]
Update gps status icon to be a "high power" location icon.
Move icon to right side of the screen and synchronize status with
AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION.

Change-Id: Iea2570501cb18be0489669fd4ea240dc63f9567a

11 years agoMerge "Developer option to force RTL layout" into klp-dev
Amith Yamasani [Thu, 8 Aug 2013 20:45:46 +0000 (20:45 +0000)]
Merge "Developer option to force RTL layout" into klp-dev

11 years agoDeveloper option to force RTL layout
Amith Yamasani [Thu, 8 Aug 2013 03:15:10 +0000 (20:15 -0700)]
Developer option to force RTL layout

Make sure screen layout changes are taken into account in Configuration diffs.
Initialize the SystemProperty from Global settings on startup of
ActivityManagerService.

TextUtils checks the override flag to decide if the default layout direction
should be forced to RTL.

Bug: 10244047
Change-Id: I23a2583d790a355060d0d898ba44e5f7dc896b46

11 years agoMerge "Add helper methods to set/query the location master switch. Consolidates the...
David Christie [Thu, 8 Aug 2013 19:43:16 +0000 (19:43 +0000)]
Merge "Add helper methods to set/query the location master switch. Consolidates the logic of exactly what the master switch means so that if we change in the future, we don't have to find all the different parts of the code that use it (location settings, location quick settings, power widget, etc)." into klp-dev

11 years agoMerge "Fix recent regression in hideytoast." into klp-dev
John Spurlock [Thu, 8 Aug 2013 19:17:31 +0000 (19:17 +0000)]
Merge "Fix recent regression in hideytoast." into klp-dev

11 years agoUse a single socket to communicate with supplicant
Vinit Deshapnde [Thu, 8 Aug 2013 17:38:53 +0000 (10:38 -0700)]
Use a single socket to communicate with supplicant

This helps to prepare for future updates from external sources.

Bug: 9298955

Change-Id: I4c63ad5fc1ea3564aab38cfce955de19bad75c0c
(cherry picked from commit fb40801ed8c217ae01082fb1cbd0c30bbf5532ac)

11 years agoAdd missing densities for HUN backgrounds.
Daniel Sandler [Thu, 8 Aug 2013 18:32:53 +0000 (14:32 -0400)]
Add missing densities for HUN backgrounds.

Bug: 10242598
Change-Id: I4bb48102c1d1f94e61c6c8f61e567be919a5fbdf

11 years agoAdd helper methods to set/query the location master switch.
David Christie [Wed, 7 Aug 2013 02:19:08 +0000 (19:19 -0700)]
Add helper methods to set/query the location master switch.
Consolidates the logic of exactly what the master switch means
so that if we change in the future, we don't have to find
all the different parts of the code that use it (location
settings, location quick settings, power widget, etc).

Change-Id: Ib918143b82e16541f0873c4d9141adb11fb815fc
(cherry picked from commit db3720d42dcaa1d26022a392d24f60d0b711f3b7)

11 years agoMerge "OK, now it's a release." into klp-dev
Daniel Sandler [Thu, 8 Aug 2013 17:50:00 +0000 (17:50 +0000)]
Merge "OK, now it's a release." into klp-dev

11 years agoFix recent regression in hideytoast.
John Spurlock [Thu, 8 Aug 2013 16:49:43 +0000 (12:49 -0400)]
Fix recent regression in hideytoast.

Bug:10240896
Change-Id: Iba7af673bdfd878a02932e19dd594e3f9667d7a1

11 years agoam 93bb7bf2: am 5986f497: Merge "Doc Change: Fix 10224981 error in code snippet"...
Joe Malin [Thu, 8 Aug 2013 17:20:40 +0000 (10:20 -0700)]
am 93bb7bf2: am 5986f497: Merge "Doc Change: Fix 10224981 error in code snippet" into jb-mr2-docs

* commit '93bb7bf22df96368392199997aa401eef2c12a9c':
  Doc Change: Fix 10224981 error in code snippet

11 years agoam 5986f497: Merge "Doc Change: Fix 10224981 error in code snippet" into jb-mr2-docs
Joe Malin [Thu, 8 Aug 2013 17:17:31 +0000 (10:17 -0700)]
am 5986f497: Merge "Doc Change: Fix 10224981 error in code snippet" into jb-mr2-docs

* commit '5986f49751e563adf443baca589419e1eb9fbf84':
  Doc Change: Fix 10224981 error in code snippet

11 years agoMerge "Doc Change: Fix 10224981 error in code snippet" into jb-mr2-docs
Joe Malin [Thu, 8 Aug 2013 17:12:01 +0000 (17:12 +0000)]
Merge "Doc Change: Fix 10224981 error in code snippet" into jb-mr2-docs

11 years agoUse package CompatibilityInfo as default. DO NOT MERGE
Craig Mautner [Tue, 6 Aug 2013 21:04:05 +0000 (14:04 -0700)]
Use package CompatibilityInfo as default. DO NOT MERGE

Do not use CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO as default
if there is one for the package.

Partial fix for 10191318.

Change-Id: Ie218f0717398bb86e5c35066c8fe6a462b7d5273

11 years agoOK, now it's a release.
Daniel Sandler [Thu, 8 Aug 2013 14:40:34 +0000 (10:40 -0400)]
OK, now it's a release.

Bug: 10239687
Change-Id: I38a86926f32e5877cd47ae5e4b625a811478aadc

11 years agoMerge "Don't always auto-collapse an empty notification shade."
John Spurlock [Thu, 8 Aug 2013 11:27:29 +0000 (11:27 +0000)]
Merge "Don't always auto-collapse an empty notification shade."

11 years agoon screen off: convert heads up to full screen intent.
Chris Wren [Wed, 7 Aug 2013 21:39:35 +0000 (17:39 -0400)]
on screen off: convert heads up to full screen intent.

Let the app handle screen off as appropriate.

Bug: 10209767
Change-Id: I3949def1980118c0380b173a83148321ad8c5d95

11 years agoMerge "heads up notifications always take the top spot"
Chris Wren [Thu, 8 Aug 2013 11:21:09 +0000 (11:21 +0000)]
Merge "heads up notifications always take the top spot"

11 years agoMerge "Fix the build"
Ben Murdoch [Thu, 8 Aug 2013 11:18:04 +0000 (11:18 +0000)]
Merge "Fix the build"

11 years agoheads up notifications always take the top spot
Chris Wren [Wed, 7 Aug 2013 20:43:43 +0000 (16:43 -0400)]
heads up notifications always take the top spot

If it was important enough to be a heads up, it should get top spot.
Make this sticky so bumping out of the HUN doesn't require a shade sort.
Split view creation and insertion so we can get the shade order correct.

Bug: 10001616
Change-Id: I4c1f2581e11a94241269984a01b92289a8943065

11 years agoFix the build
Ben Murdoch [Thu, 8 Aug 2013 11:16:10 +0000 (12:16 +0100)]
Fix the build

Change-Id: If34523c4b25b3d60edc00b0f37b636bedfc756c2

11 years agodon't bump an active heads up for a corrupt notification
Chris Wren [Wed, 7 Aug 2013 20:05:23 +0000 (16:05 -0400)]
don't bump an active heads up for a corrupt notification

Change-Id: I405d6438e003b08fc3e144bb870c3b3233f71e26

11 years agoMerge "Animate the heads up notification into the shade."
Chris Wren [Thu, 8 Aug 2013 10:48:31 +0000 (10:48 +0000)]
Merge "Animate the heads up notification into the shade."

11 years agoMerge "ensure heads up slider is initialized."
Chris Wren [Thu, 8 Aug 2013 10:47:02 +0000 (10:47 +0000)]
Merge "ensure heads up slider is initialized."

11 years agoMerge "proper geometry for heads up on tablets."
Chris Wren [Thu, 8 Aug 2013 10:46:02 +0000 (10:46 +0000)]
Merge "proper geometry for heads up on tablets."

11 years agoMerge "Extend assist context to foreground services"
Matt Casey [Thu, 8 Aug 2013 09:33:07 +0000 (09:33 +0000)]
Merge "Extend assist context to foreground services"

11 years agoMerge "NFC: Unify ApduServiceInfo for on/off host."
Martijn Coenen [Thu, 8 Aug 2013 04:25:55 +0000 (04:25 +0000)]
Merge "NFC: Unify ApduServiceInfo for on/off host."

11 years agoMerge "Fix for build breakage. Correcting the documentatation link in Sensor.java...
Ying Wang [Thu, 8 Aug 2013 04:03:25 +0000 (04:03 +0000)]
Merge "Fix for build breakage. Correcting the documentatation link in Sensor.java. I added a wrong link {@link #SENSOR_TYPE_ROTATION_VECTOR} instead of {@link #TYPE_ROTATION_VECTOR}."

11 years agoFix for build breakage. Correcting the documentatation link in Sensor.java. I added...
Aravind Akella [Thu, 8 Aug 2013 03:05:29 +0000 (20:05 -0700)]
Fix for build breakage. Correcting the documentatation link in Sensor.java. I added a wrong link {@link #SENSOR_TYPE_ROTATION_VECTOR} instead of {@link #TYPE_ROTATION_VECTOR}.

Change-Id: I55be472c554a5170f3db64b9cb49337a1f4691c0

11 years agoNFC: Unify ApduServiceInfo for on/off host.
Martijn Coenen [Thu, 8 Aug 2013 03:03:03 +0000 (20:03 -0700)]
NFC: Unify ApduServiceInfo for on/off host.

Change-Id: I4f8bb441d7eb564da0486f3e8a1ac08dd18d0dc8

11 years agoMerge "Simplify LinkPropertiesTest."
Lorenzo Colitti [Thu, 8 Aug 2013 02:54:29 +0000 (02:54 +0000)]
Merge "Simplify LinkPropertiesTest."

11 years agoMerge "Print UI polish based on UX feedback."
Svetoslav Ganov [Thu, 8 Aug 2013 02:48:01 +0000 (02:48 +0000)]
Merge "Print UI polish based on UX feedback."

11 years agoPrint UI polish based on UX feedback.
Svetoslav Ganov [Thu, 8 Aug 2013 02:29:42 +0000 (19:29 -0700)]
Print UI polish based on UX feedback.

1. Refreshed the print UI based on UX redlines.

2. Implemented tap outside cancel for the print job config activity
   which is full-screen but pretends to be a dialog.

Change-Id: I5afc7cd40c696109d70af31536898cfcad91b2ab

11 years agoReduce the transaction fee of getEnabledInputMethodSubtypeList
Satoshi Kataoka [Wed, 7 Aug 2013 06:43:29 +0000 (15:43 +0900)]
Reduce the transaction fee of getEnabledInputMethodSubtypeList

Bug: 8467480
Change-Id: If18cce8fbe567df51f29adcdcedff3f743460b8b

11 years agoSimplify LinkPropertiesTest.
Lorenzo Colitti [Thu, 8 Aug 2013 01:56:22 +0000 (10:56 +0900)]
Simplify LinkPropertiesTest.

Instead of converting IP addresses to strings throughout the
test, do so once at the beginning.

Change-Id: I7f0dae5d2e9e2cdc6ec808e2cf71197ba6ade0a4

11 years agoMerge "Better handling of broken storage providers."
Jeff Sharkey [Thu, 8 Aug 2013 01:37:59 +0000 (01:37 +0000)]
Merge "Better handling of broken storage providers."

11 years agoBetter handling of broken storage providers.
Jeff Sharkey [Thu, 8 Aug 2013 01:33:33 +0000 (18:33 -0700)]
Better handling of broken storage providers.

Begin throwing FNFE when storage provider doesn't know about document
or when it's having trouble.  Treat all provider errors as FNFE and
avoid crashing our UI.

Change-Id: I946f1ae4125791999464dc4ce494853d5d1c0629

11 years agoMerge "Adding new constants for STEP_DETECTOR, STEP_COUNTER and GEOMAGNETIC_ROTATION_...
Aravind Akella [Thu, 8 Aug 2013 01:26:40 +0000 (01:26 +0000)]
Merge "Adding new constants for STEP_DETECTOR, STEP_COUNTER and GEOMAGNETIC_ROTATION_VECTOR."

11 years agoMerge "Add more virtual display tests."
Jeff Brown [Thu, 8 Aug 2013 01:14:04 +0000 (01:14 +0000)]
Merge "Add more virtual display tests."

11 years agoMerge "Dump information about recent input events."
Jeff Brown [Thu, 8 Aug 2013 01:10:06 +0000 (01:10 +0000)]
Merge "Dump information about recent input events."

11 years agoMerge "Fix propagation of display overscan information."
Jeff Brown [Thu, 8 Aug 2013 01:09:37 +0000 (01:09 +0000)]
Merge "Fix propagation of display overscan information."

11 years agoMerge "Add PAC File support for proxy configuration"
Jason Monk [Thu, 8 Aug 2013 01:06:02 +0000 (01:06 +0000)]
Merge "Add PAC File support for proxy configuration"

11 years agoMerge "Fix initial FastScroller enabled state, fix padding during layout"
Alan Viverette [Thu, 8 Aug 2013 01:05:42 +0000 (01:05 +0000)]
Merge "Fix initial FastScroller enabled state, fix padding during layout"

11 years agoAdd PAC File support for proxy configuration
Jason Monk [Wed, 3 Jul 2013 21:04:33 +0000 (17:04 -0400)]
Add PAC File support for proxy configuration

PAC (Proxy auto-config) files contain a single javascript function,
FindProxyForURL(url, host).  It gets called to determine what proxy should be
used for a specific request.

This adds PAC support to the system.  The ProxyProperties has been modified
to hold the PAC file when one is present.  The Proxy method
setHttpProxySystemProperty has been modified to insert a PacProxySelector
as the default ProxySelector when it is required.  This new ProxySelector
makes calls to the ConnectivityService to parse the PAC file.

The ConnectivityService and the WifiConfigStore have been modified to support
saving the extra PAC file data.

The ConnectivityService now has a class attached (PacProxyNative) that
interfaces to the native calls for PAC files.  The parsing of the PAC file
is handled by libpac (which is being added to external/) which utilizes
libv8 to parse the javascript.

As a fallback to applications that don't use the java ProxySelector,  the proxy
is setup to point to a local proxy server that will handle the pac parsing.

bug:10182711
Change-Id: I5eb8df893c632fd3e1b732385cb7720ad646f401

11 years agoAdd more virtual display tests.
Jeff Brown [Wed, 7 Aug 2013 21:17:04 +0000 (14:17 -0700)]
Add more virtual display tests.

We can't test everything in CTS because some features require
system permissions.  So this is another copy of the CTS test
with more stuff that we can build with the system cert.

Change-Id: Ied5a456a0810d38d307b6dfbad0f770cb480b4ee

11 years agoFix initial FastScroller enabled state, fix padding during layout
Alan Viverette [Thu, 8 Aug 2013 00:57:51 +0000 (17:57 -0700)]
Fix initial FastScroller enabled state, fix padding during layout

BUG: 10182784
Change-Id: I7f1ed029b68a1e6db6af0dc21e23aebca01bef31

11 years agoam ef54f611: am bdf85de3: am 7b60431b: update <uses-feature> for OpenGL ES version...
Scott Main [Thu, 8 Aug 2013 00:51:54 +0000 (17:51 -0700)]
am ef54f611: am bdf85de3: am 7b60431b: update <uses-feature> for OpenGL ES version with 3.0 example and API guide link. bug: 10207619

* commit 'ef54f611c1574c2cca89476494e7343df76aefad':
  update <uses-feature> for OpenGL ES version with 3.0 example and API guide link. bug: 10207619

11 years agoAdd support for broadcast intents
Ben Gruver [Wed, 7 Aug 2013 02:54:08 +0000 (19:54 -0700)]
Add support for broadcast intents

Change-Id: Icf61e7a202f489cb33b9fd95564285e48154b25b

11 years agoAdd support for matching explicit intents
Ben Gruver [Tue, 6 Aug 2013 22:57:01 +0000 (15:57 -0700)]
Add support for matching explicit intents

This adds a <component-filter> tag for the intent firewall rules,
which adds another top-level filter similar to intent-filter, that
matches intents based on the resolved component they are being sent
to.

Previously, the existing <intent-filter> mechanism did not allow
filtering for explicit intents that had no action/data/etc. The
new <component-filter> functionality can be used for both implicit
and explicit intents.

Change-Id: I6a10e8bfae901931ed2174bca42ea25ac79804d8

11 years agoPass in the ComponentName of the resolved service for service intents
Ben Gruver [Wed, 31 Jul 2013 22:09:51 +0000 (15:09 -0700)]
Pass in the ComponentName of the resolved service for service intents

Change-Id: I893035d5f2dba470d19a091c7a5945b13d9c9b67

11 years agoAdd support for service intents
Ben Gruver [Mon, 29 Jul 2013 23:35:40 +0000 (16:35 -0700)]
Add support for service intents

Change-Id: Ie090896b70bd6860181a021818fa6514d2e57a3f
(cherry picked from commit 8b028a6564d9e3af07e2424dc71d287550ebede7)

11 years agoMerge "Improve the logic for determining whether the caller is a system app"
Ben Gruver [Thu, 8 Aug 2013 00:09:23 +0000 (00:09 +0000)]
Merge "Improve the logic for determining whether the caller is a system app"

11 years agoDump information about recent input events.
Jeff Brown [Wed, 7 Aug 2013 23:46:50 +0000 (16:46 -0700)]
Dump information about recent input events.

To help track down ANRs, include more information about recent
events in the input dispatcher dumps.

Bug: 9774124
Change-Id: I94732f173d3518c2f4780668d2eb3ee9ae9fcb10

11 years agoDoc Change: Fix 10224981 error in code snippet
Joe Malin [Wed, 7 Aug 2013 23:43:52 +0000 (16:43 -0700)]
Doc Change: Fix 10224981 error in code snippet

Change-Id: Ia8193989b0ab08f5b0888a4d3f6823018b48ab18

11 years agoMerge "Settings, replace files, sorting by size, tweaks."
Jeff Sharkey [Wed, 7 Aug 2013 23:34:44 +0000 (23:34 +0000)]
Merge "Settings, replace files, sorting by size, tweaks."

11 years agoSettings, replace files, sorting by size, tweaks.
Jeff Sharkey [Wed, 7 Aug 2013 23:22:02 +0000 (16:22 -0700)]
Settings, replace files, sorting by size, tweaks.

Add settings to show file sizes and advanced storage devices, both
disabled by default. Add sorting by size when enabled in settings.

Always show all documents, but only allow selection when they match
MIME filter. When creating, select entire filename on focus. When
creating, treat selected documents as replacement targets using that
exact Uri unless display name is changed.

Show available bytes for device roots. Show empty text label in
empty directories. Split grid backend and details into two separate
lines. Fix path label ordering when rendering recent directories.

Change-Id: I44c62e8adb8ca7d4355510a13d1ba975196a2d29

11 years agoMerge "Only destroy remote graphic buffers Bug #9795157"
Romain Guy [Wed, 7 Aug 2013 23:23:46 +0000 (23:23 +0000)]
Merge "Only destroy remote graphic buffers Bug #9795157"

11 years agoIf in a mobile captive portal is detected enable fail fast.
Wink Saville [Wed, 7 Aug 2013 23:22:47 +0000 (16:22 -0700)]
If in a mobile captive portal is detected enable fail fast.

When captive portal checking completes pass back the result.
This is used to enable/disable failing fast for mobile. When
failing fast is enabled we don't check for data stalls and thus
won't be continually trying to do recovery operations, such as
restarting the radio.

Bug: 9462512
Change-Id: I0dea0eee519f8ee7f94e79d40e82c18f30d7fe2e

11 years agoam 9f11f105: am 7f09ec39: Fix issue #10226007: Reset apps restores most of the change...
Dianne Hackborn [Wed, 7 Aug 2013 23:14:11 +0000 (16:14 -0700)]
am 9f11f105: am 7f09ec39: Fix issue #10226007: Reset apps restores most of the changed settings...

* commit '9f11f105cd2983021a73b9aa921674fbff3457f3':
  Fix issue #10226007: Reset apps restores most of the changed settings...

11 years agoam 7f09ec39: Fix issue #10226007: Reset apps restores most of the changed settings...
Dianne Hackborn [Wed, 7 Aug 2013 23:09:14 +0000 (16:09 -0700)]
am 7f09ec39: Fix issue #10226007: Reset apps restores most of the changed settings...

* commit '7f09ec39b6fd7f24751f814649f12ea686cb28d4':
  Fix issue #10226007: Reset apps restores most of the changed settings...

11 years agoMerge "Fix FastScroller regression for non-UI threads"
Alan Viverette [Wed, 7 Aug 2013 22:59:17 +0000 (22:59 +0000)]
Merge "Fix FastScroller regression for non-UI threads"

11 years agoMerge "prototype colour emoji font"
Victoria Lease [Wed, 7 Aug 2013 22:51:22 +0000 (22:51 +0000)]
Merge "prototype colour emoji font"

11 years agoFix issue #10226007: Reset apps restores most of the changed settings...
Dianne Hackborn [Wed, 7 Aug 2013 22:36:08 +0000 (15:36 -0700)]
Fix issue #10226007: Reset apps restores most of the changed settings...

...to original but not all modified ones

Very stupid mistakes in messing up the iteration when pruning op
entries.

Change-Id: Ie536b9095f797fcd2b86c9a386a72746796430d1

11 years agoFix FastScroller regression for non-UI threads
Alan Viverette [Wed, 7 Aug 2013 22:47:04 +0000 (15:47 -0700)]
Fix FastScroller regression for non-UI threads

Previously it was safe to call setFastScrollEnabled() and
setFastScrollAlwaysVisible() off the UI thread. After switching
FastScroller to use an Overlay, these methods stopped working.

This change ensures that all direct interaction with FastScroller
happens on the thread that created the host AbsListView.

BUG: 10210504
Change-Id: Ib6d9bd9212965420c0de39546652e3bc2d32ff8b

11 years agoprototype colour emoji font
Victoria Lease [Wed, 7 Aug 2013 22:43:55 +0000 (15:43 -0700)]
prototype colour emoji font

Bug: 9577689
Change-Id: Ia92460280fa00fc6849cfa8aa41ca06ae5866b4a

11 years agoMerge "Unhide Context.APP_OPS_SERVICE"
David Christie [Wed, 7 Aug 2013 22:44:36 +0000 (22:44 +0000)]
Merge "Unhide Context.APP_OPS_SERVICE"