345275 Commits

Author SHA1 Message Date
Nan Zhang
c3ce78d660 Add offline/online-sdk-docs in Soong.
Since support libraries have been migrated to Soong, these docs modules
currently are ready to be supported in Soong.

Bug: b/70351683
Test: m -j offline-sdk-docs
Change-Id: I8739d94909c7cc830c30fa3d1047d26761cc5076
Merged-In: I8739d94909c7cc830c30fa3d1047d26761cc5076
2018-08-02 12:16:45 -07:00
Makoto Onuki
c02b2ec3f1 Merge "use correct userId when startProcess failed" 2018-08-02 17:22:33 +00:00
Treehugger Robot
058b566f90 Merge "Add @UnsupportedAppUsage annotations" 2018-08-02 15:53:55 +00:00
gaoshiqi
075c81a3e2 use correct userId when startProcess failed
use app.userId

Change-Id: I989289e895d4263823cc68bf5ee1e307334aeafb
Merged-in: I1cbc37fdda8530bee6f1cf1d4d7d16776b4ff55d
Signed-off-by: gaoshiqi <gaoshiqi@xiaomi.com>
2018-08-02 15:33:53 +00:00
Treehugger Robot
f892a8ce9f Merge "Add @UnsupportedAppUsage annotations" 2018-08-02 15:11:40 +00:00
Treehugger Robot
92b78539e3 Merge "Add @UnsupportedAppUsage annotations" 2018-08-02 13:27:00 +00:00
Mathew Inwood
6987a91e7c Merge "Add @UnsupportedAppUsage annotations" 2018-08-02 13:26:45 +00:00
Treehugger Robot
20fcc2eb4c Merge "Add @UnsupportedAppUsage annotations" 2018-08-02 10:36:35 +00:00
Mathew Inwood
3b89584a7e Merge "Add @UnsupportedAppUsage annotations" 2018-08-02 09:02:41 +00:00
Treehugger Robot
95f8ca9f74 Merge "Add @UnsupportedAppUsage annotations" 2018-08-02 09:00:47 +00:00
Hall Liu
2cbf44dc2f Merge "Telecom: Reset the duration after the CDMA call is accepted" 2018-08-01 21:36:56 +00:00
Treehugger Robot
5d669f79f2 Merge "Code formatting change for upcoming annotations." 2018-08-01 14:52:26 +00:00
Mathew Inwood
2845183865 Add @UnsupportedAppUsage annotations
For packages:
  android.ddm

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Change-Id: I9f1ac383f0f71b8c9437756e3d526ee64ad0c558
Merged-In: Ia3e508bf6fbb48ca0fad3dc7b6dc722aac29c191
2018-08-01 15:35:51 +01:00
Mathew Inwood
61beb3399e Add @UnsupportedAppUsage annotations
For packages:
  android.animation

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Change-Id: I6702ce1fb26452971e5eee8da15d5816dd75bb12
Merged-In: If0667154031b254fd632e1332fb65e9b08955755
2018-08-01 14:42:25 +01:00
Mathew Inwood
62992f1bb0 Add @UnsupportedAppUsage annotations
For packages:
  android.accessibilityservice

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Change-Id: Ic677593dc2d206335275ecbad4d4a1020972ef38
Merged-In: I9437532ae617eda28aa5ae796563e985cc0ddbca
2018-08-01 14:28:00 +01:00
Mathew Inwood
45321deeef Add @UnsupportedAppUsage annotations
For packages:
  com.android.ims.internal.uce.uceservice
  com.android.ims.internal.uce.presence
  com.android.ims.internal.uce.options
  com.android.ims.internal.uce.common
  com.android.ims.internal
  com.android.ims

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Change-Id: I9e39973bf43a80f17038f7e239a94ef2209e6e2a
Merged-In: Ib1819d4d15e730c0f224b45fb72f3225b0dddf91
2018-08-01 14:07:13 +01:00
Mathew Inwood
c092f2317b Code formatting change for upcoming annotations.
Putting /** @hide */ on the same line results in the automated annotation
addition putting the annotation the previous line, which then results in
the @hide javadoc annotation being ignored (since it's now no longer
strictly before the method declaration).

Bug: 110868826
Test: m
Change-Id: I1b5c290a17ead46effd2f2ff3f4b33884efbc116
2018-08-01 13:52:03 +01:00
Treehugger Robot
60c8cfdd0f Merge "Code reformatting for upcoming annotations." 2018-08-01 12:18:10 +00:00
Mathew Inwood
efb481646e Code reformatting for upcoming annotations.
@UnsupportedAppUsage annotations are added automatically, but this does
not work when there are multiple definitions on the same line.

Test: m
Bug: 110868826
Change-Id: I2c26c136cdfa557e45cf1ee0b39dab9c17abde56
2018-08-01 10:24:49 +01:00
Mathew Inwood
35ba945c50 Merge "Add @UnsupportedAppUsage annotations" 2018-08-01 08:49:18 +00:00
Treehugger Robot
ea77ee39f5 Merge "Change the "since" arguments generation." 2018-07-31 23:47:44 +00:00
Nathan Harold
cec3f1fafb Merge "Pass SdkVersion to getNeighboringCellInfo" 2018-07-31 20:28:59 +00:00
Nathan Harold
e1d140619f Merge "Count and Report Bandwidth Requests by UID" 2018-07-31 18:13:21 +00:00
Mathew Inwood
e8c8d5ebab Add @UnsupportedAppUsage annotations
For packages:
  android.printservice.recommendation
  android.printservice
  android.print.pdf
  android.print

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Change-Id: Id5e5af10a0406db44046c68a4ea659feaf899ec7
Merged-In: I97fb9c95dad2f93a8e989f3f48f323e9f76eaf31
2018-07-31 17:28:39 +01:00
Mathew Inwood
1961e1ef8c Add @UnsupportedAppUsage annotations
For packages:
  android.nfc.tech
  android.nfc.dta
  android.nfc.cardemulation
  android.nfc

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Merged-In: I6176e760bb0912fd075a36d65fa0b49680c14aa3
Change-Id: I2da62ff82b75ba4a5a0a64d02c6ebdb101992765
2018-07-31 16:08:26 +01:00
Mathew Inwood
9ebe36c305 Add @UnsupportedAppUsage annotations
For packages:
  android.graphics
  android.graphics.drawable
  android.graphics.drawable.shapes
  android.graphics.fonts
  android.graphics.pdf

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Merged-In: I7fc1162d2c63df8751a4660607e8ce72070efed8
Change-Id: I5d7739d2d1fc7bb12ee059bcc2a9ac9017ca35fb
2018-07-31 14:36:52 +01:00
Luke Huang
b6b8516ba0 Merge "Idletimer-related commands porting" 2018-07-31 08:11:54 +00:00
Mengjun Leng
2570774338 Telecom: Reset the duration after the CDMA call is accepted
In android original design, the duration of CDMA MO call is started from
the dial command sent, so it is not the real duration of the active time.

In this patch, a new message is registered to listen the event of the call
accepted, and then reset the duration when the event happens.

Change-Id: Icc447012030ae243f200ec2c83b7d5210af9b31c
2018-07-31 14:14:22 +08:00
Luke Huang
a62d0498c1 Idletimer-related commands porting
Test: runtest frameworks-net passes
Test: manual testing of idletimer works
Change-Id: I63e20aa3861e613b0970be30a70d0972d7e33d8c
2018-07-31 06:08:05 +00:00
Nathan Harold
fd45e5fee8 Count and Report Bandwidth Requests by UID
To debug power drain due to modem wakeups,
one of the signals we'd like to track is
requests for bandwidth estimate to see which
apps are making requests and how often. This
patch keeps a simple count per-UID when an
app requests a bandwidth update, and that
count is made available in dumpsys.

Bug: 77498849
Test: runtest frameworks-net
Change-Id: I30d2ce85f9fa6747030cf4039d1080113a32e386
2018-07-31 02:37:38 +00:00
Nathan Harold
3892d05850 Pass SdkVersion to getNeighboringCellInfo
Bug: 62490173
Test: tested manually with SL4A (P and P+ SDK)
Change-Id: I65bae72ab8379f996486e7f4326eddf1b305658a
2018-07-30 17:19:59 -07:00
Treehugger Robot
c14a4be799 Merge "Have proper permission check in getConfigForSubId" 2018-07-30 19:49:20 +00:00
Malcolm Chen
6cc64f7244 Have proper permission check in getConfigForSubId
In CarrierConfigManager, add pass context in constructor, so that
when calling CarrierConfigLoader#getConfigForSubId, it can pass
callingPackage.

Bug: 73136824
Test: regression
Change-Id: I4bbff4ea30e2d5473c14d24d6833bf3ca3c595ec
Merged-In: I4bbff4ea30e2d5473c14d24d6833bf3ca3c595ec
2018-07-28 01:41:06 +00:00
Mathew Inwood
8452828b5b Add @UnsupportedAppUsage annotations
For packages:
  android.view.animation

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Change-Id: I52f3e770dd1e8240e67c897e7788bd928145f583
Merged-In: I773bda19dc7b32c01bf064bf78b517896e8df991
2018-07-27 16:06:00 +01:00
Treehugger Robot
527c79d96d Merge "Increase network request timeouts" 2018-07-27 11:56:31 +00:00
Remi NGUYEN VAN
0cbdca3e20 Merge "Increase IpClientTest verification timeout" 2018-07-27 08:08:16 +00:00
Remi NGUYEN VAN
4cb8062e34 Increase network request timeouts
With recent performance degradations on apct, the current timeouts are
too short and some requests trigger onUnavailable() before networks are
validated.

Test: runtest -x ConnectivityServiceTest.java
Bug: b/111778226
Change-Id: I083f529787f108065637a0aff3e5bb88e05e6510
2018-07-27 15:37:13 +09:00
Remi NGUYEN VAN
3fbbe73437 Merge "Use timeout consts in all ConnService tests" 2018-07-27 05:50:35 +00:00
Remi NGUYEN VAN
01a34ac642 Increase IpClientTest verification timeout
apct runs have become significantly slower, which makes some of these
tests flaky. Increase the timeout as a first measure to avoid flakes.

Bug: b/111819270
Test: runtest -x IpClientTest.java
Change-Id: Ifb0091377f311b67ba3a4f9324ce1e8cfb421ea3
2018-07-27 12:52:28 +09:00
Remi NGUYEN VAN
a7376ac0f7 Use timeout consts in all ConnService tests
Fix some timeouts that were forgotten in parent CL.

Bug: b/111778226
Test: runtest --no-hidden-api-checks -x ConnectivityServiceTest.java
Change-Id: Ib848eaba8c69c07ac596aa4386a741c9a2a87fc9
2018-07-27 11:47:25 +09:00
Treehugger Robot
17977d897e Merge "Skip from copying preopted files if device is undecrypted" 2018-07-27 01:00:00 +00:00
Treehugger Robot
6dfabc4353 Merge "Remove references to full_classes_proguard_jar" 2018-07-26 23:13:15 +00:00
Hall Liu
b91316f203 Merge "Add carrier config for auto redialing 911" 2018-07-26 20:22:03 +00:00
Mathieu Chartier
eff814e768 Merge "Update system server profile" 2018-07-26 19:45:37 +00:00
Colin Cross
0695063833 Remove references to full_classes_proguard_jar
We always use R8 instead of proguard now, which shrinks while converting
to dex, so there is is no proguarded classes jar.  Use
full_classes_pre_proguard_jar instead.

Bug: 111885749
Test: m checkbuild
Change-Id: Ia0c35d9068b72573ae5970dc7e2c2b1b489b32f3
2018-07-26 12:37:22 -07:00
Mathew Inwood
32979f03fe Merge "Remove class2greylist from frameworks/base." 2018-07-26 17:43:28 +00:00
Calin Juravle
73b38f94e7 Update system server profile
The previous profile contained only a few methods and classes
due to an error during processing.

(cherry-picked from commit 0161eaf5666fbb523b68dc77b965b96a0fab8cdd)

Test: build & flash & boot
Bug: 111820715

Merged-In: I4caac335941e2cc84c153652c5206fefdc03596b
Change-Id: I4caac335941e2cc84c153652c5206fefdc03596b
2018-07-26 10:28:18 -07:00
Mathew Inwood
f364aedecb Remove class2greylist from frameworks/base.
It's moving to a new home under art/tools, since it is needed by
branches which don't include frameworks/base.

Bug: 110868826
Test: Build master-art branch
Change-Id: Ice8324db52ae1e7e2ac6734e45874a66de935c9a
2018-07-26 15:57:05 +01:00
Olivier Gaillard
3134def524 Merge "Enable generating Binder#getTransactionName method." 2018-07-26 13:04:32 +00:00
Olivier Gaillard
b0ea421351 Enable generating Binder#getTransactionName method.
Test: manual
Bug: 111791983
Change-Id: I68090e6fa5a7876b1e878d0b97807856e3053b36
2018-07-26 11:58:42 +01:00