We should have our first order dependencies specified in our build
file to help aidegen ensure that any generated IDE files aren't
missing crucial dependencies.
In this case adding mockito and truth allows IntelliJ to show the
verify(...) and assertThat(....) calls are valid and not leave them
as red-underlined undefinied calls.
Test: aidegen frameworks/base/services/robotests/backup/
Change-Id: Iea347c623dc0bbe5740d6129e710b4757c87d781
* changes:
Move the app to /system_ext
Set sdk_version "current" in test package
Move the permission.xml to /system_ext
Move SystemUI to /system_ext
move privapp_whitelist_com.android.storagemanager to system_ext
Move 'privapp_whitelist_com.android.launcher3' to system_ext
Move 'privapp_whitelist_com.android.settings' to system_ext
move privapp_whitelist_com.android.provision to system_ext
privapp_whitelist_com.android.emergency to system_ext
privapp_whitelist_com.android.carrierconfig to system_ext
am skip reason: Change-Id Ie816e0c6c81ecf25d37f05187591ca0d1edf0bc2 with SHA-1 c03b32c406 is in history
Change-Id: Ieff7e7e29c8a6dabb7a1dc0ddbd0d88d2f3613fc
Common Criteria mode puts device into a state where certain
funtionalities are tuned or turned on to meet the higher security
requirement from Common Criteria certification. Device Owner
can use the new device policy API to toggle Common Criteria mode.
Bug: 137937540
Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Test: atest SettingsProviderTest
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testCommonCriteriaMode
Test: atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testCommonCriteriaMode
Change-Id: If07c053437e980ed3317d3838cc74e5bfd44efce
We plan to forbid hidden API in product partition.
So these apps have to be moved to /system_ext because it uses hidden API.
It is not permanent, so they can be moved back to /product due to
needs if there isn't hidden usage anymore.
Bug: 137908189
Test: m
Test: check whether device boots successfully
Change-Id: I0662674a66bc54ee4713e5c7ed6ad0db4d342338
Merged-In: I0662674a66bc54ee4713e5c7ed6ad0db4d342338
java_library com.android.test.libs.product is located in product
partition, but its sdk_version isn't set. And it will be forbidden.
So set sdk_version "current"
Test: mma
Bug: 137908189
Change-Id: I3f5a164703f0e5a1f7d43b9f28cda7fa99033186
Merged-In: I3f5a164703f0e5a1f7d43b9f28cda7fa99033186
As mentioned in b/132780927, we plan to forbid hidden APIs usage in /product partition,
in other word, apps in /product are allowed to use only either public API or system API.
So, this app will be moved to /system_ext, of course, it is not permanent,
they can be moved back to /product if they don't use hidden API anymore.
Bug: 137908189
Test: m
Test: check whether device boots successfully
Change-Id: I623e0dcc1d3bc1a2a69a6cad34ace1f79532654e
Merged-In: I623e0dcc1d3bc1a2a69a6cad34ace1f79532654e
This CL introduces RoutingController into MediaRouter2Manager
to enable it to control remote routing sessions.
Tests are also revised according to MRM changes.
Bug: 147787194
Test: atest mediaroutertest
Change-Id: Id4ab61fcb690fccac42df049e1fb74d89bcf3d6a
The string version of Apn Types are used in the carrier config table.
Modules besides Telephony uses this table directly and so it made sense to expose
this as a @SystemApi
Test: ApnSettingsTest
Bug: 147465477
Change-Id: I1c344b3ff482d973b8bf51a33956a7f90f291634
WifiConfiguration used in the feature of add apps Wi-Fi networks was deprecated, need to be changed to use WifiNetworkSuggestion instead.
Bug: 136472483
Test: just add action, test case will be in Settings App side.
Change-Id: Ia1e4ab88dd70f951ff4e9115b1e373a9886ab565
DnsSdTxtRecord is @hide, thus need to statically
link it into framework-wifi and rename it to
prevent duplicate classes on the classpath.
Bug: 135998869
Test: boots up and connects to wifi
Change-Id: I018a8c2e8b124b11077db631e643c751a73394c5
Build framework-telephony-stubs against
core_current so that it can be linked by
framework-wifi, which will also be built
against core_current.
Bug: 140908357
Test: device boots up
Change-Id: I20bf13a100d6dfca06c4e108a837987234ec2b38
am skip reason: Change-Id Ic502acc8831fe4da0b32a826171d10e9c0f9876d with SHA-1 167c3db934 is in history
Change-Id: I39493ac64ca88d768c8b6a8a0540124d0694ce8c
Also clear calling identity before invoking the pull.
Test: make
Test: atest GtsStatsdHostTestCases
Bug: 146383532
Change-Id: I9a17d88944da0074dbbaffb0c1b99a9ce7743991