• R/O
  • HTTP
  • SSH
  • HTTPS

コミット一覧

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

frameworks/av


RSS
Rev. 日時 作者
9956aa2 2019-09-21 05:23:06 Ray Essick

force g711 test to match 1-channel sample data
am: ae55cbf717

Change-Id: I27cd320ad4a6ec7eb67842eebce37cfba4cb0274

1fa2686 2019-09-21 03:21:42 Chong Zhang

Make a copy of output format in onOutputFormatChanged

Make a copy of output format in NDK and camera's heic encoder.
(MediaCodec.java JNI is already making a copy, so copy out of
MediaCodec.cpp to avoid unnecessary dup)

bug:141140020
Change-Id: I8afb1e48b73f0fb2fa584bdee2b93985b48a5e91
(cherry picked from commit 860eff192e00df5977be5ff8a6fbf3efa6f1f8d5)

55badc6 2019-09-21 03:15:30 Chong Zhang

ACodec: read max pts gap and max fps keys for image encoders

These keys are needed to disable backward frame drops for image
encoders. They should be read for both video and image types.

bug: 141169323
Change-Id: I12bea9b25a9902a50ba0e7f7d3f8aa5a497c581c
(cherry picked from commit 226cedd0ccd3c17c917c951952e278eacd26d7c8)

24b4415 2019-09-21 02:48:18 Shuzhen Wang

Camera: Delay pingCameraServiceProxy to end of onFirstRef

The cameraservice is only registered to service manager after onFirstRef
is returned. To reduce the probability of getBinderService() call
returning null, move pingCameraServiceProxy to end of onFirstRef().

Also add debug messages in onFirstRef and main() for better diagnoses.

Test: Camera CTS
Bug: 140414594
Change-Id: I52defd1c138ade57ebc5181c42aff30921fbeaeb

cf93540 2019-09-21 02:10:29 Jayant Chowdhary

Do not include hidden secure cameras in camera1: getNumberOfCameras

Apps cannot connect to hidden secure cameras. Do not include them in the
number of cameras reported by camera1 api.

Bug: 141247926

Test: Without CL -> mark all cameras as hidden secure cameras;
atest FastBasicsTest.java#testCamera1 fails
With CL -> mark all cameras as hidden secure cameras;
atest FastBasicsTest.java#testCamera1 passes

Test: camera CTS

Merged-In: I9d1721fd5e94fa7f692c3da52aa667ae9247d368
Change-Id: I229a336bed6b2695e16c1457cb8f74c26b07f7e8
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>

6066069 2019-09-19 09:14:26 Robert Shih

[RESTRICT AUTOMERGE] clearkey hidl CryptoPlugin: security fixes

* reject native handle output
* validate subsample sizes

Bug: 137283376
Test: cryptopoc
Change-Id: Ic4267fdc0e391bdecc1caab3b8fd4aa34ad76541
(cherry picked from commit 5dd7590c6c6fcedd77ac5ec2dd97c8badfb9eb36)

804b87d 2019-09-19 03:14:25 Jeffrey Carlyle

Merge "ServiceUtilities: don't do RECORD_AUDIO check for system server" into qt-qpr1-dev

727ba2a 2019-09-18 15:11:03 TreeHugger Robot

Merge "MediaCodec: recognize KEY_CAPTURE_RATE" into qt-qpr1-dev

62cc92b 2019-09-18 12:30:30 Jeffrey Carlyle

ServiceUtilities: don't do RECORD_AUDIO check for system server

Only one system server seems to exist across multiple-users; however,
when the primary user is backgrounded, system server loses its
RECORD_AUDIO permission. Through a number of steps this prevents the
secondary user from starting any services that use the SoundTrigger HAL;
specifically, this was found because it prevents Oslo from functioning
when a secondary user is active.

Bug: 139839188
Test: Oslo use cases pass
Change-Id: Ia0dd5fd3b6992cb18279b81146b35ed040771245
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>

611fc70 2019-09-17 23:32:02 TreeHugger Robot

Merge "NdkMediaDrm: properly check null listeners" into qt-qpr1-dev

7307293 2019-09-17 05:59:25 Jean-Michel Trivi

AudioFlinger: enforce OP_RECORD_AUDIO during recording

Fix issue where RecordTrack silencing didn't silence the
full buffer: the memset to 0 was using the RecordThread frame
size, not the RecordTrack frame size.
OP_RECORD_AUDIO was only enforced at the start of a recording
which would fail if not granted. This patch silences the recording
(i.e. silence is recorded instead) when it is lost, and undoes that
when granted again. This requires:
- propagating the package name of the client to the RecordTrack class
- registering an appOp callback in RecordTrack (through a new
OpRecordAudioMonitor class) to (un)silence the recording
- update the isSilenced() method to take into account the appOp.

Bug: 138968594
Bug: 138636979
Test: run app that records audio, then "adb shell appops __pack_name__ 27 2"
and verify recording is silent after that.

Change-Id: Ib33f5b592185a67204997213bab1ac2594d90d37
(cherry picked from commit ddf87effa4d80f413a80fde861f73877ccd80599)
Merged-In: Ib33f5b592185a67204997213bab1ac2594d90d37

2cf0953 2019-09-17 02:45:16 TreeHugger Robot

Merge "Allow codec2/g711 codec to handle 6 channels" into qt-qpr1-dev

ae55cbf 2019-09-15 23:48:25 Ray Essick

force g711 test to match 1-channel sample data

special case the g711 test to know that it is a 1-channel input.
Test case itself can't infer the channel count from the g711 stream
since there is no header/control info within the g711 stream.

Bug: 140773833
Test: vts-tradefed run vts --module VtsHalMediaC2V1_0Host
Change-Id: I9ac1f4d3ee0ccc42ffc8c199fcb88dc5c7122c0e
(cherry picked from commit 72b55c5e31a3835a15349dffe24d8acd49adadc3)

447eaf1 2019-09-13 06:55:21 Wonsik Kim

MediaCodec: recognize KEY_CAPTURE_RATE

Bug: 140363871
Test: manual
Change-Id: Idc25d048f792ad214497baf60950a73821f14148

1f1b954 2019-09-13 02:50:19 Wonsik Kim

Merge "codec2: Add support for updating output delay in avc and hevc decoders" into qt-qpr1-dev

b34e4ac 2019-09-12 01:48:52 TreeHugger Robot

Merge "Increase max dequeue buffer count only for non-secure decoders" into qt-qpr1-dev

7712a4b 2019-09-11 23:29:35 Ray Essick

Allow codec2/g711 codec to handle 6 channels

OMX allowed 6, but codec2 was restricting to 1 channel.

Bug: 140469404
Test: playback clip from bug
(cherry picked from commit edba5005d9012e809cb08f8864e073c57f392421)

Change-Id: I9d86c40741f1442ca8147e2802a9ce54df31bbd1

343be8a 2019-09-11 16:26:09 Harish Mahendrakar

codec2: Add support for updating output delay in avc and hevc decoders

OUTPUT_DELAY was set as 8 for avc and hevc c2 decoder plugins.
It is now set based on the value present in SPS

Bug: 138627015
Test: poc in bug
Test: atest android.media.cts.DecoderTest
Test: atest android.media.cts.AdaptivePlaybackTest

Change-Id: I50f7b3e8bd08c9d3b19e84c3c25acaa4eb767226

d4473d4 2019-09-11 11:31:02 TreeHugger Robot

Merge "Codec2: Retry interface creation until successful" into qt-qpr1-dev

5ebddd6 2019-09-11 11:30:11 TreeHugger Robot

Merge "Codec2: Retain compatibility with old HAL" into qt-qpr1-dev

641cf39 2019-09-11 10:00:42 Robert Shih

NdkMediaDrm: properly check null listeners

Bug: 140456613
Test: NativeMediaDrmClearkeyTest
Change-Id: Id3bfaa3da4a73d1607f191d2ad44dce47ae7f4a0

329ac9c 2019-09-11 07:47:20 Pawin Vongmasa

Codec2: Retain compatibility with old HAL

Make the vndk module "libstagefright_bufferpool@2.0" work with existing
Codec2 HALs, and create a new vendor (non-vndk) module
"libstagefright_bufferpool@2.0.1" that new Codec2 HALs can use.

Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small

Bug: 138171841
Bug: 140471279
Change-Id: I2886432afef86ef66fbd48ee744e5fd8de2d1e21

f06897b 2019-09-11 06:37:18 Robert Shih

[automerger skipped] [RESTRICT AUTOMERGE] clearkey hidl CryptoPlugin: security fixes am: 5dd7590c6c -s ours am: 15437f1e00
am: ef6506d2c5

Change-Id: Ib859d8f7c3c29393a5908f8d56257259be5e8fe6

4ab0586 2019-09-11 06:31:17 Robert Shih

Merge "clearkey hidl CryptoPlugin: misc & security fixes" into qt-dev am: e0ed98533c
am: 893d1ccbc4

Change-Id: I701eb716f1d4fd6b92a8a695c42ccd3c6645b0c9

ef6506d 2019-09-11 06:31:16 Robert Shih

[automerger skipped] [RESTRICT AUTOMERGE] clearkey hidl CryptoPlugin: security fixes am: 5dd7590c6c -s ours
am: 15437f1e00

Change-Id: Idff44a95b289f89725d271969216977f93c327d4

893d1cc 2019-09-11 06:25:15 Robert Shih

Merge "clearkey hidl CryptoPlugin: misc & security fixes" into qt-dev
am: e0ed98533c

Change-Id: Ic332eaed415a10d43332a2bd25cb7cbbade7b6ac

15437f1 2019-09-11 06:25:13 Robert Shih

[automerger skipped] [RESTRICT AUTOMERGE] clearkey hidl CryptoPlugin: security fixes
am: 5dd7590c6c -s ours
am skip reason: subject contains skip directive

Change-Id: I4a61813e541e06fa67ca60379e09f1337880dc62

e0ed985 2019-09-11 06:06:55 Robert Shih

Merge "clearkey hidl CryptoPlugin: misc & security fixes" into qt-dev

87f731b 2019-09-06 08:12:59 jovanak

Allow --user parameter for audio service commands.

This allows testing on secondary users.

Change similar to ag/7022195 and ag/6936694.

Fixes: 139301368
Test: cts-tradefed run cts -m CtsMediaTestCases -t android.media.cts.AudioRecordTest#testRecordNoDataForIdleUids

and ...
$ adb install testcases/CtsMediaTestCases.apk
Success
$ adb shell cmd media.audio_policy set-uid-state android.media.cts active
$ adb shell cmd media.audio_policy get-uid-state android.media.cts --user 0
active
$ adb shell cmd media.audio_policy get-uid-state android.media.cts --user 10
idle
$ adb shell cmd media.audio_policy set-uid-state android.media.cts --user 10 active
$ adb shell cmd media.audio_policy get-uid-state android.media.cts --user 10
idle
$ adb shell cmd media.audio_policy set-uid-state android.media.cts active --user 10
$ adb shell cmd media.audio_policy get-uid-state android.media.cts --user 10
active
$ adb shell cmd media.audio_policy set-uid-state android.media.cts idle --user 0
$ adb shell cmd media.audio_policy get-uid-state android.media.cts --user 0
idle
$ adb shell cmd media.audio_policy reset-uid-state android.media.cts --user 10
$ adb shell cmd media.audio_policy get-uid-state android.media.cts --user 10
idle

Change-Id: I17774efa6aca7c9b9d0af9bf9c1e75474e90d990
(cherry picked from commit be066e1a9aa613f4e7e56fbd16b35d8ad377b68f)

23c90c8 2019-09-05 14:40:17 Pawin Vongmasa

Codec2: Retry interface creation until successful

Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small

Bug: 139466364
Change-Id: I6e552cb90af517f2c0f8c14dd679d6d60abee6fc