summaryrefslogtreecommitdiff
path: root/services/accessibility
AgeCommit message (Collapse)Author
2021-02-23Merge "Fix concurrent modify exception for A11y" am: 2dcd402cdcPhil Weaver
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1593751 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ie98305d5930ee7426bb8169d8f4a70d76e5383f6
2021-02-22Merge "Fix concurrent modify exception for A11y"Phil Weaver
2021-02-21Merge ab/7061308 into stage.Xin Li
Bug: 180401296 Merged-In: I4bf82035631ccff6d5a6144d6d9b1d203b076851 Change-Id: I1b5f3a672a55eaabba0f5389bab110b395553559
2021-02-18Fix concurrent modify exception for A11yliulvping
Bug: 180524510 Test: manual test Change-Id: I9f0087c99872633f27a7e5b8355087d03ea2cb00 Signed-off-by: liulvping <liulvping@xiaomi.com>
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-19Make me an owner of accessibility frameworksryanlwlin
Test: Relying on treehugger. No functional changes. Change-Id: Icc51b1b4e752289db1cbf24c2cd8e08a939fefec
2020-11-18[DO NOT MERGE] Transition to clear state after gesture cancelation. am: ↵Ameer Armaly
a9027a7f9f Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13036714 Change-Id: Idfc6d16c3048fdf1f49cbb3dc34ddef5cb6195b3
2020-11-12[DO NOT MERGE] Transition to clear state after gesture cancelation.Ameer Armaly
The agreed-upon behavior has always been that after gesture cancelation, touch explorer would exist in essentially a dead state. It should not be possible to execute a two-finger passthrough gesture for example after doing an invalid gesture. This is likely why we see GESTURE_PASSTHROUGH in cases where we expect GESTURE_UNKNOWN. Fix: 171421786 Bug: 162521649 Test: manual Change-Id: Idce921c5278dea174ec5dad5cecf046f12ab113d Change-Id: Ic71246adc613ea60d3f25974e4085814c4b3211d
2020-11-10Merge "Fix the focus not move to the place where the finger clicks" into ↵Jacky Kao
rvc-qpr-dev am: f7396a4e5b Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13015377 Change-Id: Ib74c9763fd1c9e8586da4e91f049a7883d4b9916
2020-11-09Fix the focus not move to the place where the finger clicksJacky Kao
User does the triple tap operation, but the gesture detection becomes to doubleTapAndHold because the timing of the motion event. Then the long pressing data is created but not be cleared when the state returns to STATE_CLEAR. Adding the long pressing data reset to fix this issue. Bug: 162521649 and 163298552 Test: a11y CTS & unit tests Change-Id: I40d89ea958bee619c64799de591be96bf92efbfc Merged-In: I5fc23a14b0a4ae3c7c012cb4ed8dc924c00e7fe9
2020-10-13[DO NOT MERGE ] Stop setting flag to enable two-finger passthrough swipes. ↵Ameer Armaly
am: 0295f94356 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12792551 Change-Id: I06eb8c5ac72bc34032324c0811ebc90b869bc93e
2020-10-13[DO NOT MERGE] Fix Accidently trigger A11y button long pressedryanlwlin
We used the original down location while injecting all down events. It accidently increases the velocity in the beginning and cause Launcher detect the gesture into unexpected state. Test: manually Bug: 162521649 Change-Id: I527f3e785ee1082f86ef1a60e57ccd825bdfeae9
2020-10-11[DO NOT MERGE] MultiFingerSwipe: scale touch slop to number of fingers.Ameer Armaly
Bug: 162521649 Test: manual Change-Id: I990693ac07f4653f7d8ff9c097b5720593235afb
2020-10-11[DO NOT MERGE] Use correct touch slop value for two-finger passthrough.Ameer Armaly
Throughout the gesture system we scale the touch slop radius to the number of fingers that are down at any given moment. Therefore the correct value to trigger two-finger passthrough should be 2 * mTouchSlop. This should make three-finger taps less problematic. Bug: 163438921 Bug: 162521649 Test: manual Change-Id: I4b36b5575bf11ad767d83effd6292dc84eadb27d Change-Id: I9fb9d58ef679151c9fc595bcb375f6209ea3a5af Change-Id: Ibcae2a5a3fde37b97859165efabf2b0df13ded9b
2020-10-11[DO NOT MERGE] Fix sometime couldn't trigger A11y button with 3-fingerryanlwlin
We inject the down events from where we detect the 3-finger swipe gesture. It may not trigger the A11y Button if the event is not inside the system gesture detection area. We inject the original down location to injection all down events. Bug: 166187595 Test: manually test Change-Id: I0c0f84047fc24e40724332d51d7e3dc414bd0186
2020-10-11[DO NOT MERGE] Fix hardly to perform 3-finger swipe from the bottomryanlwlin
We accidentky checked invalid pointers down position. In stead of checking all pointers, we check the pointer ids from the motion event. Bug: 165576902 Test: manually test atest TouchExplorerTest Change-Id: Id530bf4b760351215726b2afd781433b590f57ce
2020-10-11[DO NOT MERGE] Fix edge swipe logic.Ameer Armaly
1) Only start delegating upon first move event, if all three fingers went down on the bottom edge. 2) The previous logic only required one finger to be in the edge boundary. It now requires all fingers to be in the edge boundary. Bug: 162521649 Test: manual Change-Id: I829c463c63b384642d129ff3b5ccdb0db816ddcd
2020-10-11[DO NOT MERGE] Require both fingers to move before starting two-finger ↵Ameer Armaly
passthrough. Bug: 162521649 Test: manual Change-Id: Ia6b7bf84fd0c7777f21afbd0e0c09bf3f4a10fb2
2020-10-11[DO NOT MERGE] Start dragging where the fingers initially went down.Ameer Armaly
This does not apply when transitioning from touch exploration to dragging. Bug: 162521649 Test: manual Change-Id: I92022ca0359040a6563e6a48c110face574dc9df
2020-10-11[DO NOT MERGE] Address drag unreliability during touch explorationPhil Weaver
The code was trying to set the location of the drag, but MotionEvent doesn't behave consistently when setting a single location to a multi-touch event. All that's needed is to select the correct pointer, so removing messing with the location gives more consistent behavior. Bug: 163105030 Change-Id: I6c315cf0a1e48847cc778ec8c34b382d13ce3555 Test: Manually testing at this point of the passthrough, and relying on treehugger.
2020-10-11[DO NOT MERGE] Fix crash with multifinger touch explorationPhil Weaver
Range check index into motion event x and y before using it. Bug: 163107812 Test: Relying on treehugger. I can't reproduce the crash, so I'm just adding checks. Change-Id: I4ac5023ef9b5c101748b870a01a425a1365fb85c
2020-10-11[DO NOT MERGE] Enable two-finger passthrough swipes.Ameer Armaly
Bug: 162521649 Test: atest GestureManifoldTest TouchExplorerTest AccessibilityGestureDetectorTest FrameworksServicesTests:TouchExplorerTest Change-Id: I9e6b691295a0fa006578d7b8ad8468579c66939c
2020-09-15Merge changes from topic "sep11" am: c0b288133a am: 69e6f07347 am: ↵Jeff Sharkey
741c0a78cc am: da7478b570 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426195 Change-Id: I79488866c538bf9e76d0a6429e30262978f6fdab
2020-09-14Update language to comply with Android's inclusive language guidanceJeff Sharkey
See https://source.android.com/setup/contribute/respectful-code for reference Test: none Bug: 168334533 Exempt-From-Owner-Approval: docs updates Change-Id: Ic93fe142433b1aa9035a72031b80e875d14c9cc0
2020-09-14Update language to comply with Android's inclusive language guidanceJeff Sharkey
See https://source.android.com/setup/contribute/respectful-code for reference Test: none Bug: 168334533 Exempt-From-Owner-Approval: docs updates Change-Id: I8aa4186f44957fc69aebceeeff1e6584b4eebd5a
2020-08-31Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)Xin Li
Bug: 166295507 Merged-In: I3d92a6de21a938f6b352ec26dc23420c0fe02b27 Change-Id: Ifdb80563ef042738778ebb8a7581a97c4e3d96e2
2020-08-20Update language to comply with Android's inclusive language guidancejasonwshsu
1. Rename isClientInWhitelist to isClientInAllowlist See https://source.android.com/setup/contribute/respectful-code for reference Bug: 162536543 Test: Build & run Change-Id: If9c5a2599e13633d6e99993d857e2101b4e6e4ec Merged-In: Ibbd97bf31915d59b5110cbcc8f2126f7a7221060 Merged-In: I915e09e4e64d5c268630cec2d0ef05ea0592fd6f Merged-In: I499c4574464862f3a1dcea2c6d51813e23ba4b82
2020-08-19Merge "Update language to comply with Android's inclusive language guidance" ↵Jason Hsu
into rvc-d1-dev-plus-aosp am: 8dc88a6a46 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12371144 Change-Id: I64a93918ba6206c48a2416e53c0320dae41f8ce2
2020-08-18Update language to comply with Android's inclusive language guidancejasonwshsu
1. Rename isClientInWhitelist to isClientInAllowlist See https://source.android.com/setup/contribute/respectful-code for reference Bug: 162536543 Test: Build & run Change-Id: I915e09e4e64d5c268630cec2d0ef05ea0592fd6f Merged-In: Ibbd97bf31915d59b5110cbcc8f2126f7a7221060
2020-07-09linkToDeath exception cause system server crashCatherine Shi
java.util.NoSuchElementException: Death link does not exist when linkToDeath has remote exception, unlinkToDeath will fail and throw NoSuchElementException, catch it in AbstractAccessibilityServiceConnection to avoid system server crash. Bug: 157580692 Test: manual Change-Id: I42ce3a458e04539d76555679279d1368e0c61ae0
2020-07-08[DO NOT MERGE] Clear properties after interaction is endedryanlwlin
The properties populated when double-tap and hold is detected is not cleared after interaction end. It cuases an offset on hoverevent. Bug: 160463594 Test: atest TouchExplorerTest Change-Id: Id5115fe64e4bda9c7657f67bef62290858442de9
2020-06-26[DO NOT MERGE] Fix NPE from uninitialized object.Ameer Armaly
Bug: 159941636 Test: atest TouchExplorerTest Change-Id: I691bf74ad35bb1af2776e3e6c7212dfbac9fa9fe
2020-06-26[DO NOT MERGE] TouchExplorer: do not use accessibility action to long click.Ameer Armaly
This got overlooked during the initial revert. Bug: 159941636 Test: atest TouchExplorerTest Change-Id: I257852d69e299c7f0302d15b23d96f302f922005
2020-06-24Merge "Fix the multi-fingers gesture conflict with TouchExplorer" into rvc-devRyan Lin
2020-06-24Fix the multi-fingers gesture conflict with TouchExplorerryanlwlin
TouchExplorer supports multi-finger gestures from R. However, FullScreenMagnificationGestureHandler has higher priority of receiving motion events than TouchExplorer. When the screen is zoomed in, two pointersdown gesture makes it transiting to PanningScalingState. To fix it, We post a tap tmeout to transit to PanningScalingState when receiving two pointers down. In this duration, any pointers action will make it transiting to DelegatingState. We also add a condition that is if the movement of any fingers exceeed the touchSlope, it will transit to PanningScalingState. Bug: 159508732 Test: atest FullScreenMagnificationGestureHandlerTest atest MagnificationGestureHandlerTest Change-Id: Ic72c0da68a6a4f1714da8d05f743d6218793a5da
2020-06-22[DO NOT MERGE] Bring back touch events for double tap and double tap and hold.Ameer Armaly
Bug: 159168795 Test: atest TouchExplorerTest Change-Id: I427b98c71ce8a2ac5b9285b2f34c1864f48c4a32
2020-06-22Fix Hard to detect multi-finger multi-tapryanlwlin
The double-tap/touch slope is from system's double-tap detector. This threshold is too narrow for multi-finger multi-tap. It ends up canceling the detection when the movement exceed the slope. We adjust the slopes by multiplying the target finger count. The maxium slope in 4 fingers is around 4.48 mm is smaller than the swipe threshold (1 cm) Bug: 158725482 Test: atest GestureManifoldTest atest TouchExplorerTest atest AccessibilityGestureDetectorTest Change-Id: If0927d15d61a9682da67721d0bf0bbbc1045078b
2020-06-10Make A11yServiceConnection PendingIntent immutable.Jacky Kao
Require that the PendingIntent be immutable so that a malicious app is not able to hijack and mutate any of the details. Bug: 154913130 Test: a11y CTS & unit tests Change-Id: Ib794fa9e80b2a6c5562c66a0c17ea7c92c500e19 (cherry picked from commit a0b630075a36ce7d39b8b7ad656ca690953b445f)
2020-06-04DO NOT MERGE: Map TYPE_TRUSTED_APPLICATION_OVERLAY to system window type for ↵ryanlwlin
A11y TYPE_TRUSTED_APPLICATION_OVERLAY is a system window type used in Bubble. We map it to system window type for AccesibiltiyWindowInfo Bug: 158066152 Test: Enable bubble window and observe its type of AccessibilityWindowInfo Change-Id: I597d360a79fc61dbf4a3d713004272d33d40e576
2020-05-29Fix Magnification Settings didn't restore via D2D transferryanlwlin
ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED is replaced with ButtonTargets setting value. We address it in data migration but not in D2D Consider D2D, we restore it to ButtonTargets value when the restored sdk version of the received intent is below R. Bug: 155943759 Test: manual test 1. prepare an Android Q device and an Android R device 2. backup settings value of Android Q device by the google account. 3. Launch setupwizard to restore it by the google account. Change-Id: I5df070dd1ef880ac1ee5c0867b42e88782348a1b
2020-05-27Fix Accessibility Menu setting is not restored by D2Dryanlwlin
From Android R, we add ButtonTargets settings value for the shortcut feature. It has dependency with enabled services requesting the Accessibility button. In D2D case, we don't update it. We mirgate the ButtonTargets value if enabled services are changed by D2D. Bug: 156459064 Test: manual test: 1. prepare an Android Q device and an Android R device 2. backup settings value of Android Q device by google account. 3. Launch setupwizard to restore it by google account. Change-Id: I8924171162be84f9a24ca3ea124234118b1183f5
2020-05-21Merge "GestureManifold: fix null pointer exception in onGestureCompleted." ↵Ameer Armaly
into rvc-dev
2020-05-21Merge "MultiFingerMultiTap: reset the expiration clock when fingers go up." ↵TreeHugger Robot
into rvc-dev
2020-05-20MultiFingerMultiTap: reset the expiration clock when fingers go up.Ameer Armaly
We were resetting the expiration clock every time a finger went down, but were not resetting it when fingers went up. As a result the user had a super narrow window to get all the fingers up before the gesture canceled. Bug: 156880174 Test: atest GestureManifoldTest Change-Id: I81dd9cd67729cfae38952d44295c3340c5426028 Change-Id: I1b6323ac413bcbd46fd9292fbb4cf7ebdf2b6246
2020-05-20Bubble's change could notify to A11y frameworkJacky Kao
The virtual display of the activity became private and A11y framework won't track the windows of the private virtual display. Then the change of bubbles using the activityView could not be notified to A11y framework. Due to the bubbles created from system ui, we made the private virtual display created from system ui could track its windows. This is the short term solution, and only phases in rvc-dev branch. We plan to track all private virtual displays as the long term solution at master branch, but need to avoid this issue happened again, b/148760652. Bug: 156685691 Test: a11y CTS & unit tests Change-Id: I7a7e3d6040ce05f5d3769c14d34f906d8042c473
2020-05-19GestureManifold: fix null pointer exception in onGestureCompleted.Ameer Armaly
Bug: 156987027 Test: atest GestureManifoldTest Change-Id: I235d6ad6027960eb53ae89379e654dc32e2a65ff
2020-05-16Merge "Avoid launching activity-based feature to force stop exist actiivty ↵TreeHugger Robot
and recreate it." into rvc-dev
2020-05-15Merge "Removes shortcut target when an a11y service is unbound" into rvc-devRhed Jao
2020-05-14Removes shortcut target when an a11y service is unboundRhed Jao
The accessibility button and shortcut target is updated by the Settings app when the user turn on/off the a11y service. It worked fine before an a11y service disables and turns off itself using disableSelf api. The accessibility button and shortcut settings can not get update in this case. Removes shortcut target if an a11y service is unbound to fix this issue. Bug: 156237174 Test: atest AccessibilityShortcutTest Change-Id: Ie15f7fe06644bd35d30d87383b25df81bf29056d
2020-05-14Merge "Swipe: use event times to check for expiration rather than handlers." ↵Ryan Lin
into rvc-dev