| Age | Commit message (Collapse) | Author |
|
* changes:
Introduce MediaProjectionAppContent
Builder pattern for MediaProjectionConfig
|
|
Test: MediaProjectionAppContentTest
Flag: com.android.media.projection.flags.app_content_sharing
Bug: 398757866
Change-Id: I5dc3a487c5aa9d1e5df443a2d0dec2fcf3556c5e
|
|
Introduce a builder pattern for
MediaProjectionConfig, allowing more flexibility for the type of
configuration need by the requesting application, in preparation for the
content sharing option in a follow-up CL.
Also adding some documentation fix and moving readding the CTS in
presubmit.
Test: atest CtsMediaProjectionTestCases:MediaProjectionConfigTest
Flag: com.android.media.projection.flags.app_content_sharing
Bug: 398757866
Change-Id: I0e048c47605fe06bf49e032f387d4009750e5f02
|
|
Bug: 400932931
Test: n/a
Flag: TEST_ONLY
Change-Id: Id3798bd476a1bc09628c90a53f0843e5b1ae7f98
|
|
volume callback"" into main
|
|
callback"
This reverts commit 76e3bf9a04746763e689e1b9237dffade6f246b9.
Reason for revert: Causing failures for non phone builds, see b/404490474
Change-Id: I22d8fd4f39d7285a9fd423be511eba759928334c
|
|
Run all relevant tests for changes to MediaProjection code changes
Bug: 401234854
Test: presubmit
Flag: TEST_ONLY
Change-Id: I43684532d4b735b5f03e18471d341ca71a407710
|
|
* changes:
Add permission to volume callback APIs
Add MODIFY_AUDIO_SETTINGS_PRIVILEGED permission check to volume callback
AudioService: move volume callback on AudioService
|
|
Bug: 293236285
Flag: EXEMPT refactor
Test: atest AudioManagerTest
Change-Id: Ie59ddeb96913907d6b7ba494cf36b7d7274a4be0
Signed-off-by: François Gaffie <francois.gaffie@ampere.cars>
|
|
Robustness to crash of AudioServer.
Take benefit of future permission enforcement.
Bug: 293236285
Flag: EXEMPT refactor
Test: atest com.android.server.audio
Signed-off-by: Francois Gaffie <francois.gaffie@renault.com>
Change-Id: If556a668f45d608b98b6e8073426f5bb8128c7a2
|
|
into main
|
|
Bug: 400932931
Test: atest MediaProjectionStoppingTest
Flag: TEST_ONLY
Change-Id: I7df5bb1426c7f1f58b89d1704d03c25d14606a1f
|
|
The method has been replaced by verifyNo(More)Interactions
in later Mockito versions.
Test: m checkbuild
Flag: TEST_ONLY
Bug: 310268946
Change-Id: I57faa43a5f158bb131f64c19d93de99e04f257ca
|
|
Test: m checkbuild
Flag: TEST_ONLY
Bug: 310268946
Change-Id: Id68adb5ab554a8031f8d03f6158c0e9ffa03604c
|
|
Add Java/Aidl device type conversion test for new device type
DEVICE_OUT_MULTICHANNEL_GROUP.
Flag: TEST_ONLY
Bug: 346839248
Test: unit test
Change-Id: I1cad8a670781ff62ffd7d94f7361b1b929bcd0df
|
|
|
|
Bug: 391957505
Flag: EXEMPT; bug fix
Test: CameraBinderTest.java
Change-Id: Ifaf9553e6f60c5702487dfe786daed53cf16bca5
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
|
|
|
|
Using the IpcDataCache to reduce the number of binder calls between
AudioManager and AudioService. From the b/383667500 we see that there
are a lot of calls that can be optimized. We need to investigate whether
the IpcDataCache mechanism is more efficient in this case since the
volumes might get invalidated very often depending on the routing and
mute state.
Flag: android.media.audio.cache_get_stream_volume
Test: atest AudioManagerTest
Bug: 383667500
Change-Id: I8a07d0f728149e2a9bfcaeee81fff60b17ceedb5
|
|
|
|
Using the IpcDataCache to reduce the number of binder calls between
AudioManager and AudioService. Especially for the get min max stream
volume this makes a lot of sense since they do not change that often.
Flag: android.media.audio.cache_get_stream_min_max_volume
Test: atest AudioManagerTest
Bug: 383667500
Change-Id: I040fb20e100099461a6fd31d10726f6ac3b4b02d
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3461950
Change-Id: I1a72201cb2dc5730b2f07b406dfbba34f0025bbc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
This change updates OWNERS for Android USB
Bug: 391666402
Test: N/A
Change-Id: I4be0dcf9fd17493ba01c561e89f7d0e4c06fd887
Signed-off-by: Neill Kapron <nkapron@google.com>
|
|
787ca6b554
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3449611
Change-Id: I711826a6a76282cd0386407eb5bae39ea240c155
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Change-Id: I8f960ec7ef32af1f5ccf968640bb6873e7d17e17
Flag: EXEMPT DOCS_ONLY
|
|
Add fields to track target position & size, and stop reason + log stop reason and updates to bound
Bug: 341319250
Test: atest MediaProjectionManagerServiceTest
Test: atest ContentRecorderTests
Test: atest MediaProjectionMetricsLoggerTest
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d6615c072b30ff766d17f94cdbd2d66b5e37f376)
Merged-In: I456f974bf37af39882ef011bf60f724670ea8dae
Change-Id: I456f974bf37af39882ef011bf60f724670ea8dae
|
|
Bug: 362791857
Flag: EXEMPT: com.android.internal.camera.flags.fmq_metadata used in
cameraserver
Test: Use GCA with FMQ metadata
Test: Camera CTS
Change-Id: Iec434c7cdf00edb85c71d096cb0e57e3b5c9d3a7
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
|
|
Add fields to track target position & size, and stop reason + log stop reason and updates to bound
Bug: 341319250
Test: atest MediaProjectionManagerServiceTest
Test: atest ContentRecorderTests
Test: atest MediaProjectionMetricsLoggerTest
Flag: EXEMPT bugfix
Change-Id: I456f974bf37af39882ef011bf60f724670ea8dae
|
|
Add support for multiple clients to access the same camera using
camera2 api. This is initial set of changes and includes all the new
API changes as well as implementation of opening the camera in shared
mode, new open callbacks, newly added characteristics and creating
shared sesion.
After the merge of these initial changes, it will be followed by
another set of changes which will include implementation of
startStreaming and stopStreaming APIs and the capability for multiple
clients to stream the camera images.
Flag: com.android.internal.camera.flags.camera_multi_client
Bug:265196098
API-Coverage-Bug: 377371012
Test: Tested that a java and native client are able to open the camera
at the same time and get the required callbacks and they are able to get
the shared session configuration using newly added characteristics.
Tested the clientaccessprioritieschanged callback occur appropriately
when new client connects/disconnects.
Change-Id: Iee01b79a3a4188fa32ce361f829ac8ea62111076
|
|
Bug: 370570306
Merged-In: Ic2ffd5a1f4420121b958cadb726c3e805cda1434
Change-Id: If0f7008f8e699bf1fca8d20ee5e05877a61ea002
|
|
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3326240
Change-Id: I31f7142dc605eb0cc1739f71e82c2e85bbfc9d9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Convert AudioSystem.DEVICE_OUT_MULTICHANNEL_GROUP to its aidl
AudioDeviceDescription. "connection" uses CONNECTION_VIRTUAL.
Flag: EXEMPT bugfix
Bug: 344031109
Test: atest AidlConversionUnitTests
Change-Id: I518bf80fc2447601b0a7b4ff381bec40a29ddf82
|
|
|
|
Ashish and Sarup have moved away from USB and often get pinged or assigned bugs under USB component. This also means we may miss important issues relevant to Android USB because they're assigned to them.
Adding myself and moving Arun lower in priority to OWNERS so that bugs will go through Mark, myself and Arun instead.
Change-Id: I9f71261fb3329aaa927e321003f4d86ae1227463
|
|
Test: RecordingServiceTest, ScreenRecordPermissionDialogDelegateTest,
MediaProjectionManagerServiceTest
Bug: 362720120
Flag: com.android.media.projection.flags.media_projection_connected_display
Change-Id: I8778664030d4a105a9120822ed3d8b160605d83c
|
|
Test: m && presubmit
Flag: EXEMPT Dead code removal
Bug: 334877803
Change-Id: Ica5c0e8f9b5efa2c11216c0582a0c8145f7b5f1a
|
|
main am: 2e1a903f24 am: a62826e6f7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3262770
Change-Id: I4bab2927281efc018de8af42e913fea71c48ded7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
main
|
|
go/test-module-config
This change only creates new names for existing tests.
A follow-up CL will adjust TEST_MAPPING files to use these names.
Where appropriate, minor changes to the .bp file were made to fix
missing test_suites.
Flag: TEST_ONLY
Test: These do not affect anything yet.
Change-Id: Iab1b96fd7b3d49f29e573817bd9be805741a9cad
|
|
|
|
modules should specify the submodule of java_sdk_library that the module
actually depends on
Test: CI
Flag: EXEMPT build dependency cleanup
Bug: 358613520
Merged-In: I80af0b9efa88c668306f0ff1d51491a8180dc57f
Change-Id: I80af0b9efa88c668306f0ff1d51491a8180dc57f
|
|
modules should specify the submodule of java_sdk_library that the module
actually depends on
Test: CI
Ignore-AOSP-First: resolving merge conflicts
Flag: EXEMPT build dependency cleanup
Bug: 358613520
Change-Id: I80af0b9efa88c668306f0ff1d51491a8180dc57f
|
|
into main am: e3a5bb9d61 am: e743afebbb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3250400
Change-Id: I9db169e27c8c5ee30887a086f672918273163eec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
into main am: e3a5bb9d61
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3250400
Change-Id: If0b4a1ecaad6c51ef2892b072024ebceafef639f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
As part of adding `test_module_config`: go/test-module-config,
we are migrating options from TEST_MAPPING files to Android.bp files.
Several cls have already been submitted, but this is a larger change to
add the test_module_config entries in bulk to reduce churn on the
Android.bp and TEST_MAPPING files.
This topic covers the two of the repos with the most changes needed
(frameworks/base and cts).
The first cls will simply create the entries in the Android.bp file
This is a noop operation until they get used via TEST_MAPPING files.
The process is:
1) Generate new test_module_configs with reasonable names based on
options in TEST_MAPPING files
2) After 1) gets submitted, match the options from Android.bp back to
TEST_MAPPING files and update those TEST_MAPPING files with the
name from the Andriod.bp.
To simplify a little bit, we are also removing adding
"exclude-annotation" androidx.test.filters.FlakyTest and org.junit.Ignore
from the options set in Android.bp since we recently added Flaky
exclusion to all CI test_mapping runs. And junit always ignore @Ignore,
no reason to ask it to.
Test: ci
Change-Id: I3097093d1677a0a5a30c8f4aed7fc96c22c0e84d
Flag: NONE # test rename only
|
|
To avoid test flakiness, we need the equivalent of purgePermissionCache
for the new permission sync scheme: tests need to block until the
permission state change they trigger via shell perms is visible to the
audio system.
Migrate the permission update tasks to use an executor service, and keep
track of futures which are scheduled on it, allowing us to block until
these futures are complete. This also allows for true task conflation,
which enables dropping the delay duration lower. Move listener start to
later in the boot sequence for performance.
Test: perfetto for performance and ensuring dispatch
Test: atest CtsMediaAudioTestCases
Bug: 338089555
Flag: com.android.media.audio.audioserver_permissions
Change-Id: I56dadf11ad397896bd5f7757e6b12eb173d6e984
|
|
|
|
The getFutureForIntent utils currently filter on a single action, but
often we want to listen for multiple actions.
Add a version which takes a collection of actions, completing if the
predicate succeeds following any of the actions being received.
Flag: TEST_ONLY
Test: atest CtsAudioRecordPermissionTests
Bug: 349468644
Change-Id: I13d7b60f373897413316b6b96564e0c0c75236d1
|
|
In addition to the uid/pid/deviceId, pass the package name and
attributionTag parameters to connect/connectDevice through
the clientAttribution argument.
Test: atest CtsCameraTestCases
Test: Smoke test GCA
Bug: 343965468
Bug: 190657833
Flag: EXEMPT Strict mechanical refactor
Change-Id: I731e53ab6a452cb962431cc5d7fc8c6f2fb271a6
|