Ray Essick
3688d0aa11
Remove pid-caching from BufferPoolAccessor
...
BufferPoolAccessor cached the pid via a static constructor. If the
process forks after this, then multiple processes generating unique ids
using the same pid value. This resulted in connection ID collisions.
use getpid(), which already caches and resets appropriately across fork().
Bug: 142423602
Bug: 133186424
Test: boot, watch log connectionIds, collision-induced failures are gone
5 years ago
Marco Nelissen
df0b56ba22
Merge "Clean up libaudioclient includes"
5 years ago
Marco Nelissen
273fd36992
Remove more remnants of MediaPlayer2
...
Bug: 141546997
Test: build
Change-Id: Iaa4d9e4205f78d4b4d465b4f128a28a419ff603b
5 years ago
Marco Nelissen
5d05fbe8ba
Clean up libaudioclient includes
...
Test: build
Change-Id: I1b2cd96e99564cd3944aa20a36207bd91287f7c8
5 years ago
Marco Nelissen
5902078de4
Merge "Fix memory leak in MPEG2PSExtractor"
5 years ago
Marco Nelissen
b984cea764
Fix memory leak in MPEG2PSExtractor
...
It wasn't deleting its tracks and associated buffers.
Bug: 141724191
Test: manual
Change-Id: Ifdc05e6bf89e4770fd600e82d887921ff03c5b93
5 years ago
Yi Kong
8ab202b80e
Merge "Fix comparing int32_t with INT64_MIN" am: b5ba1eb0a0
am: bacbbf5a63
am: 1704e2ef6e
...
am: 8f32b1e1e1
Change-Id: I0689c929961350c09651778aed5ab3a8f72cbad9
5 years ago
Yi Kong
8f32b1e1e1
Merge "Fix comparing int32_t with INT64_MIN" am: b5ba1eb0a0
am: bacbbf5a63
...
am: 1704e2ef6e
Change-Id: I15fdab6ae06a935d1586e44c98996ad7bf029288
5 years ago
Marco Nelissen
99a2c4a2c4
Remove libmediadrm symlinks
...
am: b4e0c3b19f
Change-Id: Ib2ecb92e4a07385f201b884f15b8143c9c4c2c02
5 years ago
Yi Kong
1704e2ef6e
Merge "Fix comparing int32_t with INT64_MIN" am: b5ba1eb0a0
...
am: bacbbf5a63
Change-Id: I4bf0eb4cc4d4ee4ba99497f6ad6071b7ff215f6a
5 years ago
Yi Kong
bacbbf5a63
Merge "Fix comparing int32_t with INT64_MIN"
...
am: b5ba1eb0a0
Change-Id: I4ba8f23d4f376fbb36414def90a346e9c3091669
5 years ago
Marco Nelissen
b4e0c3b19f
Remove libmediadrm symlinks
...
Test: build
Change-Id: I53d703b6d34226926437b0207a2b3d51dff6881a
Merged-In: I53d703b6d34226926437b0207a2b3d51dff6881a
5 years ago
Marco Nelissen
c930477d06
Merge "Remove libmediadrm symlinks"
5 years ago
Yi Kong
b5ba1eb0a0
Merge "Fix comparing int32_t with INT64_MIN"
5 years ago
Yi Kong
af609f933c
Fix comparing int32_t with INT64_MIN
...
This is obviously a typo.
Found by Clang tautological-constant-out-of-range-compare warning.
Test: presubmit
Bug: 72331526
Change-Id: I2cb217282c524bb9fbae899fa5a731b7575e393a
5 years ago
nolyn.lu
8dd02f16dc
Merge "can't copy/paste folders on sdcard from PC side in MTP mode" am: 130e1d19c8
am: ab26cfa48b
am: 3bd0212e58
...
am: abe5ec4c84
Change-Id: I5bfb8399774e1e87fc03fe603408be69ddc66979
5 years ago
nolyn.lu
abe5ec4c84
Merge "can't copy/paste folders on sdcard from PC side in MTP mode" am: 130e1d19c8
am: ab26cfa48b
...
am: 3bd0212e58
Change-Id: Ifd1ec2bc411653237616b24d70675e9323f95efa
5 years ago
nolyn.lu
3bd0212e58
Merge "can't copy/paste folders on sdcard from PC side in MTP mode" am: 130e1d19c8
...
am: ab26cfa48b
Change-Id: I08dc9a3a13e52fe73894d6a64bf2b3664d6598ec
5 years ago
nolyn.lu
ab26cfa48b
Merge "can't copy/paste folders on sdcard from PC side in MTP mode"
...
am: 130e1d19c8
Change-Id: Ia39d376be29dcd1b784dcfd402f8ae0ea63b1d69
5 years ago
Treehugger Robot
130e1d19c8
Merge "can't copy/paste folders on sdcard from PC side in MTP mode"
5 years ago
TreeHugger Robot
b362012ad4
Merge "aaudio: offset MMAP timestamps"
5 years ago
Phil Burk
b31b66f3e0
aaudio: offset MMAP timestamps
...
This can be used to debug and analyze problems
with the AAudio MMAP IsochronousClockModel.
That is a model of the DSP that is used by AAudio
to predict the read/write timing of the DSP.
If there is an error in the model or in the timestamps
then the DSP and CPU pointers can cross, which causes
an audio glitch.
By changing the offset we can force glitches and indirectly
measure the time distribution of the DSP transfers.
Test: adb shell setprop aaudio.out_mmap_offset_usec
Bug: 123096058
Change-Id: I9a3df345a6820baf20a24d261642b3c8c0c2a27e
5 years ago
TreeHugger Robot
b63505c435
Merge "mediametrics: add cts path to the visibility section."
5 years ago
Marco Nelissen
13aa1a4b66
Remove libmediadrm symlinks
...
Test: build
Change-Id: I53d703b6d34226926437b0207a2b3d51dff6881a
5 years ago
Dongwon Kang
aba37b9a8f
mediametrics: add cts path to the visibility section.
...
Test: atest CtsNativeMediaMetricsTestCases
Bug: 141828720
Change-Id: Ie66e257129f62512c1d110722aec1087d1de5384
5 years ago
Phil Burk
e3cdab3c40
Merge "aaudio: make fewer assumptions about MMAP timestamp"
5 years ago
Phil Burk
34e2d2d9ad
aaudio: make fewer assumptions about MMAP timestamp
...
Allow any amount of lateness.
This will allow the ClockModel to work with a wider range
of DSP behaviors. It should also handle timing jitter
caused by resampling in the DSP.
Use a drift value to stabilize the early and late ends of
the clock model window.
Test: run OboeTester Glitch Test
Bug: 123096058
Change-Id: Ic6e03d7878b26c4bf1d05708cff0ca2a771a9f80
5 years ago
TreeHugger Robot
7c987f0966
Merge "aaudio: fix detection of input overflows"
5 years ago
Christopher Ferris
cdb9faf1c3
Merge "Remove unused bionic include." am: 87025d5658
am: baf4b94a8d
...
am: f20eeae80b
Change-Id: Ia1da35707e33da6fa2b4a2c23bea14002613a8eb
5 years ago
Christopher Ferris
f20eeae80b
Merge "Remove unused bionic include." am: 87025d5658
...
am: baf4b94a8d
Change-Id: I0aa666366c71c7bfa92c77085f149094bfe0b8a7
5 years ago
Christopher Ferris
baf4b94a8d
Merge "Remove unused bionic include."
...
am: 87025d5658
Change-Id: I9d928d78169403452f5af79800f4135231c053d7
5 years ago
Christopher Ferris
87025d5658
Merge "Remove unused bionic include."
5 years ago
TreeHugger Robot
df7b3d017a
Merge "libmedia: separate codeclist from libmedia"
5 years ago
Marco Nelissen
21bbf7d12f
Merge "Remove symlinks from include dir" am: 5158f491c6
am: 5582a7360a
...
am: 0360e714b8
Change-Id: I74d8495c913ad46396294390b49e9828653fab99
5 years ago
Marco Nelissen
0360e714b8
Merge "Remove symlinks from include dir" am: 5158f491c6
...
am: 5582a7360a
Change-Id: Id6919572db33f57a03744c080e0a2621f11376aa
5 years ago
Marco Nelissen
5582a7360a
Merge "Remove symlinks from include dir"
...
am: 5158f491c6
Change-Id: Ie3ae92d62d787d740a5c856e58ccc819705b2d0e
5 years ago
Christopher Ferris
7c66db7758
Remove unused bionic include.
...
Bug: 141560639
Test: Builds.
Change-Id: Ie634a2fe3e46a90bdc6d1d264ac1317e3dda0ff1
Merged-In: Ie634a2fe3e46a90bdc6d1d264ac1317e3dda0ff1
(cherry picked from commit f46f58442c
)
5 years ago
Marco Nelissen
3230ed8235
Remove symlinks from include dir
...
Test: build
Change-Id: Ibe4eee4fe49b7884e6d720e626d88125bbee0eb2
Merged-In: Ibe4eee4fe49b7884e6d720e626d88125bbee0eb2
5 years ago
Christopher Ferris
ded58bff0f
Merge "Remove unused bionic include."
5 years ago
Phil Burk
a10bd516e5
aaudio: fix detection of input overflows
...
Was incorrectly looking at the buffer size instead of the buffer
capacity.
Test: OboeTester ECHO INPUT to OUTPUT
Test: set Input margin to 4
Test: XRun# for input should stay at zero
Bug: 141700208
Change-Id: I21ecdac19f5361a1b33f4dc2aaec170de9e28fc6
5 years ago
Marco Nelissen
824cb8f898
Merge "Remove symlinks from include dir"
5 years ago
Marco Nelissen
cf90b49317
Remove symlinks from include dir
...
Test: build
Change-Id: Ibe4eee4fe49b7884e6d720e626d88125bbee0eb2
5 years ago
nolyn.lu
ef9bef54d8
can't copy/paste folders on sdcard from PC side in MTP mode
...
When copy/paste folders from PC (e.g. windows),
there's an extra white space at the end of the folder names.
It cause the mkdir call failed with *Invalid argument* on device.
bug: 139645636
Change-Id: I4f0c017fd086b87180ba014722cdcf4d988e8bc5
5 years ago
Dongwon Kang
23a180b0c2
libmedia: separate codeclist from libmedia
...
Test: build.
Bug: 139201422
Change-Id: I150c3bd04cc68a3b96a8762ba193fc1595ee6da3
5 years ago
Christopher Ferris
f46f58442c
Remove unused bionic include.
...
Bug: 141560639
Test: Builds.
Change-Id: Ie634a2fe3e46a90bdc6d1d264ac1317e3dda0ff1
5 years ago
Colin Cross
18af8e4b92
Merge "Use shared libcrypto" am: 6dc75fb0cd
am: ed69d38540
am: 67faa7d174
...
am: 1167ff999c
Change-Id: I8b8fc3057e8a4c175bef286d642cdae38dacc908
5 years ago
Colin Cross
1167ff999c
Merge "Use shared libcrypto" am: 6dc75fb0cd
am: ed69d38540
...
am: 67faa7d174
Change-Id: Ib189ff2d8ffafdc99b00086fdeb30afe049126d9
5 years ago
Colin Cross
67faa7d174
Merge "Use shared libcrypto" am: 6dc75fb0cd
...
am: ed69d38540
Change-Id: I839568fec0e1c0961de085c08679c2d89cf15a87
5 years ago
Colin Cross
ed69d38540
Merge "Use shared libcrypto"
...
am: 6dc75fb0cd
Change-Id: I2f4d93485e5ca879728a79a657332122d54d2274
5 years ago
Colin Cross
6dc75fb0cd
Merge "Use shared libcrypto"
5 years ago