In order to have Bluetooth a mainline module, we must remove all call to
externa hidden API.
Tag: #refactor
Bug: 200200870
Test: Build
Change-Id: I291d670b1dfc3760bedd5f6666ea04883568df69
The code residing in packages/modules/Bluetooth/android/app is
migrated from packages/apps/Bluetooth and requires the same
visibility rules for frameworks source code.
This path currently does not exist, but will be required for
migration. Soong build rules do not enforce path existence, which
allows us to add the new path now and not during migration.
Added visibility along with migrated code in a local tree and
performed a local build (bramble-userdebug)
BUG: 196026708
Test: TH
Change-Id: I66cac592489fc1689d45a7b6427bc58c40a824e2
Refers to bpf_connectivity_headers where the bpf_shared.h is located.
Bug: 202086915
Test: m; flash; boot
Test: cd system/netd && atest
Test: cd packages/modules/Connectivity && atest
Test: atest FrameworksNetTests
Change-Id: I3dd780470f136926680542f4571a2d130451497d
This is a blocking event, needs to be moved off from the main thread.
Also, don't schedule background processing service if the hardware
has no tracing support.
Test: manual
Bug: 79161490
Bug: 206986559
Change-Id: I039211b26f25ead66cf125f152e794b0c08057ee
Design doc is at go/statsd-bootstrap-logging. Creates a proxy service for
logging atoms from bootstrap processes to statsd. Service has one API,
which converts StatsBootstrapAtom into StatsEvent and logs to statsd.
This should only used by processes that start in the bootstrap namespace
and cannot directly link statsd's libraries to log to statsd.
Bug: 204889815
Test: booted, made sure binder service was published.
Change-Id: I09709a30a42a7a398234c995324f62a0d62ad24f
This hidden api is deprecated since 2016.
Removing it because it's not used and it's calling 3 hidden apis
Bug: 200200870
Tag: #refactor
Test: Build
Change-Id: Ib84e069dc663def3d6a2d6f64717d76d39b59fb9
This CL fixes a regression caused by [1] which introduced
<uses-native-library> tag [2]. With the change, public vendor libraries
[3] became accessible only when they are listed in the caller's
AndroidManifest.xml using the new tag. However, this caused a problem to
the places where AndroidManifest.xml doesn't exist: framework and
system_server classes. For those cases, [1] incorrectly used a null list
as the requested native libraries, and as a result, no public vendor
libraries were accessible.
This CL fixes the issue by not doing the filtering for the class loaders
created for non-app contexts like zygote or system_server. Specifically,
it uses the magic keyword "ALL" which let libnativeloader.so
accept all public vendor libraries.
[1] 6a5b8b1f6d
[2] https://developer.android.com/guide/topics/manifest/uses-native-library-element
[3] https://source.android.com/devices/tech/config/namespaces_libraries#adding-additional-native-libraries
Bug: 205164833
Test: libcuttlefish_fs.so is loaded when built with the other CLs in the
same topic
Change-Id: Id92c59642773851d70d05a05f43eb5873e9de86b
Strategies/volume groups are based on attributes to be identified.
Some strategies/groups rely only on AudioAttributes flags to be
identified (e.g. BLUETOOTH SCO).
AudioAttributes#Builder#setFlags has been enforced to prevent
from public API setting non public flags.
However, from JNI introspection API, it is required to be able to
set all flags.
This CL fixes this by using replaceFlags API in AudioAttributes.
Signed-off-by: Francois Gaffie <francois.gaffie@renault.com>
Change-Id: I8492e8ddcb8eb0d03bbb2a539a631694b3f64196
* changes:
bpf is required so /sys/fs/bpf/map_netd_app_uid_stats_map always exists
bpf is required - remove mUseBpfTrafficStats field
bpf is required - remove checkBpfStatsEnable()
remove qtaguid parsing
(we cannot just remove the argument, since the test code path still
goes via the legacy xt_qtaguid code paths with sample data)
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I044d0363aaab0dbbb90c40ca466cc48f169d649a
Also add tests to ensure that HealthServiceWrapper.create
prioritize using the AIDL HAL, and service callbacks are
working.
Test: frameworks test
Test: install HAL on cuttlefish then boot
Bug: 177269435
Change-Id: Ic667a49528c63343fe602f193c0958f2ee57c04e
When EINTR received,
we should just continue the loop
without update the byte counte and pointer
Use TEMP_FAILURE_RETRY for that
Test: CtsPrintTestCases
Bug: 206810144
Change-Id: Ia8b580ed0e3af00e9a2afefe554b81cbe014054b