Commit Graph

20780 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
Slava Shklyaev
0bbf61f024 Merge "Revert "Revert "Revert "Correct nullability and final constraints on new APIs."""" 2019-03-04 14:42:17 +00:00
Slava Shklyaev
2fac9dd3d4 Revert "Revert "Revert "Correct nullability and final constraints on new APIs."""
This reverts commit b255be1307.

Reason for revert: the commit being reverted fixed git_master but broke aosp-master. This revert is aimed to fix aosp-master while not touching git_master.

DO NOT MERGE: This change is aimed at aosp-master only and should not be merged into git_master.

Change-Id: Ie5aaabb211affe2d21daaf87809641276d9d4707
2019-03-04 14:39:56 +00:00
Slava Shklyaev
86e2035208 Merge "Revert "Revert "Correct nullability and final constraints on new APIs.""" 2019-03-04 11:49:34 +00:00
Slava Shklyaev
b255be1307 Revert "Revert "Correct nullability and final constraints on new APIs.""
This reverts commit 8462c66bd5.

Reason for revert: Looks like this change broke the build.

Change-Id: I4cff1ec1211e278d5e5734f1594c096722293662
2019-03-04 11:47:11 +00:00
Treehugger Robot
70c0efdd86 Merge "Add @Nullable to new method" 2019-03-04 11:43:48 +00:00
Tyler Gunn
049867e364 Merge "Revert "Correct nullability and final constraints on new APIs."" 2019-03-04 05:37:44 +00:00
Tyler Gunn
8462c66bd5 Revert "Correct nullability and final constraints on new APIs."
This reverts commit b6940c3ea6.

Reason for revert: There appears to be a downstream issue with how the test API definitions are created; until I can figure out how to account for this I'll revert in AOSP (this is in internal master and its fine there).

Change-Id: I840c3ed82afa18323408e161913a84858f7a1539
2019-03-04 05:19:42 +00:00
Tyler Gunn
cdbfa9d087 Merge "Correct nullability and final constraints on new APIs." 2019-03-04 04:13:38 +00:00
Tyler Gunn
3649374e17 Merge "Expose some APIs as test APIs to facilitate CTS" 2019-03-03 23:26:09 +00:00
Treehugger Robot
a3f1b3f15d Merge "Fixed all APIs not meeting API review requirement" 2019-03-03 04:27:32 +00:00
Treehugger Robot
1957b624ab Merge "Add @NonNull and @Nullable annotations to VpnService#Builder." 2019-03-02 03:41:57 +00:00
Treehugger Robot
4daca39083 Merge "Fix Automated API Review: InetAddresses" 2019-03-02 03:05:18 +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
Tyler Gunn
124f1f6dd5 Expose some APIs as test APIs to facilitate CTS
Test: added new cts tests
Bug: 123896388
Merged-In: I742f23be57e731307338591d816f7888e198b333
Change-Id: I742f23be57e731307338591d816f7888e198b333
2019-03-01 14:26:50 -08:00
Tyler Gunn
b6940c3ea6 Correct nullability and final constraints on new APIs.
Per API review, correct nullability and final constraints on new Telecom
APIs.

Test: Build API.
Fixes: 126700293
Fixes: 126699447
Fixes: 126700465
Fixes: 126702895
Fixes: 126702527
Change-Id: Icec15403493de596194a61b27bb3e1031fdc1099
Merged-In: Icec15403493de596194a61b27bb3e1031fdc1099
2019-03-01 20:56:56 +00:00
Varun Anand
6e81d01e91 Add @NonNull and @Nullable annotations to VpnService#Builder.
Bug: 126699070
Test: n/a
Change-Id: Ief0066636ca6ae4fefbdf70b8dfdfacf2a44e0e6
2019-03-01 11:06: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
Adam Vartanian
882eb1867c Add @Nullable to new method
Add @Nullable to a newly-added method, as requested by API council.

Bug: 126698875
Test: make
Change-Id: I2e72ea457b5adaceea70d9908bb8e2cac2e0d963
2019-03-01 15:07:06 +00:00
Paul Duffin
fe38d35ba7 Fix Automated API Review: InetAddresses
Add @NonNull annotations as required by the automated review.

Bug: 126702338
Test: make checkbuild
Change-Id: I9057f06de8d7ea846af00d5cefa744d4206b4b63
2019-03-01 14:06:18 +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
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
David Brazdil
96dd06a151 Merge "Move ApplicationInfo to params in AppComponentFactory" 2019-02-28 17:14:25 +00:00
Treehugger Robot
c76c5529bf Merge "Update annotations for UiccCardInfo APIs" 2019-02-28 13:01:02 +00:00
David Brazdil
c5a0a075a7 Move ApplicationInfo to params in AppComponentFactory
Tweak AppComponentFactory.instantiateClassLoader() API to accept
ApplicationInfo as an argument instead of an independent getter.

Bug: 124800390
Bug: 111342996
Test: atest CtsClassLoaderFactoryPathClassLoaderTestCases
Test: atest CtsClassLoaderFactoryInMemoryDexClassLoaderTestCases
Merged-In: I4a4d5af842446a5060083c88a0ac5bec014c0c55
Change-Id: I4a4d5af842446a5060083c88a0ac5bec014c0c55
(cherry picked from commit 33bd343596)
2019-02-28 11:19:20 +00:00
Remi NGUYEN VAN
6c1f09f77e Merge "Add Os.connect(fd, SocketAddress) to public API" 2019-02-28 04:42:36 +00:00
Remi NGUYEN VAN
72decd9258 Add Os.connect(fd, SocketAddress) to public API
1. There are already related socket API methods that return
   SocketAddress, such as Os.getpeername().
2. Having APIs that take SocketAddress are a closer match
   to the POSIX APIs that android.system.Os is exposing,
   and are more flexible than just taking InetAddress+port
   combinations since the latter only supports IPv4 and
   IPv6.

This was covered by tests in change:
Iadf9f10e26bbc650c5e1b9d03f32c5dafb6f21b4

And completes Ic496c1212dc2d97cf34db2a7c7d024b02790e8ed.

Test: m
Bug: 123062477
Change-Id: I885bfe1bf24a361bef2bb2f783622b934637ba99
2019-02-28 04:39:32 +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
Treehugger Robot
909baeddfa Merge "Add @NonNull annotation to set proxy on VPN parameter." 2019-02-27 05:56:28 +00:00
Tor Norbye
e701106d6e Merge "Revert "Update MbmsDownloadServiceBase to reflect implements IInterface"" 2019-02-27 02:33:15 +00:00
Irina Dumitrescu
5155a2d7e4 Add @NonNull annotation to set proxy on VPN parameter.
Test: manual
Bug: 124883120
Change-Id: Ifb4bd98a69a006220b1a824033395fc6f12ea6ce
2019-02-27 01:06:00 +00:00
Tor Norbye
2c76358add Revert "Update MbmsDownloadServiceBase to reflect implements IInterface"
This reverts commit ddc496d622.

Reason for revert: b/126374865

Change-Id: I53f87d15712a0f2acc5787efcf68c72021e9b831
2019-02-27 00:21:39 +00: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
Chen Xu
7db49c554a Merge "getSimLocale should return locale rather than string tag" 2019-02-25 22:26:05 +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