summaryrefslogtreecommitdiff
path: root/tests/AppLaunch
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
2020-05-21AppLaunch: Run trial more times to tolerate possible failure in prefettoYan Wang
tracing. Bug: 156039247 Test: forrest runs Change-Id: I152bca5d7ac2970894ae4147bcfeb88eaf4ed641
2020-04-15Enable screen recording in legacy app launch test.Gopinath Elanchezhian
Bug: b/151967185 Test: AppLaunchTest Change-Id: I3e14b3119b08432ad8b81e57685354867407e7e3
2020-04-08AppLaunch: use iorapd's dumpsys command interfaceIgor Murashkin
Make the iorapd compilation more robust by introducing retries and switching to direct iorapd dumpsys commands instead of indirect commands. Test: forrest runs Test: am instrument (manual) Bug: 152322429 Change-Id: I7f75f0df95a1a5272237295a75bed8c34f95f859
2020-03-30iorap: AppLaunch - wait for background job to complete.Igor Murashkin
The background job will always compile all pending packages, so trying to resume app launching too quickly after just 1 package has been compiled will lead to undefined behavior. Bug: 152322429 Test: am instrument Change-Id: I97f773206196bf0ac469fbb87109fd5473b5ea07
2020-03-27iorap: Change AppLaunch to parse logcat waiting for the service toIgor Murashkin
reset. No longer race with sleep against iorapd resetting, this time wait definitively until system_server reconnects to iorapd. Bug: 152322429 Test: manual Change-Id: Ia9c1094bb32a59dd94412e8dd693e672290e1504
2020-03-26Merge "tests: AppLaunch - Add iorap compilation filters whitelist" into rvc-devIgor Murashkin
2020-03-25tests: AppLaunch - increase sleep duration after resetting iorapdIgor Murashkin
Makes it less likely we'll launch the next app too quickly after restarting iorapd. Bug: 152322429 Test: am instrument Change-Id: I4fc35665f03ae7d9fe073accfcb1e04842c737dd
2020-03-24tests: AppLaunch - Add iorap compilation filters whitelistIgor Murashkin
Using the '-e iorap_compiler_filters "quicken|speed-profile"' argument passes a |-separated list of filters that act as a whitelist. For example, if '-e compiler_filters "quicken|speed-profile"' is used along with '-e iorap_compiler_filters "speed-profile"' then the quicken runs will not be iorap-optimized. Bug: 152253477 Test: run AppLaunch and check logcat Change-Id: I3753e0ac0d9e94048d950971f164b48b7e7a6f60
2020-03-24tests: Save contents of dumpsys iorapd to launch_logs directory.Igor Murashkin
Bug: 152322429 Test: am instrument Change-Id: I15817b02c2180984f63eccfb0e27ac96860a979e
2020-03-13AppLaunch: Update to support iorap compilations on go/perfmasterIgor Murashkin
Use the new 'iorap_trial_launch' boolean flag to use iorap. When iorap is enabled, it adds 3 extra trial launches to collect perfetto traces and then compile it into an iorap prefetch file. Test: am instrument -w -r -e iorap_trial_launch true -e \ trace_iterations 2 -e debug false -e apps "Calculator^Calculator" -e \ launch_directory /sdcard -e compiler_filters 'speed-profile' -e \ trial_launch true -e trace_directory sdcard -e log false -e drop_cache \ true -e required_accounts com.google -e timeout_msec 300000 -e \ launch_order CYCLIC -e launch_iterations 5 \ com.android.tests.applaunch/android.test.InstrumentationTestRunner Bug: 150880186 Change-Id: Ibc0a39e04dd671aa3d6fa5fca086251e622a5235
2020-02-13Force stop app if it has failures during trial launchLouis Chang
Activities could be remained at foreground when it has failures in trial launch, which affects testing results of other apps. Bug: 149326995 Test: atest google/perf/app-startup/hermetic-apps/cold-dropcache-test Change-Id: Id364461ff5a97384590d1dc7cfb59cc8cf4e88a6
2019-04-03Add option to enable tracing all the launches.gopinath
This option is disabled by default. Bug: b/129888684 Test : Ran app launch test case locally. Change-Id: I1305361adf0cb80e2be6a191b8639f7a53e9abfc
2019-03-12Convert tests/**/Android.mk files to Android.bp, part IISasha Smundak
See build/soong/README.md for more information. Bug: 122332340 Test: treehugger Change-Id: I886b6536a0ef1c8d21f15ec7ff9fdb9784d5b865
2019-03-02Migrate remainder of frameworks/base to androidx.testBrett Chabot
See go/jetpack-test-android-migration Exempt-From-Owner-Approval: automated package name refactoring Test: m m -j BroadcastRadioTests KeystoreTests mediaframeworktest ActivityManagerPerfTests AppLaunch AppLaunchWear BackgroundDexOptServiceIntegrationTests AppCompatibilityTest DynamicCodeLoggerIntegrationTests FlickerLibTest InternalTests PackageWatchdogTest RcsTests RollbackTestAppAv1 RollbackTestAppAv2 RollbackTestAppACrashingV2 RollbackTestAppBv1 RollbackTestAppBv2 RollbackTestAppASplitV1 RollbackTestAppASplitV2 RollbackTest ServiceCrashTest UsageStatsPerfTests UsbTests WindowAnimationJank Change-Id: I32fe3297656eec6060da6c7e24582bcd5315fb16
2018-12-13AM: Report launch state with activity launch infoVishnu Nair
Bug: 119988524 Test: atest ActivityMetricsLoggerTests Test: adb shell am start -W ... Change-Id: I1d323e84d725722a198a60c51884dba897ec253f
2018-10-19Merge "Sleep 1s before force stop and use killBackgroundApp" am: 2417859fa5 ↵Mathieu Chartier
am: 96cb6d97e1 am: c3359b60ca Change-Id: I1697d8fefc5d549438f05f14527b6fee88e97a6c
2018-10-18Sleep 1s before force stop and use killBackgroundAppMathieu Chartier
Leave a bit of time before force stopping the application. This might help prevent bad numbers. Call killbackgroundApp after doing force-stop to make sure nothing is still running. Bug: 117094510 Bug: 117888316 Test: atest google/perf/app-startup/third-party-apps/cold-dropcache-stable-test Change-Id: I47792f99b38edf2c40f61cc3f6817d82e6339d12
2018-10-02Merge changes from topic "am_launch_times"TreeHugger Robot
* changes: AM: Update WaitResult parsing logic in AppLaunch AM: Use ActivityMetricsLogger to get app launch times
2018-09-28AM: Update WaitResult parsing logic in AppLaunchVishnu Nair
thisTime is no longer printed out when running am start -W Remove dependencies with line number when parsing output Bug: 67683350 Test: atest google/perf/app-startup/third-party-apps/cold-dropcache-stable-test -v Test: check applaunch.txt matches test run Change-Id: Ie39486a1552d1a35c621a4ff67d7043d55a19e10
2018-09-26Fix trial run in AppLaunch testCalin Juravle
If the app does not exist log an error but do not fail the test. Test: atest google/test/performance/app-install-startup -v (cherry-picked from commit 55db8ff9a6fa383134142f65d0b1d0da9957411d) Merged-In: Idb6f1d0ba3c5bfb6c7985cd84f5aa4e0599c6b59 Change-Id: Idb6f1d0ba3c5bfb6c7985cd84f5aa4e0599c6b59
2018-09-26Fix trial run in AppLaunch testCalin Juravle
If the app does not exist log an error but do not fail the test. Test: atest google/test/performance/app-install-startup -v Change-Id: Idb6f1d0ba3c5bfb6c7985cd84f5aa4e0599c6b59
2018-05-29Escape "$" in script generated when simpleperf_app is true.Nicolas Geoffray
bug: 80265465 Test: adb shell "am instrument -e simpleperf_app true -e apps com.google.android.youtube^Youtube -e launch_directory /data/local/tmp -w com.android.tests.applaunch com.android.tests.applaunch/android.test.InstrumentationTestRunner" Change-Id: I6d0113019c019dac856bf613408d278713ca8585
2018-05-01Add 'ss' trace category in app launch test.gopinath
Bug: b/78898738 Test: atest google/perf/app-startup/hermetic-apps/cold-dropcache-stable-test -v Change-Id: Id69edfa6903e077b2434e8474a7034f136aadecb (cherry picked from commit a6adc072351f1ca5e29bd9ae92dce0419f9a5b56)
2018-04-30Add 'ss' trace category in app launch test.gopinath
Bug: b/78898738 Test: atest google/perf/app-startup/hermetic-apps/cold-dropcache-stable-test -v Change-Id: Id69edfa6903e077b2434e8474a7034f136aadecb
2018-04-20Add more trace categories.gopinath
Add tracing for additional filters as well. Bug : b/78244687, b/78301352 Test: atest hot-nodropcache-stable-test Change-Id: Ie6fd109b645c92dcfa414e3c41cc5f43032fe6fd
2018-03-16Add cycle-clean option in AppLaunchgopinath
If cycle-clean is enabled then all the apps will be killed at the end of the cycle and cache will dropped. Cycle time is also enabled to measure the sum of launch times during each cycle. Above two options will enable use to measure app launch time under memeory pressue by not killing the app between the launches and by killing all the apps and dropping the cache before each cycle and measuring the cycle time. Bug: b/73091210 Tested : Tested with nodropcache, no force stop between launches and cycle clean option and the cycle time avg,min and max is printed as expected. Change-Id: I8fb22439a9fe191104ce024c8a85a2688068cd60
2018-03-08Add sleep for profile saving in AppLaunchMathieu Chartier
Aim to prevent cases where the profile won't be saved when we compile. Bug: 70734839 Test: m Change-Id: Ib6f8740c70729914fc559f249b19adea1e7777f0
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
2018-02-23Add support for hot launch in App launch test.gopinath
force-stop-app option is added to control hot launch and cold launch. Bug: b/73091210 Test: am instrument -w -r -e debug false -e launch_directory /sdcard -e apps "Calculator^Calculator|Clock^Clock" -e trial_launch true -e log false -e timeout_msec 300000 -e force-stop-app false -e launch_order CYCLIC -e simpleperf_cmd "simpleperf stat -a" -e launch_iterations 10 com.android.tests.applaunch/android.test.InstrumentationTestRunner Change-Id: I4b0f7a61c46e8091e69cad9fa65b5b34f680252d
2018-02-20Fix string format in App launchgopinath
Change-Id: I22676ab95d39b8b92118eb48145b0d7614d0f03f
2018-02-15Small cleanup in AppLaunch.Nicolas Geoffray
closeApp is always force closing app. Just make it so. Move the go home intent into its own method. Test: adb shell "am instrument -w -e drop_cache true -e simpleperf_app true -e compiler_filters speed\|speed-profile\|quicken\|verify -e apps Maps^Maps -e launch_directory /data/local/tmp com.android.tests.applaunch/android.test.InstrumentationTestRunner" Change-Id: I0d7d28a99a1ce9dfcefc4572ec3a0142482b1e48
2018-02-15Add more ways to run AppLaunch.Nicolas Geoffray
1) Pass a list of compiler filters. 2) Pass an option to output cpu cycles and major faults from app. bug: 73091359 Test: adb shell "am instrument -e drop_cache true -e compiler_filters \"speed-profile|verify|quicken\" -e simpleperf_app true -e apps com.google.android.apps.maps^Maps -e launch_directory /data/local/tmp -w com.android.tests.applaunch com.android.tests.applaunch/android.test.InstrumentationTestRunner" Test: adb shell "am instrument -e drop_cache true -e simpleperf_cmd \"simpleperf stat -a\" -e apps com.google.android.apps.maps^Maps -e launch_directory /data/local/tmp -w com.android.tests.applaunch com.android.tests.applaunch/android.test.InstrumentationTestRunner" com.android.tests.applaunch.AppLaunch:INSTRUMENTATION_STATUS: Maps=1488,1850,1973,1972,1929,1947,1968,1771,2006,1912, INSTRUMENTATION_STATUS_CODE: 0 . Test results for InstrumentationTestRunner=. Time: 88.636 OK (1 test) Change-Id: I61fea8c124107cbd7234f69358078780ab74c4b6
2018-02-01Reduce initial app launch timeout.gopinath
Change-Id: Ie4b9fb99bcde445fc9868c3ed9e968a9fc7bfdda
2017-12-18atest support for app startup testgopinath
Bug : b/65842123 Test: App launch test config able to build and install this test apk in the atest. Change-Id: I040e299b1e1fdafbcc716f2b0b8b32e7b842de20
2017-12-07Flatten dependency hierarchy of legacy-android-testPaul Duffin
Previous changes statically included legacy-android-test in preparation for removing android.test.* and junit.* classes from the android.jar. Unfortunately, that lead to duplicate classes between APKs and the bootclasspath which caused build problems (Proguard) and also runtime problems (when targeting and running on older releases). Switching from statically including the classes to using the runtime libraries cannot be done in one step because legacy-android-test is statically included in libraries which are used in many APKs and so removing it from those libraries requires that all APKs be updated at once. Doing that atomically across dozens of projects is not practical. This change modifies APKS that statically include the legacy-android-test library indirectly. * If the APK manifest uses the android.test.runner library then the APK is modified to stop statically including legacy-android-test and instead build against android.test.base/mock/runner libraries instead. * Otherwise, the APK statically includes legacy-android-test. Also, any libraries that statically include are modified to stop statically including it and if it has source dependencies on the classes is changed to build against the android.test.base/mock/runner libraries. The following change descriptions were generated automatically and so may be a little repetitive. They are provided to give the reviewer enough information to check the comments match what has actually been changed and check the reasoning behind the changes. * cmds/uiautomator/instrumentation/Android.mk Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because uiautomator-instrumentation is not a package so does not need to statically include the classes * cmds/uiautomator/library/Android.mk Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because uiautomator.core has a source dependency on its classes Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because uiautomator.core is not a package so does not need to statically include the classes * core/tests/BroadcastRadioTests/Android.mk Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because BroadcastRadioTests's source depends on its classes and because of these changes they are no longer present on the compilation path. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that BroadcastRadioTests specifies in its manifest. * core/tests/coretests/Android.mk Added 'android.test.base' and 'android.test.mock' to LOCAL_JAVA_LIBRARIES because FrameworksCoreTests's source depends on their classes and because of these changes they are no longer present on the compilation path. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that FrameworksCoreTests specifies in its manifest. * core/tests/featureflagtests/Android.mk Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because FrameworksCoreFeatureFlagTests's source depends on its classes and because of these changes they are no longer present on the compilation path. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that FrameworksCoreFeatureFlagTests specifies in its manifest. * core/tests/systemproperties/Android.mk Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because FrameworksCoreSystemPropertiesTests's source depends on its classes and because of these changes they are no longer present on the compilation path. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that FrameworksCoreSystemPropertiesTests specifies in its manifest. * core/tests/utillib/Android.mk Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because frameworks-core-util-lib is not a package so does not need to statically include the classes Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because frameworks-core-util-lib has a source dependency on its classes * core/tests/utiltests/Android.mk Added 'android.test.base' and 'android.test.mock' to LOCAL_JAVA_LIBRARIES because FrameworksUtilTests's source depends on their classes and because of these changes they are no longer present on the compilation path. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that FrameworksUtilTests specifies in its manifest. * location/tests/locationtests/Android.mk Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because FrameworksLocationTests's source depends on its classes and because of these changes they are no longer present on the compilation path. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that FrameworksLocationTests specifies in its manifest. * lowpan/tests/Android.mk Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because FrameworksLowpanApiTests's source depends on its classes and because of these changes they are no longer present on the compilation path. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that FrameworksLowpanApiTests specifies in its manifest. * packages/Osu2/tests/Android.mk Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because OsuTests's source depends on its classes and because of these changes they are no longer present on the compilation path. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that OsuTests specifies in its manifest. * packages/SettingsProvider/test/Android.mk Replaced 'legacy-android-test' with 'android.test.base' in LOCAL_JAVA_LIBRARIES because SettingsProviderTest's source depends on its classes. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that SettingsProviderTest specifies in its manifest. * services/tests/notification/Android.mk Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because FrameworksNotificationTests's source depends on its classes and because of these changes they are no longer present on the compilation path. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that FrameworksNotificationTests specifies in its manifest. * services/tests/servicestests/Android.mk Replaced 'legacy-android-test' with 'android.test.base' and 'android.test.runner' in LOCAL_JAVA_LIBRARIES because FrameworksServicesTests's source depends on their classes. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that FrameworksServicesTests specifies in its manifest. * services/tests/shortcutmanagerutils/Android.mk Added 'android.test.runner.stubs' to LOCAL_JAVA_LIBRARIES because ShortcutManagerTestUtils has a source dependency on its classes * tests/AppLaunch/Android.mk Replaced 'legacy-android-test' with 'android.test.base' and 'android.test.runner' in LOCAL_JAVA_LIBRARIES because AppLaunch's source depends on their classes. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that AppLaunch specifies in its manifest. * tests/Camera2Tests/SmartCamera/SimpleCamera/tests/Android.mk Replaced 'legacy-android-test' with 'android.test.base' in LOCAL_JAVA_LIBRARIES because SmartCamera-tests's source depends on its classes. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that SmartCamera-tests specifies in its manifest. * tests/ServiceCrashTest/Android.mk Replaced 'legacy-android-test' with 'android.test.base' in LOCAL_JAVA_LIBRARIES because ServiceCrashTest's source depends on its classes. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that ServiceCrashTest specifies in its manifest. * tests/net/Android.mk Added 'android.test.base' and 'android.test.mock' to LOCAL_JAVA_LIBRARIES because FrameworksNetTests's source depends on their classes and because of these changes they are no longer present on the compilation path. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that FrameworksNetTests specifies in its manifest. * tests/testables/Android.mk Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because testables is not a package so does not need to statically include the classes Added 'android.test.mock' to LOCAL_JAVA_LIBRARIES because testables has a source dependency on its classes * tests/utils/testutils/Android.mk Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because frameworks-base-testutils is not a package so does not need to statically include the classes Added 'android.test.base' and 'android.test.mock' to LOCAL_JAVA_LIBRARIES because frameworks-base-testutils has a source dependency on their classes * wifi/tests/Android.mk Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because FrameworksWifiApiTests's source depends on its classes and because of these changes they are no longer present on the compilation path. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that FrameworksWifiApiTests specifies in its manifest. Bug: 30188076 Test: make checkbuild Change-Id: Ia6a48234f28e7e1789049cf4b37cd7fe0bc8251c
2017-09-15Avoid spaces in the trace file names.gopinath
Having spaces in the trace file names introduces slashes in the file names and not able to pull the file names with the slashes from the device.So avoid having spaces while constructing the trace file names. Bug : b/65737738 Change-Id: Ie1971566586f77d18b17722ce0e3cc9ef3ebfdd3
2017-06-15Fix dependencies of packages that target earlier releasesPaul Duffin
A previous change added legacy-android-test as a static dependency to all packages that build against the current, test_current or system_current and failed to compile when the junit and android.test classes were removed from the API. Unfortunately, those changes did not take into account that some of those packages target earlier API versions and so will always have the classes available at runtime. This change replaces those static dependencies with dynamic dependencies for any package that targets an earlier API version. The file changes were made automatically by a tool that constructed and then analyzed a full dependency graph of all the Android Java modules. The individual changes were checked manually to ensure that the changes matched the intent. The affected modules were built against an API with the junit and android.test classes removed. Any issues found during this process resulted in either the tool being updated to address the issue or a separate change being made to fix an existing problem with the build. A sample of the affected packages were run to ensure that they worked as expected at runtime; no issues were found during testing. The following change descriptions were generated automatically and so may be a little repetitive. They are provided to give the reviewer enough information to check the comments match what has actually been changed and check the reasoning behind the changes. * packages/SettingsProvider/test/Android.mk Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because SettingsProviderTest's manifest file (AndroidManifest.xml) targets API level 21 and dynamically includes the android.test.runner library at runtime so there is no point in statically including the classes. Added 'legacy-android-test' to LOCAL_JAVA_LIBRARIES because module SettingsProviderTest uses classes from package android.test (possible indirectly) and needs them available at compile time. Dependency 'legacy-android-test' is used instead of 'android.test.runner' because the latter will conflict with dependencies on junit. * services/tests/servicestests/Android.mk Replaced 'android.test.runner' with 'android.test.mock' and 'legacy-android-test' in LOCAL_JAVA_LIBRARIES because module FrameworksServicesTests uses classes from packages android.test and android.test.mock (possible indirectly) and needs them available at compile time. Dependency 'legacy-android-test' is used instead of 'android.test.runner' because the latter will conflict with dependencies on junit. They were not added to LOCAL_STATIC_JAVA_LIBRARIES because FrameworksServicesTests's manifest file (AndroidManifest.xml) targets API level 26 and uses the android.test.runner library which will provide the classes dynamically at runtime. Dependency 'android.test.mock.sdk' is used instead of 'android.test.mock' because module FrameworksServicesTests builds against internal jars not the API and so should use libraries that build against internal jars not the API. * tests/AppLaunch/Android.mk Replaced 'android.test.runner' with 'legacy-android-test' in LOCAL_JAVA_LIBRARIES because module AppLaunch uses classes from package android.test (possible indirectly) and needs them available at compile time. Dependency 'legacy-android-test' is used instead of 'android.test.runner' because the latter will conflict with dependencies on junit. Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because AppLaunch's manifest file (AndroidManifest.xml) targets API level 24 and dynamically includes the android.test.runner library at runtime so there is no point in statically including the classes. * tests/Camera2Tests/SmartCamera/SimpleCamera/tests/Android.mk Replaced 'android.test.runner' with 'legacy-android-test' in LOCAL_JAVA_LIBRARIES because module SmartCamera-tests uses classes from package android.test (possible indirectly) and needs them available at compile time. Dependency 'legacy-android-test' is used instead of 'android.test.runner' because the latter will conflict with dependencies on junit. Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because SmartCamera-tests's manifest file (AndroidManifest.xml) targets API level 17 and dynamically includes the android.test.runner library at runtime so there is no point in statically including the classes. * tests/Compatibility/Android.mk Replaced 'android.test.runner' with 'legacy-android-test' in LOCAL_JAVA_LIBRARIES because module AppCompatibilityTest uses classes from package android.test (possible indirectly) and needs them available at compile time. Dependency 'legacy-android-test' is used instead of 'android.test.runner' because the latter will conflict with dependencies on junit. Removed legacy-android-test from LOCAL_STATIC_JAVA_LIBRARIES because AppCompatibilityTest's manifest file (AndroidManifest.xml) targets API level 21 and dynamically includes the android.test.runner library at runtime so there is no point in statically including the classes. Bug: 30188076 Test: make checkbuild and ran a sample of tests Change-Id: I3d183a96bf87437028a2d4b774d311e40349f4d0
2017-06-14Use TotalTime instead of ThisTime in app launch testgopinath
Bug: 62272543 Test: Tested with calculator and facebook messenger launch Change-Id: Ide4e844e54428edcb7e3356cb3d0492392f6bde3 (cherry picked from commit fb9272c637f4b657d40057145e4dbce989005e67)
2017-06-14App launch test apk changegopinath
Support launching the app using the package name. Remove the unused variables. b/33226470 Change-Id: I5b3829912782a9fc0c8f09cbd6fa9ee4b5b35314 (cherry picked from commit a00259f47dc480f799a812a00f52e3c887aae4b0)
2017-02-13Add Simulate maitanance mode in app startup test cases.gopinath
Note : Dismissing initial dialogs on the apps (maps, youtube and camera) craetes the profile. Bug : b/28941042 Change-Id: Ifbc2853059ca59026d0a833e6dc7e7f96bda9117
2017-01-18Prepare for removal of legacy-test from default targetsPaul Duffin
In preparation for removing junit classes from the Android API the legacy-test target will be removed from the TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit dependencies on junit and/or legacy-android-test to ensure that modules will compile properly once it is removed. Bug: 30188076 Test: make checkbuild Change-Id: I13e88297731253420e4e5f5291d503f13a39a156
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-11-04Move IActivityManager to aidl.Sudheer Shanka
Bug: 30977067 Test: Existing tests are passing, dump commands still working. Change-Id: I9cf81c4d381ebce14a6c701e409cbb269f2ff1fb
2016-08-01Work around to get ride of NPE in app startup testYuanlang Song
bug: 30374599 Change-Id: I9050ba6ac6283734c345e4e7f9f56f34e1477c7a
2016-07-07App launch - Test app changesGopinath
1) Drop cache between app launches Bug 29564205 2) Trace capture while launching app Bug 26779882 3) Simple Perf while launching app Bug 29249860 4) Launch order which could be cyclic or sequential Change-Id: I0c883e7feb7e07474b045835fd56a97d8a126552
2016-05-05allow optionally skipping of initial launchGuang Zhu
Current harness performs one round of app launch as a "warm up", and does not include that into final app launch time calculation. This change skips this process so that it can speed up local test run investigation. Change-Id: I0b1948b2247d9f7e442e799d537508fba6dfa508
2016-04-01Merge "Increase post launch idle timeout to 60 secs" into nyc-devGopinath Elanchezhian
2016-04-01Increase post launch idle timeout to 60 secsGopinath
Bug 27944664 Change-Id: Ibc57923f1b49414b27b0738e005c278749c3f17a
2016-03-08Add TV apps to AppLaunch testHyungtae Tim Kim
TV apps declare a launcher activity using a CATEGORY_LEANBACK_LAUNCHER intent filter. Bug: 27444470 Change-Id: I0d3e412dc0abf65f6eeed4e5d2c0784d08773620