The following two stub libraries are added:
- android_module_app_stubs_current: @SystemApis that are available for
modules implemented as apps. @SystemApis with client=PRIVILEGED_APPS
and client=MODULE_APPS are included here.
- android_module_lib_stubs_current: @SystemApis that are available for
modules implemented as bootclasspath jars. @SystemApis with
client=PRIVILEGED_APPS, MODULE_APPS, and MODULE_LIBRARIES are all
included here.
For now, the compatibility check against the last release API is not
done, but this is not a problem because this is the first time these
APIs are released.
Bug: 139391334
Bug: 140202860
Bug: 146727827
Test: m
Change-Id: I0254a5f7751c58029fa7a8d5c342b731a7deb69a
am skip reason: Change-Id I37449efb50287c683312f0b19909bd4c61b38585 with SHA-1 9ded26e241 is in history
Change-Id: I1db428ffa82f2b29b295ea0e4b9cc58306612447
am skip reason: Change-Id I102af09cb52b447e472398869d82556b5708cb82 with SHA-1 89a7c62849 is in history
Change-Id: I06d528e2ccde1a2dffff175dd737ec4d11f9c391
am skip reason: Change-Id Ib8cac2fab5092c99b0a496fdeedfcfab6d578936 with SHA-1 a28c5c928a is in history
Change-Id: I8e23dc409be68b3b766c6324908adff568171cd5
* changes:
Delete the NetworkFactory running-on-correct-thread assertion.
Stop using factory serial numbers in NetworkFactory.
Use NetworkProvider in NetworkFactory.
The change to make NetworkFactory use NetworkProvider included an
assertion that the onNetworkRequested and onRequestWithdrawn
methods were called on the factory's Looper.
This is not really necessary since it cannot happen in the
current code unless there is a bug in Looper. It also makes it
impossible to test this code using TestLooper, which dispatches
messages on the test thread instead of on the looper thread.
So, delete the check.
Bug: 138306002
Test: atest FrameworksWifiTests now passes
Change-Id: I37449efb50287c683312f0b19909bd4c61b38585
Merged-In: I37449efb50287c683312f0b19909bd4c61b38585
Don't delete NetworkFactory.SerialNumber or getSerialNumber() yet
because those are still in use in various places.
Test: builds
Bug: 138306002
Change-Id: I102af09cb52b447e472398869d82556b5708cb82
Merged-In: I102af09cb52b447e472398869d82556b5708cb82
This CL removes RouteSessionInfo#isValid() since there is are no usages.
Also overrides equals() and hashCode().
Also, it applies following changes:
- Make the class as final
- Add javadoc for using an empty string for unknown client package name
- Throw exception in Builder#build() if there is no selected routes.
- Throw IllegalArgumentException in Builder#add/Remove*Routes(routeId)
when the given routeId is empty or null.
Tests for the class are also added.
Bug: 147524068
Test: atest mediaroutertest
Change-Id: I2cb6cc37a8216dd42dc72edee72bb5211259c66a
This CL covers APIs for discovering routes published by
MediaRoute2ProviderService.
Bug: 147402721
Test: atest mediaroutertest
Change-Id: I978a6489ae1bcfcd6bb427d4a939c49ff3420e2d
* changes:
Delete the NetworkFactory running-on-correct-thread assertion.
Stop using factory serial numbers in NetworkFactory.
Use NetworkProvider in NetworkFactory.