OSDN Git Service
Treehugger Robot [Thu, 3 Jan 2019 20:51:22 +0000 (20:51 +0000)]
Merge "Update sound/vibrate notification key only when it actually buzz/beep."
Julia Reynolds [Thu, 3 Jan 2019 19:43:36 +0000 (19:43 +0000)]
Merge "Check if notification is valid before it finally vibrates because it can be canceled as soon as enqeued"
Treehugger Robot [Wed, 2 Jan 2019 23:48:35 +0000 (23:48 +0000)]
Merge "Fix/suppress services/core google-explicit-constructor warnings"
Treehugger Robot [Wed, 2 Jan 2019 22:49:30 +0000 (22:49 +0000)]
Merge "Fix @NonNull -> Nullable for Intent.replaceExtras()."
Chih-Hung Hsieh [Thu, 20 Dec 2018 21:51:59 +0000 (13:51 -0800)]
Fix/suppress services/core google-explicit-constructor warnings
* Add explicit to conversion constructors/operators
Bug:
28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: Id2493c1e248e774042dc67f39ada6bb3a4521d0c
Treehugger Robot [Wed, 2 Jan 2019 21:51:19 +0000 (21:51 +0000)]
Merge "[LayoutInflater] Cleanup - remove some nesting"
Chih-hung Hsieh [Wed, 2 Jan 2019 19:34:29 +0000 (19:34 +0000)]
Merge "Fix/suppress bootanimation google-explicit-constructor warnings"
Treehugger Robot [Wed, 2 Jan 2019 19:19:00 +0000 (19:19 +0000)]
Merge "[view-compiler] Better namespacing of util functions"
Eric Holk [Wed, 2 Jan 2019 19:11:24 +0000 (11:11 -0800)]
[LayoutInflater] Cleanup - remove some nesting
The parseInclude method had some deep nesting that could be improved by
rearranging things a little.
Test: atest android.view.cts.LayoutInflaterTest
Change-Id: I2ee13c2ee80bcb220371d39a5a6da6044cfa245c
Eric Holk [Thu, 13 Dec 2018 21:23:43 +0000 (13:23 -0800)]
[view-compiler] Better namespacing of util functions
This moves some helper functions into our own namespace to avoid conflicting
with other util.h files.
Bug:
111895153
Change-Id: I2b4c77732a97b34a8528d69867c15ed802686703
Treehugger Robot [Wed, 2 Jan 2019 15:43:40 +0000 (15:43 +0000)]
Merge "[view compiler] Re-enable host-side tests"
Mathew Inwood [Wed, 2 Jan 2019 12:30:32 +0000 (12:30 +0000)]
Merge "Limit access to suspected false positives."
Chih-Hung Hsieh [Thu, 20 Dec 2018 21:39:40 +0000 (13:39 -0800)]
Fix/suppress bootanimation google-explicit-constructor warnings
* Add explicit to conversion constructors/operators
Bug:
28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: Ia6ada49250973d507ae8b10d8f0d7c2d47ee805c
Shuo Qian [Fri, 28 Dec 2018 20:59:16 +0000 (20:59 +0000)]
Merge "Do not use default to get TelephonyManager"
Shuo Qian [Fri, 28 Dec 2018 20:14:44 +0000 (20:14 +0000)]
Merge "Add Emergency Dial into RIL and Remove PhoneNumberUtils Ecclist check"
sqian [Sat, 15 Dec 2018 05:47:49 +0000 (21:47 -0800)]
Do not use default to get TelephonyManager
Bug:
112657134
Test: Manual
Change-Id: I4ffe5e3284478a6337136dbc79ec5eed72013cc4
Merged-In: I4ffe5e3284478a6337136dbc79ec5eed72013cc4
(cherry picked from commit
b0ae02b6464b3bd7f49ef68ae16ac0660ea169d9)
sqian [Mon, 10 Dec 2018 22:29:06 +0000 (14:29 -0800)]
Add Emergency Dial into RIL and Remove PhoneNumberUtils Ecclist check
Bug:
112657134
Test: Treehugger
Change-Id: I297334be370688fd9a9d46920a09152f57152039
Merged-In: I297334be370688fd9a9d46920a09152f57152039
(cherry picked from commit
6279e97c43f80012cc3a5a6f269506fb55a165e3)
Shuo Qian [Fri, 28 Dec 2018 18:07:23 +0000 (18:07 +0000)]
Merge "EmergencyNumber enhancement"
Mathew Inwood [Thu, 20 Dec 2018 15:30:45 +0000 (15:30 +0000)]
Limit access to suspected false positives.
Members modified herein are suspected to be false positives: i.e. things
that were added to the greylist in P, but subsequent data analysis
suggests that they are not, in fact, used after all.
Add a maxTargetSdk=P to these APIs. This is lower-risk that simply
removing these things from the greylist, as none of out data sources are
perfect nor complete.
For APIs that are not supported yet by annotations, move them to
hiddenapi-greylist-max-p.txt instead which has the same effect.
Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.
Bug:
115609023
Test: m
Change-Id: Ia937d8c41512e7f1b6e7f67b9104c1878b5cc3a0
Merged-In: I020a9c09672ebcae64c5357abc4993e07e744687
sqian [Thu, 27 Dec 2018 22:12:11 +0000 (14:12 -0800)]
EmergencyNumber enhancement
1) Add Database source for EmergencyNumber
2) add mergeEmergencyNumber for merging two emergency numbers
3) enable Listener.EmergencyNumber enhancement
4) no need to pass any parameter to PhoneNotifier
5) modify API documentation
6) deprecate PhoneNumberUtils.isEmergencyNumber
7) modify API documentation for security exception and backward
compatibility
9) introduce some utils in EmergencyNumber for merging number purposes
10) add mnc into EmergencyNumber
Bug:
112657134
Test: Treehugger
Change-Id: I0dcd01bdad7d9c37294cd8b87eda54b4ac9d0a0b
Merged-In: I0dcd01bdad7d9c37294cd8b87eda54b4ac9d0a0b
(cherry picked from commit
9f93a12e1f2548fa49c9220c092ddeaff9d76962)
Shuo Qian [Thu, 27 Dec 2018 22:03:45 +0000 (22:03 +0000)]
Merge "Add Emergency service categories in ImsCallProfile"
Shuo Qian [Thu, 27 Dec 2018 21:58:00 +0000 (21:58 +0000)]
Merge "Make some SubscriptionManager APIs system APIs"
Treehugger Robot [Thu, 27 Dec 2018 19:44:28 +0000 (19:44 +0000)]
Merge "Update api/current.txt for setuid deprecation"
Treehugger Robot [Thu, 27 Dec 2018 01:58:05 +0000 (01:58 +0000)]
Merge "Adding check for HMAC/EC key size for StrongBox"
Nathan Harold [Thu, 27 Dec 2018 01:44:14 +0000 (01:44 +0000)]
Merge "Fix BSIC Check in CellIdentityGsm"
Nathan Harold [Thu, 27 Dec 2018 01:14:25 +0000 (17:14 -0800)]
Fix BSIC Check in CellIdentityGsm
Because Java uses signed bytes, a comparison between
a byte and 0xFF will always fail after integer
promotion. Fix this by forcing 0xFF to be treated as
a byte for comparison.
Bug:
119224773
Test: fixes build breakage
Change-Id: I9615667a6b442060f1d43084d56bc9c3fdb3ba35
Nathan Harold [Wed, 26 Dec 2018 23:07:53 +0000 (23:07 +0000)]
Merge "Refactor CellInfo Constructors"
Nathan Harold [Mon, 10 Dec 2018 21:39:40 +0000 (13:39 -0800)]
Refactor CellInfo Constructors
Bug:
119224773
Test: atest FrameworksTelephonyTests
Change-Id: Ibf56797b5be2508656409a3437ff79210334bfd6
Jordan Liu [Wed, 26 Dec 2018 16:16:02 +0000 (16:16 +0000)]
Merge "Add UiccCardInfo APIs"
Remi NGUYEN VAN [Wed, 26 Dec 2018 07:16:28 +0000 (07:16 +0000)]
Merge "Start NetworkStack on system server start"
Remi NGUYEN VAN [Tue, 18 Dec 2018 09:24:26 +0000 (18:24 +0900)]
Start NetworkStack on system server start
The network stack will host updatable network components that are being
moved from the system server.
Test: flashed, booted
Bug: b/
112869080
Change-Id: I63f98405b69615e7077aed374b8f34a84fb1e4b2
Remi NGUYEN VAN [Wed, 26 Dec 2018 00:48:25 +0000 (00:48 +0000)]
Merge "Add NetworkStack app"
Chalard Jean [Tue, 25 Dec 2018 10:55:10 +0000 (10:55 +0000)]
Merge "[PT17] Small cleanup of PacManager"
Chiachang Wang [Tue, 25 Dec 2018 03:08:01 +0000 (03:08 +0000)]
Merge "Refactor logic in the enter() of WaitingForNextProbeState"
Remi NGUYEN VAN [Fri, 7 Dec 2018 07:52:24 +0000 (16:52 +0900)]
Add NetworkStack app
The app is not started yet, and does not contain any service for now.
Test: built, booted
Bug: b/
112869080
Change-Id: Id5a0fd02c891100e85d86b1040e53beec3581950
Chiachang Wang [Mon, 24 Dec 2018 03:05:52 +0000 (11:05 +0800)]
Refactor logic in the enter() of WaitingForNextProbeState
For clarity, factoring logic in enter() out to a function.
Bug:
120014928
Test: atest FrameworksNetTests
Change-Id: Ib215594686fb08f8382178e8ada0b57f0e4a0590
Tobias Thierer [Sun, 23 Dec 2018 14:25:58 +0000 (14:25 +0000)]
Fix @NonNull -> Nullable for Intent.replaceExtras().
extras == null is documented to result in all extras being
erased, and the implementation handles it correctly. The
@NonNull annotation on Bundle extras is therefore wrong.
This CL replaces it with the correct annotation, @Nullable.
The incorrect annotation was introduced in April 2017
(commit
30e06bb668f2e4b024c4ebc2a131de91c96de5eb). I've
looked through the other changes to Intent.java in that
commit but have found no further nullability annotation
errors.
Bug:
121438778
Test: Treehugger
Test: Looked through the other nullability annotations on
Intent.java introduced by the same commit
30e06bb668f2e4b024c4ebc2a131de91c96de5eb (Apr 2017)
but found no further errors.
Change-Id: Iebbe17abc5c97146533e82114fbaf1d7036fd03a
Nathan Harold [Sat, 22 Dec 2018 00:38:05 +0000 (00:38 +0000)]
Merge "Refactor SignalStrength"
Eric Holk [Sat, 22 Dec 2018 00:10:49 +0000 (16:10 -0800)]
[view compiler] Re-enable host-side tests
TEST_MAPPING supports both host and device tests now, so we should run both.
Test: atest
Bug:
111895153
Change-Id: I48f26093fc0ae3cdaa9e5295375945b5a519e1c2
Jordan Liu [Fri, 21 Dec 2018 21:55:07 +0000 (21:55 +0000)]
Merge "SubscriptionInfo contains int cardId"
Chih-hung Hsieh [Fri, 21 Dec 2018 16:35:19 +0000 (16:35 +0000)]
Merge "Fix/suppress statsd google-explicit-constructor warnings"
Chih-hung Hsieh [Fri, 21 Dec 2018 16:30:12 +0000 (16:30 +0000)]
Merge "Fix/suppress incident* google-explicit-constructor warnings"
Chih-hung Hsieh [Fri, 21 Dec 2018 16:29:55 +0000 (16:29 +0000)]
Merge "Fix/suppress pipeline google-explicit-constructor warnings"
Seungho Lee [Wed, 31 Oct 2018 12:49:09 +0000 (21:49 +0900)]
Check if notification is valid before it finally vibrates because it can be canceled as soon as enqeued
Test: Build and run StatusBarTest/_NotifyBuilder
Test: Set notification sound and vibration
Test: Make notification with + button, and cancel it with - button quickly
TEst: Check notification not vibrating
Change-Id: Ia21f45c165f863ed4143da3707b492c89e58387c
Merged-In: Ia21f45c165f863ed4143da3707b492c89e58387c
Signed-off-by: Seungho Lee <shiny.lee@samsung.com>
Paul Hu [Fri, 21 Dec 2018 15:21:03 +0000 (15:21 +0000)]
Merge "Unhide LinkProperties, NetworkCapabilities, NetworkRequest APIs"
Seungho Lee [Sun, 9 Dec 2018 10:27:36 +0000 (19:27 +0900)]
Update sound/vibrate notification key only when it actually buzz/beep.
Test: Make notification with vibration pattern with [0]
Test: Check mVibrateNotificationKey unchanged
Change-Id: I208797f370ac5a30db5fcc316be956335a418319
Merged-In: I208797f370ac5a30db5fcc316be956335a418319
Orion Hodson [Fri, 21 Dec 2018 10:01:44 +0000 (10:01 +0000)]
Merge "Remove dependency on libnativehelper/JniConstants.h"
Junyu Lai [Fri, 21 Dec 2018 09:56:39 +0000 (09:56 +0000)]
Merge "Deprecate NetworkInfo"
Treehugger Robot [Fri, 21 Dec 2018 05:53:36 +0000 (05:53 +0000)]
Merge "Fix/suppress startop google-explicit-constructor warnings"
Treehugger Robot [Fri, 21 Dec 2018 05:42:36 +0000 (05:42 +0000)]
Merge "Fix/suppress renderthread google-explicit-constructor warnings"
Treehugger Robot [Fri, 21 Dec 2018 03:56:21 +0000 (03:56 +0000)]
Merge "whitelist pri permission for carrierconfig app"
Chen Xu [Fri, 21 Dec 2018 03:52:16 +0000 (03:52 +0000)]
Merge "new SystemAPI for preciseCallState and DisconnectCause"
Jack Yu [Fri, 21 Dec 2018 02:29:43 +0000 (02:29 +0000)]
Merge "Moved data settings to phone"
Calvin Pan [Fri, 21 Dec 2018 01:31:44 +0000 (01:31 +0000)]
Merge "Public SIM_APN_URI uri and deprecated mcc, mnc, mvno_type, mvno_data"
Treehugger Robot [Fri, 21 Dec 2018 01:26:17 +0000 (01:26 +0000)]
Merge "Fix/suppress core/jni google-explicit-constructor warnings"
chen xu [Sun, 2 Dec 2018 00:59:23 +0000 (16:59 -0800)]
whitelist pri permission for carrierconfig app
Bug:
121350842
Test: Build
Change-Id: If804e18265a917e841d6afc1b7a450321cc1cc77
Xiangyu/Malcolm Chen [Fri, 21 Dec 2018 00:05:17 +0000 (00:05 +0000)]
Merge "Add APIs to indicate which subscriptions should be hidden from user"
Xiangyu/Malcolm Chen [Fri, 21 Dec 2018 00:04:57 +0000 (00:04 +0000)]
Merge changes from topic "
118349116"
* changes:
Fix broken building offline-sdk-docs.
Add APIs to remove sub from a group and get subs in the same gorup.
Chih-Hung Hsieh [Thu, 20 Dec 2018 21:48:57 +0000 (13:48 -0800)]
Fix/suppress pipeline google-explicit-constructor warnings
* Add explicit to conversion constructors/operators
Bug:
28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: Iadeb6cf7ba65d646ec131e567b3ef90c3a699885
Rob Barnes [Thu, 20 Dec 2018 23:33:25 +0000 (23:33 +0000)]
Merge "Changed uid output parameter from an int array to a list of strings."
Jack Yu [Thu, 13 Dec 2018 21:37:48 +0000 (13:37 -0800)]
Moved data settings to phone
Since there are multiple DcTrackers, but we only have
one set of data settings. So we need to move them from
DcTracker to Phone.
Test: Telephony sanity tests + unit tests
Bug:
73659459
Merged-In: Ica24b708beb63156937e88198a4c915485771b0a
Change-Id: Ica24b708beb63156937e88198a4c915485771b0a
(cherry picked from commit
335860e44f6c7d040646be9d50c862b9c6488dec)
Chih-Hung Hsieh [Thu, 20 Dec 2018 21:42:28 +0000 (13:42 -0800)]
Fix/suppress statsd google-explicit-constructor warnings
* Add explicit to conversion constructors/operators
* Remove redundant explicit of copy constructors
Bug:
28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: Ifd0ca9a1afe4a2cb0456a36c69bee1633af5a93a
Chih-Hung Hsieh [Thu, 20 Dec 2018 21:55:20 +0000 (13:55 -0800)]
Fix/suppress renderthread google-explicit-constructor warnings
* Add explicit to conversion constructors/operators
* Use NOLINT or NOLINTNEXTLINE to suppress warnings on intended converters
Bug:
28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: Ib7d634bf1e0e9a1dda35b0a1d92de4d460193296
Treehugger Robot [Thu, 20 Dec 2018 22:45:18 +0000 (22:45 +0000)]
Merge changes from topic "fw_container"
* changes:
DO NOT MERGE Set ContainerLayer for buffer-less surface
DO NOT MERGE: WM: Restrict SC Builder to set a single surface type
Implement construction of container layers
Treehugger Robot [Thu, 20 Dec 2018 22:05:58 +0000 (22:05 +0000)]
Merge "Statsd: Enable host_supported for libstatslog"
Nathan Harold [Tue, 20 Nov 2018 02:09:40 +0000 (18:09 -0800)]
Refactor SignalStrength
Refactor SignalStrength as a container of
individual CellSignalStrength objects for each
radio technology.
-Change SignalStrength to contain CellSignalStrength
rather than individual measurements.
-Change the constructors for SignalStrength to take
CellSignalStrength objects.
-Consolidate all the logic for calculating the getLevel()
function to CellSignalStrength.
-Store the level value in SignalStrengths rather than
compute it on the fly when needed.
-Add a few missing functions needed by SignalStrength:
-CellSignalStrengthCdma#getEvdoAsuLevel()
-CellSignalStrengthTdscdma#getRscp()
-Convert CellSignalStrength classes to take actual values
instead of ASU values.
Bug:
25984037
Test: atest SignalStrengthTest
Change-Id: I302e7a8c6f68559dc69a3138061eec739ee7561f
Chih-Hung Hsieh [Thu, 20 Dec 2018 21:53:28 +0000 (13:53 -0800)]
Fix/suppress startop google-explicit-constructor warnings
* Add explicit to conversion constructors/operators
Bug:
28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: I9e7b929cfa65c68f4cdb4710c1c5c6760d56e4d5
Chih-Hung Hsieh [Thu, 20 Dec 2018 21:45:04 +0000 (13:45 -0800)]
Fix/suppress incident* google-explicit-constructor warnings
* Add explicit to conversion constructors/operators
* Remove redundant explicit of copy constructors
Bug:
28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: I26a11bb798d25605577269ed340e97afc8566960
Chih-Hung Hsieh [Thu, 20 Dec 2018 21:43:46 +0000 (13:43 -0800)]
Fix/suppress core/jni google-explicit-constructor warnings
* Add explicit to conversion constructors/operators
Bug:
28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: I15ac3511154b652402c5a21a22ff0c306d806d84
chen xu [Thu, 13 Dec 2018 03:59:30 +0000 (19:59 -0800)]
new SystemAPI for preciseCallState and DisconnectCause
1. decouple disconnectCause and preciseDisconnectCuase from
preciseCallState.
2. expose preciseCallState to SystemAPI and expose
onPreciseCallStateChanged to System API
3. remove/hide ImsReasonInfo from PreciseDisconnectCuase
4. expose DiconnectCuase and PreciseDisconnectCause to System API
5. new onDisconnectCauseChanged API on PhoneStateListener for CS call
and use ImsCallSessionListener for IMS call(imsreasonInfo)
6. add read_precise_phone_state to shell apk to enable GTS test
Bug:
119890559
Test: atest GtsGmscoreHostTestCases:TelephonyHostTest#testPhoneStateListener
Change-Id: If9256feff16b6bcaef1dfe194c2b0df2a48436b0
(cherry picked from commit
6a942d488af3356fe84b0cef396e613d8d74101e)
Merged-in: If9256feff16b6bcaef1dfe194c2b0df2a48436b0
Treehugger Robot [Thu, 20 Dec 2018 18:32:42 +0000 (18:32 +0000)]
Merge "Adds vishnun to owners files for wm/am"
Orion Hodson [Wed, 21 Nov 2018 10:59:19 +0000 (10:59 +0000)]
Remove dependency on libnativehelper/JniConstants.h
Remove unused references to JniConstants.h.
Add jclass value caching in SharedMemory and StrictJarFile as present
for other classes here.
Lightly tidy up JNI code touched.
Bug:
119840313
Test: atest cts/tests/tests/os
Test: tests/tests/util/src/android/util/cts/StrictJarFileTest.java
Change-Id: I0be0fecdd9c7f9dd32cf588ed79060f0ce268588
David Brazdil [Thu, 20 Dec 2018 13:36:34 +0000 (13:36 +0000)]
Merge "Annotate two non-SDK methods known to be used by apps"
David Brazdil [Thu, 20 Dec 2018 09:32:11 +0000 (09:32 +0000)]
Annotate two non-SDK methods known to be used by apps
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug:
121237128
Bug:
120783643
Test: m appcompat
Change-Id: Ib7a8bdf3151290aa8a5ca85dc8650612432f0d59
vichang [Thu, 20 Dec 2018 11:37:55 +0000 (11:37 +0000)]
Merge "Use ICU in libandroidicu"
Jiyong Park [Thu, 20 Dec 2018 09:40:29 +0000 (09:40 +0000)]
Merge "Show version for APEXes"
Chalard Jean [Mon, 11 Jun 2018 07:58:52 +0000 (16:58 +0900)]
[PT17] Small cleanup of PacManager
Test: runtest
Change-Id: I94a10cbae7f2d87bd8a68ae4f9972a728f4942c3
Jack He [Thu, 20 Dec 2018 08:42:31 +0000 (00:42 -0800)]
Statsd: Enable host_supported for libstatslog
* libutils must be used as a static library when compiled on host
* Host does not have Android system properties and hence we cannot
use <cutils/properties.h>. In fact, properties.cpp is not even
compiled on host for libcutils. Therefore, this CL adds a check
for __ANDROID__ macro before including <sys/propoerties.h> and
before calling properties_get_bool()
* On host, statsd logging will be disabled since host does not
use statsd for anything
Fixes:
121294178
Test: test drive statsd
Change-Id: I838ff02468c650c5f7d85e68fa5008b98f08ce8c
junyulai [Thu, 13 Dec 2018 04:47:51 +0000 (12:47 +0800)]
Deprecate NetworkInfo
Currently NetworkInfo is used by Apps to get information of
network. However, to get such information, Apps need to poll
NetworkInfo frequently from ConnectivityService.
In order to increase the stability and reduce the maintain
effort, all functionalities provided by NetworkInfo are targeted
to be replaced or removed entirely.
Apps should use ConnectivityManager.NetworkCallback instead, to
get faster and more detailed updates from connectivity changes.
Or, apps could use getNetworkCapabilities or getLinkProperties
to get information synchronously, but should not mix the
callbacks and synchronous methods together.
Bug:
113629330
Test: atest FrameworksNetTests
Change-Id: Ie8faf620958c3fa0a4a2f233b35b825de0e99ffc
David Brazdil [Thu, 20 Dec 2018 08:25:22 +0000 (08:25 +0000)]
Merge "Revert "[framework] Compile secondary dex files in isolation""
David Brazdil [Tue, 18 Dec 2018 13:43:55 +0000 (13:43 +0000)]
Revert "[framework] Compile secondary dex files in isolation"
This reverts commit
8a5a708df18c2377c7ec3cb03d406bdc9cb99bd6.
ART does not compile secondary dex files in the user process
any more. The original issue of a large overhead of providing
a class loader context is therefore not relevant any more and
we can start passing the context to installd.
Note that this also partially reverts commit
6dba50d63375b6738c6e1ad8a8758f181d295d8b which restricted
visibility of methods in PackageDexUsage. The commit also
removed data collection for unsupported class loaders. The
logic in PackageDexOptimizer was adjusted accordingly.
Bug:
64530081
Bug:
111174995
Test: manual
Change-Id: Id78b5a6d8841b199c12a63a8d45d12efbcc32275
Mathew Inwood [Thu, 20 Dec 2018 07:48:25 +0000 (07:48 +0000)]
Merge "Include annotation property values in output."
Mathew Inwood [Fri, 23 Nov 2018 14:57:28 +0000 (14:57 +0000)]
Include annotation property values in output.
When editing annotations, we want the ability *not* to overwrite any
existing annotation properties already in place. Include any properties
set on the annotation in the output, so that the edit_annotations script
can know that they're there.
The annotation properties are encoded like URL query parameters for
convenience; it makes them easy to encode here & subsequently decode on
the other side (in Python).
Test: m framework-annotation-proc & inspect output.
(cherry picked from commit
bd7077065c211f49b090aa4250b53b58461adfd9)
Merged-In: I71fb1215ad2790751be336b4955c163bb323a4a6
Change-Id: I0b33e2b379076346ce258d93a9225a9143b7d91a
calvinpan [Fri, 7 Dec 2018 12:03:48 +0000 (20:03 +0800)]
Public SIM_APN_URI uri and deprecated mcc, mnc, mvno_type, mvno_data
Deprecated legacy mno and mvno columns to support carrier id and public
the SIM_APN_URI to provide app more simplier query current SIM's APN.
Bug:
120031619
Test: Build pass.
Change-Id: Ie06dfc55248b871c45ff3274de17d6eafd82d846
Chen Xu [Thu, 20 Dec 2018 07:06:58 +0000 (07:06 +0000)]
Merge "refactor dataFailCause"
chen xu [Tue, 18 Dec 2018 02:43:29 +0000 (18:43 -0800)]
refactor dataFailCause
1. add comments for each data fail cause.
2. refactor dataFailCause from enum to int
Bug:
119891533
Test: Build & unit test
Change-Id: Ic453f80a3d0ccd22c6c4c1f4b2c90e2bf40cfbe1
(cherry picked from commit
3016167192d301380120b4eb47cd051200c8b5b8)
Merged-in: Ic453f80a3d0ccd22c6c4c1f4b2c90e2bf40cfbe1
Malcolm Chen [Thu, 6 Dec 2018 19:19:03 +0000 (11:19 -0800)]
Add APIs to indicate which subscriptions should be hidden from user
Bug:
120573892
Test: manual
Change-Id: I46b20241b71fef2938d7340fcf0b02173d83ed87
Merged-In: I46b20241b71fef2938d7340fcf0b02173d83ed87
Malcolm Chen [Wed, 12 Dec 2018 18:29:16 +0000 (10:29 -0800)]
Fix broken building offline-sdk-docs.
TelephonyManager#hasCarrierPrivileges(int) is hidden API so it
shouldn't be referenced in public API descriptions.
Bug:
120622105
Test: none
Change-Id: Ia6b6ec2c16b824b8eb092920089cb77cdc54bfb7
Merged-In: Ia6b6ec2c16b824b8eb092920089cb77cdc54bfb7
Malcolm Chen [Tue, 4 Dec 2018 04:29:33 +0000 (20:29 -0800)]
Add APIs to remove sub from a group and get subs in the same gorup.
Add APIs in SubscriptionController so that caller with permissions
can remove subscriptions from a group or get all subscriptions with
the same group.
Bug:
118349116
Test: unittest
Change-Id: Iba4d31b437b372b3f41a6ed23f03b96a685a324c
Merged-In: Iba4d31b437b372b3f41a6ed23f03b96a685a324c
Vishnu Nair [Thu, 20 Dec 2018 01:13:09 +0000 (17:13 -0800)]
Adds vishnun to owners files for wm/am
Test: n/a
Bug: n/a
Change-Id: Ie17a280d8f4435490b039a8c95f65cd78a8d6cd1
Jordan Liu [Wed, 28 Nov 2018 20:25:28 +0000 (12:25 -0800)]
SubscriptionInfo contains int cardId
We rename the old "String cardId" field to "String cardString". The new
int cardId refers to the publically exposed cardId.
Also deprecate the few-arg constructor. Its okay to use in existing
cases which don't care about the extra arguments (certain tests and
transient SubscriptionInfo objects which aren't really used) but should
not be used in general.
Bug:
80097562
Test: manual
Change-Id: I92264b95da64be77367e869f774bc65f8934fd32
Merged-In: I92264b95da64be77367e869f774bc65f8934fd32
Jordan Liu [Tue, 18 Dec 2018 23:42:38 +0000 (15:42 -0800)]
Add UiccCardInfo APIs
UiccCardInfo is available through a system API and gives information
about a currently inserted UICC or eUICC.
Bug:
80097562
Test: manual and UiccControllerTest.java
Change-Id: Ica8bd9e1703f5d974f959ea91ca47b832a017143
Max Bires [Wed, 19 Dec 2018 01:26:56 +0000 (17:26 -0800)]
Adding check for HMAC/EC key size for StrongBox
engineInit() for AndroidKeyStoreKeyGeneratorSpi does not make a call
into the backing Keymaster implementation until generate is called on it
to actually create the key. If a disallowed spec for StrongBox is passed
in, the backing StrongBox implementation won't be able to revoke it
until engineGenerateKey() is called, which will create different
behaviors between TEE backed implementations (which support a wider
range of algorithm spec parameters) and StrongBox implementations from a
public API perspective. This change will make sure HMAC is the same for
StrongBox.
This is also being done for EC keys in
AndroidKeyStoreKeyPairGeneratorSpi.java
Bug:
113525261
Bug:
114487149
Test: atest cts/tests/tests/keystore/src/android/keystore/cts/KeyGeneratorTest.java
Test: atest
cts/tests/tests/keystore/src/android/keystore/cts/KeyPairGeneratorTest.java
Change-Id: I728bb5222c9bf0ad84cdf2b8c0b78a4dd99f7186
Hall Liu [Wed, 19 Dec 2018 21:36:54 +0000 (21:36 +0000)]
Merge changes from topics "dialer-account-suggestion-3", "dialer-account-suggestion-2"
* changes:
Enable CTS testing for phone account suggestions
Add the PhoneAccountSuggestionService
Nathan Harold [Wed, 19 Dec 2018 18:49:56 +0000 (18:49 +0000)]
Merge "Annotate getMobileNetworkOperator() as Nullable"
Nathan Harold [Wed, 19 Dec 2018 18:26:37 +0000 (18:26 +0000)]
Merge "Annotate CallbackExecutor in requestCellInfoUpdate"
Chen Xu [Wed, 19 Dec 2018 18:12:27 +0000 (18:12 +0000)]
Merge "add carrierid in subscriptionInfo"
Treehugger Robot [Wed, 19 Dec 2018 17:39:58 +0000 (17:39 +0000)]
Merge "Fixed toString() printing error"
nchalko [Wed, 19 Dec 2018 15:51:30 +0000 (15:51 +0000)]
Merge "Convert to ISO 639-2/B for menu language"
Luke Huang [Wed, 19 Dec 2018 09:07:46 +0000 (09:07 +0000)]
Merge "Following commit for asynchronous DNS query API"