Commit Graph

3798 Commits

Author SHA1 Message Date
Benjamin Miller
b2239c2f70 Merge "Docs: noted that setting proxy hostnames on an ApnSetting requires an internet connection for DNS." into pi-dev am: 0f5f09844d
am: aaec389c2e

Change-Id: I87f72add1a531048c94b31e4050887476257db1e
2018-06-07 20:09:06 -07:00
Benjamin Miller
aaec389c2e Merge "Docs: noted that setting proxy hostnames on an ApnSetting requires an internet connection for DNS." into pi-dev
am: 0f5f09844d

Change-Id: I6c19f03debc6d15eece445dfd7fb0f5336d90407
2018-06-07 19:32:53 -07:00
Benjamin Miller
ab57d7fe6c Docs: noted that setting proxy hostnames on an ApnSetting requires an internet connection for DNS.
Doc-only change.
Also improved the class descriptions and fixed some typos.

Staged at:
  http://go/dac-stage/reference/android/telephony/data/ApnSetting_new
  http://go/dac-stage/reference/android/telephony/data/ApnSetting.Builder_new

Bug: 80238372
Test: make ds-docs with visual inspection of generated HTML
Change-Id: Id4a00c1a44dc3cbbaefc94c0438eb1a077f06e5e
2018-06-07 21:20:57 +00:00
Aurimas Liutikas
62786b4431 Merge "Fix broken links in @see tags in framework docs." 2018-06-01 17:16:09 +00:00
Aurimas Liutikas
7f6953369a Fix broken links in @see tags in framework docs.
doclava was accidentally suppressing all these broken links
in @see tags. This CL fixes issues so we can start enfocing
checks for broken @see links.

Test: make docs
Exempt-From-Owner-Approval: Fixing @see javadoc link issues that are currently completely broken
Change-Id: I767e9fb9842494e5eccef2a7bdeee3877c488b5d
2018-06-01 17:15:55 +00:00
Hall Liu
9c43a33db1 Merge "Move the "repeated calls" caveat" into pi-dev am: 7897fa3b9a
am: 7236332a74

Change-Id: Id9988e67a0ac70ec71da92cb6ae8e914fbc66361
2018-06-01 01:50:30 -07:00
Hall Liu
7236332a74 Merge "Move the "repeated calls" caveat" into pi-dev
am: 7897fa3b9a

Change-Id: Ifbc5e1ffb1093ae9e5abd398dbb3eb190d67142f
2018-05-31 20:33:01 -07:00
Hall Liu
7897fa3b9a Merge "Move the "repeated calls" caveat" into pi-dev 2018-06-01 01:14:37 +00:00
Hall Liu
9fcd59d67c Merge "Fix MbmsDownloadSession documentation" into pi-dev am: 73942715f3
am: b7e5cd58ac

Change-Id: I66e3e6ebbd087cc08ce06231a8bb5502e210e373
2018-05-31 16:45:09 -07:00
Hall Liu
bc9f7cdf91 Move the "repeated calls" caveat
Previous CL put the "repeated calls will replace the listener" comment
on the wrong method. Fixing.

Bug: 80493663
Test: None, doc change
Change-Id: I2736a582d79b3b2f204519c649d82d9ba912e1e5
2018-05-31 16:26:01 -07:00
Brad Ebinger
ba6b7c4d75 Merge "IMS: Support for Implicit Call Rejection" am: 19d032b695 am: 982ceb81a9
am: f122c22c50

Change-Id: Ia98671f03e7ba6eac03c0d2cdbac949ecb76cca4
2018-05-31 16:18:39 -07:00
Hall Liu
b7e5cd58ac Merge "Fix MbmsDownloadSession documentation" into pi-dev
am: 73942715f3

Change-Id: I9217bcd5d4d70683e788b9afc77686ac2736d429
2018-05-31 14:51:26 -07:00
Brad Ebinger
f122c22c50 Merge "IMS: Support for Implicit Call Rejection" am: 19d032b695
am: 982ceb81a9

Change-Id: Icc22c412ab47c5a4ca895dfc6c3389a3a6202200
2018-05-31 14:02:10 -07:00
Hall Liu
73942715f3 Merge "Fix MbmsDownloadSession documentation" into pi-dev 2018-05-31 20:34:42 +00:00
Omkar Kolangade
275b1358eb IMS: Support for Implicit Call Rejection
Adding an API in MmTelFeature to allow IMS
Service to report the reasons for implicit
call rejections by lower layers. Corresponding
ImsReasonInfo codes are also being added.

The call rejections are not related to any
call session or a call that Framework is aware
of.

Change-Id: Ie47a239856db21e84d199a7620edf7b6ceeb81bc
2018-05-31 01:37:47 +00:00
Hall Liu
c1ae0a7656 Fix MbmsDownloadSession documentation
Fix the TODO from forever ago and update the docs for the listener
registration methods.

Change-Id: I1276d0afe430e1b50c0af1fdfacb12a89ea5aa38
Fixes: 80493663
Test: None, comments only
2018-05-30 16:11:11 -07:00
Tyler Gunn
a3d01229f8 Merge "Update onDeregistered docs to make capability change expectations clear." into pi-dev am: 5025812860
am: 5823043e0c

Change-Id: Ia6d217c8669232b14eccf867b1e5826bb4a286d5
2018-05-30 07:47:11 -07:00
Tyler Gunn
5823043e0c Merge "Update onDeregistered docs to make capability change expectations clear." into pi-dev
am: 5025812860

Change-Id: Id84d7761db866905a8c6850beca302f17674ba5f
2018-05-30 07:37:35 -07:00
Tyler Gunn
e08a4fe325 Update onDeregistered docs to make capability change expectations clear.
Updating the onDeregistered docs to make it clear that the ImsService
must report any feature capability changes to the framework prior to
de-registration.

Bug: 73076695
Test: Docs only change.
Change-Id: Ib9bc88bfb43670f04c8afde36d0947255399397a
2018-05-25 15:06:31 +00:00
Tyler Gunn
b1b864cee2 Merge "Require READ_CALL_LOG permission to see phone numbers in phone state." 2018-05-19 00:13:15 +00:00
Tyler Gunn
84dad9565f Require READ_CALL_LOG permission to see phone numbers in phone state.
Incoming and outgoing call phone numbers are visible in the phone state
broadcast and via the PhoneStateListener.  To enhance user privacy, change
to require the READ_CALL_LOG permission in order to receive the call
phone numbers.

This means to see phone numbers:
1. android.intent.action.PHONE_STATE - requires READ_PHONE_STATE and
READ_CALL_LOG permission.
2. PhoneStateListener#onCallStateChanged - now required READ_CALL_LOG
permission.

To support this new behavior, added sendBroadcastAsUserMultiplePermissions
method to context to allow sending the broadcast to all users while
requiring the two permissions.

Bug: 78650469
Test: Created PHONE_STATE broadcast receiver in test app and verified that
when no permissions are granted, the phone number is empty for incoming
and outgoing calls.
Test: Granted Phone state permission to test app and verified that phone
number is not populated.
Test: Granted test app read call log permission and verified that phone
number is populated.
Test: Created PhoneStateListener in test app and verified that when no
permissions are granted, phone number is empty for incoming and outgoing.
calls.
Test: Granted read call log permission to test app and verified that both
the incoming and outgoing numbers are populated.

Change-Id: I857ea00cc58a0abbb77960643f361dd6dd9c8b56
2018-05-18 14:37:43 -07:00
Xiangyu/Malcolm Chen
54bd56d6c5 Merge "Add carrier config for partial sms raw message expiration." 2018-05-18 21:05:55 +00:00
Xiangyu/Malcolm Chen
147dc32b0b Merge "Fix UiccSlotInfo equals method." 2018-05-18 21:05:43 +00:00
Malcolm Chen
b668535a69 Add carrier config for partial sms raw message expiration.
Everytime at boot-up, we check Sms raw table, and delete the rows
with any partial message that is too old. By default the expiration
age is 30 days, but we want to make it configurable.

Bug: 77910620
Test: sanity-test
Change-Id: Ibd2374324be5513cbd09c04889e7b96051c26fb4
Merged-In: Ibd2374324be5513cbd09c04889e7b96051c26fb4
2018-05-17 16:49:12 -07:00
Malcolm Chen
9fd71f8ec5 Fix UiccSlotInfo equals method.
In UiccSlotInfo#equals method, it's comparing Strings incorrectly.

Bug: 78033760
Test: GTS test
Change-Id: I4fed0a70ee0ef06bcf7a1af544e6aebced31d9c2
Merged-In: I4fed0a70ee0ef06bcf7a1af544e6aebced31d9c2
2018-05-17 16:30:32 -07:00
Nathan Harold
c50d40aa9f Add toString() method to PhysicalChannelConfig
We need to be able to print the PhysicalChannelConfig
for debugging/dumping, so adding a toString() method
to print in a format that we can easily digest and
is consistent with other Telephony log formatting.

Bug: 78791811
Test: manual / TelephonyDebugMenu
Merged-In: Ieb12f78a821369072ca9f03d28b28759836f84b4
Change-Id: Ieb12f78a821369072ca9f03d28b28759836f84b4
(cherry picked from commit 2636dd435a)
2018-05-17 11:48:53 -07:00
Nathan Harold
09a8e26637 Merge "Add toString() method to PhysicalChannelConfig" into pi-dev am: 89a48a509e
am: 23d103bc00

Change-Id: I5307a78ad722f99033ca1541498ed9d8da027e97
2018-05-16 22:10:21 -07:00
Nathan Harold
23d103bc00 Merge "Add toString() method to PhysicalChannelConfig" into pi-dev
am: 89a48a509e

Change-Id: I04a47606699837e0b6c2c2079d0cafdb1f22dc77
2018-05-16 22:00:17 -07:00
TreeHugger Robot
89a48a509e Merge "Add toString() method to PhysicalChannelConfig" into pi-dev 2018-05-17 04:45:41 +00:00
Nathan Harold
2636dd435a Add toString() method to PhysicalChannelConfig
We need to be able to print the PhysicalChannelConfig
for debugging/dumping, so adding a toString() method
to print in a format that we can easily digest and
is consistent with other Telephony log formatting.

Bug: 78791811
Test: manual / TelephonyDebugMenu
Change-Id: Ieb12f78a821369072ca9f03d28b28759836f84b4
2018-05-16 12:00:34 -07:00
Xiangyu/Malcolm Chen
272769c41a Merge "Unhide constructors of DataService and NetworkService." 2018-05-15 18:54:50 +00:00
Ta-wei Yen
cb467b2669 Merge "Update javadoc for setVisualVoicemailSmsFilterSettings" into pi-dev am: 1f520a64d7
am: e1f739d4bd

Change-Id: I859af50cb948e291b7bb047b83ed0c6b668645b4
2018-05-14 17:13:31 -07:00
Ta-wei Yen
e1f739d4bd Merge "Update javadoc for setVisualVoicemailSmsFilterSettings" into pi-dev
am: 1f520a64d7

Change-Id: I200ac97a1bdc7efaca638628abff90f3853bf688
2018-05-14 16:59:17 -07:00
Ta-wei Yen
1f520a64d7 Merge "Update javadoc for setVisualVoicemailSmsFilterSettings" into pi-dev 2018-05-14 23:48:55 +00:00
Malcolm Chen
1d7e446f6e Unhide constructors of DataService and NetworkService.
DataService and NetworkService are System level classes. We shouldn't
hide their constructors otherwise their System level sub-class
can't be instantiated properly.

Test: gts
Bug: 77531655
Change-Id: I1a58b4857dbcf939ac124e20eb0a801ad5a9b597
Merged-In: I1a58b4857dbcf939ac124e20eb0a801ad5a9b597
2018-05-14 23:27:42 +00:00
Ta-wei Yen
25d29d7315 Update javadoc for setVisualVoicemailSmsFilterSettings
Test: N/A
Change-Id: I024fa5c2947b562e61e693ecb4d8421fe2507c9e
Fixes: 73829091
2018-05-14 15:32:22 -07:00
Jordan Liu
cdb29f97db Merge "Add Carriers.APN_SET_ID and NO_SET_SET" 2018-05-11 15:57:16 +00:00
Jordan Liu
b11cbb9e2e Merge "Update getIccAuthentication documentation" 2018-05-10 22:56:27 +00:00
Jordan Liu
09e4dc0464 Add Carriers.APN_SET_ID and NO_SET_SET
Add them as hidden for now.

Bug: 70172263
Test: TelephonyProviderTest#testApnSetId
Change-Id: Id16dd5631d327f403a7347b72ecfb27a5e298541
Merged-In: Id16dd5631d327f403a7347b72ecfb27a5e298541
2018-05-10 14:36:38 -07:00
Jordan Liu
b65284004f Update getIccAuthentication documentation
Explain what it means if the function returns null. This is based on the
spec at TS 31.102 section 7.3.1.

Bug: 74392381
Test: manual
Change-Id: Ic84d94589431109079a866027953ab9dbef103b8
Merged-In: Ic84d94589431109079a866027953ab9dbef103b8
2018-05-10 14:19:09 -07:00
sqian
c6aadb6e31 Enhance adding subscription logs
Bug: 79428110
Test: Manual
Change-Id: Ie77128f447ad0628336b2af38344d2d7a07f1eab
Merged-In: Ie77128f447ad0628336b2af38344d2d7a07f1eab
(cherry picked from commit a77d9d7f2a)
2018-05-10 11:58:15 -07:00
Shuo Qian
01beb0ce03 Merge "Enhance adding subscription logs" into pi-dev am: e62c41ef3e
am: 03c88874fe

Change-Id: I20863a8297345aa694982a3dc2e6819ae6334199
2018-05-09 21:59:22 -07:00
Shuo Qian
03c88874fe Merge "Enhance adding subscription logs" into pi-dev
am: e62c41ef3e

Change-Id: I041315a7371c79924443dcb07842444f26446a75
2018-05-09 21:44:48 -07:00
Pengquan Meng
6af1876832 Remove dead method from TelephonyManager
TelephonyManager.getCompleteVoiceMailNumber &
TelephonyManager.getCompleteVoiceMailNumberForSubscriber have no
reference after lollipop. It's a good time to remove the dead code.

Test: no test
Bug: 78788614
Change-Id: I99091dd9a47f2b5aeca3d320e873b7b7c2baf36f
2018-05-08 16:14:58 -07:00
sqian
a77d9d7f2a Enhance adding subscription logs
Bug: 79428110
Test: Manual
Change-Id: Ie77128f447ad0628336b2af38344d2d7a07f1eab
2018-05-08 21:19:16 +00:00
Tyler Gunn
b02996cb14 Merge "Require READ_CALL_LOG permission to see phone numbers in phone state." into pi-dev am: 7f556daa41
am: d6aef2176f

Change-Id: Id4b1f204061f6c7f6c12c2faa392015ade4c4b7f
2018-05-01 13:52:35 -07:00
Tyler Gunn
d6aef2176f Merge "Require READ_CALL_LOG permission to see phone numbers in phone state." into pi-dev
am: 7f556daa41

Change-Id: Icd641707eef832fd5f3d393c64ce9b3483770e9d
2018-05-01 13:41:49 -07:00
Tyler Gunn
7f556daa41 Merge "Require READ_CALL_LOG permission to see phone numbers in phone state." into pi-dev 2018-05-01 20:27:15 +00:00
Jordan Liu
d6a4236f05 Merge "Add Carriers.APN_SET_ID and NO_SET_SET" into pi-dev am: 47c3c87c0c
am: dd91ec68d4

Change-Id: I2a084eb89c5857fdcaa2a8b89912934e9d4bcfe2
2018-04-30 15:33:50 -07:00
Jordan Liu
dd91ec68d4 Merge "Add Carriers.APN_SET_ID and NO_SET_SET" into pi-dev
am: 47c3c87c0c

Change-Id: I429680f2d9becaa1d4804517e40ec03925663476
2018-04-30 15:24:48 -07:00