summaryrefslogtreecommitdiff
path: root/tests/RollbackTest
AgeCommit message (Collapse)Author
2021-02-18Set updateable:false explicitly in apex rules.Mathew Inwood
Currently, this is the default so this is a no-op, But the default is changing to true. Bug: 180375550 Test: Treehugger Merged-In: I153e6f842e03a732bfa852b830e0f65050e9270f Change-Id: I153e6f842e03a732bfa852b830e0f65050e9270f
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to frameworks/baseBob Badour
Added SPDX-license-identifier-Apache-2.0 to: apct-tests/perftests/autofill/Android.bp apct-tests/perftests/blobstore/Android.bp apct-tests/perftests/core/Android.bp apct-tests/perftests/core/apps/overlay/Android.bp apct-tests/perftests/core/apps/reources_manager/Android.bp apct-tests/perftests/core/jni/Android.bp apct-tests/perftests/multiuser/Android.bp apct-tests/perftests/multiuser/apps/dummyapp/Android.bp apct-tests/perftests/packagemanager/Android.bp apct-tests/perftests/packagemanager/apps/query-all/Android.bp apct-tests/perftests/textclassifier/Android.bp apct-tests/perftests/utils/Android.bp apct-tests/perftests/windowmanager/Android.bp apex/Android.bp apex/blobstore/framework/Android.bp apex/blobstore/service/Android.bp apex/jobscheduler/framework/Android.bp apex/jobscheduler/service/Android.bp apex/media/Android.bp apex/media/aidl/Android.bp apex/media/framework/Android.bp cmds/am/Android.bp cmds/app_process/Android.bp cmds/appops/Android.bp cmds/appwidget/Android.bp cmds/backup/Android.bp cmds/bmgr/Android.bp cmds/bootanimation/Android.bp cmds/bu/Android.bp cmds/content/Android.bp cmds/dpm/Android.bp cmds/hid/Android.bp cmds/hid/jni/Android.bp cmds/idmap2/Android.bp cmds/ime/Android.bp cmds/incident/Android.bp cmds/incident_helper/Android.bp cmds/incidentd/Android.bp cmds/input/Android.bp cmds/interrupter/Android.bp cmds/locksettings/Android.bp cmds/pm/Android.bp cmds/requestsync/Android.bp cmds/screencap/Android.bp cmds/sm/Android.bp cmds/svc/Android.bp cmds/telecom/Android.bp cmds/uiautomator/Android.bp cmds/uiautomator/cmds/uiautomator/Android.bp cmds/uiautomator/instrumentation/Android.bp cmds/uiautomator/library/Android.bp cmds/vr/Android.bp cmds/wm/Android.bp config/Android.bp core/java/android/service/wallpaper/Android.bp core/jni/Android.bp core/sysprop/Android.bp core/tests/BroadcastRadioTests/Android.bp core/tests/ConnectivityManagerTest/Android.bp core/tests/PackageInstallerSessions/Android.bp core/tests/PlatformCompatFramework/Android.bp core/tests/bandwidthtests/Android.bp core/tests/benchmarks/Android.bp core/tests/bluetoothtests/Android.bp core/tests/bugreports/Android.bp core/tests/coretests/Android.bp core/tests/coretests/BinderDeathRecipientHelperApp/Android.bp core/tests/coretests/BinderProxyCountingTestApp/Android.bp core/tests/coretests/BinderProxyCountingTestService/Android.bp core/tests/coretests/BstatsTestApp/Android.bp core/tests/coretests/DisabledTestApp/Android.bp core/tests/coretests/EnabledTestApp/Android.bp core/tests/coretests/aidl/Android.bp core/tests/coretests/apks/Android.bp core/tests/coretests/apks/install/Android.bp core/tests/coretests/apks/install_bad_dex/Android.bp core/tests/coretests/apks/install_complete_package_info/Android.bp core/tests/coretests/apks/install_decl_perm/Android.bp core/tests/coretests/apks/install_jni_lib/Android.bp core/tests/coretests/apks/install_jni_lib_open_from_apk/Android.bp core/tests/coretests/apks/install_loc_auto/Android.bp core/tests/coretests/apks/install_loc_internal/Android.bp core/tests/coretests/apks/install_loc_sdcard/Android.bp core/tests/coretests/apks/install_loc_unspecified/Android.bp core/tests/coretests/apks/install_use_perm_good/Android.bp core/tests/coretests/apks/install_uses_feature/Android.bp core/tests/coretests/apks/install_verifier_bad/Android.bp core/tests/coretests/apks/install_verifier_good/Android.bp core/tests/coretests/apks/keyset/Android.bp core/tests/coretests/apks/locales/Android.bp core/tests/coretests/apks/overlay_config/Android.bp core/tests/coretests/apks/version/Android.bp core/tests/coretests/apks/version_nosys/Android.bp core/tests/featureflagtests/Android.bp core/tests/hdmitests/Android.bp core/tests/hosttests/test-apps/AutoLocTestApp/Android.bp core/tests/hosttests/test-apps/AutoLocVersionedTestApp_v1/Android.bp core/tests/hosttests/test-apps/AutoLocVersionedTestApp_v2/Android.bp core/tests/hosttests/test-apps/ExternalLocAllPermsTestApp/Android.bp core/tests/hosttests/test-apps/ExternalLocPermsFLTestApp/Android.bp core/tests/hosttests/test-apps/ExternalLocTestApp/Android.bp core/tests/hosttests/test-apps/ExternalLocVersionedTestApp_v1/Android.bp core/tests/hosttests/test-apps/ExternalLocVersionedTestApp_v2/Android.bp core/tests/hosttests/test-apps/ExternalSharedPerms/Android.bp core/tests/hosttests/test-apps/ExternalSharedPermsBT/Android.bp core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/Android.bp core/tests/hosttests/test-apps/ExternalSharedPermsFL/Android.bp core/tests/hosttests/test-apps/InternalLocTestApp/Android.bp core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/Android.bp core/tests/hosttests/test-apps/NoLocTestApp/Android.bp core/tests/hosttests/test-apps/NoLocVersionedTestApp_v1/Android.bp core/tests/hosttests/test-apps/NoLocVersionedTestApp_v2/Android.bp core/tests/hosttests/test-apps/SharedUid/32/Android.bp core/tests/hosttests/test-apps/SharedUid/32/jni/Android.bp core/tests/hosttests/test-apps/SharedUid/64/Android.bp core/tests/hosttests/test-apps/SharedUid/64/jni/Android.bp core/tests/hosttests/test-apps/SharedUid/dual/Android.bp core/tests/hosttests/test-apps/SharedUid/dual/jni/Android.bp core/tests/hosttests/test-apps/SharedUid/java_only/Android.bp core/tests/hosttests/test-apps/SimpleTestApp/Android.bp core/tests/hosttests/test-apps/UpdateExtToIntLocTestApp_v1_ext/Android.bp core/tests/hosttests/test-apps/UpdateExtToIntLocTestApp_v2_int/Android.bp core/tests/hosttests/test-apps/UpdateExternalLocTestApp_v1_ext/Android.bp core/tests/hosttests/test-apps/UpdateExternalLocTestApp_v2_none/Android.bp core/tests/hosttests/test-apps/VersatileTestApp_Auto/Android.bp core/tests/hosttests/test-apps/VersatileTestApp_External/Android.bp core/tests/hosttests/test-apps/VersatileTestApp_Internal/Android.bp core/tests/hosttests/test-apps/VersatileTestApp_None/Android.bp core/tests/mockingcoretests/Android.bp core/tests/notificationtests/Android.bp core/tests/overlaytests/device/Android.bp core/tests/overlaytests/device/test-apps/AppOverlayOne/Android.bp core/tests/overlaytests/device/test-apps/AppOverlayTwo/Android.bp core/tests/overlaytests/device/test-apps/FrameworkOverlay/Android.bp core/tests/overlaytests/host/Android.bp core/tests/overlaytests/remount/Android.bp core/tests/overlaytests/remount/test-apps/Overlay/Android.bp core/tests/overlaytests/remount/test-apps/SharedLibrary/Android.bp core/tests/overlaytests/remount/test-apps/SharedLibraryOverlay/Android.bp core/tests/overlaytests/remount/test-apps/Target/Android.bp core/tests/packagemanagertests/Android.bp core/tests/privacytests/Android.bp core/tests/screenshothelpertests/Android.bp core/tests/systemproperties/Android.bp core/tests/utillib/Android.bp core/tests/utiltests/Android.bp core/tests/utiltests/jni/Android.bp core/tests/uwbtests/Android.bp core/xsd/Android.bp core/xsd/vts/Android.bp data/etc/Android.bp data/etc/car/Android.bp data/fonts/Android.bp data/keyboards/Android.mk drm/jni/Android.bp errorprone/Android.bp graphics/proto/Android.bp keystore/Android.bp keystore/tests/Android.bp libs/WindowManager/Jetpack/Android.bp libs/WindowManager/Shell/Android.bp libs/WindowManager/Shell/tests/Android.bp libs/androidfw/Android.bp libs/androidfw/fuzz/resourcefile_fuzzer/Android.bp libs/hostgraphics/Android.bp libs/incident/Android.bp libs/input/Android.bp libs/input/tests/Android.bp libs/protoutil/Android.bp libs/services/Android.bp libs/storage/Android.bp libs/usb/tests/AccessoryChat/Android.bp libs/usb/tests/AccessoryChat/accessorychat/Android.bp location/lib/Android.bp location/tests/Android.bp location/tests/locationtests/Android.bp lowpan/tests/Android.bp media/Android.bp media/java/Android.bp media/java/android/media/tv/tunerresourcemanager/Android.bp media/jni/Android.bp media/jni/audioeffect/Android.bp media/jni/soundpool/Android.bp media/jni/soundpool/tests/Android.bp media/lib/remotedisplay/Android.bp media/lib/signer/Android.bp media/lib/tvremote/Android.bp media/lib/tvremote/tests/Android.bp media/mca/filterfw/Android.bp media/mca/filterfw/native/Android.bp media/mca/filterpacks/Android.bp media/mca/samples/CameraEffectsRecordingSample/Android.bp media/mca/tests/Android.bp media/native/midi/Android.bp media/packages/BluetoothMidiService/Android.bp media/packages/BluetoothMidiService/tests/unit/Android.bp media/tests/AudioPolicyTest/Android.bp media/tests/CameraBrowser/Android.bp media/tests/EffectsTest/Android.bp media/tests/MediaDump/Android.bp media/tests/MediaFrameworkTest/Android.bp media/tests/MediaRouter/Android.bp media/tests/MtpTests/Android.bp media/tests/ScoAudioTest/Android.bp media/tests/SoundPoolTest/Android.bp media/tests/TunerTest/Android.bp media/tests/audiotests/Android.bp media/tests/players/Android.bp mime/Android.bp native/android/Android.bp native/graphics/jni/Android.bp native/webview/loader/Android.bp nfc-extras/Android.bp nfc-extras/tests/Android.bp packages/AppPredictionLib/Android.bp packages/BackupEncryption/Android.bp packages/BackupEncryption/test/robolectric-integration/Android.bp packages/BackupEncryption/test/robolectric/Android.bp packages/BackupEncryption/test/unittest/Android.bp packages/BackupRestoreConfirmation/Android.bp packages/CarSystemUI/Android.bp packages/CarrierDefaultApp/Android.bp packages/CarrierDefaultApp/tests/unit/Android.bp packages/CompanionDeviceManager/Android.bp packages/Connectivity/framework/Android.bp packages/Connectivity/service/Android.bp packages/CtsShim/Android.bp packages/CtsShim/build/Android.bp packages/CtsShim/build/jni/Android.bp packages/DynamicSystemInstallationService/Android.bp packages/DynamicSystemInstallationService/tests/Android.bp packages/EasterEgg/Android.bp packages/EncryptedLocalTransport/Android.bp packages/ExtShared/Android.bp packages/ExternalStorageProvider/Android.bp packages/ExternalStorageProvider/tests/Android.bp packages/FakeOemFeatures/Android.bp packages/FusedLocation/Android.bp packages/InputDevices/Android.bp packages/LocalTransport/Android.bp packages/PackageInstaller/Android.bp packages/PrintRecommendationService/Android.bp packages/PrintSpooler/Android.bp packages/PrintSpooler/jni/Android.bp packages/PrintSpooler/tests/outofprocess/Android.bp packages/SettingsLib/ActionBarShadow/Android.bp packages/SettingsLib/ActionButtonsPreference/Android.bp packages/SettingsLib/AdaptiveIcon/Android.bp packages/SettingsLib/Android.bp packages/SettingsLib/AppPreference/Android.bp packages/SettingsLib/BarChartPreference/Android.bp packages/SettingsLib/DisplayDensityUtils/Android.bp packages/SettingsLib/EntityHeaderWidgets/Android.bp packages/SettingsLib/HelpUtils/Android.bp packages/SettingsLib/LayoutPreference/Android.bp packages/SettingsLib/ProgressBar/Android.bp packages/SettingsLib/RadioButtonPreference/Android.bp packages/SettingsLib/RestrictedLockUtils/Android.bp packages/SettingsLib/SchedulesProvider/Android.bp packages/SettingsLib/SearchProvider/Android.bp packages/SettingsLib/SearchWidget/Android.bp packages/SettingsLib/SettingsSpinner/Android.bp packages/SettingsLib/SettingsTheme/Android.bp packages/SettingsLib/Tile/Android.bp packages/SettingsLib/Utils/Android.bp packages/SettingsLib/search/Android.bp packages/SettingsLib/tests/integ/Android.bp packages/SettingsLib/tests/robotests/Android.bp packages/SettingsProvider/Android.bp packages/SharedStorageBackup/Android.bp packages/Shell/Android.bp packages/Shell/tests/Android.bp packages/SimAppDialog/Android.bp packages/SoundPicker/Android.bp packages/StatementService/Android.bp packages/SystemUI/Android.bp packages/SystemUI/plugin/Android.bp packages/SystemUI/plugin/ExamplePlugin/Android.bp packages/SystemUI/plugin_core/Android.bp packages/SystemUI/shared/Android.bp packages/VpnDialogs/Android.bp packages/WAPPushManager/Android.bp packages/WAPPushManager/tests/Android.bp packages/WallpaperBackup/Android.bp packages/WallpaperCropper/Android.bp packages/overlays/Android.mk packages/overlays/tests/Android.bp packages/services/PacProcessor/Android.bp packages/services/PacProcessor/jni/Android.bp packages/services/Proxy/Android.bp proto/Android.bp rs/jni/Android.mk samples/demo/haptic-assessment/Android.bp sax/tests/saxtests/Android.bp services/Android.bp services/accessibility/Android.bp services/appprediction/Android.bp services/appwidget/Android.bp services/autofill/Android.bp services/backup/Android.bp services/backup/backuplib/Android.bp services/companion/Android.bp services/contentcapture/Android.bp services/contentsuggestions/Android.bp services/core/Android.bp services/core/java/com/android/server/vcn/Android.bp services/core/jni/Android.bp services/core/xsd/Android.bp services/core/xsd/vts/Android.bp services/coverage/Android.bp services/devicepolicy/Android.bp services/incremental/Android.bp services/midi/Android.bp services/net/Android.bp services/people/Android.bp services/print/Android.bp services/profcollect/Android.bp services/restrictions/Android.bp services/robotests/Android.bp services/robotests/backup/Android.bp services/systemcaptions/Android.bp services/tests/PackageManagerComponentOverrideTests/Android.bp services/tests/PackageManagerServiceTests/host/Android.bp services/tests/PackageManagerServiceTests/host/test-apps/Android.bp services/tests/mockingservicestests/Android.bp services/tests/rescueparty/Android.bp services/tests/servicestests/Android.bp services/tests/servicestests/aidl/Android.bp services/tests/servicestests/apks/Android.bp services/tests/servicestests/apks/install-split-base/Android.bp services/tests/servicestests/apks/install-split-feature-a/Android.bp services/tests/servicestests/apks/install_intent_filters/Android.bp services/tests/servicestests/apks/install_uses_sdk/Android.bp services/tests/servicestests/test-apps/ConnTestApp/Android.bp services/tests/servicestests/test-apps/JobTestApp/Android.bp services/tests/servicestests/test-apps/PackageParserApp/Android.bp services/tests/servicestests/test-apps/PackageParsingTestManifests/Android.bp services/tests/servicestests/test-apps/SimpleServiceTestApp/Android.bp services/tests/servicestests/test-apps/SuspendTestApp/Android.bp services/tests/shortcutmanagerutils/Android.bp services/tests/uiservicestests/Android.bp services/tests/wmtests/Android.bp services/usage/Android.bp services/usb/Android.bp services/voiceinteraction/Android.bp services/wifi/Android.bp startop/apps/test/Android.bp startop/iorap/Android.bp startop/iorap/functional_tests/Android.bp startop/iorap/stress/Android.bp startop/iorap/tests/Android.bp startop/view_compiler/Android.bp startop/view_compiler/dex_builder_test/Android.bp test-base/hiddenapi/Android.bp test-mock/Android.bp test-runner/tests/Android.bp tests/AccessibilityEventsLogger/Android.bp tests/AccessoryDisplay/common/Android.bp tests/AccessoryDisplay/sink/Android.bp tests/AccessoryDisplay/source/Android.bp tests/ActivityManagerPerfTests/stub-app/Android.bp tests/ActivityManagerPerfTests/test-app/Android.bp tests/ActivityManagerPerfTests/tests/Android.bp tests/ActivityManagerPerfTests/utils/Android.bp tests/ActivityTests/Android.bp tests/ActivityViewTest/Android.bp tests/AmSlam/Android.bp tests/ApkVerityTest/Android.bp tests/ApkVerityTest/ApkVerityTestApp/Android.bp tests/ApkVerityTest/block_device_writer/Android.bp tests/AppLaunch/Android.bp tests/AppLaunchWear/Android.bp tests/AppResourcesLoaders/Android.bp tests/AppResourcesLoaders/Overlay/Android.bp tests/Assist/Android.bp tests/AutoVerify/app1/Android.bp tests/AutoVerify/app2/Android.bp tests/AutoVerify/app3/Android.bp tests/AutoVerify/app4/Android.bp tests/BackgroundDexOptServiceIntegrationTests/Android.bp tests/BandwidthTests/Android.bp tests/BatteryWaster/Android.bp tests/BiDiTests/Android.bp tests/BlobStoreTestUtils/Android.bp tests/BootImageProfileTest/Android.bp tests/BrowserPowerTest/Android.bp tests/Camera2Tests/SmartCamera/SimpleCamera/jni/Android.bp tests/CameraPrewarmTest/Android.bp tests/Codegen/Android.bp tests/Compatibility/Android.bp tests/CoreTests/android/Android.bp tests/DataIdleTest/Android.bp tests/DozeTest/Android.bp tests/DpiTest/Android.bp tests/DynamicCodeLoggerIntegrationTests/Android.mk tests/FeatureSplit/base/Android.bp tests/FeatureSplit/feature1/Android.bp tests/FeatureSplit/feature2/Android.bp tests/FixVibrateSetting/Android.bp tests/FlickerTests/Android.bp tests/FlickerTests/test-apps/Android.bp tests/FlickerTests/test-apps/flickerapp/Android.bp tests/FrameworkPerf/Android.bp tests/GamePerformance/Android.bp tests/GridLayoutTest/Android.bp tests/HierarchyViewerTest/Android.bp tests/HugeBackup/Android.bp tests/HwAccelerationTest/Android.bp tests/Internal/Android.bp tests/JankBench/Android.bp tests/JobSchedulerPerfTests/Android.bp tests/JobSchedulerTestApp/Android.bp tests/LargeAssetTest/Android.bp tests/LegacyAssistant/Android.bp tests/LocalizationTest/Android.bp tests/LocationTracker/Android.bp tests/LotsOfApps/Android.bp tests/LowStorageTest/Android.bp tests/ManagedProfileLifecycleStressTest/Android.bp tests/ManagedProfileLifecycleStressTest/app/DummyDPC/Android.bp tests/MemoryUsage/Android.bp tests/MirrorSurfaceTest/Android.bp tests/NativeProcessesMemoryTest/Android.bp tests/NetworkSecurityConfigTest/Android.bp tests/NullHomeTest/Android.bp tests/OdmApps/Android.bp tests/OdmApps/app/Android.bp tests/OdmApps/priv-app/Android.bp tests/OneMedia/Android.bp tests/PackageWatchdog/Android.bp tests/PlatformCompatGating/Android.bp tests/PlatformCompatGating/test-rules/Android.bp tests/ProtoInputStreamTests/Android.bp tests/RemoteDisplayProvider/Android.bp tests/RenderThreadTest/Android.bp tests/RollbackTest/Android.bp tests/SerialChat/Android.bp tests/ServiceCrashTest/Android.bp tests/SharedLibrary/client/Android.bp tests/SharedLibrary/lib/Android.bp tests/ShowWhenLockedApp/Android.bp tests/SmokeTest/Android.bp tests/SmokeTest/tests/Android.bp tests/SmokeTestApps/Android.bp tests/SoundTriggerTestApp/Android.bp tests/Split/Android.bp tests/StagedInstallTest/Android.bp tests/StatusBar/Android.bp tests/SurfaceComposition/Android.bp tests/SurfaceControlViewHostTest/Android.bp tests/SystemMemoryTest/device/Android.bp tests/SystemMemoryTest/host/Android.bp tests/SystemUIDemoModeController/Android.bp tests/TaskOrganizerTest/Android.bp tests/TelephonyCommonTests/Android.bp tests/TouchLatency/Android.bp tests/TransformTest/Android.bp tests/TtsTests/Android.bp tests/UiBench/Android.bp tests/UsageReportingTest/Android.bp tests/UsageStatsPerfTests/Android.bp tests/UsageStatsTest/Android.bp tests/UsbHostExternalManagmentTest/AoapTestDevice/Android.bp tests/UsbHostExternalManagmentTest/AoapTestHost/Android.bp tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/Android.bp tests/UsbManagerTests/Android.bp tests/UsbManagerTests/lib/Android.bp tests/UsbTests/Android.bp tests/UsesFeature2Test/Android.bp tests/VectorDrawableTest/Android.bp tests/VoiceEnrollment/Android.bp tests/VoiceInteraction/Android.bp tests/WallpaperTest/Android.bp tests/WindowAnimationJank/Android.bp tests/WindowInsetsTests/Android.bp tests/appwidgets/AppWidgetHostTest/Android.bp tests/appwidgets/AppWidgetProviderTest/Android.bp tests/backup/Android.mk tests/benchmarks/Android.bp tests/libs-permissions/Android.bp tests/net/Android.bp tests/net/common/Android.bp tests/net/deflake/Android.bp tests/net/integration/Android.bp tests/net/jni/Android.bp tests/net/smoketest/Android.bp tests/notification/Android.bp tests/permission/Android.bp tests/privapp-permissions/Android.bp tests/testables/Android.bp tests/testables/tests/Android.bp tests/utils/StubIME/Android.bp tests/utils/hostutils/Android.bp tests/utils/testutils/Android.bp tests/vcn/Android.bp tools/aapt/Android.bp tools/aapt2/Android.bp tools/aapt2/integration-tests/AutoVersionTest/Android.bp tools/aapt2/integration-tests/BasicTest/Android.bp tools/aapt2/integration-tests/MergeOnlyTest/LeafLib/Android.mk tools/aapt2/integration-tests/MergeOnlyTest/LocalLib/Android.mk tools/aapt2/integration-tests/NamespaceTest/LibOne/Android.mk tools/aapt2/integration-tests/NamespaceTest/LibTwo/Android.mk tools/aapt2/integration-tests/StaticLibTest/App/Android.bp tools/aapt2/integration-tests/StaticLibTest/LibOne/Android.bp tools/aapt2/integration-tests/StaticLibTest/LibTwo/Android.bp tools/aapt2/integration-tests/SymlinkTest/Android.bp tools/bit/Android.bp tools/codegen/Android.bp tools/dump-coverage/Android.bp tools/incident_report/Android.bp tools/incident_section_gen/Android.bp tools/lock_agent/Android.bp tools/locked_region_code_injection/Android.bp tools/obbtool/Android.bp tools/powermodel/Android.bp tools/preload-check/Android.bp tools/preload-check/device/Android.bp tools/preload/loadclass/Android.bp tools/processors/staledataclass/Android.bp tools/processors/view_inspector/Android.bp tools/protologtool/Android.bp tools/sdkparcelables/Android.bp tools/split-select/Android.bp tools/streaming_proto/Android.bp tools/validatekeymaps/Android.bp wifi/java/Android.bp wifi/tests/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: libs/hwui/Android.bp native/webview/plat_support/Android.bp obex/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-CC-BY SPDX-license-identifier-CPL-1.0 SPDX-license-identifier-GPL SPDX-license-identifier-GPL-2.0 SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS SPDX-license-identifier-W3C legacy_unencumbered to: Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_unencumbered to: core/java/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-CPL-1.0 to: test-base/Android.bp test-runner/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-GPL to: core/res/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-GPL-2.0 to: libs/usb/Android.bp libs/usb/tests/accessorytest/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT to: tools/preload/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS to: api/Android.bp boot/Android.bp cmds/device_config/Android.bp cmds/settings/Android.bp core/api/Android.bp core/tests/coretests/certs/Android.bp core/tests/overlaytests/remount/test-apps/certs/Android.bp core/tests/overlaytests/remount/test-apps/overlaid_apex/Android.bp core/tests/overlaytests/remount/test-apps/overlay_apex/Android.bp libs/tracingproxy/Android.bp services/startop/Android.bp test-legacy/Android.mk tests/ApkVerityTest/testdata/Android.bp tests/TransitionTests/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ic44d662936d1ff0cae7fbe915932b37aa4e4869a Merged-in: I6e9103c3275cb2e6df5dc586588eccd7d2ab6b06
2020-12-08Merge changes from topic "dec5" am: c2793cf12bJeff Sharkey
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1519384 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ifdc390f5ae046c515a30158f3f55b831be147547
2020-12-08Improve OWNERS coverage across frameworks/base/.Jeff Sharkey
As general background, OWNERS files expedite code reviews by helping code authors quickly find relevant reviewers, and they also ensure that stakeholders are involved in code changes in their areas. Some teams under frameworks/base/ have been using OWNERS files successfully for many years, and we're ready to expand them to cover more areas. Here's the historical coverage statistics for the last two years of changes before these new OWNERS changes land: -- 56% of changes are fully covered by OWNERS -- 17% of changes are partially covered by OWNERS -- 25% of changes have no OWNERS coverage Working closely with team leads, we've now identified clear OWNERS on a per-package basis, and we're using "include" directives whenever possible to to simplify future maintenance. With this extensive effort, we've now improved our coverage as follows: -- 98% of changes are fully covered by OWNERS -- 1% of changes are partially covered by OWNERS -- 1% of changes have no OWNERS coverage This specific change is automatically generated by a script that identifies relevant "include" directives. Bug: 174932174 Test: manual Exempt-From-Owner-Approval: refactoring with team leads buy-in Merged-In: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813 Change-Id: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813
2020-12-05Merge "Move CtsTelecomTestCases to group presubmit-large" am: 471929b98fDan Shi
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1516543 Change-Id: I6e6da25a263d0f7ab0245ce0ed71203ec6f743bf
2020-12-04Move CtsTelecomTestCases to group presubmit-largeDan Shi
Also move OverlayRemountedTest, RollbackTest The test config takes longer than 15mins to run. Move it to a dedicated group for running slow presubmit Test Mapping test. Bug: 174654670 Bug: 174495337 Test: none Change-Id: Ie134c5d171bd99cca908f316d03050001c22ac32
2020-12-02Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855Xin Li
Bug: 172690556 Merged-In: I78222391b83a4add8e964340ec08bb8a1306e1c6 Change-Id: I28bbf40820674675ccf765c912aa8140d3f74ab2
2020-09-29Merge "Abandon sessions before/after running tests" am: 347e38a87b am: ↵Mohammad Islam
6317806d3c am: 4327c4ec4b am: bcd39eca7d Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1433441 Change-Id: I993f6f29e49e28d00e7a5ccb3066347851917ea7
2020-09-29Rewrite how we abandon sessionsJW Wang
The original code is flawed in that `pm install-abandon` only abandons the 1st session returned by `pm get-stagedsessions ...`. 1. move AbandonSessionsRule to be shared by multiple host tests 2. use AbandonSessionsRule to do the job Bug: 160754072 Test: StagedInstallInternalTest Change-Id: Ib7b32fbd7b1133ac6a8e6782234a4fe2c5a782bd Merged-In: Ib7b32fbd7b1133ac6a8e6782234a4fe2c5a782bd (cherry picked from commit 3ac333f2d20e240093235d957ba67ce174fe2db8)
2020-09-28Abandon sessions before/after running testsJW Wang
See b/160281947#comment2 for the analysis. Let's clean up staged sessions to improve test isolation. Bug: 160281947 Test: atest StagedRollbackTest Change-Id: I3ad6317eaee3ffb4c6351c630460dd8f1d27e644 Merged-In: I3ad6317eaee3ffb4c6351c630460dd8f1d27e644 (cherry picked from commit be2c3fc558e76187200bfc264c765a33b9564e17)
2020-09-16Merge "Pass correct install user when creating sessions" into rvc-qpr-dev ↵JW Wang
am: 4e6078aee8 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12461388 Change-Id: Iddd830f28be21a10df03ac58dda41b30a98a5fe7
2020-09-16Pass correct install user when creating sessionsJW Wang
This CL passes the correct install user when creating sessions in StagingManager and effectively reverts ag/6901350. Add a test to ensure b/129397974 is not regressed as described in b/158222747#comment11. (Cherry-picked from 838dea54caba0c6a17d90757211bc897ef77c963) Fix: 129744602 Fix: 158222747 Test: atest MultiUserRollbackTest#testStagedRollback Merged-In: I718992240aa76898ff9e4220ea6a769ee8cd61f5 Change-Id: I718992240aa76898ff9e4220ea6a769ee8cd61f5
2020-08-31Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)Xin Li
Bug: 166295507 Merged-In: I3d92a6de21a938f6b352ec26dc23420c0fe02b27 Change-Id: Ifdb80563ef042738778ebb8a7581a97c4e3d96e2
2020-08-12Merge "Update language to comply with Android's inclusive language guidance" ↵Chun-Wei Wang
am: a5d1ef9837 am: 51ded68601 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1397950 Change-Id: Icb2ab0cfc29c8822d5e7f833622fa17357b1bbe9
2020-08-12Update language to comply with Android's inclusive language guidanceJW Wang
See https://source.android.com/setup/contribute/respectful-code for reference. Bug: 162536543 Test: m Change-Id: I30ca0bf2f77015637a0f36a7083f4044cd29d3b1
2020-06-29findNetworkStackApk returns an array of files (2/n)JW Wang
This change handles the case of split APKs. All files starting with "NetworkStack" will be returned as split APKs. See b/159978937#comment6. NetworkStack is changed from a single APK to split APKs. We need this change for install to succeed. Bug: 159978937 Test: atest NetworkStagedRollbackTest Change-Id: I20f5fee08ea208ba4dc7711d82a1718239c647c2
2020-06-04Clean up rollbacks and test appsJW Wang
See comment#6. Clean up rollbacks and test apps before and after running tests. This ensure we are in a good and expected condition when running tests. Bug: 154080003 Test: atest RollbackTest Test: atest MultiUserRollbackTest Test: atest NetworkStagedRollbackTest Test: atest StagedRollbackTest Change-Id: If10fc8865e644611f1cf6a9db9d6dca6c7f11aee
2020-05-29Add tests for snapshot-deletion (2/n)JW Wang
1. Document behavior changes due to ag/11475396 2. Test snapshots are deleted after restoration See go/rollbackmanager-snapshot-deletion for more details. Bug: 151805360 Test: atest StagedRollbackTest Change-Id: Ia8993f82073a145889243bcefc74b6336bf71749
2020-04-23Search more NetworkStack pathsJW Wang
The test failed because it can't find the apk file for NetworkStack. Let's include more names for search. Bug: 154792230 Test: atest NetworkStagedRollbackTest Change-Id: I0909e531fcd0e99fcedb8d07ba0be01f4e762914
2020-04-13Remove the workaroundJW Wang
Bug: 153832351 Test: atest MultiUserRollbackTest Change-Id: I0718632fe9c81884965f0cc10a302155d434c621
2020-04-03Skip the test if no mainline modules installedJW Wang
The test failed because we failed to enable rollback for ModuleMetadataGoogle which is not a module on AOSP builds. Let's skip the test for builds which have no mainline modules installed. Bug: 152721401 Test: atest StagedRollbackTest Change-Id: Iaf75dea5388e2a751a26f983a79924c4358d4833
2020-04-01Fix a flaky testJW Wang
See b/152840581#comment2 for the analysis. 1. call #waitForDeviceNotAvailable to wait for reboot reliably. 2. reduce watchdog timeout to 120s which works well for me and speeds up the test. Bug: 152840581 Test: atest StagedRollbackTest Merged-In: Ibbc9998c74681b1b8fc29b90ea66406f39ae7443 Change-Id: Ic791fbc00c231a5f24751b36e99515cfad13b7e7
2020-04-01Fix a flaky test.JW Wang
See b/152840581#comment2 for the analysis. call #waitForDeviceNotAvailable to wait for reboot reliably. Bug: 152840581 Test: atest NetworkStagedRollbackTest Change-Id: Ibbc9998c74681b1b8fc29b90ea66406f39ae7443
2020-03-31Run expiration when rollback lifetime is changed. DO NOT MERGEJW Wang
See b/151890602#comment6 for the detail. When rollback lifetime is changed, we need to re-schedule the expiration algorithm so rollbacks can expire at the correct time. Note we combine #runExpiration and #scheduleExpiration so there is only one entrance to schedule the expiration algorithm. See https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/base/+/10899294/1/services/core/java/com/android/server/rollback/RollbackManagerServiceImpl.java#672 for the rationale. Bug: 151890602 Test: atest RollbackTest Change-Id: I10355143dedc0af92e0b2adfedb5f008e160cbb3
2020-03-31Add logs for debuggingJW Wang
See b/151890602#comment4. If the assumption is true, we will see logs that the rollback for testappA is exipred happens slightly after the call to #getAvailableRollbacks. Also move assertions below so the test runs to the end and we have a better picture for what happened during the test. (Cherry-picked from eab998a9afb052b5e022d0db9ab889e141213c42) Bug: 151890602 Test: m Merged-In: I85adb8c3c5598ef4ce11550b51f22d1ce3c282a6 Change-Id: I85adb8c3c5598ef4ce11550b51f22d1ce3c282a6
2020-03-30Fix an NPE in WatchdogEventLogger#stopJW Wang
See b/152550404#comment15. https://cs.corp.google.com/android/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/StagedRollbackTest.java?rcl=0b9230489ead3a2ad328d46a47194cfa9dffd25c&l=86 My theory is that somehow #setUp throws before calling mLogger.start() and then mLogger.stop() runs into an NPE. Let's add a null-check in the hope that the actual root cause will stand out. Bug: 152550404 Test: atest StagedRollbackTest Change-Id: Ifd323e6a8707a2de19d03ecbe536feacdbb4e9c6
2020-03-24Fix a flaky testJW Wang
It is possible to have multiple committed rollbacks which include the same app. Uninstalling an app will delete committed rollbacks which include the app. However, there is a race condition between when the app is uninstalled and when rollback manager deletes the rollback as is stated here: https://cs.corp.google.com/android/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/RollbackTest.java?rcl=75dfeca3d40624b745f41155aa38bc5e3fa405fe&l=116 We hit the assertion in #getUniqueRollbackInfoForPackage when there are multiple rollbacks including the same package which is caused by the race condition above. Let's rewrite the code by calling #hasRollbackInclude instead which will not throw. Also do some cleanup in the xml to improve the isolation of our tests. Bug: 152271716 Test: atest RollbackTest Change-Id: Iad3effe52db2a0d2d5e3914bcd08ed93926f3fd3
2020-03-19Override phenotype flags during testsJW Wang
https://g3doc.corp.google.com/experiments/g3doc/mobile/phenotype/android/testing.md?cl=head#hermetic Phenotype talks to a server to override the device config changes made by the tests. Therefore, rollback expiration didn't happen as expected and caused the test to fail. We need to override the flags on our own during tests so the device config values ('rollback_lifetime_in_millis' in this case) won't be changed in an unexpected way. Note this is the same fix as ag/10467568. Bug: 151890602 Test: atest RollbackTest Change-Id: Ie884e4807999d105f6224c46a39434e1f437ed1b
2020-03-09Rewrite testBadApkOnly (1/n)JW Wang
When tradefed fails to run a test, it will try to recover the device which might lead to another reboot. This interferes with our test flow which also involves reboot. See b/150749023#comment2 for more details. Let's rewrite the test to prevent auto-recovery of tradefed from kicking in. Generally, it is a bad practice to depend our test flow on a failed test due to reboot. We should call #waitForDeviceNotAvailable to wait for reboot to happen and then call #waitForDeviceAvailable before continuing next tests. Bug: 150749023 Test: atest StagedRollbackTest#testBadApkOnly Change-Id: Ia39630585c3b7344174a8c66d0a33f05a2d80cc7
2020-03-03Do cleanup before/after running the testJW Wang
Somehow rollbacks related to testappA are not cleaned before running the test and cause test failures. See b/150653097#comment2 for more details. Let's clean rollbacks manually to have a clean start. Bug: 150653097 Test: atest MultiUserRollbackTest Change-Id: I4eb126e193f76c821d26fc62115263b86066a215
2020-03-02Override phenotype flags during testsJW Wang
https://g3doc.corp.google.com/experiments/g3doc/mobile/phenotype/android/testing.md?cl=head#hermetic Phenotype talks to a server to override the device config changes made by the tests. Therefore, watchdog timeout didn't happen as expected and caused tests to fail. We need to override the flags on our own during tests so the device config values ('watchdog_request_timeout_millis' in this case) won't be changed in an unexpected way. See b/148042585#comment21 for more details. Bug: 148042585 Test: atest NetworkStagedRollbackTest Change-Id: I4d8944f7fef93445de8f971c6a96fef7c71872db
2020-02-23Ensure staged rollback status is logged on bootGavin Corkery
In the cases that a logging parent cannot be found for any packages in a rollback, the watchdog event should still be logged. Ensure that the state of a rollback is captured on boot by removing the condition of only saving a rollback id if there is a logging package, and by adding a symbolic null package to the list of logging packages on boot if none were found. Expand tests to verify. Bug: 149957011 Test: atest StagedRollbackTest Test: atest NetworkStagedRollbackTest Change-Id: I56f8afb6730e59fbe67ea8747e0da3aca19a0d8a
2020-02-20Remove unused code (4/n)JW Wang
Bug: 149876119 Test: m Change-Id: I3f7c88eeb74ce5b44646fcb7a690665b78a17f2d
2020-02-20Pass "-g --user all" when installing apps (3/n)JW Wang
'-g' to grant permissions automatically without checking the API level. This works around the issue of b/149733368#comment2. '--user all' to install the app on all users. This is more efficient than calling #installPackageAsUser one by one on each user. Bug: 149876119 Test: atest MultiUserRollbackTest Change-Id: Ia5d85d3c13925ae969ffab9319360c1fefe1f950
2020-02-20No need to switch users before running tests (2/n)JW Wang
My local test shows that switch-user doesn't work on my physical device. In fact there are APIs to run tests against a particular user without switching. It also speeds up tests without switching users from time to time. Bug: 149876119 Test: atest MultiUserRollbackTest Change-Id: I34d26ddcb6a6e9cdc39228310830a3cd83212e4a
2020-02-20Wait for rollback becomes available (1/n)JW Wang
Sometimes RollbackManager is slow in making rollbacks available. Let's give it enough time to do the job and make test less flaky. Bug: 149876119 Test: atest MultiUserRollbackTest Change-Id: I0a64e2dcde1f5e6dae618cacd6546ad953c1aca7
2020-02-17Speed up testsJW Wang
Don't reboot the device when there is no file to delete. This saves us a significant amount of time since each reboot takes 1 min and there are dozens of reboot during the whole test case. Bug: 149528114 Test: atest StagedRollbackTest Change-Id: If3b06a304d9c87680c7cc5b7498d3b2ecf11cdfa
2020-02-14Adds QUERY_ALL_PACKAGES permission to rollbacktestPatrick Baumann
Test: atest com.android.tests.rollback.host.StagedRollbackTest Bug: None Change-Id: I499bf5f5ac8032db584aa307b2329533eb38fd36
2020-02-12Extract common code to a lib (4/n)JW Wang
Bug: 147785893 Test: atest StagedRollbackTest NetworkStagedRollbackTest Change-Id: I98da9f6287680691eb17afcd931b51c215da213c
2020-02-11Move testNetworkPassedDoesNotRollback (3/n)JW Wang
Bug: 147785893 Test: atest NetworkStagedRollbackTest Change-Id: I16933808cc25b2c24be295b14c02c4e5fcfa600f
2020-02-10Move testNetworkFailedRollback (2/n)JW Wang
Bug: 147785893 Test: atest NetworkStagedRollbackTest Change-Id: I801499b760e38a1eec4bab69daaa533124ad9531
2020-02-07Merge "Move network tests to new classes (1/n)"JW Wang
2020-02-07Move network tests to new classes (1/n)JW Wang
By classifying the tests into 2 categories, we can: 1) run remaining tests with network disabled to reduce the interference of network crashes. 2) make it easier to identify bugs caused by network stack or problems in rollback infra. Note this CL contains stubs only. We will move actual test code later. Bug: 147785893 Test: m Change-Id: I5ecc63a057e9a115ea3aa446970a3f20dff750d0
2020-02-06Add tests for Watchdog logging metricsGavin Corkery
Use the logcat output of WatchdogRollbackLogger as an indication that the expected log events are sent to statsd. Bug: 138782888 Test: atest StagedRollbackTest Change-Id: I9a9d48da1cb1926186b2feedd0b78ab1bbd14fdf
2020-01-30Add test for DE (user) snapshot and restore.Oli Lan
This adds a test for rolling back device encrypted (user) apex data, similar to the tests previously added for DE_sys and CE data. Bug: 141148175 Test: atest StagedRollbackTest#testRollbackApexDataDirectories_DeUser Change-Id: I632957449e4aa4f93df2e8bf0ae541937472d9fe
2020-01-29Add tests for DE_sys and CE apex data rollback.Oli Lan
This adds tests in StagedRollbackTest for apex data directory rollback. The test performs the following steps: - Push files into the apex data directory - Update the APEX with rollback enabled - Remove files from data directory - Add new files to data directory - Roll back the update - Verify old files are restored Bug: 141148175 Test: atest StagedRollbackTest#testRollbackApexDataDirectories_DeSys Test: atest StagedRollbackTest#testRollbackApexDataDirectories_Ce Change-Id: Ie1e7ed626c0b654c19b23bfcb008ac4d717aafe2
2020-01-16Merge "Revert "Revert "Make RollbackPackageHealthObserver observe apk-in-apex"""Mohammad Samiul Islam
2020-01-16Merge changes I7579d6c9,I329b1f1a,I46d08fe2JW Wang
* changes: No need to call #updateRollbackLifetimeDurationInMillis (3/n) Register an OnPropertiesChangedListener in onBootCompleted (2/n) Squash runnables in onBootCompleted (1/n)
2020-01-16Revert "Revert "Make RollbackPackageHealthObserver observe apk-in-apex""Mohammad Samiul Islam
This reverts commit 400124c6aecf5cfcd06f101d2260c016f3b6cae5. Reason for revert: Fixed the compile error; TestAppACrashingV2 was not available to com.android.apex.apkrollback.test_v1 Change-Id: Ic443e913b837c9bb2716678521ad1d12d3bc7e4d
2020-01-16Revert "Make RollbackPackageHealthObserver observe apk-in-apex"Greg Kaiser
This reverts commit d56ce0003926fd9ee7d358cb45f8af7f562a33d6. This revert is to fix the wembley build. Test: Local wembley build Change-Id: I651f20ffc6ba11cced5a2a737fd3d77211127221