Commit Graph

4731 Commits

Author SHA1 Message Date
Shuo Qian
2f6ef53ec6 Merge "Remove dummy subscription ids" 2018-11-19 20:38:42 +00:00
TreeHugger Robot
5798ef6a96 Merge "public eSIM APIs created in Android P" 2018-11-19 18:26:23 +00:00
TreeHugger Robot
271339ffdf Merge "API: Make implicit APIs from type usage explicit" 2018-11-19 17:21:27 +00:00
SongFerng Wang
bf44aa1371 Merge "Add 3 carrier cofigs for Supplementary Service over USSD project" 2018-11-19 06:11:55 +00:00
TreeHugger Robot
ba1c017456 Merge "Support set/get carrier id from ApnSetting" 2018-11-19 02:35:28 +00:00
John Reck
18fd5c6362 Fix telephony build
Test: make

Change-Id: I9db9ab609a924f786bb7031e6def86cbe2ac4c81
2018-11-16 23:54:49 +00:00
Nathan Harold
6ef595468c Merge "Add Support for Async requestCellInfoUpdate()" am: 992aafb2bd am: f3d183108b
am: 247f4e292f

Change-Id: Ic65f1d1c929b22371e827d63281a3447ca29e8bc
2018-11-16 14:07:13 -08:00
Nathan Harold
949be76dfc Merge "Remove CDMA doc in setPreferredNetworkType()" am: 8aeeea135a am: 89470414f2
am: 9075818aac

Change-Id: I7c483985257ee647c7d741e3e0c17efe390bd267
2018-11-16 13:59:42 -08:00
Nathan Harold
757048b72f Merge "Redirect Value Source of SignalStrength Constants" am: d1db62d59e am: a7381e9af0
am: 6a759eb646

Change-Id: I6a222e0371e973f0f98419e15e6c4b38aff7409c
2018-11-16 13:53:32 -08:00
Nathan Harold
247f4e292f Merge "Add Support for Async requestCellInfoUpdate()" am: 992aafb2bd
am: f3d183108b

Change-Id: Iee76a8ee4cd04cf5847ab33320635f7dab29d9e2
2018-11-16 12:58:31 -08:00
Nathan Harold
9075818aac Merge "Remove CDMA doc in setPreferredNetworkType()" am: 8aeeea135a
am: 89470414f2

Change-Id: I085a2a02eecf2b28ccb63d393f9e909713bd4e65
2018-11-16 12:52:43 -08:00
Nathan Harold
6a759eb646 Merge "Redirect Value Source of SignalStrength Constants" am: d1db62d59e
am: a7381e9af0

Change-Id: I2b909a24dc2bfe49379a6899c3f7c29cb1d20f78
2018-11-16 12:47:54 -08:00
Nathan Harold
992aafb2bd Merge "Add Support for Async requestCellInfoUpdate()" 2018-11-16 19:13:36 +00:00
Nathan Harold
8aeeea135a Merge "Remove CDMA doc in setPreferredNetworkType()" 2018-11-16 19:13:15 +00:00
Nathan Harold
d1db62d59e Merge "Redirect Value Source of SignalStrength Constants" 2018-11-16 19:12:58 +00:00
Pengquan Meng
5c0f4012ce Merge "Add 5G NSA status to ServiceSate" 2018-11-16 18:41:18 +00:00
Xiangyu/Malcolm Chen
544a84e01c Merge "Remove parentSubId and define API to set groupSubId" 2018-11-16 18:05:16 +00:00
Sahin Caliskan
661f548304 Merge "Fix RcsManager and add empty RcsThread class" am: 170c382729
am: 28534639bc

Change-Id: Iac6549fc8216edd7b6f6469f3bf4bc1a06432cd2
2018-11-16 09:59:24 -08:00
Sahin Caliskan
170c382729 Merge "Fix RcsManager and add empty RcsThread class" 2018-11-16 17:29:49 +00:00
Xiangyu/Malcolm Chen
828a7812c7 Merge "Change expected default value of setPreferredData" 2018-11-16 07:17:42 +00:00
Malcolm Chen
dc3a733062 Remove parentSubId and define API to set groupSubId
Bug: 118349116
Test: unittest
Change-Id: I539a67df8f30c2f58d87a3417f78fef8b43ff56d
2018-11-15 17:31:50 -08:00
Sahin Caliskan
1256486a8f Fix RcsManager and add empty RcsThread class
This change fixes the RcsManager setup and adds an empty RcsThread class. Please see go/rcs-in-telephony-doc for details.

Test: Builds fine
Bug: 109759350
Merged-in: Ie3fe476ab11d515ffab6dcc6ccf5ec801a4c9057
Change-Id: Ie3fe476ab11d515ffab6dcc6ccf5ec801a4c9057
2018-11-15 23:28:24 +00:00
Brad Ebinger
9ca7a38d29 Merge "Expose ProvisioningManager API for IMS configurations" am: 082bf0ccca am: 5ffd9747af
am: 81e18816f9

Change-Id: I99b9a5dec01e51426f923d24eceacd2f719c2fcd
2018-11-15 14:51:27 -08:00
Brad Ebinger
81e18816f9 Merge "Expose ProvisioningManager API for IMS configurations" am: 082bf0ccca
am: 5ffd9747af

Change-Id: I51307a4658b63823da79567130b0425bc5695555
2018-11-15 14:34:50 -08:00
Brad Ebinger
082bf0ccca Merge "Expose ProvisioningManager API for IMS configurations" 2018-11-15 22:07:29 +00:00
Pengquan Meng
3e28b4183a Add 5G NSA status to ServiceSate
This added the 5G FrequencyRange to the ServiceState and 5G connection
status to NetworkRegisterationState.

Bug: 111453000
Test: atest FrameworksTelephonyTests
Change-Id: Iee824b2cfd9b48b56d6541b6eef617d23677a873
2018-11-15 13:27:14 -08:00
Nathan Harold
2aa2cc1b75 Add Support for Async requestCellInfoUpdate()
Add asynchronous calls to request CellInfo updates.
-Add a request for CellInfo
-Add a request for CellInfo that allows system apps
 such as the LocationProvider to bill the work to
 the app that initiated the location fix.
-Update the behavioral language for getAllCellInfo
 to indicate that depending on the API level of the
 caller, this API will only provide cached info, which
 means that apps can always request an update without
 possibly triggering a call to the modem. This also
 means that the binder will not block due to modem
 delay.

Bug: 37100068
Bug: 63737292
Bug: 26569588
Test: manual (via SL4A)
Change-Id: I25cbc3cecd5d396fc3baa21457c05cd6e273c9c3
2018-11-15 10:53:05 -08:00
Chen Xu
7a3a606985 Merge "new Systeam API for CarrierConfig#KEY_CARRIER_SETUP_APP_STRING" am: 8715c1545e am: 2db64c2f55
am: bc9e3a0d16

Change-Id: I8602091b25698e194ab0e6d860689edce85012d5
2018-11-15 09:58:00 -08:00
Chen Xu
4ed9b6da82 Merge "new System API for sim voice activation state." am: 16533c35d3 am: b332c39954
am: c078fd99dd

Change-Id: Iadf3b3a21a1c20b18ef07ee3ca54ccf7c61ba981
2018-11-15 09:49:33 -08:00
Chen Xu
bc9e3a0d16 Merge "new Systeam API for CarrierConfig#KEY_CARRIER_SETUP_APP_STRING" am: 8715c1545e
am: 2db64c2f55

Change-Id: I9eca28cd2d5388424dd432e4fb1ae15a49e00107
2018-11-15 09:44:06 -08:00
Chen Xu
c078fd99dd Merge "new System API for sim voice activation state." am: 16533c35d3
am: b332c39954

Change-Id: I18346531c31e9a8a593da18c1d07ee33f1650784
2018-11-15 09:36:07 -08:00
Chen Xu
8715c1545e Merge "new Systeam API for CarrierConfig#KEY_CARRIER_SETUP_APP_STRING" 2018-11-15 16:59:44 +00:00
Chen Xu
16533c35d3 Merge "new System API for sim voice activation state." 2018-11-15 16:59:03 +00:00
Adrian Roos
8f91e5fde8 API: Make implicit APIs from type usage explicit
API stubs generation implicitly made any types used by an API also part
of that API. This has caused DeviceIdAttestationException and
ImsFeature.Capabilities to become implicit APIs, so they are added to
the API files.

After this, using non-API types in APIs will become an error to prevent
implicit APIs occuring in the future.

Bug: 119556446
Test: METALAVA_PREPEND_ARGS="--error ReferencesHidden" make
Change-Id: I5fe4f20502b8d4e287b28e9f07139456d4191e22
2018-11-15 07:14:49 -08:00
Nathan Harold
0f671a507f Merge "Add Executor Support for PhoneStateListener" am: 7fe6f36f16 am: cda6f2b422
am: 095c04a3c2

Change-Id: Iabea3672f0af87ac728e0f541a3b624ca2686035
2018-11-15 05:53:03 -08:00
Nathan Harold
a6d893e451 Redirect Value Source of SignalStrength Constants
SignalStrength contains a few hidden constants that
are identical to publicly exposed constants in
CellSignalStrength. Since the CellSignalStrength
values are public, redefine SignalStrength to point
to the public values and limit access to them
(since there is already a public alternative).

Bug: 30188945
Test: compilation
Change-Id: Ie7f295ef4d7849f7ce3a631cbdffe3d6670da5bd
2018-11-15 02:27:10 +00:00
Qingxi Li
cfb6e7be84 public eSIM APIs created in Android P
This CL public following APIs:

EuiccManager#EXTRA_FORCE_PROVISION: used to identify whether the user
wants to start eSIM activation flow in Setup Wizard or not.

EuiccService#ACTION_BIND_CARRIER_PROVISIONING_SERVICE: used to bind
carrier app to get activation code for eSIM profile downloading.

Bug: 76121595
Bug: 119234674
Test: TreeHugger
Change-Id: Iddfc98937d5aa8d049a2a483790a689f44978b07
2018-11-14 15:52:23 -08:00
Pengquan Meng
f034abe44a Merge "Add 5G NSA information" am: 4d939359dc
am: d0fa3857bd

Change-Id: Ib6fee0e7507e095bb734778651db789ae06e43f5
2018-11-14 15:34:40 -08:00
Pengquan Meng
4d939359dc Merge "Add 5G NSA information" 2018-11-14 23:07:35 +00:00
Holly Jiuyu Sun
a35ed85d6c Merge "Catch SecurityException in EuiccCardController and trigger callback." am: ee59e69b8b
am: 2334034cbf

Change-Id: Ida176f5dc7eade5edb050bbfb03664649f0ad0af
2018-11-14 15:01:42 -08:00
Pengquan Meng
371caedefa Merge "Use flatten component name for Carrier Settings activity" am: 4ebb7ccadf
am: ebf790fc0c

Change-Id: I4e4a7da8f8b21c7bdfd5536d94433375431e9848
2018-11-14 14:55:06 -08:00
Treehugger Robot
ee59e69b8b Merge "Catch SecurityException in EuiccCardController and trigger callback." 2018-11-14 22:30:54 +00:00
Nathan Harold
095c04a3c2 Merge "Add Executor Support for PhoneStateListener" am: 7fe6f36f16
am: cda6f2b422

Change-Id: I18e9592b3d6ea165be83c4468f624c166086193d
2018-11-14 13:44:04 -08:00
Pengquan Meng
b1458b20bd Use flatten component name for Carrier Settings activity
This change uses the flatten component name instead of the separate
package name and class name for carrier settings activity.

Bug: 115429501
Test: Build
Merged-In: Ia531c3322183a2eba6962c8ee139c7854e2560ec
Change-Id: Ia531c3322183a2eba6962c8ee139c7854e2560ec
2018-11-14 11:37:02 -08:00
Pengquan Meng
938905e05d Add 5G NSA information
Bug: 111453000
Test: atest FrameworksTelephonyTests
Merged-In: I5392bae0bcfaf231b67134a9c01c044f94f908b5
Change-Id: I5392bae0bcfaf231b67134a9c01c044f94f908b5
2018-11-14 11:23:34 -08:00
Nathan Harold
7af2e11f5c Remove CDMA doc in setPreferredNetworkType()
Removing an odd docstring from setPreferredNetworkType
that doesn't make any sense in the context.

Bug: 27295336
Test: compilation (docstring only change)
Change-Id: I9ed74c34970857c5b2f7c25a826f80872edee535
2018-11-14 10:07:25 -08:00
Nathan Harold
7fe6f36f16 Merge "Add Executor Support for PhoneStateListener" 2018-11-14 17:50:49 +00:00
Amit Mahajan
62f9aa44f7 Merge changes from topics "getLine1Number fix", "sms_corruption", "Initial RCS CL" am: 1e8399f1ab
am: 5f2441c343

Change-Id: Ifa75e5d760ebc7f7b8aa5de6ec8f3f1002fe50ae
2018-11-13 23:48:03 -08:00
Josh Hou
e49a08ef3a Support set/get carrier id from ApnSetting
To align with using carrier id instead of mccmnc and mvno for APN
settings, add new public api setCarrierId and getCarrierId

Bug: 115709816
Test: run telephony unit test
Change-Id: Ia716a02dfa88996cb0539e34b411aab371ef8aa7
2018-11-14 10:30:49 +08:00
Pengquan Meng
ce1bc742f5 Add 5G NSA information
Bug: 111453000
Test: atest FrameworksTelephonyTests
Change-Id: I5392bae0bcfaf231b67134a9c01c044f94f908b5
2018-11-14 02:17:14 +00:00