summaryrefslogtreecommitdiff
path: root/apct-tests/perftests/multiuser
AgeCommit message (Collapse)Author
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-01-12Add User* OWNERS file (part 2)Adam Bookatz
Part 1 was aosp/1546301. Two parts are required due to b/175318571. Test: N/A Change-Id: I1a89f7d26da70dce36d1e891a8e8ebc4042dc56c
2020-06-16Add collector library in multi user per test apk.Gopinath Elanchezhian
Enable permissions needed to write the trace file in the device. Bug: b/155805394 Test: make MultiUserPerfTests Change-Id: I650307133c5325aa92aa6e12f2a77566f314f174
2020-03-12Rename featureId -> attributionTagPhilip P. Moltmann
In the core functionality this changes everything including aidl's and field names: - Context - ContentProvider - AppOps* - Package parsing For the rest, this is a shallow change to only change to the changed APIs. This keeps the change small-ish Exempt-From-Owner-Approval: Rename Fixes: 148792795 Test: TH Change-Id: I2a2245fe76e09e62cb13d5785d2efb4a304ba54a Merged-In: I2a2245fe76e09e62cb13d5785d2efb4a304ba54a
2020-02-12Revert "Revert "Activity start: Send featureId from context->AppOpsManager""Philip P. Moltmann
This reverts commit e7421e92d947b09ca3cb9e6dfb66bbb27b9ed114. Exempt-From-Owner-Approval: revert-revert and only piping anyway Test: 1:1 revert-revert Bug: 136595429 Change-Id: I44e5fa2019f5604c6e2c08bdd1967129c64a90a7
2020-02-10Revert "Activity start: Send featureId from context->AppOpsManager"Philip P. Moltmann
Revert "Adjust monkey to changed internal APIs" Revert "Test featureId is correctly used in startActivity" Revert submission 10111030-activityStarter_featureId Reason for revert: presubmit test breakage Reverted Changes: Ic7056b492: Activity start: Send featureId from context->AppOp... I8e2a07da7: Adjust monkey to changed internal APIs I7a6af6fb1: Test featureId is correctly used in startActivity Change-Id: I48c55a962c990b22ea49e923baa7c73b121d179b
2020-02-08Activity start: Send featureId from context->AppOpsManagerPhilip P. Moltmann
The expected usage pattern for noteOp is to get the Context#getOpPackageName() and Context#getFeatureId() in the calling app and the call noteOp(callingPackageName, Binder.getCallingUid(), callingFeatureId) As the featureId parameter is new this parameter has to been piped all through from the ...Manager classes running in the app all way deep into the bowels of the system server. There is a special featureId==null for the "default" feature. This is used in two cases: - In case the system server (packageName == null || packageName == "android") makes a call - In the case there is no caller. In this case I left annotations in the code to make clear that the default feature is used Raw binder interfaces (defined in AIDL files) are not supposed to be used by apps. Still historically this has happened and we ended up with @UnsupportedAppUsage tags in these files. Also AIDL does not support two methods with the same name but different parameters. I.e. in the case when I had to add a paramater to a method tagged as UnsupportedAppUsage I - created a new method ...WithFeature with the additional paramter - set a maxTargetSDK for the old method and mention the public API to use in the deprecation method This is really not pretty. Once there is no more app using the old internal API this hack can be removed. Additionally this change removed all internal calls to AppOpsService.noteOperation and AppOpsService.checkOperation and replaces them with the public API equivalent. This sometimes means to move the resolution of the mAppOpsManager to be lazy. Exempt-From-Owner-Approval:: Just piping through arguments Bug: 136595429 Test: atest --test-mapping frameworks/base/services/core/java/com/android/server/am/ atest CtsAppOpsTestCases added test to cover activity start atest WmTests Change-Id: Ic7056b492cb1c9a79158e6c2b4864898a0eb5b2a
2019-12-19Adding more granular startUser perf benchmarks.jovanak
Fixes: 146154399 Test: atest UserLifecycleTests Change-Id: Ie781edc70a8a2fc0635e74350c139b5c09441dca
2019-11-14Introduce user typesBookatz
Introduces the notion of 'user types' to UserManager. Previously, users only had properties, set by UserInfo flags. We now solidify some of these as formal user types. Each user must be of precisely one user type. The configuration of each type is defined in a UserTypeDetails object. Prior 'types' - namely Guest, Restricted, ManagedProfiles, Demo, and 'normal' - that were set via UserInfo flags are now controlled via UserType. Previous UserInfo flag methods for categorizing these are still supported as long as no user of of more than one type. If a user was (e.g.) previously both Guest and Demo, it is now invalid and will be prevented from upgrading. This should not be a problem in AOSP, where these 'types' were assumed mutually exclusive. UserTypeDetails is sufficiently general to support future non-managed profiles. To this end, the logic for specifying badges and their colors/labels is contained by UserTypeDetails, and therefore UserManager is responsible for delivering the corresponding badge information. Bug: 142151520 Test: added new test class UserManagerServiceUserTypeTest Test: added additional tests in UserManagerServiceUserInfoTest Test: added additional tests in UserManagerTest Test: added additional tests in UserManagerServiceCreateProfileTest Test: created UserTests to run the various pm.User*Test's Test: atest \ com.android.server.pm.UserTests \ UserLifecycleTests \ ManagedUserContentResolverTest \ CtsDevicePolicyManagerTestCases \ CtsMultiUserHostTestCases \ com.android.server.devicepolicy.DevicePolicyManagerTest \ com.android.server.am.UserControllerTest \ CreateManagedProfileTaskTest Test: atest com.android.server.pm.UserManagerServiceCreateProfileTest using adb shell getprop persist.sys.max_profiles # for 5 and -1 Change-Id: Id1183a76055e9a7610965cf40b256d1392afe6f8
2019-09-24Whitelist packages for user typesBookatz
Creates a new SystemConfig xml entry which allows a device to whitelist system packages to be installed on users when they are created, based on the type of user. System packages will be installed on users when they are created, or during OTAs, based on this whitelist. The whitelist can be enabled/disabled via a Config resource. For any user type, system packages can be whitelisted or blacklisted. If it is both (for the same user type), the blacklist takes priority. If it is neither, it won't be installed (since it isn't whitelisted). If a system package isn't mentioned in the whitelist file at all, for any user, then its behaviour depends on the Config resource value, which can optionally implicitly whitelist all such apps on all users. For now, the list is mostly empty and the default config is set to be enabled but implicitly whitelist all system packages that are not mentioned. Test: atest FrameworksServicesTests:SystemConfigTest Test: atest com.android.server.pm.UserManagerServicePackageWhitelistTest Test: manually test user 0 by flashall -w and checking packages Test: manually test OTA by setting setprop persist.pm.mock-upgrade 1 Bug: 134605778 Change-Id: Ia098c1f597f66a1c946cfcc9b7771c25e8ceabf7
2019-09-04Adding create user benchmark to UserLifecycleTests.jovanak
We already have createAndStartUser - but we should aim for more granular benchmarks as well, and this isolate create user timing only. We'll keep createAndStartUser for now, since it contains all the historical data associated with it. Bug: 140101272 Test: atest UserLifecycleTests Change-Id: I0df72c90f7fd7bcdc8928d8510ffe36094a4d832
2019-08-08Skipping managed profile tests for devices that don't support MANAGED_USERS.jovanak
Fixes: 13913456 Test: atest MultiUserPerfTests - on automotive, since it doesn't have managed users feature Change-Id: I8dec1291ddeb6e1bfc6142fece08e1ab2779c89a
2019-07-24Pass callingPackage in UserLifecycleTest#startAppRobert Horvath
Calling IActivityTaskManager#startActivity requires the callingPackage to be set correctly as of ag/8668823, otherwise a SecurityException is thrown. Bug: 138095678 Test: Enable multi-user by declaring the "android.software.managed_users" feature and setting "config_multiuserMaximumUsers" to greather than 1. Then: `atest android.multiuser.UserLifecycleTests#managedProfileUnlockAndLaunchApp` Change-Id: Iab7cf0198a02a976ef5c54e4b87fb127aa7eac9a
2019-06-03Merge "PerftestMultiuserDummyApp > MultiUserPerfDummyApp"TreeHugger Robot
2019-05-31Multiuser perf test: re-launching app in profileBookatz
Times starting (unlocking) and launching a previously-launched app in an already-created, but no-longer-running, profile. This represents how long it would take to immediately start a profile and launch an app within it for a re-used profile. Bug: 129857107 Test: atest multiuser.UserLifecycleTests#managedProfileUnlockAndLaunchApp_stopped Change-Id: I34cc9aeef07ea6481f4d168cda47b5dea69a5a74
2019-05-30PerftestMultiuserDummyApp > MultiUserPerfDummyAppBookatz
Renames PerftestMultiuserDummyApp to MultiUserPerfDummyApp. This dummy app will be added to the platform testing, and it's useful for the name of the dummy app to be alphabetically adjacent to the test app (MultiUserPerfTests). Also removes an unnecessary Android.mk file in an empty directory. Bug: 133510429 Test: atest multiuser.UserLifecycleTests#managedProfileUnlockAndLaunchApp Change-Id: Ifcdaa36e39b6d2a5e42decd9277d9afbf3a75d78
2019-05-22Merge "Fix multiuser.UserLifecycleTests dummy app"TreeHugger Robot
2019-05-21Fix multiuser.UserLifecycleTests dummy appBookatz
The dummy app (used in managedProfileUnlockAndLaunchApp and managedProfileCreateUnlockInstallAndLaunchApp) wasn't compiling properly, so we fix that here. Test: atest multiuser.UserLifecycleTests#managedProfileUnlockAndLaunchApp Test: atest multiuser.UserLifecycleTests#managedProfileCreateUnlockInstallAndLaunchApp Change-Id: I3456824e2d31c6f2d2f9f6b892703a02c141d91c
2019-05-15Whitelist all perms on installExistingPackagePhilip P. Moltmann
The code allows to also whitelist only a select set of permissions, but this is not yet exposed in the API. Also: Fix up shell commands for restricted permissions Fixes: 132368462 Test: - Enabled app via device admin in secondary profile -> verified that permissions were whitelisted - Installed existing and new app using --restrictpermissions and not -> verified that permissions were whitelisted or not atest AppRestrictionsHelperTest RestrictedPermissionsTest Change-Id: I9787e63d8beb8f6b1ba2d15532d4c0f69dbdf863
2019-04-16Multi-user profile perf-testsBookatz
Tests that time how long it takes to create/start/install-an-app/launch-an-app in a secondary profile. Also, in the test, adds newly created users to the remove list, so that even if the test crashes, the user will get removed by test cleanup. Test: atest multiuser.UserLifecycleTests Bug: 129857107 Change-Id: I13f7cb1628bf4a97771cb1b143ab524d7d0a2073
2019-04-11Reordering UserLifecycleTests in prep for moreBookatz
Will add more tests. Want the profile tests together. To make review easier, moving a test away from the profile tests. Test: N/A Change-Id: Idf757414dd35acb46a41701a3981cdf37a7779eb
2019-04-03Merge "MultiUserPerfTest - test restart profile"TreeHugger Robot
2019-03-29MultiUserPerfTest test switch to pre-existing userBookatz
Creates two new MultiUserPerfTests, timing how long it takes to switch to a pre-existing user, one for when the user is already-started, and the other for when it is stopped. Bug: 126745587 Test: make MultiUserPerfTests && adb install -r ${ANDROID_PRODUCT_OUT}/data/app/MultiUserPerfTests/MultiUserPerfTests.apk && adb shell am instrument -e class android.multiuser.UserLifecycleTests -w com.android.perftests.multiuser/androidx.test.runner.AndroidJUnitRunner Change-Id: I734f4971ad992e906a0090f4ef328255ab2a0349
2019-03-29MultiUserPerfTest - test restart profileBookatz
Creates a profile, starts it, stops it, then restarts it, timing how long the restart takes. This gives an indication of how long it takes to start a previously-initialized profile, and mimics toggling setQuietModeEnabled. Right now, this process is especially slow due to RoleManagerService.onStartUser(), so it is worthwhile tracking this. Bug: 129415917 Test: atest android.multiuser.UserLifecycleTests#managedProfileUnlock_stopped Change-Id: Ic7f3bdb6fa7daaab53cb23dbf8e8a68e293d23b2
2019-02-22Merge "Don't change the order of test results."Sudheer Shanka
2019-02-19Convert Android.mk file to Android.bpSasha Smundak
See build/soong/README.md for more information. Bug: 122332340 Test: treehugger Change-Id: I23d8d5a019155a0f3296f7ab75e9b44b7621f3c8
2019-02-11Don't change the order of test results.Sudheer Shanka
Test: atest apct-tests/perftests/multiuser/src/android/multiuser/UserLifecycleTests.java Change-Id: Ie21030581ae81509eaa5b3ec31d5e6978dcb23d4
2018-12-17Migrate frameworks/base/apct-tests/perftests/multiuser to androidx.testKOUSHIK PANUGANTI
See go/jetpack-test-android-migration Test: make checkbuild Change-Id: I73fc89de69f1eb54896a2dc19cf93b22bc4f049d
2018-05-01Initial PERF tests for autofill.Felipe Leme
These tests render an activity that has 2 autofillable views (username and password) and keep focusing between then, observing what happens in 4 scenarios: 1. No autofill service (baseline) 2. Autofill service returning no datasets. 3. Autofill service returning a dataset with username and password. 4. Autofill service returning a dataset with just username. Because this change introduced a helper class to run shell commands without needing the UiAutomator package, it also changed the MultiUserPerfTests to use such helper. Test: mmma -j ./frameworks/base/apct-tests/perftests/core/ && \ adb install -r $OUT/data/app/CorePerfTests/CorePerfTests.apk && \ adb shell am instrument -w -e class android.view.autofill.AutofillPerfTest \ com.android.perftests.core/android.support.test.runner.AndroidJUnitRunner Test: mmma -j ./frameworks/base/apct-tests/perftests/multiuser && \ adb install -r $OUT/data/app/MultiUserPerfTests/MultiUserPerfTests.apk && \ adb shell am instrument -w -e class android.multiuser.UserLifecycleTests \ com.android.perftests.multiuser/android.support.test.runner.AndroidJUnitRunner Bug: 38345816 Change-Id: Ie283dff8dd19c38ea829de9164b23aae2bfeb015
2018-04-06Exempt two performance tests from hidden API checks.Nicolas Geoffray
Bug: 64382372 Bug: 74963051 Bug: 76162083 Test: m Change-Id: I50f2c8993cfb8fc7b78dc8c87b2cd8d9ee92d98e
2018-03-29Add the CorePerfTests and MultiUserPerfTests to APCT metricsjdesprez
Add them to the suite version of APCT metric instrumentation. Test: atest CorePerfTests Bug: 77280599 Change-Id: Ia8f0c44fcb9fd21869ed64e54483aa87556a469d
2018-02-28frameworks/base: Set LOCAL_SDK_VERSION where possible.Anton Hansson
This change sets LOCAL_SDK_VERSION for all packages where this is possible without breaking the build, and LOCAL_PRIVATE_PLATFORM_APIS := true otherwise. Setting one of these two will be made required soon, and this is a change in preparation for that. Not setting LOCAL_SDK_VERSION makes the app implicitly depend on the bootclasspath, which is often not required. This change effectively makes depending on private apis opt-in rather than opt-out. Test: make relevant packages Bug: 73535841 Change-Id: I4233b9091d9066c4fa69f3d24aaf367ea500f760
2017-10-05Wait for broadcast queue to become idle between test runsFyodor Kupolov
Test: bit MultiUserPerfTests:android.multiuser.UserLifecycleTests Bug: 64165549 Change-Id: I593885d737fab1ef717a166f6219129809ccfd99
2017-07-12Update user perf tests to report only mean.Sudheer Shanka
Test: bit MultiUserPerfTests:android.multiuser.UserLifecycleTests Change-Id: Ib70123217c54b469844ce65ec52b7e7ed5b5998d
2017-07-11Update test names in UserLifecycleTest.Sudheer Shanka
Test: bit MultiUserPerfTests:android.multiuser.UserLifecycleTest Change-Id: I49908f8da023a419b79124cc2f366f6d5e8a066d
2017-06-29Fix UserLifecycleTest.Sudheer Shanka
Bug: 62058707 Test: bit MultiUserPerfTests:android.multiuser.UserLifecycleTest Change-Id: I8667190f001f609040a977a19aa956d7064ccc18
2017-05-31Increase the timeout and add stopping managed profile testTony Mak
The dashbaord suggests that multiple tests are always capped at the same value due to the timeout. To collect the actual metric, set a larger timeout value, 10s for now. Also, added a test to stop managed profile user. However, the test is still finishing surprisingly fast because of the empty broadcast queue. Bug: 62096041 Test: adb shell am instrument -e class android.multiuser.UserLifecycleTest -w com.android.perftests.multiuser/android.support.test.runner.AndroidJUnitRunner Change-Id: Ia52db17525d9eb960c9a8c860cdb52c0f487e5f1
2016-11-14Update usage of ActivityManagerNative.Sudheer Shanka
- Remove references to ActivityManagerProxy. - Add isSystemReady to ActivityManager. Bug: 30977067 Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts adb shell am instrument -e class com.android.server.am.ActivityManagerTest,com.android.server.am.TaskStackChangedListenerTest \ -w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner Change-Id: I07390b6124fb1515821f5c0b37baf6ae74adc8fa
2016-10-13Greatly reduce BenchmarkState overheadJohn Reck
CL reduces BenchmarkState to minimal levels. It also adds a warmup loop to get things going first before starting measurements. With this change with clocks /not/ locked on bullhead the test for RenderNodeJniOverhead is showing a stable (0ns std dev) result of 54ns, which is approximately the expected amount. Test: Ran a few perf benchmarks Change-Id: If01e455884711ebd9cfb89f076efa19dc0b5436d
2016-09-08Add usermanager related perf tests - part2Sudheer Shanka
- Add onLockedBootComplete callback to UserSwitchObserver. Bug: 30948225 Test: adb shell am instrument -e class android.multiuser.UserLifecycleTest -w com.android.perftests.multiuser/android.support.test.runner.AndroidJUnitRunner Change-Id: I87533094805a81fbd85d4f492e637b3304ecd5e2
2016-08-26Merge & fix package namesJohn Reck
Merge core, graphics, and misc into one test suite as the split is unneccessary. Also cleans up package names Change-Id: I82da6cd69b3a52c63770465780ac98628af334ca
2016-08-19Add usermanager related perf tests - part1Sudheer Shanka
Bug: 30948225 Change-Id: I0668a012435e9954729e5085fdb4b1f5ce422d97