Commit Graph

20804 Commits

Author SHA1 Message Date
Chiachang Wang
784556da5b Merge "Update description based on API feedback"
am: f397b39442

Change-Id: I4abb8d87ecd681105a059b264b3c4808fce535bc
2019-03-05 17:23:24 -08:00
Chiachang Wang
f397b39442 Merge "Update description based on API feedback" 2019-03-06 00:49:20 +00:00
Jack Yu
a98b285b56 Merge changes from topic "iwlan_api"
am: 83181d80c8

Change-Id: Ia232ee5c9cf4e6393ba093cc7a3723d71bc34af0
2019-03-05 16:15:36 -08:00
Hall Liu
cc8f17b2dd Merge "API tweaks"
am: 13152049e9

Change-Id: I7339a8e77cea9bea236977f8a5df39c28feadaa5
2019-03-05 15:54:02 -08:00
chen xu
26fa24bf4f Merge "add missing annotation for CarrierIdentifier"
am: fd46a0aaeb

Change-Id: Ifbee0be758972174191967de245523e003790fb1
2019-03-05 15:33:18 -08:00
chen xu
7ce366a28e Merge "add missing annotation for TelephonyManager APIs"
am: 792ce880ad

Change-Id: Ieb46456932dae085d7d2a4756619902047db40de
2019-03-05 15:29:41 -08:00
Jack Yu
83181d80c8 Merge changes from topic "iwlan_api"
* changes:
  Added annotations to the APIs
  Fixed IWLAN related APIs issue
2019-03-05 21:26:30 +00:00
Hall Liu
13152049e9 Merge "API tweaks" 2019-03-05 21:18:40 +00:00
Treehugger Robot
fd46a0aaeb Merge "add missing annotation for CarrierIdentifier" 2019-03-05 19:07:19 +00:00
Treehugger Robot
792ce880ad Merge "add missing annotation for TelephonyManager APIs" 2019-03-05 19:06:30 +00:00
Jack Yu
7338e5c238 Added annotations to the APIs
Added @Nullable and @NonNull to several APIs.

Test: Manual
Bug: 126701840
Bug: 126702171
Bug: 126702057
Bug: 126702564
Bug: 126703014
Bug: 126702900

Change-Id: Ib4d8b2b45b11ef5d70cd229f33b8c8f903e5e6ee
2019-03-05 11:00:12 -08:00
Jack Yu
6bd48a24cf Fixed IWLAN related APIs issue
Fixed APIs that not meeting API review requirement.
1. Changed createXxxServiceProvider to onCreateXxxServiceProvider
2. Added builder for NetworkRegistrationState

Test: Manual
Bug: 126552434

Change-Id: Idb2411a47caf61e83fe26b98e393fa851ac1759d
2019-03-05 10:52:06 -08:00
Tyler Gunn
4b2b84931a Merge "Correct nullability and final constraints on new APIs." 2019-03-05 15:21:48 +00:00
Chiachang Wang
4349dc08c9 Update description based on API feedback
Bug: 126883311
Test: Build pass
      atest NetworkStackTests
Change-Id: If3d21829bbe98d125215abe96247ca7d5a66d1f3
2019-03-05 20:31:57 +08:00
Hall Liu
f3e0eb8b0c API tweaks
* Make the PhoneAccountSuggestion ctor public
* Change protection level of the bind-suggestion-service permission to
signature-only.

Fixes: 126442573
Fixes: 126442403
Test: CTS
Change-Id: Ie1616e86df6814e4aa05659d4aa3aca1959519d2
2019-03-04 17:29:52 -08:00
chen xu
5a2b45096c add missing annotation for TelephonyManager APIs
Bug: 126702627
Test: Build
Change-Id: I39cb57db7cc1105bf74eb18ecf15ddbdc6e44f0c
Merged-in: I39cb57db7cc1105bf74eb18ecf15ddbdc6e44f0c
2019-03-04 15:43:21 -08:00
Brad Ebinger
cef848b56e Merge "Update ImsSsData/ImsSsInfo API based on API council feedback." 2019-03-04 21:02:10 +00:00
Jordan Liu
56bd70db86 Merge "Add NonNull and Nullable annotations" 2019-03-04 20:18:50 +00:00
Michele Berionne
6d9dd94da0 Merge "Changes to APIs for CarrierRestrictionRules class" 2019-03-04 19:01:42 +00:00
Michele
9a7b0638ca Changes to APIs for CarrierRestrictionRules class
Add @NonNull annotation where applicable.
Rename isCarrierIdentifiersAllowed into areCarrierIdentifiersAllowed.
Make Builder class final.

Bug: 126375826
Bug: 126699079
Bug: 126700761
Test: Compilation
Change-Id: I1a02bc007f147597df97eaa55c00fd31a952870b
2019-03-04 10:59:42 -08:00
Amit Mahajan
36791ef41e Merge "Adding new APN type for Mission Critical Services." 2019-03-04 18:23:30 +00:00
Tyler Gunn
e694ef523b 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: Ic19664b156410e79a307b2af0d5672dc19f93c59
Merged-In: Icec15403493de596194a61b27bb3e1031fdc1099
2019-03-04 08:28:22 -08: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
chen xu
bc8411cf3a add missing annotation for CarrierIdentifier
Bug: 126702740
Test: Build
Change-Id: I4e1be23ed2d9f016c9c2b71812bbeba24fd090f0
2019-03-03 15:15:30 -08: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