OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "WifiEnterpriseConfig: Refactor set/get field values" am: c4856bd73c
Roshan Pius [Wed, 7 Sep 2016 16:00:36 +0000 (16:00 +0000)]
Merge "WifiEnterpriseConfig: Refactor set/get field values" am: c4856bd73c
am: 655ae32d57

Change-Id: I2c5652450f774ed7841763898be7e3850af111a9

7 years agoMerge "WifiEnterpriseConfig: Refactor set/get field values"
Roshan Pius [Wed, 7 Sep 2016 15:55:32 +0000 (15:55 +0000)]
Merge "WifiEnterpriseConfig: Refactor set/get field values"
am: c4856bd73c

Change-Id: Id78dd9286f755f4cd1a9057f42972b8bfdc5caa9

7 years agoMerge "WifiEnterpriseConfig: Refactor set/get field values"
Roshan Pius [Wed, 7 Sep 2016 15:47:39 +0000 (15:47 +0000)]
Merge "WifiEnterpriseConfig: Refactor set/get field values"

7 years agoMerge "java.security.cert.X509CRL: add new method verify(PublicKey, Provider)" am...
Sergio Giro [Wed, 7 Sep 2016 12:28:09 +0000 (12:28 +0000)]
Merge "java.security.cert.X509CRL: add new method verify(PublicKey, Provider)" am: 12d3d4bbba
am: 6c753ca336

Change-Id: I3f6c8546ff116fbfcf11c0c0f5b168f56503e22f

7 years agoMerge "java.security.PKCS12Attribute: port class from jdk8u60" am: 6767fd28b1
Sergio Giro [Wed, 7 Sep 2016 12:28:00 +0000 (12:28 +0000)]
Merge "java.security.PKCS12Attribute: port class from jdk8u60" am: 6767fd28b1
am: 52e0434748

Change-Id: I4e631cb3d354b2bba2dd0ced239edf60588d12a3

7 years agoMerge "java.security.SecureRandom: add getInstanceStrong() method" am: 4c2df18a4d
Sergio Giro [Wed, 7 Sep 2016 12:27:54 +0000 (12:27 +0000)]
Merge "java.security.SecureRandom: add getInstanceStrong() method" am: 4c2df18a4d
am: 09a2121d5d

Change-Id: I8e2002564fbdc2aea638538bb8954e44d882900e

7 years agoMerge "java.security: port DomainLoadStoreParameter from jdk8u60" am: 59c0fcf0c8
Sergio Giro [Wed, 7 Sep 2016 12:23:41 +0000 (12:23 +0000)]
Merge "java.security: port DomainLoadStoreParameter from jdk8u60" am: 59c0fcf0c8
am: 290f2bb2a0

Change-Id: I0030e50dc05e88979d50e73feeb778c79ece47fc

7 years agoMerge "java.security.cert.X509CRL: add new method verify(PublicKey, Provider)"
Sergio Giro [Wed, 7 Sep 2016 12:21:36 +0000 (12:21 +0000)]
Merge "java.security.cert.X509CRL: add new method verify(PublicKey, Provider)"
am: 12d3d4bbba

Change-Id: I27e64111dc18e052884b3b571f93a17c9d5f663c

7 years agoMerge "java.security.PKCS12Attribute: port class from jdk8u60"
Sergio Giro [Wed, 7 Sep 2016 12:21:17 +0000 (12:21 +0000)]
Merge "java.security.PKCS12Attribute: port class from jdk8u60"
am: 6767fd28b1

Change-Id: Ib80d6ae24734def58881a4536b232870fb885015

7 years agoMerge "java.security.SecureRandom: add getInstanceStrong() method"
Sergio Giro [Wed, 7 Sep 2016 12:20:49 +0000 (12:20 +0000)]
Merge "java.security.SecureRandom: add getInstanceStrong() method"
am: 4c2df18a4d

Change-Id: I5faf9c49a7d09e8eef38edd6cf32de4f65783e5d

7 years agoMerge "java.security: port DomainLoadStoreParameter from jdk8u60"
Sergio Giro [Wed, 7 Sep 2016 12:14:47 +0000 (12:14 +0000)]
Merge "java.security: port DomainLoadStoreParameter from jdk8u60"
am: 59c0fcf0c8

Change-Id: I8fd7dc636a579c67c4b9851f4babae30e19a2024

7 years agoMerge "java.security.cert.X509CRL: add new method verify(PublicKey, Provider)"
Sergio Giro [Wed, 7 Sep 2016 12:08:27 +0000 (12:08 +0000)]
Merge "java.security.cert.X509CRL: add new method verify(PublicKey, Provider)"

7 years agoMerge "java.security.PKCS12Attribute: port class from jdk8u60"
Sergio Giro [Wed, 7 Sep 2016 12:07:13 +0000 (12:07 +0000)]
Merge "java.security.PKCS12Attribute: port class from jdk8u60"

7 years agoMerge "java.security.SecureRandom: add getInstanceStrong() method"
Sergio Giro [Wed, 7 Sep 2016 12:05:35 +0000 (12:05 +0000)]
Merge "java.security.SecureRandom: add getInstanceStrong() method"

7 years agoMerge "java.security: port DomainLoadStoreParameter from jdk8u60"
Sergio Giro [Wed, 7 Sep 2016 12:04:20 +0000 (12:04 +0000)]
Merge "java.security: port DomainLoadStoreParameter from jdk8u60"

7 years agoMerge "Add a test app for suppressed exceptions" am: 15c6078f4d
Yohann Roussel [Wed, 7 Sep 2016 10:08:16 +0000 (10:08 +0000)]
Merge "Add a test app for suppressed exceptions" am: 15c6078f4d
am: 166ab31073

Change-Id: Icff43af8769359b3cc97653182831466a02b0c8f

7 years agoMerge "Add a test app for suppressed exceptions"
Yohann Roussel [Wed, 7 Sep 2016 10:03:08 +0000 (10:03 +0000)]
Merge "Add a test app for suppressed exceptions"
am: 15c6078f4d

Change-Id: I45692cdf5081fe848935075d861fad11e68d19ba

7 years agoMerge "Add a test app for suppressed exceptions"
Yohann Roussel [Wed, 7 Sep 2016 09:52:49 +0000 (09:52 +0000)]
Merge "Add a test app for suppressed exceptions"

7 years agoMerge changes from topic 'enable_nan' am: 62419a0138
Etan Cohen [Wed, 7 Sep 2016 04:40:27 +0000 (04:40 +0000)]
Merge changes from topic 'enable_nan' am: 62419a0138
am: 20d6e886a7

Change-Id: I57da3187f0373aa45b8bac0786c34e80c87cef6c

7 years agoGive WakeupMessage the ability to transport an object as well. [DO NOT MERGE] am...
Lorenzo Colitti [Wed, 7 Sep 2016 04:33:24 +0000 (04:33 +0000)]
Give WakeupMessage the ability to transport an object as well. [DO NOT MERGE] am: 4171cdf303  -s ours
am: 8b8bef622a  -s ours

Change-Id: Id410b4653b3314766eac6b185577cc7708e0823b

7 years agoMerge changes from topic 'enable_nan'
Etan Cohen [Wed, 7 Sep 2016 04:33:23 +0000 (04:33 +0000)]
Merge changes from topic 'enable_nan'
am: 62419a0138

Change-Id: I98abd87843ed3f2fde6c5b1fe1234563e03e0216

7 years ago[NAN] Add transport type for NAN. [DO NOT MERGE] am: bd9fdbe022 -s ours
Etan Cohen [Wed, 7 Sep 2016 04:33:21 +0000 (04:33 +0000)]
[NAN] Add transport type for NAN. [DO NOT MERGE] am: bd9fdbe022  -s ours
am: e3efe944fd  -s ours

Change-Id: I439ed5ac5b70f6e693a441d8b6000f208351a3f7

7 years agoGive WakeupMessage the ability to transport an object as well. [DO NOT MERGE]
Lorenzo Colitti [Wed, 7 Sep 2016 04:28:21 +0000 (04:28 +0000)]
Give WakeupMessage the ability to transport an object as well. [DO NOT MERGE]
am: 4171cdf303  -s ours

Change-Id: I2d3f4c4b11ba2a39649c7747fbe1cee1ff16f198

7 years ago[NAN] Add transport type for NAN. [DO NOT MERGE]
Etan Cohen [Wed, 7 Sep 2016 04:27:28 +0000 (04:27 +0000)]
[NAN] Add transport type for NAN. [DO NOT MERGE]
am: bd9fdbe022  -s ours

Change-Id: I5b313eda3f872b9938b0092d4fc197e5af8ac8b7

7 years agoMerge changes from topic 'enable_nan'
Etan Cohen [Wed, 7 Sep 2016 04:19:51 +0000 (04:19 +0000)]
Merge changes from topic 'enable_nan'

* changes:
  Give WakeupMessage the ability to transport an object as well. [DO NOT MERGE]
  [NAN] Add transport type for NAN. [DO NOT MERGE]

7 years agoMerge "WifiConfiguration: Fix isEnterprise" am: 9221c96ae0
Roshan Pius [Tue, 6 Sep 2016 23:12:01 +0000 (23:12 +0000)]
Merge "WifiConfiguration: Fix isEnterprise" am: 9221c96ae0
am: e597198f12

Change-Id: I3a1f7808a4ce44f96753cb875ff914985151b208

7 years agoMerge "WifiConfiguration: Fix isEnterprise"
Roshan Pius [Tue, 6 Sep 2016 23:02:10 +0000 (23:02 +0000)]
Merge "WifiConfiguration: Fix isEnterprise"
am: 9221c96ae0

Change-Id: I439205f4db4bfc292f084ea716014d64353c2885

7 years agoGive WakeupMessage the ability to transport an object as well. [DO NOT MERGE]
Lorenzo Colitti [Tue, 7 Jun 2016 07:27:10 +0000 (16:27 +0900)]
Give WakeupMessage the ability to transport an object as well. [DO NOT MERGE]

(cherry-pick of commit eab17da5882e59caff25c73aa6bcd0587aca9dd4)

Bug: 23113288
Change-Id: Ic98e3bcb3ea8b0b28a309bd647fb4178311c46a3

7 years ago[NAN] Add transport type for NAN. [DO NOT MERGE]
Etan Cohen [Mon, 20 Jun 2016 16:27:12 +0000 (09:27 -0700)]
[NAN] Add transport type for NAN. [DO NOT MERGE]

Add TRANSPORT_WIFI_NAN - specifies a peer-to-peer Wi-Fi NAN data
connectivity request.

While NAN uses Wi-Fi L1 PHY and part of the MAC - it is a different
protocol and constitutes a different transport.

(cherry-pick of commit 7b84987a6acf2f0a950c334a17a6ee085db3ba4f)

Bug: 26564277
Change-Id: I975ebc72d8f97a592d18038b3d6465b7a40efa75

7 years agoMerge "WifiConfiguration: Fix isEnterprise"
Treehugger Robot [Tue, 6 Sep 2016 22:51:42 +0000 (22:51 +0000)]
Merge "WifiConfiguration: Fix isEnterprise"

7 years agoMerge "Avoid profile guided compilation for vmSafeMode" am: a817838e8b
Mathieu Chartier [Tue, 6 Sep 2016 22:38:18 +0000 (22:38 +0000)]
Merge "Avoid profile guided compilation for vmSafeMode" am: a817838e8b
am: 7554be1e36

Change-Id: I4d34ab801e08034c7d54818cc0f313efa88edf69

7 years agoMerge "Avoid profile guided compilation for vmSafeMode"
Mathieu Chartier [Tue, 6 Sep 2016 22:30:34 +0000 (22:30 +0000)]
Merge "Avoid profile guided compilation for vmSafeMode"
am: a817838e8b

Change-Id: I5e761bb08c72ed2700cec752caba5a6b02b02015

7 years agoMerge "Avoid profile guided compilation for vmSafeMode"
Mathieu Chartier [Tue, 6 Sep 2016 22:19:03 +0000 (22:19 +0000)]
Merge "Avoid profile guided compilation for vmSafeMode"

7 years agoMerge "fixes mStartedUsers shoule be locked by mLock, not mVolumes" am: 1cd6248012
yuanhuihui [Tue, 6 Sep 2016 21:42:46 +0000 (21:42 +0000)]
Merge "fixes mStartedUsers shoule be locked by mLock, not mVolumes" am: 1cd6248012
am: 130cb9232a

Change-Id: Ia3d8581e5641e2da8a5d84222edb81829edbc6d0

7 years agoMerge "Merge changes from topic 'cherry_pms_installd' am: 421c74f8e7 am: 0bb64f1b3e...
Android Build Merger (Role) [Tue, 6 Sep 2016 21:34:02 +0000 (21:34 +0000)]
Merge "Merge changes from topic 'cherry_pms_installd' am: 421c74f8e7 am: 0bb64f1b3e" into nyc-dev-plus-aosp

7 years agoMerge "Release mPackages lock earlier am: 94f9be2ee2 am: 2ee7053cfc" into nyc-dev...
Android Build Merger (Role) [Tue, 6 Sep 2016 21:33:37 +0000 (21:33 +0000)]
Merge "Release mPackages lock earlier am: 94f9be2ee2 am: 2ee7053cfc" into nyc-dev-plus-aosp

7 years agoMerge "OtaDexopt: Special-case system app classpaths am: 3f95d0bb6a am: 6c22810fb3...
Android Build Merger (Role) [Tue, 6 Sep 2016 21:33:28 +0000 (21:33 +0000)]
Merge "OtaDexopt: Special-case system app classpaths am: 3f95d0bb6a am: 6c22810fb3" into nyc-dev-plus-aosp

7 years agoMerge "OtaDexoptService: Run dexopt on all apps am: 14186731f9 am: 4775ba500c" into...
Android Build Merger (Role) [Tue, 6 Sep 2016 21:33:20 +0000 (21:33 +0000)]
Merge "OtaDexoptService: Run dexopt on all apps am: 14186731f9 am: 4775ba500c" into nyc-dev-plus-aosp

7 years agoMerge "Merge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug...
Android Build Merger (Role) [Tue, 6 Sep 2016 21:33:15 +0000 (21:33 +0000)]
Merge "Merge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238" into nyc-dev am: d2273e433c" into nyc-dev-plus-aosp

7 years agoMerge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238...
Android Build Merger (Role) [Tue, 6 Sep 2016 21:33:09 +0000 (21:33 +0000)]
Merge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238 am: 1e4bc15f31" into nyc-dev-plus-aosp

7 years agoMerge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238...
Sreevani Sreejith [Tue, 6 Sep 2016 21:32:34 +0000 (21:32 +0000)]
Merge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238" into nyc-dev
am: d2273e433c

Change-Id: Ic3d176da7b7c6e213793ddabc8f409d65942389b

7 years agodocs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238
sreevanis [Tue, 6 Sep 2016 21:32:25 +0000 (21:32 +0000)]
docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238
am: 1e4bc15f31

Change-Id: I9c4fb48ed1d0a853acd657b0c08ae1de85078fb1

7 years agoMerge changes from topic 'cherry_pms_installd' am: 421c74f8e7
Andreas Gampe [Tue, 6 Sep 2016 21:32:03 +0000 (21:32 +0000)]
Merge changes from topic 'cherry_pms_installd' am: 421c74f8e7
am: 0bb64f1b3e

Change-Id: I93d809446e316aa9c8c126e10229b09005f24ac3

7 years agoRelease mPackages lock earlier am: 94f9be2ee2
Todd Kennedy [Tue, 6 Sep 2016 21:31:56 +0000 (21:31 +0000)]
Release mPackages lock earlier am: 94f9be2ee2
am: 2ee7053cfc

Change-Id: If18e59f7a4575f88d0f196b0a4fbe869644392a7

7 years agoOtaDexopt: Special-case system app classpaths am: 3f95d0bb6a
Andreas Gampe [Tue, 6 Sep 2016 21:31:43 +0000 (21:31 +0000)]
OtaDexopt: Special-case system app classpaths am: 3f95d0bb6a
am: 6c22810fb3

Change-Id: Id9b936123e43c0ced3f1ab4f4aab629b707562a1

7 years agoOtaDexoptService: Run dexopt on all apps am: 14186731f9
Andreas Gampe [Tue, 6 Sep 2016 21:31:29 +0000 (21:31 +0000)]
OtaDexoptService: Run dexopt on all apps am: 14186731f9
am: 4775ba500c

Change-Id: Ib35dd0b8a268a1f9f3e5f9739a5f2eaaa320ef39

7 years agoFrameworks/base: Add compiler stats to Package Manager am: 7e619a912c
Andreas Gampe [Tue, 6 Sep 2016 21:31:18 +0000 (21:31 +0000)]
Frameworks/base: Add compiler stats to Package Manager am: 7e619a912c
am: 723bbd880a

Change-Id: Ia02fbf2770aaf4186633421a6c11aa0b95dd8f64

7 years ago[RFC] Special case system apps for profile optimizations am: 08313b0d95
Calin Juravle [Tue, 6 Sep 2016 21:25:44 +0000 (21:25 +0000)]
[RFC] Special case system apps for profile optimizations am: 08313b0d95
am: 788e111cba

Change-Id: I8466811b44b623e23117d6554e69cc80e2c4485f

7 years agoCompile core-apps according to their own "reason" for A/B am: 9438528d99
Calin Juravle [Tue, 6 Sep 2016 21:25:40 +0000 (21:25 +0000)]
Compile core-apps according to their own "reason" for A/B am: 9438528d99
am: 54a3247073

Change-Id: I9a95c7e64379757a00373f54521e035ff920ebe7

7 years agoFrameworks/base: Add new flow to OtaDexoptService am: d15300cf38
Andreas Gampe [Tue, 6 Sep 2016 21:25:36 +0000 (21:25 +0000)]
Frameworks/base: Add new flow to OtaDexoptService am: d15300cf38
am: 32a092adf3

Change-Id: I7a49f0732cf24c2a86f798c6725a664e93092d7b

7 years agoOtadexopt: Expose progress percentage am: ff8ab4c9fa
Andreas Gampe [Tue, 6 Sep 2016 21:25:32 +0000 (21:25 +0000)]
Otadexopt: Expose progress percentage am: ff8ab4c9fa
am: 630a372a1d

Change-Id: I25937bf6a90076b37c5c322ccc8335fef3a9e6ee

7 years agocp preopted files from B partition during PM init. am: 2b6fc4c92d
Alex Light [Tue, 6 Sep 2016 21:25:28 +0000 (21:25 +0000)]
cp preopted files from B partition during PM init. am: 2b6fc4c92d
am: 0b89b352d4

Change-Id: I7da5e74d61dd82c177bf4ca2a87085317e9973f5

7 years agoMerge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238...
Sreevani Sreejith [Tue, 6 Sep 2016 21:24:31 +0000 (21:24 +0000)]
Merge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238" into nyc-dev

7 years agoMerge "fixes mStartedUsers shoule be locked by mLock, not mVolumes"
yuanhuihui [Tue, 6 Sep 2016 21:15:46 +0000 (21:15 +0000)]
Merge "fixes mStartedUsers shoule be locked by mLock, not mVolumes"
am: 1cd6248012

Change-Id: Ie1d930f8925431641932bf1c4c94df9e57ffefc5

7 years agoMerge changes from topic 'cherry_pms_installd'
Andreas Gampe [Tue, 6 Sep 2016 21:15:42 +0000 (21:15 +0000)]
Merge changes from topic 'cherry_pms_installd'
am: 421c74f8e7

Change-Id: Ie69459a637f38cb1d9cf51f9069851fb75232264

7 years agoRelease mPackages lock earlier
Todd Kennedy [Tue, 6 Sep 2016 21:15:40 +0000 (21:15 +0000)]
Release mPackages lock earlier
am: 94f9be2ee2

Change-Id: I461f9588d34413705ee54d410b0d55936b699a04

7 years agoOtaDexopt: Special-case system app classpaths
Andreas Gampe [Tue, 6 Sep 2016 21:15:34 +0000 (21:15 +0000)]
OtaDexopt: Special-case system app classpaths
am: 3f95d0bb6a

Change-Id: Ia12705715f2638c0733192cd3324fbc05bd5d420

7 years agoOtaDexoptService: Run dexopt on all apps
Andreas Gampe [Tue, 6 Sep 2016 21:15:29 +0000 (21:15 +0000)]
OtaDexoptService: Run dexopt on all apps
am: 14186731f9

Change-Id: I6f53fc0acaa8f5413ac70488e4bd9938a3253cbf

7 years agoFrameworks/base: Add compiler stats to Package Manager
Andreas Gampe [Tue, 6 Sep 2016 21:15:23 +0000 (21:15 +0000)]
Frameworks/base: Add compiler stats to Package Manager
am: 7e619a912c

Change-Id: I4784db13f78d130c75277ece8313e1e638c11698

7 years ago[RFC] Special case system apps for profile optimizations
Calin Juravle [Tue, 6 Sep 2016 21:15:17 +0000 (21:15 +0000)]
[RFC] Special case system apps for profile optimizations
am: 08313b0d95

Change-Id: I4a44215cf5f9b7bcb3bcf131c7404fbb407d00d1

7 years agoCompile core-apps according to their own "reason" for A/B
Calin Juravle [Tue, 6 Sep 2016 21:15:09 +0000 (21:15 +0000)]
Compile core-apps according to their own "reason" for A/B
am: 9438528d99

Change-Id: Iba85d525810252b34bc862017b9ffe578f27fc93

7 years agoFrameworks/base: Add new flow to OtaDexoptService
Andreas Gampe [Tue, 6 Sep 2016 21:15:01 +0000 (21:15 +0000)]
Frameworks/base: Add new flow to OtaDexoptService
am: d15300cf38

Change-Id: I74f9938dc74c19ee0ef220ab3b50daa1085edea2

7 years agoOtadexopt: Expose progress percentage
Andreas Gampe [Tue, 6 Sep 2016 21:14:53 +0000 (21:14 +0000)]
Otadexopt: Expose progress percentage
am: ff8ab4c9fa

Change-Id: I2c7e91842d0975505c6b2e701c087b598d08e6cc

7 years agocp preopted files from B partition during PM init.
Alex Light [Tue, 6 Sep 2016 21:14:43 +0000 (21:14 +0000)]
cp preopted files from B partition during PM init.
am: 2b6fc4c92d

Change-Id: I97015c4a43d08d4420a745b09875eee467b85a1f

7 years agoMerge "fixes mStartedUsers shoule be locked by mLock, not mVolumes"
Treehugger Robot [Tue, 6 Sep 2016 21:09:05 +0000 (21:09 +0000)]
Merge "fixes mStartedUsers shoule be locked by mLock, not mVolumes"

7 years agoMerge changes from topic 'cherry_pms_installd'
Andreas Gampe [Tue, 6 Sep 2016 21:02:53 +0000 (21:02 +0000)]
Merge changes from topic 'cherry_pms_installd'

* changes:
  Release mPackages lock earlier
  OtaDexopt: Special-case system app classpaths
  OtaDexoptService: Run dexopt on all apps
  Frameworks/base: Add compiler stats to Package Manager
  [RFC] Special case system apps for profile optimizations
  Compile core-apps according to their own "reason" for A/B
  Frameworks/base: Add new flow to OtaDexoptService
  Otadexopt: Expose progress percentage
  cp preopted files from B partition during PM init.

7 years agoUpdate #jd-content to #body-content for DevSite layout changes.
Amanda Kassay [Tue, 6 Sep 2016 19:11:46 +0000 (19:11 +0000)]
Update #jd-content to #body-content for DevSite layout changes.
am: b5887e68c3

Change-Id: I60e4832cd02a7af89812d5c947f494c372785b6b

7 years agoDoc change: remove useUpdatedTemplates script and sections using old templates.
Dirk Dougherty [Tue, 6 Sep 2016 18:13:16 +0000 (18:13 +0000)]
Doc change: remove useUpdatedTemplates script and sections using old templates.
am: 9ac575abc3

Change-Id: If9123b0d0438d78982b73cbec08aebe28f2ae1c6

7 years agoremove 'useUpdatedTemplates' flag that's no longer supported. Fix build.
smain@google.com [Tue, 6 Sep 2016 18:13:01 +0000 (18:13 +0000)]
remove 'useUpdatedTemplates' flag that's no longer supported. Fix build.
am: 7dd9749246

Change-Id: I112bec6d8618a116c8abab0751849e12253e298c

7 years agoMerge "Remove obsolete collections and extras metadata files. Authors should use...
Dirk Dougherty [Tue, 6 Sep 2016 18:12:47 +0000 (18:12 +0000)]
Merge "Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead..." into nyc-dev
am: 460b9c08e6

Change-Id: Ia27c81a8cfef0ec21024a0f3ce51fa3f2077ea85

7 years agoRemove obsolete collections and extras metadata files. Authors should use jd_extras_...
Dirk Dougherty [Tue, 6 Sep 2016 18:12:34 +0000 (18:12 +0000)]
Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead...
am: 169f86ce7a

Change-Id: Ib75e44a6fe22d03ebcd830d7bc3f67426d73c29e

7 years agoMerge "switch all API builds to use template-sdk instead of (soon to be deleted)...
Scott Main [Tue, 6 Sep 2016 18:12:10 +0000 (18:12 +0000)]
Merge "switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build." into nyc-dev
am: 915b566ef0

Change-Id: I83064c8948b326c449989e98ee46ff27b83a7723

7 years agoswitch all API builds to use template-sdk instead of (soon to be deleted) templates...
smain@google.com [Tue, 6 Sep 2016 18:08:10 +0000 (18:08 +0000)]
switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build.
am: 534bfe1a4a

Change-Id: Ie221252d7cc058d118ac53f3c74ea9c62a077536

7 years agoExclude sdk files from metadata.
Dirk Dougherty [Tue, 6 Sep 2016 18:05:16 +0000 (18:05 +0000)]
Exclude sdk files from metadata.
am: 355f33a1d9

Change-Id: I7c6d2729d9ed75ffabc9573d5cc41ab78ed445c3

7 years agodocs: Typo fix in multi-window docs
Andrew Solovay [Tue, 6 Sep 2016 18:05:11 +0000 (18:05 +0000)]
docs: Typo fix in multi-window docs
am: 0b423e5eae

Change-Id: I747405c7c80041146e8a5e6498fed621f562f1d5

7 years agoMerge "docs: Fixing formatting problem" into nyc-dev
Andrew Solovay [Tue, 6 Sep 2016 17:58:37 +0000 (17:58 +0000)]
Merge "docs: Fixing formatting problem" into nyc-dev
am: 9499478c80

Change-Id: I8f2a92bf08e4d88058a96d6c13bd161a713fb7af

7 years agodocs: Fixing formatting problem
Andrew Solovay [Tue, 6 Sep 2016 17:58:32 +0000 (17:58 +0000)]
docs: Fixing formatting problem
am: 6f29c2091c

Change-Id: I814eb616c3a98fc2055b71516821f6f5eb135c18

7 years agodocs: fixing gpu debugger redirect b/31227713
Cheryl Potter [Tue, 6 Sep 2016 17:58:27 +0000 (17:58 +0000)]
docs: fixing gpu debugger redirect b/31227713
am: 780395fd85

Change-Id: I84404c9f7f87cb58469303d19f7c79ba0046c3a4

7 years agodocs: Add redirects for new help buttons (Create Java Class, GPU Debugger, more)...
Cheryl Potter [Tue, 6 Sep 2016 17:58:21 +0000 (17:58 +0000)]
docs: Add redirects for new help buttons (Create Java Class, GPU Debugger, more) b/31158856 b/31157097 b/31158502
am: 3f2d7d8e22

Change-Id: Ie1d374d1cab6668693fd58c3e3a04a850b437326

7 years agoMerge "Properly close fd backing a MemoryIntArray" into nyc-dev
Svetoslav Ganov [Tue, 6 Sep 2016 17:58:16 +0000 (17:58 +0000)]
Merge "Properly close fd backing a MemoryIntArray" into nyc-dev
am: 84763eb770

Change-Id: Id9a7cdb2a844f00b0c65068f647a37466fc11898

7 years agoProperly close fd backing a MemoryIntArray
Svetoslav Ganov [Tue, 6 Sep 2016 17:58:12 +0000 (17:58 +0000)]
Properly close fd backing a MemoryIntArray
am: e257d6e167

Change-Id: I72d1c9b911dcfa32fb6174844a9a3940add9e3a7

7 years agoMerge "replace the N Preview landing page with the redirect to the package index...
Scott Main [Tue, 6 Sep 2016 17:58:06 +0000 (17:58 +0000)]
Merge "replace the N Preview landing page with the redirect to the package index also update version metadata (no longer preview, now 7.0)" into nyc-dev
am: a06f40bd05

Change-Id: I37328242938a91a6c5c9ce40fccd6adf8da7811e

7 years agoMerge "resolve merge conflicts of dde8deb to nyc-dev-plus-aosp" into nyc-dev-plus...
Scott Main [Tue, 6 Sep 2016 17:53:05 +0000 (17:53 +0000)]
Merge "resolve merge conflicts of dde8deb to nyc-dev-plus-aosp" into nyc-dev-plus-aosp

7 years agoRelease mPackages lock earlier
Todd Kennedy [Thu, 18 Aug 2016 18:22:52 +0000 (11:22 -0700)]
Release mPackages lock earlier

We cannot hold mPackages when calling into generatePackageDexopts().
This method takes Package Manager's mInstallLock. By holding mPackages,
we have lock inversion and hilarity ensues.

Change-Id: Ia11a158677051e3511702f38cde6780e75b256fb
Fixes: 30927731
(cherry picked from commit a8d4f489974f3ea8f73990cbabbce205343fb926)

7 years agoOtaDexopt: Special-case system app classpaths
Andreas Gampe [Tue, 2 Aug 2016 05:08:26 +0000 (22:08 -0700)]
OtaDexopt: Special-case system app classpaths

Specialize system apps' shared libraries so that classpath checks
are elided.

Bug: 30568568
Change-Id: Id1f2555ef43984b616e01f8596701ccba77895b3
(cherry picked from commit c7e02c1d2a53e0f738d2a8383e03658b39d91ce6)

7 years agoOtaDexoptService: Run dexopt on all apps
Andreas Gampe [Thu, 28 Jul 2016 23:54:41 +0000 (16:54 -0700)]
OtaDexoptService: Run dexopt on all apps

To avoid work after reboot, dexopt all apps. However, unimportant
apps are optimized with the first-boot reason (which is usually
interpret-only) for space reasons.

Bug: 30468718
Change-Id: Ia05d879957388967c69f9380e50d8a9834afe07d
(cherry picked from commit 115514b236ebe7cb3c90892891954b8c7ba69335)

7 years agoFrameworks/base: Add compiler stats to Package Manager
Andreas Gampe [Wed, 13 Jul 2016 05:42:41 +0000 (22:42 -0700)]
Frameworks/base: Add compiler stats to Package Manager

Add a simple class for storing compiler statistics. Capture compile
times for code paths from a package.

Bug: 29223204
Change-Id: I1b066de6a83a739470a42480eee0bfef88423eea
(cherry picked from commit 37e5fdc6b4963f3533caecdd92b129f79da69dd8)

7 years ago[RFC] Special case system apps for profile optimizations
Calin Juravle [Tue, 12 Jul 2016 14:56:41 +0000 (15:56 +0100)]
[RFC] Special case system apps for profile optimizations

If the OTA updates a system app which was previously preopted to a non-
preopted state the app might end up being verified at runtime. That's
because by default the apps are verify-profile but for preopted apps
there's no profile.

Do a hacky check to ensure that if we have no profiles (a reasonable
indication that before the OTA the app was preopted) system apps get
compiled with a non-profile filter (by default interpret-only).

Bug: 30032273
Test: Andreas "has verified that Calin's change to A/B works as expected
and promotes things like SystemUI to speed. From my side, that's
ready to be merged"

Change-Id: I7a052a8ea76cab7f649dc993237ea05534d6c4b9
(cherry picked from commit 0bd776207999ccba17e5adb163710bd7b16ac907)

7 years agoCompile core-apps according to their own "reason" for A/B
Calin Juravle [Tue, 12 Jul 2016 12:56:34 +0000 (13:56 +0100)]
Compile core-apps according to their own "reason" for A/B

If the core apps are not preopted in the B OTA, and REASON_AB_OTA is not
speed (by default is speed-profile) they will be interepreted/JITed.
This in itself is not a problem as we will end up doing profile guided
compilation. However, some core apps may be loaded by system server
which doesn't JIT and we need to make sure we don't interpret-only.

Bug: 30032273
Change-Id: Idb11b1c01c4c4ceba043feb3a9ccc6958035d3b7
(cherry picked from commit 565621328dd4fc2e179a34494d0f8b8dc1b1eae9)

7 years agoFrameworks/base: Add new flow to OtaDexoptService
Andreas Gampe [Fri, 24 Jun 2016 03:27:12 +0000 (20:27 -0700)]
Frameworks/base: Add new flow to OtaDexoptService

Add functionality to capture/intercept installd communication, and
use this to return the full communication for dexopt. These parameters
can be used to drive otapreopt_chroot directly.

Keep the old direct invocation alive until devices have transitioned
to a service that exposes this API.

In preparation for renaming of A/B OTA artifacts to include target
slot names.

Bug: 25612095
Bug: 28069686
Change-Id: I14728ee1266f3882cada8f08dd21891ed5f7a0cb
(cherry picked from commit cc241a580cb9b753d0dde0cea578feb74ad517e7)

7 years agoOtadexopt: Expose progress percentage
Andreas Gampe [Fri, 10 Jun 2016 22:21:39 +0000 (15:21 -0700)]
Otadexopt: Expose progress percentage

To be able to report progress of an A/B OTA dexopt, expose a
progress function that the script can query.

Bug: 25612095
Bug: 29223204
Change-Id: Ie8162946d18f6fa78649a40ad5d3949d31a181cd
(cherry picked from commit bf06232f4d440ced8230662a77ca0e8ece6383ca)

7 years agodocs: Added functional and UI quality criteria for Wear 2.0 apps.
sreevanis [Tue, 30 Aug 2016 17:02:43 +0000 (10:02 -0700)]
docs: Added functional and UI quality criteria for Wear 2.0 apps.
Bug:30951238

Change-Id: I5cbfac60716415d87f049ae2313fed7bfa214e28

7 years agoUpdate #jd-content to #body-content for DevSite layout changes.
Amanda Kassay [Tue, 6 Sep 2016 16:57:36 +0000 (12:57 -0400)]
Update #jd-content to #body-content for DevSite layout changes.

Change-Id: I57c43a9b05a2bd072c54bf53e8428015edf0a90e

7 years agoWifiConfiguration: Fix isEnterprise
Roshan Pius [Tue, 6 Sep 2016 17:13:40 +0000 (10:13 -0700)]
WifiConfiguration: Fix isEnterprise

Add a check for the eap method in Enterpriseconfig associated with the
WifiConfiguration.

BUG: 31275240
Change-Id: I21aabb09bdd21e29a80d4b9c6ea0e2b1f0d7e2df

7 years agoWifiEnterpriseConfig: Refactor set/get field values
Roshan Pius [Fri, 2 Sep 2016 18:05:17 +0000 (11:05 -0700)]
WifiEnterpriseConfig: Refactor set/get field values

WifiEnterpriseConfig has a few keys which are generated internally
have unquoted values. However, the public setFieldValue() always quotes
the value when set.  So, this causes a problem when restoring
these field values from config store. Since this is an internal
disctinction that only WifiEnterpriseConfig understands, add a list to
check if a particular field value needs to be quoted or not. Also,
remove any direct "mFields.put" invocations with |setFieldValue|.

While there,
Refactor the existing |setFieldValue| & |getFieldValue| methods.

BUG: 31246524
TEST: Unit tests
TEST: Integrated with config store and verified that a previous TLS EAP
connection failure is no longer seen.

Change-Id: Ib85f3bce378720a6a6c2ae1439837a8e866a088d

7 years agocp preopted files from B partition during PM init.
Alex Light [Thu, 23 Jun 2016 00:56:37 +0000 (17:56 -0700)]
cp preopted files from B partition during PM init.

This allows us to save space on the system partition while still
having access to the preopted files.

We do this on first boot when the "ro.cp_system_other_odex" property
is set to 1. We do this during package manager initialization before
scanning the system to see which apks need to be optimized again.

Note that a separate script, run by init, is actually responsible for
finding and copying the files. We simply request that it runs.

Bug: 29278988

Change-Id: I8d7c790ad35b32a0ce1d87939f043419bae4d88a
(cherry picked from commit 3dafee6c1820bf0946bab04b290c5a757112d3e7)

7 years agojava.security.cert.X509CRL: add new method verify(PublicKey, Provider)
Sergio Giro [Tue, 6 Sep 2016 13:09:41 +0000 (14:09 +0100)]
java.security.cert.X509CRL: add new method verify(PublicKey, Provider)

New method introduced in Java 8. This method has a "default" implementation
in order to avoid breaking providers who construct concrete subclasses.

Unfortunately this implementation always results in an infinite loop, and
has thus been changed by an UnsupportedMethodOperation, with a TODO note
as to improve the situation if possible.

java/security/cert/X509CRL: add "default" method
sun/security/x509/X509CRLImpl: add declaration for that particular
implementation

Also, cosmetic changes like:
- use of @code tags instead of <code>
- use of static fields using the class name instead of instance name

This completes the port of this package to jdk8u60.

Bug: 29631070
Bug: 31294527
Test: make droid docs; old-cts run cts --class libcore.java.security.cert.X509CRLTest
Change-Id: Iccdfa3625a9ff2e7b808c22bce59ff75ae903e8a

7 years agofixes mStartedUsers shoule be locked by mLock, not mVolumes
yuanhuihui [Wed, 13 Jul 2016 13:21:03 +0000 (21:21 +0800)]
fixes mStartedUsers shoule be locked by mLock, not mVolumes

when create/delete multiple user, plug/unplug externel storage(such as sdcard) at the same time.
multiple threads run concurrency , the newly created user can not get state of externel storage.

https://code.google.com/p/android/issues/detail?id=215901

Change-Id: I097f5291108af89a430e12045376065d71d48175
Signed-off-by: yuanhuihui <yuanhuihui@xiaomi.com>
7 years agoMerge "Updated user document for Single-Source RenderScript" am: f7c508ae09
Yang Ni [Sat, 3 Sep 2016 06:38:05 +0000 (06:38 +0000)]
Merge "Updated user document for Single-Source RenderScript" am: f7c508ae09
am: e80df238c0

Change-Id: Ic4247d1a914f71b759484137e406ac7c930ac670

7 years agoMerge "Updated user document for Single-Source RenderScript"
Yang Ni [Sat, 3 Sep 2016 06:33:10 +0000 (06:33 +0000)]
Merge "Updated user document for Single-Source RenderScript"
am: f7c508ae09

Change-Id: Icd465aaf7bbd534f61863714b726d3afafaebd3f