summaryrefslogtreecommitdiff
path: root/apex
AgeCommit message (Collapse)Author
2021-03-11Add support for a hw_timeout_multiplier system property.Peter Collingbourne
In order to test the platform in emulators that are orders of magnitude slower than real hardware we need to be able to avoid hitting timeouts that prevent it from coming up properly. For this purpose introduce a system property, ro.hw_timeout_multiplier, which may be set to an integer value that acts as a multiplier for various timeouts on the system. Bug: 178231152 Change-Id: I6d7710beed0c4c5b1720e74e7abe3a586778c678 Merged-In: I6d7710beed0c4c5b1720e74e7abe3a586778c678
2021-02-21Merge ab/7061308 into stage.Xin Li
Bug: 180401296 Merged-In: I4bf82035631ccff6d5a6144d6d9b1d203b076851 Change-Id: I1b5f3a672a55eaabba0f5389bab110b395553559
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
2021-02-05Merge "Move shared module build rules to common repo"Anton Hansson
2021-02-04[CS04]Remove hidden API usage of NetworkCapabilitieslifr
The connection service will become the mainline module. The mutating NetworkCapabilities is deprecated, and the NetworkCapabilities should be built through their Builder instead. Bug: 170598012 Test: atest FrameworksMockingServicesTests:ConnectivityControllerTest Test: atest CtsJobSchedulerTestCases Change-Id: I931f6f4cedd89a3ff7c811266c68c00f26e8ce43
2021-02-02Update OWNERS to ref existing fileAnton Hansson
...so that we don't have to maintain multiple identical lists. Test: No Change-Id: I157fc52117384df97af79bfb2f11c6a24e19227f
2021-02-02Move shared module build rules to common repoAnton Hansson
Keep the limited visibility rule in this Android.bp though. Test: m Merged-In: I6e6d32eb7269411350cdd3f635d9c461edcfcb6f Change-Id: I6e6d32eb7269411350cdd3f635d9c461edcfcb6f
2021-01-29Suppress [CallbackInterface] metalava rule for mainline modules.Alexander Dorokhine
This rule is already suppressed for main framework code in framework/Android.bp, but mainline uses a different set of metalava flags. Android API council says this is the right thing to do for libraries which run only on Java 8+, which is true of all mainline modules and framework code. Bug: 172180369 Test: AppSearch BatchResultCallback now builds Merged-In: If81cda012b4627c8018ae54a0f0932ee39d6fd96 Change-Id: If81cda012b4627c8018ae54a0f0932ee39d6fd96
2021-01-29Limit build visibility of modules in apex/...Anton Hansson
This changes the default visibility of soong modules in this directory to __subpackages__, from the current public default. This helps accidental dependencies sneaking in without intent from the module owner. Bug: 175604587 Test: m nothing Merged-In: I1df8b8e087d27f62ce8c09d7e6e32d511efdba6b Change-Id: I1df8b8e087d27f62ce8c09d7e6e32d511efdba6b
2021-01-28Merge "Migrate apex/permission to packages/modules/Permission"Baligh Uddin
2021-01-28Merge "Set installable: false on apex jars by default"Anton Hansson
2021-01-28Migrate apex/permission to packages/modules/PermissionBaligh Uddin
BUG: 167963264 Test: TH Change-Id: Ibbe7e5f08b86a4c78b3e8acc999e900d8f017521 Merged-In: I1a6aac95deabeee6d301ad83a2ad31ed2663c02e
2021-01-26Add visibility for new location of permission apex.Baligh Uddin
This is prep. work for f/b/apex/permission migraton to packages/modules/Permission. The Build System does not enforce location checks within visibility, which allows us to add the new location post migration and ensure migration process does not run into visibility related errors. BUG: 167963264 Test: TH Change-Id: I765b73bb8e0f377ef03805423807e720f1e90582
2021-01-25Set installable: false on apex jars by defaultAnton Hansson
They shouldn't be installed, so don't generate install rules. Test: m Change-Id: I87a6a577b98d1140b5882d4c72f875914d551287
2021-01-20Update framework/base/apex OWNERSAnton Hansson
Add the modularization team as "global" module OWNERS. Bug: 151089579 Test: No Change-Id: I4f5c377fcadf6121f9d49f75465ca2e342abdee9
2021-01-11Update language to comply with Android’s inclusive language guidance.Sudheer Shanka
See https://source.android.com/setup/contribute/respectful-code for reference Test: atest --test-mapping apex/blobstore Change-Id: Ic1db6fadab90667b0c3a383caa9ad60fab7d1f1b
2020-12-23Merge "Allow-list service-permission to not track latest api" am: dd5e2cd505 ↵Anton Hansson
am: 48b91458bd Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1534424 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I20418e10ff34befa8c5a77d0ba266f59df87887d
2020-12-21Allow-list service-permission to not track latest apiAnton Hansson
The system-server part of this library has last-api tacking, but we also enable the public api tracking which we don't have last-api tracking of. Bug: 176092454 Test: m nothing Change-Id: I0685ad7a971b2b0ce4e01bc7bd31b9d393eed60d
2020-12-16Merge "Add dplotnikov to OWNERS" am: 634c55be11 am: f460e08478Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1531678 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Iaabff6835dfed220a49990c0ed1b9eccbc29e669
2020-12-16Merge "Add dplotnikov to OWNERS"Treehugger Robot
2020-12-16Add dplotnikov to OWNERSAnton Hansson
...and sort the list. Change-Id: I60fa68b6b3fbd61380258ca9385d6510426282ab
2020-12-16Merge "Remove "set noparent" in blobstore OWNERS file" am: be6079bd17 am: ↵Jeff Sharkey
bcfe028bff Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1530324 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I14fe9c44fe58fc72adce78c3ace09572b58bf1b3
2020-12-15Remove "set noparent" in blobstore OWNERS fileAnton Hansson
Change-Id: Ied56c752bb631885d1183a5300631432a40864fe
2020-12-09Merge "Migrate apex/statsd -> packages/modules/StatsD/apex" into ↵Baligh Uddin
stage-aosp-master
2020-12-09Merge "Migrate apex/statsd -> packages/modules/StatsD/apex" into ↵TreeHugger Robot
rvc-qpr-dev-plus-aosp
2020-12-08Improve OWNERS coverage across frameworks/base/. am: fab0ab3c9c am: c7c4a74a78Jeff Sharkey
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1519383 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I5120a3701af3564f363900b20bca75f3ad2a854c
2020-12-08Improve OWNERS coverage across frameworks/base/. am: fab0ab3c9cJeff Sharkey
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1519383 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I0211462ecbcd9ad66f66af87e31cf12e1582fc65
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 from detailed ownership information confirmed by team leads. Bug: 174932174 Test: manual Exempt-From-Owner-Approval: refactoring with team leads buy-in Merged-In: I9789c97c1de8e5d962b48c29c57d82fe83729eba Change-Id: I9789c97c1de8e5d962b48c29c57d82fe83729eba
2020-12-07Migrate apex/statsd -> packages/modules/StatsD/apexBaligh Uddin
BUG: 167962588 TEST: TH Merged-In: I637aad7f02c2f0fb230c5f3920f2eb929d7709f2 Change-Id: I4ac5cb7e87ba51777e8072600b08827425f57375
2020-12-07Migrate apex/statsd -> packages/modules/StatsD/apexBaligh Uddin
BUG: 167962588 TEST: TH Merged-In: If4917e82f6dcc6e0f5606b0dfecabc7dbf72982d Change-Id: Idd54132eb244b6c4316825b558ad9bb7211f1a93
2020-12-04Merge "Fix visibility rules for apex/statsd" am: 3af010fe57 am: 029c7e2a02Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1517519 Change-Id: I87e154ae89ca7731fa34f09317fed828b7491d66
2020-12-04Merge "Fix visibility rules for apex/statsd" am: 3af010fe57Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1517519 Change-Id: I1f8858b9412a73d6c052f4c5604b0ba415cab286
2020-12-04Fix visibility rules for apex/statsdBaligh Uddin
The //frameworks/base/apex/statsd path is being migrated to //packages/modules/StatsD/apex. BUG: 167962588 TEST: TH Change-Id: Ifee35a00de64e194abb80af5d85e34732244f509
2020-12-02Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855Xin Li
Bug: 172690556 Merged-In: I78222391b83a4add8e964340ec08bb8a1306e1c6 Change-Id: I28bbf40820674675ccf765c912aa8140d3f74ab2
2020-12-01Merge "Remove JobInfo usage of NetworkRequest#networkCaps" am: fdef604e07 ↵Treehugger Robot
am: 0d18955d47 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1512666 Change-Id: Ib154e508d4d6e3be54df4d598ccb1686e602b023
2020-12-01Remove JobInfo usage of NetworkRequest#networkCapsRemi NGUYEN VAN
NetworkRequest#networkCapabilities is an implementation detail (not part of the NetworkRequest API); NetworkRequest has getters that return the same information. Bug: 174436414 Bug: 142281756 Test: m Merged-In: I47e7ab1b887b2fe2dddef223bd7c66bdd290fc56 Change-Id: I47e7ab1b887b2fe2dddef223bd7c66bdd290fc56
2020-11-20Move BasicShellCommandHandler to frameworks/lib/modules-utils am: d5726c1916 ↵Chiachang Wang
am: d3e4d83eb7 am: b6f524b2df Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1483965 Change-Id: Ib09544e292d472e8dcd7dcf218035a0ec6de293c
2020-11-20Move BasicShellCommandHandler to frameworks/lib/modules-utils am: d5726c1916 ↵Chiachang Wang
am: d3e4d83eb7 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1483965 Change-Id: I0c01c2355d990e6e819ba6ac368ead2166f068f4
2020-11-20Move BasicShellCommandHandler to frameworks/lib/modules-utils am: d5726c1916Chiachang Wang
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1483965 Change-Id: Ib2a99f1aeb31b89e69a5b313ca3774ba145dde33
2020-11-20Merge changes from topic "move_BSCH"Chiachang Wang
* changes: Remove BasicShellCommandHandler from frameworks/base Move BasicShellCommandHandler to frameworks/lib/modules-utils
2020-11-19Move BasicShellCommandHandler to frameworks/lib/modules-utilsChiachang Wang
BasicShellCommandHandler is used by mainline modules and the framwork. There is a new repo that was created for putting this kind of utility class. Move BasicShellCommandHandler for the incoming ConnectivityService mainline and updating the related usage. Bug: 170598012 Test: m ; verify with adb shell cmd Change-Id: I8a2873df6e7d8342b7a8b466bda155f74c807ee3 Merged-In: Ida30c877116090616d4bf3f87fdad835446dac84
2020-11-13Merge "Suppress all hidden abstract methods in constructable classes." am: ↵Aurimas Liutikas
bdd6c53abb am: c08c4d9b02 am: 65ed2cb534 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1495396 Change-Id: Icb989e4ac7190afbdb3b09552fa0055c2a742ceb
2020-11-13Merge "Suppress all hidden abstract methods in constructable classes." am: ↵Aurimas Liutikas
bdd6c53abb am: c08c4d9b02 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1495396 Change-Id: I9f9bfc14b3cb56016da352949922e3084237228e
2020-11-13Merge "Suppress all hidden abstract methods in constructable classes."Aurimas Liutikas
2020-11-13Suppress all hidden abstract methods in constructable classes.Aurimas Liutikas
Having a hidden abstract method for a class that can be extended means that public implementors cannot implement these hidden methods posing a risk that custom implementations will not have required abstract methods resulting in an exception. Bug: 151134792 Test: make update-api Change-Id: I758d12465fabc671be19bedeeceb16885de23c87 Merged-In: I758d12465fabc671be19bedeeceb16885de23c87 Exempt-From-Owner-Approval: large scale suppression of existing issues, no-op in terms of behavior
2020-11-13Merge "statsd: Set min_sdk_version to "30"" am: 958c6e7ed7 am: 0a1f185384 ↵Treehugger Robot
am: 6db4b1c21c Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1497097 Change-Id: Iff1804b2b191ac94eb6c0577aec133e35fbccfab
2020-11-13Merge "statsd: Set min_sdk_version to "30"" am: 958c6e7ed7 am: 0a1f185384Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1497097 Change-Id: I0f026776c32934e9650ffafe4c83f9ca7fc1019c
2020-11-12Merge "statsd: Set min_sdk_version to "30""Treehugger Robot
2020-11-12Merge "permission: Set min_sdk_version to "30"" am: ec0f77a84e am: ↵Nikita Ioffe
779a974b0a am: 292c7e9a19 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1497461 Change-Id: I165c09edbe394531a1ab787448fc792e2c6ac389
2020-11-12Merge "permission: Set min_sdk_version to "30"" am: ec0f77a84e am: 779a974b0aNikita Ioffe
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1497461 Change-Id: I9231a0d5b02aad9e06f8b046e3e517a9a7909a09