Commit Graph

24402 Commits

Author SHA1 Message Date
Jeremy Klein
0869d3ec9b Merge "Rename entitlement callback to adhere to API guidelines." am: 0102e3d548 am: 33a9d34e8a
am: 9eeac7326d

Change-Id: Iba73611c9330463f4517ac1555b6ee000d740c71
2019-03-12 23:57:05 -07:00
Stanley Tng
db74e56e22 Merge "Add @NonNull annotations to LE CoC APIs" am: 8b57ab7989 am: 68e00291e0
am: f36e4f26a4

Change-Id: I674f926ff2822d311fd6f6a0cbf061a2e815b093
2019-03-12 23:37:09 -07:00
Jeremy Klein
9eeac7326d Merge "Rename entitlement callback to adhere to API guidelines." am: 0102e3d548
am: 33a9d34e8a

Change-Id: I29bbf7cbbc0d87a9831762342d81496e6983df68
2019-03-12 23:36:36 -07:00
Stanley Tng
f36e4f26a4 Merge "Add @NonNull annotations to LE CoC APIs" am: 8b57ab7989
am: 68e00291e0

Change-Id: If0de3820ab36ddeaeb57d332f332a84963c8ad5d
2019-03-12 23:05:26 -07:00
TreeHugger Robot
8494e74f19 Merge "api-review: add @Nullable annotation in the argument of getMatchingOsuProviders" 2019-03-13 05:52:21 +00:00
Jeremy Klein
33a9d34e8a Merge "Rename entitlement callback to adhere to API guidelines."
am: 0102e3d548

Change-Id: If58d5724000fba5e1d794a98ccc89b73ce842f4a
2019-03-12 22:39:53 -07:00
Stanley Tng
68e00291e0 Merge "Add @NonNull annotations to LE CoC APIs"
am: 8b57ab7989

Change-Id: I16c1d5c6c7c31b0c96172f0baaed361eae8f4a5e
2019-03-12 22:30:47 -07:00
Jordan Liu
7c0ad50543 Merge "Add slot based ICC channel APIs" 2019-03-13 05:29:20 +00:00
Josh Hou
7a0d2a2519 Merge "add NonNull annotation to API" am: 56c9d22970 am: 69e802e6e6
am: 8d19949c4c

Change-Id: I92bad21050b4396d1bb3588cd42d78a1c662903c
2019-03-12 22:10:54 -07:00
Josh Hou
8d19949c4c Merge "add NonNull annotation to API" am: 56c9d22970
am: 69e802e6e6

Change-Id: Ieed6eba51fc2c3fdf7823415c783482a77c2d29c
2019-03-12 21:55:13 -07:00
Treehugger Robot
0102e3d548 Merge "Rename entitlement callback to adhere to API guidelines." 2019-03-13 04:48:24 +00:00
Josh Hou
69e802e6e6 Merge "add NonNull annotation to API"
am: 56c9d22970

Change-Id: Iaa22836680e45c4244a4380d9688b968b7877c8e
2019-03-12 21:26:18 -07:00
TreeHugger Robot
a6d819a455 Merge "MediaDrm: create Executor overload for callback APIs" 2019-03-13 04:01:18 +00:00
Stanley Tng
97341da063 Add @NonNull annotations to LE CoC APIs
Added NonNull annotations to the 4 LE Connection-oriented channel API in
BluetoothDevice and BluetoothAdapter.

Bug: 126701988
Bug: 126701989
Test: Compile only
Change-Id: I2d4dc8fbd06e30c782123e01f8481d249e40ee02
2019-03-13 02:27:38 +00:00
Josh Hou
56c9d22970 Merge "add NonNull annotation to API" 2019-03-13 00:58:21 +00:00
Nathan Harold
b0ec15dc03 Merge "[API Feedback] Rename DebugEventReporter" am: 3a6dcad0a3 am: e80b170949
am: 53fb0789fb

Change-Id: If7d117810bd56d6057cb99e79f52def579b5a089
2019-03-12 16:37:57 -07:00
Nathan Harold
53fb0789fb Merge "[API Feedback] Rename DebugEventReporter" am: 3a6dcad0a3
am: e80b170949

Change-Id: I2c458c5a5fa2b1f47f9bc92e89a7385ca35d877d
2019-03-12 16:12:08 -07:00
Nathan Harold
e80b170949 Merge "[API Feedback] Rename DebugEventReporter"
am: 3a6dcad0a3

Change-Id: Iab9ed0e8160b45628286f6236f1bb5f61ecc74cd
2019-03-12 15:38:26 -07:00
Nathan Harold
3a6dcad0a3 Merge "[API Feedback] Rename DebugEventReporter" 2019-03-12 22:25:46 +00:00
Jordan Liu
04c28872d1 Add slot based ICC channel APIs
These are SystemApis which require MODIFY_PHONE_STATE, and can be used
to open ICC channels when there is no available subscription, using the
slot index instead of subId.

Bug: 126578014
Test: builds
Change-Id: I3f47a8ac07813ea9e326c7d76123352708bfeea2
2019-03-12 22:09:31 +00:00
Matt Pape
5bb71f49b3 Merge "Remove interface for dex_boot." 2019-03-12 21:58:01 +00:00
Ecco Park
8b0c0723c5 api-review: add @Nullable annotation in the argument of getMatchingOsuProviders
Bug: 126702500
Test: UnitTest
Change-Id: I90314979ca1c9543c7646f1f6b9fcf5c65fd4577
Signed-off-by: Ecco Park <eccopark@google.com>
2019-03-12 13:53:20 -07:00
Jeremy Klein
9f2e0f035a Rename entitlement callback to adhere to API guidelines.
The method for OnTetheringEntitlementResultListener needs to be
onTetheringEntitlementResult in order to meet our API guidelines:

"Use Listener when there is a single callback method and there will
never be any others. It should be an interface whose name is the same
as the callback method plus Listener."

Bug: 126392011
Change-Id: I9a883765541ae853c4eb3bd52c9d93a7af16e661
Test: Manual build
2019-03-12 13:36:21 -07:00
Robert Shih
26269a1a8a MediaDrm: create Executor overload for callback APIs
Bug: 123939401
Bug: 28674524
Test: MediaDrmMockTest & MediaDrmClearkeyTest
Change-Id: Ibf0bd90994ca5e6f337efe439f748ae6b618d38f
2019-03-12 19:44:28 +00:00
TreeHugger Robot
b64c10bc06 Merge "AudioPolicy: add synchronous unregister method" 2019-03-12 18:30:27 +00:00
Mingguang Xu
e05b0ec4da Merge "Wifi usability: Comments from API review council are addressed" 2019-03-12 18:21:08 +00:00
TreeHugger Robot
75f61c5919 Merge "Hide packing structure from public API" 2019-03-12 17:59:44 +00:00
Rubin Xu
9c3f325c64 Merge "Tweak DelegatedAdminReceiver API surfaces" 2019-03-12 17:49:32 +00:00
Eran Messeri
c7f498fe0b Merge "Private DNS API: Follow-up on review" 2019-03-12 16:37:15 +00:00
TreeHugger Robot
fbdd7930a0 Merge changes I72e979ce,I183b8a48
* changes:
  Add @IntDef for status of committed rollback.
  Use test stubs for RollbackTests, not system stubs.
2019-03-12 16:25:25 +00:00
TreeHugger Robot
794d22d0a7 Merge "Update screen lock complexity permission to password complexity" 2019-03-12 16:22:11 +00:00
Jean-Michel Trivi
cada37225b AudioPolicy: add synchronous unregister method
Add a method to synchronously unregister an AudioPolicy. This method
   also flushes the AudioRecord and AudioTrack instances that
   were associated with any AudioMix created by this policy.

Bug: 119057550
Test: see bug
Change-Id: Ia58ccdaf8a50580bcdd49aa2f6e204f0f6c7f814
2019-03-12 08:54:05 -07:00
Fabian Kozynski
40a3958d69 Merge "Added Nullable annotations to NotificationManager API" 2019-03-12 15:06:38 +00:00
TreeHugger Robot
e927626ad6 Merge "Address API review for SessionInfo, LauncherApps" 2019-03-12 14:44:53 +00:00
Eran Messeri
ff9c10593e Private DNS API: Follow-up on review
To follow up on the previous review, rename the success constant from
"success" to "no error" since the enum it's associated with now refers
to error codes.

Bug: 124301971
Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testPrivateDnsPolicy
Change-Id: I6b82dd44cbf2c18fb8c1673a272f22f0e8b39dbb
2019-03-12 13:40:14 +00:00
Rubin Xu
72623f6d5c Tweak DelegatedAdminReceiver API surfaces
* Add nullability annotaitons to new and existing (DeviceAdminReceiver) APIs
* Make onReceive() final
* Javadoc for uid paramater
* Throw exception if method is not implemented

Bug: 123926441
Test: make -j32 update-api
Change-Id: Ib068b1d7f8f5abe903720b8e247c5e00bf8161c2
2019-03-12 13:24:15 +00:00
Richard Uhler
8a9774550d Use test stubs for RollbackTests, not system stubs.
Adds @TestApi for all system apis needed for RollbackTests.

Removes @SystemApi for RollbackManager.expireRollbackForPackage and
RollbackManager.reloadPersistedData, which were always intended to be
used solely for testing.

Bug: 127282563
Test: atest RollbackTest StagedRollbackTest
Change-Id: I183b8a484b4a08f36fc19d64241ab408d28c64ca
2019-03-12 12:14:37 +00:00
Alex Kershaw
80e6de8998 Merge "Improve the javadoc for cross profile calendar uris." 2019-03-12 11:48:07 +00:00
TreeHugger Robot
0cf8c88d12 Merge "Build: Add @NonNull for PREVIEW_SDK_FINGERPRINT." 2019-03-12 11:33:43 +00:00
TreeHugger Robot
10b249f57e Merge "ServiceInfo: Add a new foreground service type for MediaProjection." 2019-03-12 10:26:37 +00:00
Lucas Lin
fc0fbbb3af Merge "Check if network has partial connectivity" am: 174ae05817 am: 6cf91d1558
am: c0448b383f

Change-Id: Ib6c5ecc8238e1ac237eddcc00802fa5e7c0e24b9
2019-03-12 01:47:25 -07:00
Lucas Lin
c0448b383f Merge "Check if network has partial connectivity" am: 174ae05817
am: 6cf91d1558

Change-Id: I1c552638f576738540dda033f35bd32b011485b5
2019-03-12 01:37:59 -07:00
Lucas Lin
6cf91d1558 Merge "Check if network has partial connectivity"
am: 174ae05817

Change-Id: I3e94029fe067a1a22acc640a0df6a87720572b94
2019-03-12 01:28:50 -07:00
lucaslin
e252a740ca Check if network has partial connectivity
In some networks, network validation may only get success
result for http probe but fail result for https probe.
For this kind of network, it may still work at some websites
or apps, but user didn't know about that. In order to fix this
issue, we will check if network has partial connectivity and
notify user to make a choice if they want to use this partial
connectivity or not.

Bug: 113450764
Test: 1. Build pass.
      2. Fake partial connectivity case for testing.
      3. atest FrameworksNetTests
      4. atest NetworkStackTests

Change-Id: I69ed00ac4850904ff708c9fef22e148879a10e92
2019-03-12 07:37:33 +00:00
Daniel Huang
3f0ba8ac68 Merge "Modify API return type and add callback." am: f96cc08066
am: 9b82062164

Change-Id: I6f54522dba518416445c647a1aaef11caf6865ec
2019-03-11 23:32:14 -07:00
Daniel Huang
9b82062164 Merge "Modify API return type and add callback."
am: f96cc08066

Change-Id: I8d8ff3efd4666c4548dfe8a142ae0ad3f0b34b2c
2019-03-11 23:16:53 -07:00
Daniel Huang
f96cc08066 Merge "Modify API return type and add callback." 2019-03-12 06:02:04 +00:00
Tony Huang
306541b2eb Merge "Update nullability of api" am: 47890345d0 am: 434096edef
am: 952affa954

Change-Id: I938e2eb22971b0d54ba597a76de9b69e2c1e6bba
2019-03-11 22:48:08 -07:00
Tony Huang
952affa954 Merge "Update nullability of api" am: 47890345d0
am: 434096edef

Change-Id: If4e283682ec64eabb7f85421b275bf0424df9355
2019-03-11 22:38:40 -07:00
Tony Huang
434096edef Merge "Update nullability of api"
am: 47890345d0

Change-Id: Ie8ed183155b16c87a98c19f11f69fe869e797880
2019-03-11 22:29:24 -07:00