Commit Graph

7321 Commits

Author SHA1 Message Date
Amit Mahajan
36791ef41e Merge "Adding new APN type for Mission Critical Services." 2019-03-04 18:23:30 +00:00
Treehugger Robot
693e023bac Merge "Fix javadoc HTML escaping." 2019-03-04 16:22:20 +00:00
Mark Chien
077a04828d Merge "Change return value of getTetherApnRequired() to a boolean." 2019-03-03 06:53:47 +00:00
Treehugger Robot
a3f1b3f15d Merge "Fixed all APIs not meeting API review requirement" 2019-03-03 04:27:32 +00:00
Amit Mahajan
fd3ee5783e Adding new APN type for Mission Critical Services.
Test: build
Bug: 124447962
Change-Id: I9f608badd363703394432640dc892a4465660b6d
2019-03-01 16:52:17 -08:00
Hall Liu
3c0a49ec48 Merge "API tweaks round 2" 2019-03-01 23:00:54 +00:00
Jack Yu
8eb6ca8354 Fixed all APIs not meeting API review requirement
To address the API review feedback provided by
the API council.

Bug: 126702995
Bug: 126701710
Bug: 126702357
Bug: 126701113
Bug: 126701239
Bug: 126700713
Bug: 126700064
Test: Manual
Change-Id: I4b902c1fc2c09133022b05dacdda8964436205d2
2019-03-01 14:37:47 -08:00
chen xu
ef3d5bc27f add Nullable annotation to TelephonyAPIs
Bug: 126702627
Test: Build
Change-Id: I0fa9370840ceda70b181976fa671cd962bdfcbca
2019-03-01 18:41:24 +00:00
Treehugger Robot
9886350a69 Merge "Add euicc privileged actions and extras." 2019-03-01 17:39:49 +00:00
Brad Ebinger
ea5bb6cd3b Merge "Fix ImsMmTelManager API in accordance with the council" 2019-03-01 17:21:17 +00:00
Patrick Huang
3b3a74436c Add euicc privileged actions and extras.
Bug: 122769846
Test: Test on phone
Change-Id: Ifcf6575c3c65cb38e8787e32bc04b0e4532f7170
Merged-In: Ifcf6575c3c65cb38e8787e32bc04b0e4532f7170
2019-02-28 19:51:10 -08:00
Hall Liu
1059cd57f0 API tweaks round 2
Add nullability annotations and change a static constant to a method
that returns a value.

Fixes: 126702861
Fixes: 126699926
Fixes: 126698717
Fixes: 126699057
Fixes: 126701443
Fixes: 126700882
Test: compiles
Change-Id: I96396eb8890b8b5148cf74447e08c31983398e47
2019-02-28 18:54:15 -08:00
Chen Xu
c931e9b0c0 Merge "add NonNull and Nullable annotation to APIs" 2019-03-01 02:17:33 +00:00
Nathan Harold
572b1ee84b Merge "Add a Constant for CellInfo#UNAVAILABLE_LONG" 2019-03-01 01:15:47 +00:00
Treehugger Robot
b967dce9d9 Merge "Fix to hide phone number printed in the log" 2019-03-01 00:45:51 +00:00
chen xu
8165386bfe add NonNull and Nullable annotation to APIs
Bug: 126699430
Bug: 126699963
Bug: 126700457
Bug: 126700771
Bug: 126702453
Bug: 123939479
Test: Build
Change-Id: Ib429d2918e63f8d272fc7842b0abd83ffd5a9090
2019-02-28 14:15:58 -08:00
Brad Ebinger
66cee391c3 Fix ImsMmTelManager API in accordance with the council
Bug: 121190195
Test: atest FrameworksTelephonyTests
Merged-In: I5d011e1875c082a4532747e30e8582ff3da4ee93
Change-Id: I5d011e1875c082a4532747e30e8582ff3da4ee93
2019-02-28 11:25:13 -08:00
Alan Stokes
a9b5b2aab0 Fix javadoc HTML escaping.
HTLM special characters ('<', '>' and '&') don't need to be escaped
inside {@code}, even though they do elsewhere in javadoc. And in fact
they shouldn't be - because if they are escaped then the escaped
version shows up verbatim in the developer docs.

See for example:
https://developer.android.com/reference/android/graphics/drawable/GradientDrawable
https://developer.android.com/reference/android/support/v13/view/inputmethod/InputConnectionCompat

This change just removes the escaping to fix the public documentation.

Test: N/A (only comment lines changed)
Change-Id: I131b3b3e26547e30cff7b67514d177c48926bb26
2019-02-28 17:42:50 +00:00
Treehugger Robot
c76c5529bf Merge "Update annotations for UiccCardInfo APIs" 2019-02-28 13:01:02 +00:00
Jordan Liu
28911517b2 Update annotations for UiccCardInfo APIs
Fixes: 124800040
Test: no change to behavior
Change-Id: I0644eb9bac417b9a8b0fd8eaf691728ed0784527
2019-02-27 14:45:23 -08:00
Jordan Liu
eee18bd546 Merge "Implement isRemovable" 2019-02-27 20:40:31 +00:00
Amruth Ramachandran
d5386dfe1f Merge "Expose DataSpecificRegistrationState as System API" 2019-02-27 19:00:44 +00:00
Nathan Harold
fd8cb59cc1 Merge "Add Documentation for ACTION_DEBUG_EVENT" 2019-02-27 18:39:59 +00:00
Nathan Harold
b609e1cc83 Add Documentation for ACTION_DEBUG_EVENT
The debug event action lost out on the documentation
for DebugEventReporter when it migrated to TM. This
change adds documentation for ACTION_DEBUG_EVENT
EXTRA_DEBUG_EVENT_ID, and EXTRA_DEBUG_EVENT_DESCRIPTION

Bug: 126178766
Test: make offline-sdk-docs (docstring-only change)
Change-Id: I6073d8b181c1258dbd7b47e8d5a45732d619396a
2019-02-26 16:42:54 -08:00
Amruth Ramachandran
e4cbd119d4 Expose DataSpecificRegistrationState as System API
LteVopsSupportInfo is currently not accessible for telephony
  APK since DataSpecificRegistrationState is @hide api. This info is
  required to determine if current LTE network support IMS. This
  change exposes DataSpecificRegistrationState and LteVops info
  as System API.

Bug: 112194535
Test: atest

Change-Id: Iec5c42ccef88b66c3f8ef05f8f96b2a4133ca63f
2019-02-26 14:16:40 -08:00
Hall Liu
3d7b3fb737 Merge "Rename the RTT audio flag in ImsStreamMediaProfile" 2019-02-26 21:54:40 +00:00
Jordan Liu
0fe6845f7d Implement isRemovable
Add resource non_removable_euicc_slots which lists the slot indexes
which refer to non-removable eUICCs chips.

Test: EuiccCardTest
Bug: 122738148
Change-Id: I8836e25acf37527bbb067538902de056e1465b31
Merged-In: I8836e25acf37527bbb067538902de056e1465b31
2019-02-26 13:30:15 -08:00
Nathan Harold
11cbc3b9f2 Fix Order of Operations for Converting RSSI to ASU
Due to the wrong order of operations, the conversion
from RSSI to ASU was returning bad results. Fix the
equation so that the ASU is correctly calculated.

Bug: 126199198
Test: (force device to GSM) - atest CellInfoTest
      verified on aosp_taimen

Change-Id: Iaeb9a2a6d8efb5b39fc1f81e8d2969694cc06422
2019-02-26 01:55:40 +00:00
Chen Xu
7db49c554a Merge "getSimLocale should return locale rather than string tag" 2019-02-25 22:26:05 +00:00
Jordan Liu
0a04598a39 Merge "CallAttributes uses the call network type" 2019-02-25 21:49:11 +00:00
chen xu
f98efc3961 getSimLocale should return locale rather than string tag
Bug: 124767220
Test: Build
Change-Id: Ib4938652f2e6541b44894ae1a2b0cb2ea4c899be
Merged-in: I850108ce0905d16e538e46ccd4bbf92a2bcfba42
2019-02-25 18:33:08 +00:00
Sahin Caliskan
35e3d8e897 Merge "Hide RcsMessageStore APIs" 2019-02-22 21:56:31 +00:00
Chen Xu
e05a1cb5db Merge "API council feedbacks for preciseCall APIs" 2019-02-22 21:52:00 +00:00
Nathan Harold
e282300793 Add a Constant for CellInfo#UNAVAILABLE_LONG
CellInfo needed a constant for LONG NR CI
in the event that it is unreported.

Bug: 124130720
Test: compilation; make offline-sdk-docs
Change-Id: I70e480573727bac070bdf5ab70dc49aa356b685f
2019-02-22 13:22:46 -08:00
Nathan Harold
c020cf5291 Merge "Add Class-Filtered getCellSignalStrengths" 2019-02-22 20:42:03 +00:00
chen xu
7621ff222f API council feedbacks for preciseCall APIs
Bug: 125346540
Test: Build
Change-Id: I3a9a8d3e2168d937f085624b80a891b6baddd0e5
2019-02-22 11:09:07 -08:00
Jack Yu
e8eb967389 Merge "Fixed incorrect data network type when device is on IWLAN" 2019-02-22 17:35:15 +00:00
Sooraj Sasindran
233b4f140b Merge "use putLong for long config" 2019-02-22 06:16:45 +00:00
Michele Berionne
862821ede5 Merge "Add checks on multisim capabilities." 2019-02-22 01:18:41 +00:00
Sahin Caliskan
9a7e40eb3e Hide RcsMessageStore APIs
This feature is punted from Android Q. This change hides the APIs.

Test: infeasible

Bug: 109759350
Change-Id: Ic278d45ab573b267a7cbf4c930496cc2044fa855
2019-02-21 16:28:48 -08:00
Jack Yu
c9747b94f0 Fixed incorrect data network type when device is on IWLAN
When the device is configured as AP-assisted mode, the cellular
network service should reports the cellular data RAT instead of
IWLAN. However, before we clean up all usages of
ServiceState.getDataNetworkType(), we still need to simulate the
old behavior, which is reporting IWLAN as the data network type.
Once all places are cleaned up, we can remove this temporary
solution.

Test: Manual
Bug: 124994459
Merged-In: I37256517af3bcf7330cefe55a33d6f09af7e1353
Change-Id: I37256517af3bcf7330cefe55a33d6f09af7e1353
(cherry picked from commit 2bd032071b)
2019-02-21 15:57:32 -08:00
Sooraj Sasindran
9e9d49c8ce use putLong for long config
use putLong for long config
Bug: 124800330
Test: make


Merged-In: Ibb3e9e2fefcc82eab1deecd65ee81aab0fec8c5e
Change-Id: Ibb3e9e2fefcc82eab1deecd65ee81aab0fec8c5e
2019-02-21 23:55:45 +00:00
Jordan Liu
65ed9d9227 CallAttributes uses the call network type
Instead of the ServiceState.getNetworkType(), since the service state
might not match the RAT of the specific call, we use the radio type from
the ImsCall.

Bug: 124785734
Test: manual
Change-Id: I33f84bb415c943d5b766fcd3a4e8257d8f7c1cfe
2019-02-21 15:52:36 -08:00
Michele
c5e6e54a20 Add checks on multisim capabilities.
Rename method isMultisimCarrierRestricted to isMultisimSupported to
indicate extended scope that includes checks on the capabilities of the
hardware to support multi-SIM configuration.

Bug: 123537730
Test: Compilation, test application
Change-Id: I20860c7a25b054b8312c144544726337e09559e2
Merged-In: I20860c7a25b054b8312c144544726337e09559e2
2019-02-21 21:28:08 +00:00
Treehugger Robot
4b93dd3ff7 Merge "Add documentation for inserting RCS 1-on-1 thread" 2019-02-20 22:07:36 +00:00
Nathan Harold
adcb75d38b Debug Event for Malformed PLMN ID in CellIdentity
Add a debug event to catch the case where the modem
reports a PLMN-ID that is either malformed or incomplete.

Bug: 124332651
Test: compilation
Change-Id: Iffea47349ff999aade2aa26e30f00e5007ba7b4e
2019-02-20 21:07:52 +00:00
Treehugger Robot
609ea873b7 Merge "Split RCS events into API and internal classes" 2019-02-20 20:01:14 +00:00
Nathan Harold
a6dda25ac9 Merge "Expose the Radio HAL Version for Test Purposes" 2019-02-20 17:50:41 +00:00
Xin Li
4ba3b12efb Merge changes from topic "PPRL.190205.001"
* changes:
  Fix merge problems with cherry-picking "Add notification settings to backup&restore" change into pi-dev
  DO NOT MERGE - Merge PPRL.190205.001 into master
2019-02-20 16:25:58 +00:00
Leland Miller
db2337f779 Add documentation for inserting RCS 1-on-1 thread
Test: None, documentation only
Bug: 124781386
Change-Id: I1ab521aa6ceb54dc513a219b238f66a59fbfab97
2019-02-20 07:53:49 -08:00