Sooraj Sasindran
6cf49b2d35
Do not use hidden withCleanCallingIdentity
...
Do not use hidden withCleanCallingIdentity
Bug: 140908357
Test: Build
Change-Id: Ic6cbd587c009df973d4602ff21e5b8a9c27293ff
2019-12-06 09:01:20 -08:00
Shuo Qian
fde53bb6f1
Move TelephonyPermissions to TelephonyCommon
...
Test: built
Bug: 145554073
Change-Id: I3681043a197e6daeb16dcf506d672bdcf1fc8da8
2019-12-04 02:13:42 +00:00
Meng Wang
d625b17f3a
Merge "Move TelephonyUtils to base/telephony"
2019-12-03 01:22:51 +00:00
TreeHugger Robot
7a80e94c47
Merge "Do not use hidden isPrivilegedApp"
2019-12-03 00:22:42 +00:00
Meng Wang
83c8416b7d
Move TelephonyUtils to base/telephony
...
Bug: 140908357
Test: make
Change-Id: Ie83253e2368256e74b687dc1e5f650bd047c2521
2019-12-02 15:51:38 -08:00
Sooraj Sasindran
22b53f4157
Do not use hidden isPrivilegedApp
...
Remove usage of isPrivilegedApp as it is used only for logging.
Bug: 140908357
Test: Build
Change-Id: I510e10cd17546ebd4aa59f14a3b10738e37e912d
2019-12-02 13:03:07 -08:00
Meng Wang
3ef13e045c
Merge "Do not use hidden API XmlUtils."
2019-12-01 23:41:25 +00:00
Meng Wang
ae3d807965
Do not use hidden API XmlUtils.
...
Make a local copy instead.
Bug: 137202333
Test: make
Change-Id: Ibcf7b23a8b6628aa482b34f867db57e4cb0dbb8e
2019-11-26 16:26:24 -08:00
Chen Xu
0237ab632a
Merge "move encodeException to non-updatable framework/base/telephony/common"
2019-11-27 00:15:13 +00:00
Chen Xu
3a7dfca8db
move encodeException to non-updatable framework/base/telephony/common
...
Bug: 140908357
Test: Build
Change-Id: I9be6b41fe4af0eb4eb56debffc020735509dc407
2019-11-26 13:51:38 -08:00
Xiangyu/Malcolm Chen
a452be9d6f
Merge "Add System API to indicate whether physical SIM can be disabled."
2019-11-26 18:37:41 +00:00
Meng Wang
58a95cc4c2
Merge "Telephony: do not use hidden API ArrayUtils."
2019-11-26 18:11:37 +00:00
Malcolm Chen
c5dedead28
Add System API to indicate whether physical SIM can be disabled.
...
Bug: 133379187
Test: build
Change-Id: I764f344b0d430cb49ccccc9f402139ea32e70c92
2019-11-25 15:36:06 -08:00
Meng Wang
b03e9a1171
Merge "Move SmsConstants to telephony/common" am: e34b67f5ca am: f0c0d50f49
...
am: 77cc8e5cf2
Change-Id: I6c894ef89a641df05a04bd3ad0304ed97477a4f7
2019-11-25 14:24:11 -08:00
Meng Wang
77cc8e5cf2
Merge "Move SmsConstants to telephony/common" am: e34b67f5ca
...
am: f0c0d50f49
Change-Id: I52ff07ca5b69c22e86de72465b031d45da165490
2019-11-25 14:18:19 -08:00
Meng Wang
60a46c5833
Telephony: do not use hidden API ArrayUtils.
...
Make a local copy instead.
Bug: 137202333
Test: make
Change-Id: I3218bca2d296c548b9d8427f70df8f7a33d0d449
2019-11-25 11:18:10 -08:00
Meng Wang
ac59ad3c83
Move SmsConstants to telephony/common
...
So it can be used by modules other than telephony.
Bug: 140908357
Test: make
Change-Id: I7819adbc150df5bd8a05014a9dfa79bd8de425b6
2019-11-25 10:37:30 -08:00
Jayachandran Chinnakkannu
c909c94864
Merge "Remove usage of hidden API Emoji.isRegionalIndicatorSymbol" am: 4257da213d am: d6900e4b3c
...
am: b52dfe672f
Change-Id: If4f84926076a3fc6ffa860b7075bb669b1cfb21c
2019-11-25 07:24:46 -08:00
Shuo Qian
4aeff5ba6e
Merge "Introduce APIs for Emergency Number Database version"
2019-11-23 02:33:50 +00:00
Jayachandran Chinnakkannu
b52dfe672f
Merge "Remove usage of hidden API Emoji.isRegionalIndicatorSymbol" am: 4257da213d
...
am: d6900e4b3c
Change-Id: I86c741f7ede242568aab436f673000c9f0da5813
2019-11-22 10:22:02 -08:00
Jayachandran Chinnakkannu
4257da213d
Merge "Remove usage of hidden API Emoji.isRegionalIndicatorSymbol"
2019-11-22 17:54:23 +00:00
Jack Yu
563151db65
Merge "Added sub id to SmsCbMessage"
2019-11-22 17:28:43 +00:00
Jayachandran C
c5ba7200d4
Remove usage of hidden API Emoji.isRegionalIndicatorSymbol
...
This CL copies the logic in the local file
Bug: 140908357
Test: Build
Change-Id: I1044c456fdf6ad1646811c966e0cd38c67665ad9
2019-11-21 16:49:46 -08:00
Jack Yu
750b8b1972
Added sub id to SmsCbMessage
...
Added a new field subscription id to SMS
cell broadcast message.
This is the preliminary step of deprecating
CellBroadcastMessage class.
Bug: 144891074
Test: Manual
Change-Id: I23f61e77f6a9a16ce77f7892ba96fd7485c555a4
2019-11-21 14:21:56 -08:00
Jayachandran C
60c9099498
Telephony-sdk: Replace usage of Slog with Rlog
...
Bug: 140908357
Test: Build
Change-Id: I7fa10bce115e9261a0fe99eb9024ec17a879e975
2019-11-21 11:32:30 -08:00
Shuo Qian
1b28fdd6dd
Introduce APIs for Emergency Number Database version
...
1) Test API to override file partition for testing
2) System API to notify Telephony Emergency Number database installation
complete
3) Remove broadcast mechanism
Test: gts
Bug: 136027884
Change-Id: Ie2b0c390948c82ccbb94187a6ded9affd162f5ab
2019-11-20 15:52:20 -08:00
SongFerng Wang
341b8c38da
Merge "isTetherApnRequired api rename as isTetheringApnRequired" am: 25ea00d059 am: c4bb6df605
...
am: 1877b8226d
Change-Id: Ie5aa119857b940abb838f5cb0baf6ba294eb896a
2019-11-20 02:24:15 -08:00
SongFerng Wang
1877b8226d
Merge "isTetherApnRequired api rename as isTetheringApnRequired" am: 25ea00d059
...
am: c4bb6df605
Change-Id: I8de3f03e2443eafc072650cb362f82e4bed94aa8
2019-11-20 02:18:08 -08:00
SongFerng Wang
25ea00d059
Merge "isTetherApnRequired api rename as isTetheringApnRequired"
2019-11-20 08:46:05 +00:00
Meng Wang
1db82317c0
Merge "Move GsmAlphabet to telephony/common" am: 36a15245e9 am: c68e65ed1a
...
am: 99a254e353
Change-Id: I470e99f1dd7e7055ab88840087c2470f98d50629
2019-11-19 20:32:34 -08:00
Meng Wang
99a254e353
Merge "Move GsmAlphabet to telephony/common" am: 36a15245e9
...
am: c68e65ed1a
Change-Id: I5cf5e4b0610d68276ce5931a0321bc12139a2253
2019-11-19 19:39:20 -08:00
Meng Wang
36a15245e9
Merge "Move GsmAlphabet to telephony/common"
2019-11-20 03:21:19 +00:00
Jordan Liu
f85b6a2def
Merge "Expose Geometry, LatLng, and maxWaitDuration" am: e993fb8bb9
...
am: 2ca04cf384
Change-Id: Iaef98dc98f7caf25f4279b768f11937d15f7a947
2019-11-19 15:51:19 -08:00
Hall Liu
ae63546d19
Merge commit '1d7a53da981b7d4281c58af7eb9b150163b344a6' into manual_merge_1d7a53da981b7d4281c58af7eb9b150163b344a6
...
am: dab3711435
Change-Id: Ib75482a87545f7743f0049c8e51c354d2294c2af
2019-11-19 15:12:28 -08:00
Meng Wang
3312d7cfa7
Move GsmAlphabet to telephony/common
...
so it can be shared with non-telephony modules.
Test: make
Bug: 140908357
Change-Id: I8caba6a1ac3943e7f0044f7502eead10dfe8669c
2019-11-19 14:19:41 -08:00
Jordan Liu
e993fb8bb9
Merge "Expose Geometry, LatLng, and maxWaitDuration"
2019-11-19 20:55:36 +00:00
Artur Satayev
785d3a03b9
Merge "Add @UnsupportedAppUsage annotations for greylist."
2019-11-19 15:05:51 +00:00
Artur Satayev
751e55114c
Add @UnsupportedAppUsage annotations for greylist.
...
go/cleanup-greylist-txt
These have already been greylisted, however due to bugs/omissions in the tooling have been kept in go/greylist-txt instead of being annotated in the code.
This is partial merge of aosp/Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09. Telephony greylist cleanup has been done separately. Note that annotations outside of frameworks/base/ have been merged from AOSP.
Bug: 137350495
Test: m
Exempt-From-Owner-Approval: merge
Change-Id: I015c466e8b69cc0fed5e9d394ba865aad11d8ba6
2019-11-19 15:05:35 +00:00
Hall Liu
1d7a53da98
Merge changes from topic "mainline4"
...
* changes:
Add new API for Telecom to send phone state
Minor style correction to avoid merge conflict
non-mainline telephony related AIDL refactor/decoupling
2019-11-18 22:31:27 +00:00
Chen Xu
f08074d6ec
Merge "SystemAPI for ACTION_SMS_EMERGENCY_CB_RECEIVED intent" am: 3c397a6217
...
am: 42d7faea52
Change-Id: If8ab3835f050dee774a4fbcbaca3febf07fec049
2019-11-18 11:23:06 -08:00
Chen Xu
39b95941f9
SystemAPI for ACTION_SMS_EMERGENCY_CB_RECEIVED intent
...
Bug: 135956699
Test: Build
Change-Id: Ic7124f30fae6faa482467fd9235ef6155854f589
(cherry picked from commit 9c1260c818 )
Merged-in: Ic7124f30fae6faa482467fd9235ef6155854f589
2019-11-16 09:21:33 -08:00
Jordan Liu
b3591333f7
Expose Geometry, LatLng, and maxWaitDuration
...
Expose Geometry and LatLng classes as SystemApi
Expose maxWaitDuration, which is used in the cell broadcast service
geofencing logic.
Bug: 135956699
Test: make and run appcompat script
Merged-In: Iac585cd54db97c08eccc57adc9721c90aa785fcd
Change-Id: Iac585cd54db97c08eccc57adc9721c90aa785fcd
(cherry picked from commit a8ec03ebe6 )
2019-11-16 07:56:30 -08:00
Chen Xu
8eb62f9485
non-mainline telephony related AIDL refactor/decoupling
...
1. decouple IOnSubscriptionChangedListener AIDL from telephonyMainline
2. other refactor. moving APIs which will not be included in
telephony mainline to frameworks/base/core/java/android/telephony.
Moving internal classes like AIDL which will not be included in
telephony mainline to
framework/base/core/java/com/android/internal/telephony
Bug: 140908357
Test: Build & unit test
Change-Id: I9413ef758cceadd251d03f3b5ea1054cc48ef044
Merged-In: I9413ef758cceadd251d03f3b5ea1054cc48ef044
2019-11-15 18:02:40 -08:00
SongFerngWang
8a90fc0811
isTetherApnRequired api rename as isTetheringApnRequired
...
Bug: 144455789
Test: Build pass.
atest TetheringConfigurationTest (PASS)
Change-Id: I9ab4c7b3aef0619046d7e3d711683dbe1f31bb50
2019-11-15 14:50:52 +08:00
Philip P. Moltmann
33692f734f
Pipe through featureId from caller to permission checks in telephony
...
code
A featureId is only used by runtime permissions.
Test: atest FrameworksTelephonyTests CtsAppOpsTestCases
Bug: 136595429
Change-Id: I7ef41e8961e48d40e5685c4a521e83cb20953e48
2019-11-14 13:40:55 -08:00
SongFerng Wang
3e5b9ac2b6
Merge "[mainline] Expose getTetherApnRequired API as system API" am: 3887ca1f22
...
am: fa3008c39d
Change-Id: I11ed0e214003758fe9116dff520221b09c0171b6
2019-11-11 14:42:48 -08:00
SongFerng Wang
3887ca1f22
Merge "[mainline] Expose getTetherApnRequired API as system API"
2019-11-11 22:06:49 +00:00
Chen Xu
5a04c0d7b8
Merge "SystemAPI for ACTION_SMS_EMERGENCY_CB_RECEIVED intent"
2019-11-11 18:33:01 +00:00
Artur Satayev
756d3b447a
Merge "Add @UnsupportedAppUsage annotations for greylist." am: 423c3a32d6
...
am: 7a565c45b1
Change-Id: I48075ef4296e0b55c0055f7364c5129bbd60e9ed
2019-11-11 09:33:13 -08:00
TreeHugger Robot
5edd93298e
Merge "Use sysprop library for telephony props"
2019-11-11 02:11:48 +00:00