377942 Commits

Author SHA1 Message Date
Treehugger Robot
6e12301e84 Merge "Reduce screen layout in task override configuration from its parent config" 2018-11-13 17:20:34 +00:00
vichang
6274341f10 Merge "Expose Transliterator API" 2018-11-13 15:43:35 +00:00
Treehugger Robot
cacc09018b Merge "Remove com.android.bouncycastle.... classes from light grey list" 2018-11-13 15:26:21 +00:00
Treehugger Robot
5cc3d900b9 Merge "Remove com.android.conscrypt.... classes from light grey list" 2018-11-13 15:26:15 +00:00
Treehugger Robot
e6e6968081 Merge "Re-add light-greylist entries incorrectly removed with icu entries" 2018-11-13 14:22:17 +00:00
Dimitry Ivanov
dbacdb242b Merge "Apply version-script to libandroid library." 2018-11-13 10:53:18 +00:00
Treehugger Robot
075e5deba1 Merge "Fix LingerMonitor notification rate limiting" 2018-11-13 09:36:39 +00:00
Junyu Lai
2c0a0092f1 Merge "Change types of fields of network stats reported to framework." 2018-11-13 09:15:37 +00:00
Paul Duffin
1e5fc351c2 Remove com.android.bouncycastle.... classes from light grey list
Removes all the com.android.bouncycastle.... classes from the light grey
lists as they are now using UnsupportedAppUsage annotation.

This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the
same (after sorting) before and after this change.

Test: see above
Bug: 117818301
Change-Id: Id2de74e4c3b84646ebaa3bb0d18113fc593d3200
2018-11-13 09:10:44 +00:00
Paul Duffin
551fb88d04 Remove com.android.conscrypt.... classes from light grey list
Removes all the com.android.conscrypt.... classes from the light grey
lists as they are now using UnsupportedAppUsage annotation.

This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the
same (after sorting) before and after this change.

Test: see above
Bug: 117818301
Change-Id: Ib2298ef17eeab4874265b72b19dddc912079500f
2018-11-13 09:10:44 +00:00
Xiangyu/Malcolm Chen
a97bdb957f Merge "Fix mis-ordered merge in PhoneStateListener.java" 2018-11-13 06:38:50 +00:00
Chen Xu
00496a1181 Merge "support parent carrier id" 2018-11-13 06:08:46 +00:00
Treehugger Robot
36ac46a915 Merge "Add PreciseDisconnectCause for SIP status code 481 Transaction Does Not Exist" 2018-11-13 03:48:59 +00:00
Malcolm Chen
27de0e51eb Fix mis-ordered merge in PhoneStateListener.java
Bug: 119131284
Test: build
Change-Id: I9ab7a0a992e4000efb1a1b89ec198f9da74876d9
2018-11-12 19:34:38 -08:00
Treehugger Robot
83269acba7 Merge "The JE about "android.process.media" will pop up when you eject the SD card after you set SD as internel phone storage" 2018-11-13 03:19:56 +00:00
Treehugger Robot
29f0f9a910 Merge "Update API doc of View.DragShadowBuilder" 2018-11-13 03:15:51 +00:00
Chen Xu
24df195e78 Merge "new SystemAPI for roamingType in NetworkRegistrationState" 2018-11-13 01:16:25 +00:00
Chen Xu
a79188986a Merge "do not link hidden intdef in the comments" 2018-11-13 01:14:42 +00:00
Andreas Gampe
460ff1416b BinderProxy: Fix up differences
Fix up resolves to minimize differences to internal code.

Test: m
Change-Id: Idbacb6ad14c43aff8030d70b5e17427b86e92d6e
Merged-In: I4e06b3f93e30ed1c7868ec9e018709a7e796e441
2018-11-12 16:15:31 -08:00
Evan Laird
e4b0e8dc7a Merge "[StatusBar] fix: Make DisableRecord.pkg working" 2018-11-13 00:11:17 +00:00
Martijn Coenen
c1493b283b Move proxy debug info dumping back to Java.
This had to be called from native because serialization
was done from native, but now that serialization is in Java
we can move this back to a more logical place.

Also, this allows us to dump the per-UID proxy counts in
this situation again.

Bug: 109888955
Test: sailfish builds, proxy debug info shown on hitting limits
Merged-In: I4e06b3f93e30ed1c7868ec9e018709a7e796e441
Change-Id: I4e06b3f93e30ed1c7868ec9e018709a7e796e441
2018-11-12 16:08:45 -08:00
Martijn Coenen
345d4c16bb Dump top binder proxy interface names in dumpsys.
To facilitate real-time debugging.

Bug: 109888955
Test: builds, adb shell dumpsys activity binder-proxies shows output
Merged-In: Iffcbbb824f4050b6fb8f556c8b4d09115e53da18
Change-Id: Iffcbbb824f4050b6fb8f556c8b4d09115e53da18
2018-11-12 14:47:12 -08:00
chen xu
3901ea4923 do not link hidden intdef in the comments
Bug: 118351153
Bug: 119119026
Test: build
Change-Id: I26be8e6d83e205589d10e6b7bd71297907aa5119
2018-11-12 14:35:32 -08:00
Hansong Zhang
ff1c21c94c BluetoothDevice.ACTION_UUID requires BLUETOOTH_ADMIN
Fix the doc - intent BluetoothDevice.ACTION_UUID requries
android.Manifest.permission#BLUETOOTH_ADMIN instead of #BLUETOOTH to
receive. This is already enforced by Bluetooth service.

Bug: 113160320
Test: manual
Change-Id: I977d58e6d534f512da80bd6b13bebb515765626f
2018-11-12 14:33:59 -08:00
Treehugger Robot
d659ad62f4 Merge "[view compiler] Add conditional branch instruction" 2018-11-12 20:51:52 +00:00
Josh Gao
8fe23dfeff Merge "Close PFD.AutoClose{In,Out}putStream before the PFD itself." 2018-11-12 20:34:21 +00:00
Treehugger Robot
bc12083aa7 Merge "Add owners to the Shell app" 2018-11-12 20:25:25 +00:00
Tyler Gunn
6e3ecc40f8 Unsupported app usage API cleanup
This CL includes a number of cleanups related to unsupported app usage
tags.

TelecomManager#EXTRA_IS_HANDOVER - public APIS exist for this usecase;
updated docs and limit to P with maxtarget sdk.
TelecomManager#getSimCallManager(int userId) - marked as max target P;
there is a public API available which can be used to accomplish the same
thing.  Nobody should be calling this.
TelecomManager#getCallCapablePhoneAccounts(boolean) - marked as max
target P; callers should use the version without the boolean parameter.

Deprecate CAPABILITY_CAN_UPGRADE_TO_VIDEO; its redundant.

New public API:
Promote TelecomManager#getSystemDialerPackage() to public API; its a
benign API and doesn't expose anything which can't be inferred other ways.

New system APIs:
TelecomManager#getCurrentTtyMode() - used by settings app.
TelecomManager#setDefaultDialer() - used by useful for settings app.
TelecomManager#TTY_MODE* constants - used by getCurrentTtyMode API.

Test: Compile / run unit tests
Bug: 119305590
Change-Id: I67d6213e6c689fb545fc9ceae4a359831f97c32f
2018-11-12 11:30:56 -08:00
chen xu
a8d3d48941 support parent carrier id
The parent-child relationship can be used to further differentiate a
single carrier by different networks, by prepaid v.s. postpaid
or even by 4G v.s. 3G plan. parent carrier id it's an optional field.
A carrier id with a valid parent_carrier_id is considered fine-grained carrier id,
will not be returned as API getSimCarrierId but will be returned as
new API getSimPreciseCarrierId.

Bug: 110559381
Change-Id: Ica273cbad16b4773edc41b79ff4bf7570de40ec1
2018-11-12 11:30:16 -08:00
chen xu
63b0a3401b new System API for sim voice activation state.
Bug: 119233925
Test: telephony unit test
Change-Id: I06e8de063d312b683261216326b1c8674ab4479e
2018-11-12 11:22:23 -08:00
Calvin Pan
7e74c4e431 Merge "Create new API for MNO carrier id" 2018-11-12 18:09:25 +00:00
Pengquan Meng
4a7a3934b6 Merge "Add 5G NR cellInfo" 2018-11-12 16:28:57 +00:00
andychou
d9b97ecefe Add PreciseDisconnectCause for SIP status code 481 Transaction Does Not Exist
Add ImsReasonInfo.CODE_SIP_TRANSACTION_DOES_NOT_EXIST and
PreciseDisconnectCause.SIP_TRANSACTION_DOES_NOT_EXIST
It will map by PRECISE_CAUSE_MAP in ImsPhoneCallTracker.java

Bug: 78204171
Test: local build pass
Change-Id: I10ec05256f748007657e4a8e60d07b1fd8a4f8b2
Merged-In: Iaa9673e4fa9568078161231df1b06735b862ca09
2018-11-12 15:21:41 +00:00
Paul Duffin
1db651dd4c Re-add light-greylist entries incorrectly removed with icu entries
Commit 2e930e7a765ec6ebb075523a390ad625010f9e8a accidentally removed
some non-icu entries. The entries were added around the same time as
the ICU entries were removed and caused a conflict that appears to
have been incorrectly resolved.

This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt contains
the new entries.

Bug: 117818301
Test: make checkbuild
Change-Id: Id6bacaab34caee9e7c278c6655ab462e0ee2a442
2018-11-12 14:54:28 +00:00
mtk33169
03ae44a8ff The JE about "android.process.media" will pop up when you eject the
SD card after you set SD as internel phone storage

This JE is happening due to null pointer access in makeEntryFor() in
MediaScanner.Java.
Before accessing the cursor, check if cursor is available and not null.
It is a safe check.

Bug: 119392250
Test: manual, ran test 20 times and it passed every times.
Change-Id: I23039281b63a0a6a411860eb5989cf20a5663c8f
2018-11-12 10:49:55 +00:00
Adam Vartanian
5f9193bdad Merge "Add Conscrypt Public API" 2018-11-12 10:31:28 +00:00
calvinpan
354b9771aa Create new API for MNO carrier id
New telephony APIs to getSimMnoCarrierId and GET_CURRENT_APN_LIST

Bug: 115709816
Test: Build pass
Change-Id: I415ee634d8392d5120d5d8f79d927c0349d9a42e
Merged-in: I415ee634d8392d5120d5d8f79d927c0349d9a42e
2018-11-12 08:07:10 +00:00
Chiachang Wang
8292fe9d83 Merge "Not defer network disconnect event in Probing state" 2018-11-12 05:30:46 +00:00
JiangDongya
b1352cd754 [StatusBar] fix: Make DisableRecord.pkg working
* replace wrong return statement with break statement

Test: adb shell dumpsys statusbar, and pkg would not be "null"

Change-Id: I462c93f87e17057501dde34d114692423a40444b
Signed-off-by: Dongya Jiang <jiangdongya@xiaomi.com>
2018-11-12 03:20:04 +00:00
Chiachang Wang
30cc367e0b Not defer network disconnect event in Probing state
If network reevaluation is triggered just before network
disconnect, statemachine will stuck in Probing state and unable
to exit.

Test: 1. runtest frameworks-net
      2. connect and disconnect wifi to see if NetworkMonitor is
         destroyed as expected
Bug: 119158436

Change-Id: Ibbb20caee94d0a5ab5403c6b01636936025562fe
2018-11-12 10:52:25 +08:00
Luke Huang
a31e073b57 Nat-related commands porting
Test: runtest frameworks-net passes
Test: manual testing of nat works
Change-Id: I759bc418153cf9ab302791d350331abaae8a7a24
2018-11-12 11:29:07 +09:00
chen xu
d040f2d785 new Systeam API for CarrierConfig#KEY_CARRIER_SETUP_APP_STRING
SuW will consume this config and launches a carrier app to setup the
device or provision the SIM.

Bug: 119229895
Test: telephony unit test
Change-Id: Ibc3cc9913c20fd367f83854765a8aea378bb6622
2018-11-10 10:54:45 -08:00
Eric Holk
d62c5aa954 [view compiler] Add conditional branch instruction
This CL adds support for the if-eqz instruction. It should be easy to add
additional comparisons as needed.

This also introduces a new kind of Value called a Label. Labels may be created
any time and then must be bound to a location in code at some point. References
to labels are tracked, and when a label is bound all references are patched to
refer to the concrete address.

Bug: 111895153
Change-Id: I15424aec75425004f0f1f4bbc6e760bac3a6c7de
2018-11-10 00:46:07 +00:00
Treehugger Robot
b8740842e0 Merge "Unable to input PIN with hardware keyboard" 2018-11-10 00:05:38 +00:00
Brad Ebinger
c10b96899e Merge "Expose SRVCC state changes as @SystemAPI" 2018-11-09 23:02:38 +00:00
Josh Gao
401fb2485a Close PFD.AutoClose{In,Out}putStream before the PFD itself.
Bug: http://b/118316956
Test: atest ParcelFileDescriptorTest
Test: atest ParcelFileDescriptor_AutoCloseOutputStreamTest
Change-Id: I39c5b15ea8ac5915e4f5e4e42328cd08f65ec9a0
2018-11-09 14:10:33 -08:00
Shuo Qian
5bdf255e0d Merge "Introduce getRssi() in CellSignalStrengthLte" 2018-11-09 22:07:50 +00:00
Victor Chang
0a2aaba14a Expose Transliterator API
All the public APIs have been covered by CtsIcuTestCases.

Test: CtsIcuTestCases
Bug: 109663008
Bug: 109837373
Change-Id: Ib03c80629be727c7b17642177fa520ed808409c1
2018-11-09 20:12:55 +00:00
Benson Li
1d4f64ac7c HFP: Send caller ID in +CLIP command (1/4)
* Modify BluetoothHeadset so that phoneStateChanged method can
  provide caller display name

Bug: 111378831
Test: runtest bluetooth, runtest -x BluetoothPhoneServiceTest.java
Change-Id: Ibc3611a50ec9f103fd235dde606ecbd10657e014
2018-11-09 20:11:04 +00:00
Treehugger Robot
cfcb33cb32 Merge "Rename android bpf library" 2018-11-09 20:06:41 +00:00