Commit Graph

4186 Commits

Author SHA1 Message Date
Youming Ye
97ee6295e9 Merge "Propagation of additional Ims Call Fail Causes" 2018-12-13 23:47:49 +00:00
Sahin Caliskan
4929a0d782 Merge "Move RCS APIs to android.telephony.ims" 2018-12-13 20:48:34 +00:00
Sahin Caliskan
7719db2b16 Move RCS APIs to android.telephony.ims
This is due to being compatible with other RCS related changes by by other engineers.
Test: Existing tests pass

Bug: 109759350
Change-Id: Id56df22e9c313c5e0700eda3b2c489d2f84ea0cd
Merged-In: Id56df22e9c313c5e0700eda3b2c489d2f84ea0cd
2018-12-13 16:50:28 +00:00
Youming Ye
da9de2d7fa Merge "Fix property setting with failure" 2018-12-13 06:55:25 +00:00
Jesse Fuentes
b9c35c1c0c Propagation of additional Ims Call Fail Causes
-Added new ImsReasonInfo error codes
-Add the new error codes in system-current.txt

Test:Manual
Bug:115925183

Change-Id: Id10651d08de2b77f0562e3c8733be76032a9611e
2018-12-12 17:49:50 -08:00
Jordan Liu
97c68169b8 Merge "Add API to get card ID for default eUICC" 2018-12-12 22:20:03 +00:00
Michele Berionne
ac9e1f5580 Merge "Remove @hide annotation from KEY_CARRIER_CONFIG_VERSION_STRING" 2018-12-12 18:58:28 +00:00
Adrian Roos
6115769c16 API: Clean up redundant and ineffective usages of SystemApi and TestApi
Everything that is marked SystemApi or TestApi, but not @hide is still
part of the public SDK, it is therefore not sound to have that combination.

In the future, specifing such a combination will be considered an error
to prevent inadvertently exposing SystemApi and TestApi as public API.

Bug: 115333477
Change-Id: Ibd5d6a22862fdbc1e20a1cb3925280f5a682edea
Merged-In: Ibd5d6a22862fdbc1e20a1cb3925280f5a682edea
Test: METALAVA_PREPEND_ARGS="--error UnhiddenSystemApi" m checkapi
Exempt-From-Owner-Approval: API cleanup
2018-12-12 15:02:26 +01:00
Brad Ebinger
91bd02534a Merge "Changes to IMS SS API to better fit API standards/" 2018-12-11 22:57:26 +00:00
Jordan Liu
2fe9e3748a Add API to get card ID for default eUICC
getCardIdForDefaultEuicc() returns the cardId of the default eUICC.

Bug: 80097562
Test: manual, UiccControllerTest
Change-Id: Iee001ce354184dff4862a92b6bda261797c19e56
2018-12-11 13:35:08 -08:00
Michele Berionne
a04da3ede8 Remove @hide annotation from KEY_CARRIER_CONFIG_VERSION_STRING
Remove @hide annotation from KEY_CARRIER_CONFIG_VERSION_STRING, so that
it can be used by applications.

Bug: 116527591
Test: Verified compilation.
Change-Id: I6ca2c89ed68ac190dc14a39ae4d9102632ad000a
2018-12-11 10:58:05 -08:00
Pengquan Meng
61c09d128b Merge "Modify constructor of NetworkRegistrationState" 2018-12-11 02:26:19 +00:00
Xiangyu/Malcolm Chen
69a618fb5b Merge "Deactivate bundled opportunistic subscription." 2018-12-11 00:42:34 +00:00
Pengquan Meng
73596cb5e9 Modify constructor of NetworkRegistrationState
This change the data specific constructor of NetworkRegistrationState to
make it adapt to the new NR indicators.

Bug: 111453000
Test: atest FrameworksTelephonyTests
Merged-In: I4e1f30ea8531a6a424c2c920c74257d4d673589d
Change-Id: I4e1f30ea8531a6a424c2c920c74257d4d673589d
2018-12-10 15:36:52 -08:00
Malcolm Chen
d86d02a281 Deactivate bundled opportunistic subscription.
When primary subscription is disabled, also deactivate
its bundled opportunistic subscription.

Bug: 118349116
Test: unittest
Change-Id: I04cb89b8cc2d03836878866d2975af186de42468
Merged-In: I04cb89b8cc2d03836878866d2975af186de42468
2018-12-10 14:02:58 -08:00
Pengquan Meng
8f9f382c9c Merge "Add 5G rat type" 2018-12-10 22:00:35 +00:00
Jordan Liu
06dcff96e4 Merge "Add new key for carrier configuration version" 2018-12-10 20:23:09 +00:00
Pengquan Meng
6b849c2acd Add 5G rat type
This add a new rat type for 5G.

Bug: 111453000
Test: build
Merged-In: I57366a1a9f61278cf752c25d54a1af1830bf4575
Change-Id: I57366a1a9f61278cf752c25d54a1af1830bf4575
2018-12-07 21:44:58 +00:00
Brad Ebinger
c9a6aab65d Changes to IMS SS API to better fit API standards/
Bug: 120072087
Test: Manual
Change-Id: Ibcc9b2a39f3f736cf385343aa1ab82174ea73a39
2018-12-07 13:22:01 -08:00
Michele Berionne
8ac8bd28f4 Add new key for carrier configuration version
Add new key to retrieve the carrier configuration version, so that it
can be displayed to the user.

Bug: 116527591
Test: Verified compilation.
Change-Id: I43a07faa41a925d8928d9c1fa59b9a01d08eb815
2018-12-07 13:12:34 -08:00
Chen Xu
310b9ea8d5 Merge "address API council feedbacks for Telephony.Carriers" 2018-12-06 21:45:47 +00:00
Hall Liu
85d5a309ca Merge "Fix validation problem in PhoneNumberRange" 2018-12-06 21:05:57 +00:00
Wileen Chiu
67bbcea7cf Fix property setting with failure
1, Avoid containing split char ',' in original value.
2, Check value utf-8 length to avoid exceeding the maximum length in
native layer.

Bug: 118357532
Change-Id: Ic2f17c474f5fcf6a513641c0f8f7edd0794decb0
2018-12-05 17:14:09 -08:00
Hall Liu
a1ea5d753c Fix validation problem in PhoneNumberRange
Regexes weren't matching empty strings (which are perfectly valid) for
the various arguments in the ranges. Fix it so that they do match.

Bug: 119675160
Test: GTS
Change-Id: I4ea0f65b62af9fd35612e5261e01b2bea07c8ddc
2018-12-05 13:57:42 -08:00
Treehugger Robot
c3d4693f79 Merge "UpdateAvailableNetworks apis" 2018-12-05 19:16:39 +00:00
Hall Liu
9814a10f42 Merge "Add AIDL for number verification request API" 2018-12-05 18:29:47 +00:00
Chen Xu
79db2b093a Merge "support per carrier based iso country code." 2018-12-05 18:03:08 +00:00
chen xu
a2618627f0 support per carrier based iso country code.
1. apply carrierid-to-countrycode as an override table on
top of mcc-to-countrycode table which is coarse and inaccurate
especailly for dual ISMI SIM
2. persist country iso to simInfo db and notify change through
public API onSubscriptionChangedListener

Bug: 64775297
Bug: 110559381
Test: Build
Change-Id: I3ec2d90d9ce8dfba1418358de62eb4d099234757
2018-12-04 18:01:46 -08:00
Hall Liu
138455f161 Add AIDL for number verification request API
Add the new method to ITelephony and call it in the
requestNumberVerification API.

Bug: 119675160
Test: GTS later + testapps
Change-Id: I89baba023cdae746bc4afd96432f8348114d47cf
2018-12-04 17:10:55 -08:00
Sooraj Sasindran
a3ab858fda UpdateAvailableNetworks apis
Provide API to inform available networks

Bug: 117982838
Test: make and unit test
Merged-In: I9de1f767560551914de80031c1675d7e03b09775
Change-Id: I9de1f767560551914de80031c1675d7e03b09775
2018-12-04 23:56:04 +00:00
Hall Liu
239b0de673 Merge "Add API scaffolding for number verification" 2018-12-04 17:58:28 +00:00
Chen Xu
72378c7f11 Merge "update comments for resetRadioConfig and rebootRadio" 2018-12-03 22:58:57 +00:00
chen xu
5e4840ae72 update comments for resetRadioConfig and rebootRadio
This operation is carrier/technology agnostic. Its currently used by
some cdma carriers e.g, OMADM but it doesn't mean its an no-op for GSM
carriers

Bug: 119118770
Test: Build
Change-Id: Iff31fc0afbb060a590b24bd19dc91cad3889e4fb
2018-12-01 14:51:23 -08:00
chen xu
7ebcd78e90 address API council feedbacks for Telephony.Carriers
Bug: 118296421
Test: telephony unit test
Change-Id: Ib26db49e5fa6891c2176124681172c271e6cc423
Merged-in: Ib26db49e5fa6891c2176124681172c271e6cc423
2018-11-30 13:29:55 -08:00
Shuo Qian
9a9dbf05e0 Merge "Remove static for getSubscriptionIds" 2018-11-30 20:21:45 +00:00
Brad Ebinger
539f4f44c1 Merge "Actually check for READ_PHONE_STATE permission for Voicemail query" 2018-11-30 18:28:51 +00:00
Adrian Roos
6fc3189e37 Merge "API: Make implicit APIs from type usage explicit" 2018-11-30 16:25:06 +00:00
Xiangyu/Malcolm Chen
4dd4cf5679 Merge "Remove PARENT_SUB_ID since it's no longer needed." 2018-11-30 04:16:29 +00:00
Treehugger Robot
98b78236d0 Merge "API to switch preferred data" 2018-11-30 01:29:39 +00:00
Hall Liu
5314036bb1 Add API scaffolding for number verification
Add the PhoneNumberRange and NumberVerificationCallback classes. Add a
method in TelephonyManager to activate the API, but it does nothing for
now.

Bug: 119675160
Test: todo
Change-Id: I3ccd62b47f02a3aa324b675fdb16c8e7a1e9feec
2018-11-29 17:20:02 -08:00
Brad Ebinger
7d0dbe6954 Actually check for READ_PHONE_STATE permission for Voicemail query
We were not checking READ_PHONE_STATE permission when callers
were querying for the number of voicemails the user had for a
subscription.

Removes old ITelephony#getVoiceMessageCount method from graylist
because it hasn't been used since kitkat and does not allow for
READ_PHONE_STATE permission checks.

Bug: 119884553
Test: manual
Change-Id: Ic6c29b123e192caf663d0e0c8da559116d1a78c9
2018-11-29 15:17:33 -08:00
Chen Xu
818a6e70e2 Merge "add more comments for API getAidForAppType" 2018-11-29 19:07:32 +00:00
Malcolm Chen
52f6dffbb1 Remove PARENT_SUB_ID since it's no longer needed.
Bug: 120141126
Test: build and flash
Change-Id: Ie482ba707ecb8b02d6c8f9e3b8bcdc30c835878e
Merged-In: Ie482ba707ecb8b02d6c8f9e3b8bcdc30c835878e
2018-11-29 11:04:16 -08:00
Xiangyu/Malcolm Chen
899c96df90 Merge "add setMetered in SubscriptionManager" 2018-11-29 18:57:55 +00:00
sqian
d8c30b9a80 Remove static for getSubscriptionIds
Bug: 118675557
Test: compile
Change-Id: Id2ba95331f87115daf6c0c074faccf812a1661c9
Merged-In: Id2ba95331f87115daf6c0c074faccf812a1661c9
(cherry picked from commit 705dec5255)
2018-11-28 12:11:52 -08:00
chen xu
ce10d98c74 add more comments for API getAidForAppType
Bug: 119620470
Test: Build
Change-Id: I5df3e0d2f0ed93610a601aebf81f67deae4e1c05
2018-11-28 12:04:41 -08:00
Chen Xu
194cd0d45a Merge "add more comments in advanced calling URL" 2018-11-28 19:40:36 +00:00
chen xu
83a8fb52e0 add more comments in advanced calling URL
Bug: 120071848
Test: Build
Change-Id: Idbcd32f965edf98204ad7b7cbacdca4291bc5687
2018-11-28 19:38:59 +00:00
Pengquan Meng
c291d32338 Merge "Implement physicalChannelConfig framework/base" 2018-11-28 19:34:46 +00:00
Pengquan Meng
d24193dcf5 Implement physicalChannelConfig framework/base
Bug: 111453000
Test: atest FrameworksTelephonyTests
Merged-In: I390958aeed7182242d5623c10b6fd552ba35005a
Change-Id: I390958aeed7182242d5623c10b6fd552ba35005a
2018-11-27 19:44:17 -08:00