OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Not to use any() to verify DataStallDetectionStats"
Chiachang Wang [Fri, 8 Mar 2019 14:57:24 +0000 (06:57 -0800)]
Merge "Not to use any() to verify DataStallDetectionStats"
am: 18e931ba12

Change-Id: I7510070bc3f68386d9b222fc14342e08fc6e9b22

5 years agoMerge "Minor changes to the async DNS query JAVA API"
Luke Huang [Fri, 8 Mar 2019 14:51:48 +0000 (06:51 -0800)]
Merge "Minor changes to the async DNS query JAVA API"
am: c8dfb72891

Change-Id: I96e9325c7dd5396f48b25919a104be55fb9b6346

5 years agoMerge "Add more nullability annotations"
Hall Liu [Fri, 8 Mar 2019 14:46:46 +0000 (06:46 -0800)]
Merge "Add more nullability annotations"
am: 3f2d69dc62

Change-Id: I9b815b25cd48a5e24506f3f50fc6370bac1af552

5 years agoMerge "Support VPN Proxy(1/2)"
Chalard Jean [Fri, 8 Mar 2019 14:42:23 +0000 (06:42 -0800)]
Merge "Support VPN Proxy(1/2)"
am: 65087f4705

Change-Id: I51a716d1ee6b85bef347164061d1c12183612f50

5 years agoMerge "fix 'int android.view.View.getHeight()' on a null object reference"
cnx421 [Fri, 8 Mar 2019 14:38:44 +0000 (06:38 -0800)]
Merge "fix 'int android.view.View.getHeight()' on a null object reference"
am: 4add708b91

Change-Id: I3aa9c2da09a1447f79edb6a228f88cdc731bd605

5 years agoMerge changes Ie66ba631,Ic42c09a3
Benedict Wong [Fri, 8 Mar 2019 14:35:04 +0000 (06:35 -0800)]
Merge changes Ie66ba631,Ic42c09a3
am: cbc409986d

Change-Id: I5c8a3364f0244c5945be2bbe919aac2dcc4eba66

5 years agoMerge "Move Camera.EventHandler constructor to greylist"
David Brazdil [Fri, 8 Mar 2019 14:29:15 +0000 (06:29 -0800)]
Merge "Move Camera.EventHandler constructor to greylist"
am: b31032b3b0

Change-Id: If785b7e4f01db0a0e9b1e8d4e42258375de57dbc

5 years agoMerge "Add @NonNull annotations to Hearing Aids Profile APIs"
Stanley Tng [Fri, 8 Mar 2019 14:25:47 +0000 (06:25 -0800)]
Merge "Add @NonNull annotations to Hearing Aids Profile APIs"
am: 6fa52c9b25

Change-Id: If06dc28087ad2fe14636e0147077b35af7947216

5 years agoMerge "Adding callback for setPreferredDataSubscriptionId."
Xiangyu/Malcolm Chen [Fri, 8 Mar 2019 14:19:31 +0000 (06:19 -0800)]
Merge "Adding callback for setPreferredDataSubscriptionId."
am: 442084c722

Change-Id: Ic66db8504d02a22d8da38159e6d2fcf6decd1878

5 years agoMerge "Fix NPE in SmsManager and keep existing behavior"
Brad Ebinger [Fri, 8 Mar 2019 14:16:02 +0000 (06:16 -0800)]
Merge "Fix NPE in SmsManager and keep existing behavior"
am: 8b95375a4a

Change-Id: I6b4d126b8b0a6a48bb91752dde2edd6af79b98b7

5 years agoMerge "Add nullability annotations in accordance with the council"
Brad Ebinger [Fri, 8 Mar 2019 14:12:38 +0000 (06:12 -0800)]
Merge "Add nullability annotations in accordance with the council"
am: 049c43f088

Change-Id: If13a487f14c6382aad010a3776dec76f7bf46738

5 years agoMerge "Add CarrierConfig to use WFC home network mode in roaming network"
Brad Ebinger [Fri, 8 Mar 2019 14:07:34 +0000 (06:07 -0800)]
Merge "Add CarrierConfig to use WFC home network mode in roaming network"
am: 98868a718a

Change-Id: Iabc46376d3b23d6462234c1eb9d1e9e389ac51dc

5 years agoMerge "Add @NonNull annotations to (un)setOffHostForService()"
Ruchi Kandoi [Fri, 8 Mar 2019 14:03:45 +0000 (06:03 -0800)]
Merge "Add @NonNull annotations to (un)setOffHostForService()"
am: 78366e46b2

Change-Id: Ic96cc8e5d438d5083d5ad40e13367d7921f30af3

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Fri, 8 Mar 2019 14:00:20 +0000 (06:00 -0800)]
Merge "Add @UnsupportedAppUsage annotations"
am: 10c573ff85

Change-Id: I394e53a553e4c054c52fb3e991b4f81f3c152a94

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Fri, 8 Mar 2019 13:56:53 +0000 (05:56 -0800)]
Merge "Add @UnsupportedAppUsage annotations"
am: 5d256870aa

Change-Id: I2ff775d4b5f9417f8f68274b05829457fb00fe7a

5 years agoMerge "Add a null check for getWindow()"
Siarhei Vishniakou [Fri, 8 Mar 2019 13:53:28 +0000 (05:53 -0800)]
Merge "Add a null check for getWindow()"
am: 3c69948e6a

Change-Id: Ibeffcb78acdb9744993d3aec810acd27416ba455

5 years agoresolve merge conflicts of 04e04516b46a6e435282391f8cc4a7f50fe665b7 to stage-aosp...
Andrei Onea [Fri, 8 Mar 2019 12:34:28 +0000 (12:34 +0000)]
resolve merge conflicts of 04e04516b46a6e435282391f8cc4a7f50fe665b7 to stage-aosp-master

Bug: None
Test: I solemnly swear I tested this conflict resolution.
Merged-In: If18cf25dbfb1b00d7bd39fd1e1032fd783fea792
Change-Id: I21e7d91ec2f6226c3f4b396eb00640021103006e

5 years agoMerge "Not to use any() to verify DataStallDetectionStats"
Treehugger Robot [Fri, 8 Mar 2019 09:26:05 +0000 (09:26 +0000)]
Merge "Not to use any() to verify DataStallDetectionStats"

5 years agoNot to use any() to verify DataStallDetectionStats
Chiachang Wang [Fri, 8 Mar 2019 06:34:19 +0000 (14:34 +0800)]
Not to use any() to verify DataStallDetectionStats

Build a empty DataStallDetectionStats object instead of use
any() to do the verification to prevent NPE while trying to
write the metrics.

Bug: 120452078
Test: atest NetworkStackTests
Change-Id: Ib9f3e56195a539a5ca4826b4aad0e38945a9a3a7

5 years agoMerge "Minor changes to the async DNS query JAVA API"
Luke Huang [Fri, 8 Mar 2019 03:19:55 +0000 (03:19 +0000)]
Merge "Minor changes to the async DNS query JAVA API"

5 years agoMerge "Add more nullability annotations"
Treehugger Robot [Fri, 8 Mar 2019 03:16:43 +0000 (03:16 +0000)]
Merge "Add more nullability annotations"

5 years agoMerge "Support VPN Proxy(1/2)"
Chalard Jean [Fri, 8 Mar 2019 00:34:25 +0000 (00:34 +0000)]
Merge "Support VPN Proxy(1/2)"

5 years agoMerge "fix 'int android.view.View.getHeight()' on a null object reference"
Treehugger Robot [Fri, 8 Mar 2019 00:19:39 +0000 (00:19 +0000)]
Merge "fix 'int android.view.View.getHeight()' on a null object reference"

5 years agoMerge changes Ie66ba631,Ic42c09a3
Benedict Wong [Thu, 7 Mar 2019 23:32:55 +0000 (23:32 +0000)]
Merge changes Ie66ba631,Ic42c09a3

* changes:
  Implement TestNetworkService
  Add shell TestNetworkManager and Service

5 years agoMerge "Move Camera.EventHandler constructor to greylist"
Treehugger Robot [Thu, 7 Mar 2019 23:16:40 +0000 (23:16 +0000)]
Merge "Move Camera.EventHandler constructor to greylist"

5 years agoMerge "Add @NonNull annotations to Hearing Aids Profile APIs"
Treehugger Robot [Thu, 7 Mar 2019 22:59:06 +0000 (22:59 +0000)]
Merge "Add @NonNull annotations to Hearing Aids Profile APIs"

5 years agoMerge "Adding callback for setPreferredDataSubscriptionId."
Xiangyu/Malcolm Chen [Thu, 7 Mar 2019 22:47:31 +0000 (22:47 +0000)]
Merge "Adding callback for setPreferredDataSubscriptionId."

5 years agoMerge "Fix NPE in SmsManager and keep existing behavior"
Brad Ebinger [Thu, 7 Mar 2019 22:27:19 +0000 (22:27 +0000)]
Merge "Fix NPE in SmsManager and keep existing behavior"

5 years agoMerge "Add nullability annotations in accordance with the council"
Brad Ebinger [Thu, 7 Mar 2019 21:14:18 +0000 (21:14 +0000)]
Merge "Add nullability annotations in accordance with the council"

5 years agoMerge "Add CarrierConfig to use WFC home network mode in roaming network"
Brad Ebinger [Thu, 7 Mar 2019 21:11:51 +0000 (21:11 +0000)]
Merge "Add CarrierConfig to use WFC home network mode in roaming network"

5 years agoMerge "Add @NonNull annotations to (un)setOffHostForService()"
Treehugger Robot [Thu, 7 Mar 2019 20:07:16 +0000 (20:07 +0000)]
Merge "Add @NonNull annotations to (un)setOffHostForService()"

5 years agoMerge "Merge "Add @UnsupportedAppUsage annotations" am: 315404a9a5" into stage-aosp...
Android Build Merger (Role) [Thu, 7 Mar 2019 19:19:39 +0000 (19:19 +0000)]
Merge "Merge "Add @UnsupportedAppUsage annotations" am: 315404a9a5" into stage-aosp-master

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Thu, 7 Mar 2019 19:18:44 +0000 (11:18 -0800)]
Merge "Add @UnsupportedAppUsage annotations"
am: 315404a9a5

Change-Id: Ic6969243ca77124ff2063359c341969d01eeb7d9

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Thu, 7 Mar 2019 19:10:22 +0000 (11:10 -0800)]
Merge "Add @UnsupportedAppUsage annotations"
am: 315404a9a5

Change-Id: I281b0d628f1201e88d4c7c3a764f5a55392dadaa

5 years agoMove Camera.EventHandler constructor to greylist
David Brazdil [Thu, 7 Mar 2019 17:41:03 +0000 (17:41 +0000)]
Move Camera.EventHandler constructor to greylist

Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.

Bug: 122331906
Test: m appcompat
Change-Id: I3abc8221706bd69668c90aa61b8ca5f137a88bb9

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Thu, 7 Mar 2019 17:26:15 +0000 (17:26 +0000)]
Merge "Add @UnsupportedAppUsage annotations"

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Thu, 7 Mar 2019 17:26:09 +0000 (17:26 +0000)]
Merge "Add @UnsupportedAppUsage annotations"

5 years agoMerge "Add a null check for getWindow()"
Treehugger Robot [Thu, 7 Mar 2019 17:02:00 +0000 (17:02 +0000)]
Merge "Add a null check for getWindow()"

5 years agoMerge "Add target for generating aidl mappings"
Andrei-Valentin Onea [Thu, 7 Mar 2019 16:31:14 +0000 (16:31 +0000)]
Merge "Add target for generating aidl mappings"

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Thu, 7 Mar 2019 16:30:32 +0000 (16:30 +0000)]
Merge "Add @UnsupportedAppUsage annotations"

5 years agoMerge "Exclude Emergency Dialer from recent app list."
Leo Hsu [Thu, 7 Mar 2019 13:56:52 +0000 (05:56 -0800)]
Merge "Exclude Emergency Dialer from recent app list."
am: 108b8d6e40

Change-Id: I2c91bdea23f77be5e0e7e09d6b7c888bc1755e46

5 years agoMerge "Exclude Emergency Dialer from recent app list."
Treehugger Robot [Thu, 7 Mar 2019 13:43:36 +0000 (13:43 +0000)]
Merge "Exclude Emergency Dialer from recent app list."

5 years agoMerge "Fix TetheringEntitlementValueListener related API"
Mark Chien [Thu, 7 Mar 2019 13:32:33 +0000 (05:32 -0800)]
Merge "Fix TetheringEntitlementValueListener related API"
am: fbcc63d51f

Change-Id: Idd3a7110c32319b610d5dacad7e3632d759ac887

5 years agoMerge "Fix TetheringEntitlementValueListener related API"
Mark Chien [Thu, 7 Mar 2019 13:21:53 +0000 (13:21 +0000)]
Merge "Fix TetheringEntitlementValueListener related API"

5 years agoExclude Emergency Dialer from recent app list.
Leo Hsu [Wed, 6 Mar 2019 07:25:28 +0000 (15:25 +0800)]
Exclude Emergency Dialer from recent app list.

Emergency Dialer should not show up in recent app list.

Bug: 112168722
Bug: 127585929
Test: Long press power key, tap Emergency, quit Emergency Dialer, and
check recent app list.
Change-Id: I2fe917d16ab23de6e82f9cad7b064e2837ec6490
Merged-In: I2fe917d16ab23de6e82f9cad7b064e2837ec6490

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Thu, 7 Mar 2019 10:32:26 +0000 (02:32 -0800)]
Merge "Add @UnsupportedAppUsage annotations"
am: 722dff1f35

Change-Id: I559e8abb355a41119d9cd86a497fbdbd69157f9b

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Thu, 7 Mar 2019 10:20:28 +0000 (10:20 +0000)]
Merge "Add @UnsupportedAppUsage annotations"

5 years agoMerge "Do not call noteOp if checkPermission fails"
Chad Brubaker [Thu, 7 Mar 2019 09:10:53 +0000 (01:10 -0800)]
Merge "Do not call noteOp if checkPermission fails"
am: bc9b1b6f94

Change-Id: I53347c7a897b079268d9c8af704664a832eae581

5 years agoMerge "Do not call noteOp if checkPermission fails"
Treehugger Robot [Thu, 7 Mar 2019 08:56:39 +0000 (08:56 +0000)]
Merge "Do not call noteOp if checkPermission fails"

5 years agoMinor changes to the async DNS query JAVA API
Luke Huang [Wed, 23 Jan 2019 13:53:13 +0000 (21:53 +0800)]
Minor changes to the async DNS query JAVA API

1. refine the naming in DnsPacket and add more comment
2. add comment in DnsResolver

Test: built, flashed, booted
      atest DnsResolverTest DnsPacketTest

Change-Id: Ib482d079d6823fd1d9bff163427b7aad38374199

5 years agoMerge "Migrate frameworks/base/tests/net/ to androidx.test"
Brett Chabot [Thu, 7 Mar 2019 05:51:50 +0000 (21:51 -0800)]
Merge "Migrate frameworks/base/tests/net/ to androidx.test"
am: 58038da960

Change-Id: Ic6783d55ba6e6a4009569952b542b2a5a42501fe

5 years agoMerge "Migrate frameworks/base/tests/net/ to androidx.test"
Treehugger Robot [Thu, 7 Mar 2019 05:42:07 +0000 (05:42 +0000)]
Merge "Migrate frameworks/base/tests/net/ to androidx.test"

5 years agoFix TetheringEntitlementValueListener related API
markchien [Wed, 6 Mar 2019 08:25:00 +0000 (16:25 +0800)]
Fix TetheringEntitlementValueListener related API

Test: -build, flash, boot
      -atest FrameworksNetTests
bug: 126701557
bug: 126392011

Change-Id: I6dda10fbfe8ffaef71269617750a22563396f5ea

5 years agoMerge "Fix SocketUtils API"
Remi NGUYEN VAN [Thu, 7 Mar 2019 04:13:28 +0000 (20:13 -0800)]
Merge "Fix SocketUtils API"
am: 3da7809ae4

Change-Id: I03e0eb60d71cba27e57f8ee7832269bbd75f5344

5 years agoMerge "Fix SocketUtils API"
Remi NGUYEN VAN [Thu, 7 Mar 2019 03:54:22 +0000 (03:54 +0000)]
Merge "Fix SocketUtils API"

5 years agoMerge "add NonNull annotation to API"
Josh Hou [Thu, 7 Mar 2019 01:32:50 +0000 (17:32 -0800)]
Merge "add NonNull annotation to API"
am: fd2bb72030

Change-Id: Idf5a7df74815a9e339cf4313506f269ddbdce5d1

5 years agoMerge "add NonNull annotation to API"
Treehugger Robot [Thu, 7 Mar 2019 01:07:34 +0000 (01:07 +0000)]
Merge "add NonNull annotation to API"

5 years agoMerge "API tweaks"
Hall Liu [Thu, 7 Mar 2019 00:33:02 +0000 (16:33 -0800)]
Merge "API tweaks"
am: f3fbbeaa05

Change-Id: I3d45d13a482125edd91ec86e5c297f9fdb976072

5 years agoMerge "API tweaks"
Hall Liu [Thu, 7 Mar 2019 00:11:31 +0000 (00:11 +0000)]
Merge "API tweaks"

5 years agoMerge "Reset callNetworkType and CallQuality after calls"
Jordan Liu [Wed, 6 Mar 2019 23:44:19 +0000 (15:44 -0800)]
Merge "Reset callNetworkType and CallQuality after calls"
am: 5819a3378d

Change-Id: Ie7a8141b002693946967eb4b0d70fae299be03bc

5 years agoImplement TestNetworkService
Benedict Wong [Thu, 15 Nov 2018 01:53:19 +0000 (17:53 -0800)]
Implement TestNetworkService

This change adds the relevant JNI implementations, as well as the
implementations and NetworkAgent tracking code in the TestNetworkService.

TestNetworkService (And Manager) is designed for use exclusively in
testing code, allowing for the creation of TUN and IPsec backed networks
in test code. Specifically, this allows for testing of components such
as IP, DHCP, or DNS clients, as well as kernel features such as IPsec.

Access to the TestNetworkService will be conditioned upon the
MANAGE_TEST_NETWORKS permission that will be granted only to the Shell.
CTS will use UiAutomation.adoptShellPermissionIdentity() to gain the
ability to use this service.

Bug: 72950854
Test: CTS tests passing
Change-Id: Ie66ba631a548b5f9c6b5ed0797582f86688debe5

5 years agoAdd CarrierConfig to use WFC home network mode in roaming network
Hiroto Tarui [Thu, 14 Feb 2019 05:37:09 +0000 (14:37 +0900)]
Add CarrierConfig to use WFC home network mode in roaming network

Add a config whether the carrier will use the WFC home network mode in
roaming netork.

Test: manual - Checked that use the WFC mode according to CarrierConfig
value.
Bug: 79666081

Merged-In: I19fd3818c97db2565e13c5272c5307deef1331d1
Change-Id: I19fd3818c97db2565e13c5272c5307deef1331d1

5 years agoFix NPE in SmsManager and keep existing behavior
Brad Ebinger [Wed, 6 Mar 2019 22:32:28 +0000 (14:32 -0800)]
Fix NPE in SmsManager and keep existing behavior

The behavior of SmsManager#sendTextMessage changed,
we are blocking the sending of the SMS if there were no
subscriptions (i.e. no SIM scenario). This change
accidently introduced a NPE scenario in some cases.

Fixed NPE and removed SMS blocking code in SmsManager
to keep existing functionality the same.

Bug: 127338050
Test: atest GtsTelephonyTestCases
Change-Id: I71eefbc8e1619701e1b1d7b12c3c080c4ef376ef

5 years agoMerge "Reset callNetworkType and CallQuality after calls"
Treehugger Robot [Wed, 6 Mar 2019 23:28:33 +0000 (23:28 +0000)]
Merge "Reset callNetworkType and CallQuality after calls"

5 years agoMerge "Add Nullable/NonNull Annotations where appropriate."
Brad Ebinger [Wed, 6 Mar 2019 23:04:11 +0000 (15:04 -0800)]
Merge "Add Nullable/NonNull Annotations where appropriate."
am: eb4d20673f

Change-Id: Idc4e4d59c4773832111ff4383b1aa494d539f2d9

5 years agoAdding callback for setPreferredDataSubscriptionId.
Malcolm Chen [Wed, 6 Feb 2019 01:19:48 +0000 (17:19 -0800)]
Adding callback for setPreferredDataSubscriptionId.

The purpose is to provide a way to return success or failure upon
switching data to CBRS subscription.
The same callback is used for ONS to call internal API. Later it
will also be used by Carrier apps to call TelephonyManager#
setPreferredOpportunisticDataSubscription.

Bug: 122255288
Test: manual

Change-Id: Id3f43e024c902d6785017e7866f9e804a486b04f
Merged-In: Id3f43e024c902d6785017e7866f9e804a486b04f

5 years agoMerge "Add Nullable/NonNull Annotations where appropriate."
Brad Ebinger [Wed, 6 Mar 2019 22:47:58 +0000 (22:47 +0000)]
Merge "Add Nullable/NonNull Annotations where appropriate."

5 years agoMerge "[API Feedback] Rename getChannelNumber to getNrarfcn"
Pengquan Meng [Wed, 6 Mar 2019 22:32:03 +0000 (14:32 -0800)]
Merge "[API Feedback] Rename getChannelNumber to getNrarfcn"
am: 8273d66ebc

Change-Id: I5da974b3b914c2581e8b315016ee2c2ff53ad45d

5 years agoMerge "Move Annotations for getCellSignalStrengths"
Nathan Harold [Wed, 6 Mar 2019 21:54:50 +0000 (13:54 -0800)]
Merge "Move Annotations for getCellSignalStrengths"
am: 5ba92cf940

Change-Id: I6b91cdd94c5367ec4f89b7959d746faae10df1ef

5 years agoMerge "[API Feedback] Rename getChannelNumber to getNrarfcn"
Pengquan Meng [Wed, 6 Mar 2019 21:52:32 +0000 (21:52 +0000)]
Merge "[API Feedback] Rename getChannelNumber to getNrarfcn"

5 years agoMerge "Add carrier config for 5G Icon"
Pengquan Meng [Wed, 6 Mar 2019 21:46:02 +0000 (13:46 -0800)]
Merge "Add carrier config for 5G Icon"
am: 2aee6901fb

Change-Id: Iec2c01555d1200f707ee41f23d7ef75799d678f7

5 years agoDo not call noteOp if checkPermission fails
Chad Brubaker [Wed, 6 Mar 2019 00:40:33 +0000 (16:40 -0800)]
Do not call noteOp if checkPermission fails

This causes an access to be logged for runtime permissions even if the
permission is denied, which is incorrect.

Fixes: 127297477
Bug: 116258458
Test: Verified using steps in b/127297477
Change-Id: I8306aa273b7d4dfab40a2a6d8d1ef6f4d8cc2c54

5 years agoMerge "Move Annotations for getCellSignalStrengths"
Nathan Harold [Wed, 6 Mar 2019 21:41:18 +0000 (21:41 +0000)]
Merge "Move Annotations for getCellSignalStrengths"

5 years agoMerge "Add carrier config for 5G Icon"
Pengquan Meng [Wed, 6 Mar 2019 21:36:46 +0000 (21:36 +0000)]
Merge "Add carrier config for 5G Icon"

5 years agoMerge "Added secondary owners on per-file entries."
Felipe Leme [Wed, 6 Mar 2019 21:00:38 +0000 (13:00 -0800)]
Merge "Added secondary owners on per-file entries."
am: 6d80c7a6e4

Change-Id: I64bd54a36864d957e30c2920698dea03717c6a0d

5 years agoAdd nullability annotations in accordance with the council
Brad Ebinger [Wed, 6 Mar 2019 19:32:42 +0000 (11:32 -0800)]
Add nullability annotations in accordance with the council

Bug: 126702532
Test: atest FrameworksTelephonyTests
Change-Id: I7c3707d7599ec0e2a1d1ec2e70588765aea5d069

5 years agoMerge "Added secondary owners on per-file entries."
Treehugger Robot [Wed, 6 Mar 2019 20:51:42 +0000 (20:51 +0000)]
Merge "Added secondary owners on per-file entries."

5 years agoMerge "NativeHandle.java: set Nullable/NonNull"
Steven Moreland [Wed, 6 Mar 2019 20:28:23 +0000 (12:28 -0800)]
Merge "NativeHandle.java: set Nullable/NonNull"
am: 6792c595a2

Change-Id: I09cdb1ce3cc64cb8ca42a13b307b93b5dab8e42c

5 years agoMerge "NativeHandle.java: set Nullable/NonNull"
Steven Moreland [Wed, 6 Mar 2019 20:02:57 +0000 (20:02 +0000)]
Merge "NativeHandle.java: set Nullable/NonNull"

5 years agoAPI tweaks
Hall Liu [Wed, 27 Feb 2019 01:58:53 +0000 (17:58 -0800)]
API tweaks

* Make the PhoneAccountSuggestion ctor public
* Change protection level of the bind-suggestion-service permission to
signature-only.

Fixes: 126442573
Fixes: 126442403
Test: CTS
Change-Id: Ic6d44989efd28420a5e9e7e9c365318538d140bb

5 years agoMerge "disallow changing from multi-sim to single-sim for carrier apps"
Nazanin Bakhshi [Wed, 6 Mar 2019 19:24:04 +0000 (11:24 -0800)]
Merge "disallow changing from multi-sim to single-sim for carrier apps"
am: 27c8f495f2

Change-Id: Iec876a398bec6fa2c61b633d7ba8e999e4742964

5 years agoMove Annotations for getCellSignalStrengths
Nathan Harold [Wed, 6 Mar 2019 19:10:40 +0000 (11:10 -0800)]
Move Annotations for getCellSignalStrengths

As per API council script's feedback, the scripts
do not support having nullable annotations preceding
the return tupe. Moving the @NonNull annotations to a
script friendly location.

Bug: 126700393
Test: make update-api && make
      && make offline-sdk-docs (no functional change)
Change-Id: Ie063ffa2e311f4eb7d9e07cd5ee212af97d9d45d

5 years agoAdd carrier config for 5G Icon
Pengquan Meng [Thu, 6 Dec 2018 00:26:42 +0000 (16:26 -0800)]
Add carrier config for 5G Icon

Bug: 111453000
Test: build
Merged-In: Ie4b331aaec3981dea0eeada436a2123fe9287b74
Change-Id: Ie4b331aaec3981dea0eeada436a2123fe9287b74

5 years agoMerge "disallow changing from multi-sim to single-sim for carrier apps"
Nazanin Bakhshi [Wed, 6 Mar 2019 19:10:58 +0000 (19:10 +0000)]
Merge "disallow changing from multi-sim to single-sim for carrier apps"

5 years agoAdd a null check for getWindow()
Siarhei Vishniakou [Tue, 5 Mar 2019 18:05:01 +0000 (10:05 -0800)]
Add a null check for getWindow()

Protect against crash surfaced by monkey, where it seems that the window
of the dialog is no longer present. If not present, don't need to post
dismiss runnable.

Bug: 124327419
Test: adb shell monkey -p com.google.android.GoogleCamera -s 999 -v 20000
Change-Id: Ic03b8501bb73725e04544fcb2397532be531988e

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Wed, 6 Mar 2019 18:30:15 +0000 (10:30 -0800)]
Merge "Add @UnsupportedAppUsage annotations"
am: f304f4d2ea

Change-Id: Ic5e5148c473e64bc5d8ff506e7f4ac78c409734c

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Wed, 6 Mar 2019 18:01:47 +0000 (18:01 +0000)]
Merge "Add @UnsupportedAppUsage annotations"

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Wed, 6 Mar 2019 17:46:00 +0000 (09:46 -0800)]
Merge "Add @UnsupportedAppUsage annotations"
am: 842e3aa420

Change-Id: Ie3bc96e663223de383be59cb764f139f459c5a67

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Wed, 6 Mar 2019 17:41:34 +0000 (09:41 -0800)]
Merge "Add @UnsupportedAppUsage annotations"
am: cf03906edc

Change-Id: Ib760897a2d3de2672b4f19d66e238ebee9bfb239

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Wed, 6 Mar 2019 17:37:26 +0000 (09:37 -0800)]
Merge "Add @UnsupportedAppUsage annotations"
am: 8cbc2e9ad1

Change-Id: I83a19c3b85546749e360ef979e8e6eeac09e29ea

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Wed, 6 Mar 2019 17:19:05 +0000 (17:19 +0000)]
Merge "Add @UnsupportedAppUsage annotations"

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Wed, 6 Mar 2019 17:18:05 +0000 (17:18 +0000)]
Merge "Add @UnsupportedAppUsage annotations"

5 years agoAdd @NonNull annotations to Hearing Aids Profile APIs
Stanley Tng [Thu, 28 Feb 2019 20:22:45 +0000 (12:22 -0800)]
Add @NonNull annotations to Hearing Aids Profile APIs

Bug: 126699327
Bug: 119617521
Test: Ran with CTS tests for Hearing Aids Profile, android.bluetooth.cts.HearingAidProfileTest
Change-Id: If83052a68c867d839e263f490592b80bef513a01

5 years agoNativeHandle.java: set Nullable/NonNull
Steven Moreland [Tue, 5 Mar 2019 01:56:30 +0000 (17:56 -0800)]
NativeHandle.java: set Nullable/NonNull

Fixes: 126700972
Test: hidl_test_java
Test: atest android.os.cts.HwBinderTest
Change-Id: Id45c6d0757913014028f7629db78b64f27cad084

5 years agoMerge "Add @UnsupportedAppUsage annotations"
Andrei-Valentin Onea [Wed, 6 Mar 2019 17:17:27 +0000 (17:17 +0000)]
Merge "Add @UnsupportedAppUsage annotations"

5 years agoAdded secondary owners on per-file entries.
Felipe Leme [Wed, 6 Mar 2019 17:10:27 +0000 (09:10 -0800)]
Added secondary owners on per-file entries.

Test: none
Bug: 126945732

Change-Id: I4b9786c9b01993f230f962a54e08127684b3289e

5 years agoAdd @UnsupportedAppUsage annotations
Andrei Onea [Wed, 6 Mar 2019 15:17:47 +0000 (15:17 +0000)]
Add @UnsupportedAppUsage annotations

For packages:
  android.accounts
  android.app

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: I65c961e3f59b9868156b3ee6a3b1cab81b0e9d25
Change-Id: I47b5f45ced1c6e385ed24424e442c76fc0487af7

5 years agoAdd @UnsupportedAppUsage annotations
Andrei Onea [Wed, 6 Mar 2019 15:41:14 +0000 (15:41 +0000)]
Add @UnsupportedAppUsage annotations

For packages:
  android.speech
  android.telephony.mbms.vendor
  android.view
  android.webkit

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: Iefe25091fa0fcc0adfe4ff85fe5e3ab3ac9c5f10
Change-Id: I04104cf3852a0a7440676ccc55dd96c1eec730c4

5 years agoAdd @UnsupportedAppUsage annotations
Andrei Onea [Wed, 6 Mar 2019 15:33:03 +0000 (15:33 +0000)]
Add @UnsupportedAppUsage annotations

For packages:
  android.database
  android.hardware.display
  android.hardware.input
  android.hardware.location
  android.location
  android.media
  android.media.projection
  android.media.tv

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: I570c08292f8a9f512c96f9dce13f5337718f112c
Change-Id: I1d6c60fcb53f404d5775163bf6929395921f5a45

5 years agoMerge "apilint: Lint unhidden @IntDef and @LongDef"
Adrian Roos [Wed, 6 Mar 2019 12:57:33 +0000 (04:57 -0800)]
Merge "apilint: Lint unhidden @IntDef and @LongDef"
am: 4435924104

Change-Id: I7d12ed9f2ac7fcdc6490a7fcd2e5c99a21fe7110