The command the warning wants you to use instead is "bugreportz", not
"bugreport". You're already running bugreport!
...unless you're on the host and you're running `adb bugreport` which
silently uses bugreportz behind the scenes. No wonder humans are
confused!
Also error out if given any arguments, since no arguments are supported.
Bug: http://b/156667896
Bug: http://b/29448020
Test: adb shell bugreport
Test: adb shell bugreport --help
Change-Id: Ia141e89eb5019d52247f57c5095288e96f57dccd
Modules contributing mainline modules (APK/APEX) should set
min_sdk_version as well as apex_available.
For now setting min_sdk_version doesn't change build outputs.
But build-time checks will be added soon.
Bug: 152655956
Test: m
Change-Id: I6818cdedfca4a3c8bd503b880db9240de7be757d
There was a possibility of accidental mouse warping between multiple
displays. InputReader has the responsibility of setting the
DisplayViewport that the pointer is associated with, but framework sets
a recommended "defaultPointerDisplayId".
TouchInputMapper uses PointerController for touchpads
(DEVICE_MODE_POINTER) and for when "showTouches" (touch spots) are
enabled. In the latter case, TouchInputMapper was setting the pointer's
DisplayViewport to the viewport that the mapper itself was associated
with. When this viewport differs from the one recommended by framework,
there is a possibility that the pointer is moved unexpectedly to the
display associated with the mapper. The possibility of this happening
depends upon the the order in which the various input mappers are
configured.
This CL removes the possibility of unexpected warping by making
TouchInputMapper always use the viewport recommended by framework.
Bug: 146385350
Test: atest inputflinger_tests
Change-Id: Id73c59bce825855bc8c829c3a5a18c141593057e
Merged-In: Id73c59bce825855bc8c829c3a5a18c141593057e
Mouse cursor metadata is stored in a parcel with a int32_t for mouse
cursor type, and two floats for mouse hotspotX/Y. Therefore move the
parcel to byte vector conversion into SurfaceComposerClient. If anyone
needs to store metadata in raw byte vector we can change the interface
later.
Bug: 130822623
Test: SurfaceFlinger can get cursor type and hotspot.
Change-Id: Ia7e0c952fcaefd14280322d9b2269f4dba38e8da
Merged-In: Ia7e0c952fcaefd14280322d9b2269f4dba38e8da
InputReader was already responsible to bind device/event and display. It
makes sense to further extend it to control the display where mouse
cursor is shown.
Bug: 146385350
Test: Mouse cursor shows up at expected display.
Test: atest inputflinger_tests
Change-Id: Ie7a9546550b70c8834462b06de929472196fe713
Merged-In: Ie7a9546550b70c8834462b06de929472196fe713
Bug: 150149045
This reverts commit ce3262092e.
Reason for revert: reland original fix after fixing android.os.cts.ParcelTest
The place where the default size is changed here from the original CL.
Now, when explicit setDataCapacity calls are made, we no longer use an
artificially larger size.
Test: atest android.os.cts.ParcelTest
Test: atest binderAllocationLimits
Change-Id: I08c5eeb3be0b61ccf2f5e34b5bc7b45f58f8cbcb
Since there are several parcel tests and other binder tests there.
Bug: 157536820
Test: CtsOsTestCases
Change-Id: I22d2e866dd0c5370cac22b0cef545f4e0c1adf63
This reverts commit 7dacc699a4.
Reason for revert: broke android.os.cts.ParcelTest which is blocking some presubmit.
Change-Id: I71a6481a5e00adf5096eb824ada8fef3c670dfdd
Preparation for removing implicit include paths for jni.h from soong.
Bug: 152482542
Test: m checkbuild
Change-Id: I06873e61e519b6e54d7325f90231bce732790366
Merged-In: I06873e61e519b6e54d7325f90231bce732790366
Exempt-From-Owner-Approval: build clean-up
(cherry picked from commit e32877afcc)
Use the correct display transform in calculateOutputRelativeBufferTransform().
When SF_PRIMARY_DISPLAY_ORIENTATION is set, DisplayDevice only updates the
logical to physical transform; OutputCompositionState.orientation doesn't
change.
Test: - OutputLayerTest.displayInstallOrientationBufferTransformSetTo90
- Run "dumpsys SurfaceFlinger" on a device with SF_PRIMARY_DISPLAY_ORIENTATION
set to 90 and verify that the HWC transform is 0 (identity)
- screencap
Change-Id: I079b5ea22de8d47a7fb7233d01decfbd4b578be8
Merged-In: I079b5ea22de8d47a7fb7233d01decfbd4b578be8
When a transaction is being sent, frequently many allocations are in a
row. In order to avoid all these allocations, creating a minimum
allocation size here. A test is also added which ensures that a basic
transaction takes exactly one allocation.
Bug: 150149045
Test: atest binderAllocationLimits
Change-Id: I88ab066328158a8b73dd81201b796f247c4dbbd0
Since vndservicemanager is no longer installed by default, this gets hit
on those devices.
Bug: 156571068
Test: TH
Change-Id: I31af865326e9a69042e5c53b63637b95d6de9ad1