Snap for 12465365 from 46b0571690
to 25Q1-release
Change-Id: Ifd39970e27d1e6b2be4c26ca106fdcf93066b9c4
This commit is contained in:
commit
0550434447
8 changed files with 64 additions and 19 deletions
|
@ -9,7 +9,7 @@
|
|||
</hal>
|
||||
<hal format="aidl">
|
||||
<name>vendor.google.whitechapel.audio.extension</name>
|
||||
<version>3</version>
|
||||
<version>4</version>
|
||||
<interface>
|
||||
<name>IAudioExtension</name>
|
||||
<instance>default</instance>
|
||||
|
|
18
battery_mitigation/sepolicy/vendor/dumpstate.te
vendored
18
battery_mitigation/sepolicy/vendor/dumpstate.te
vendored
|
@ -1,21 +1,3 @@
|
|||
# To call battery_mitigation hal
|
||||
allow dumpstate hal_battery_mitigation_service:service_manager find;
|
||||
binder_call(dumpstate, battery_mitigation);
|
||||
|
||||
allow hal_dumpstate_default sysfs_acpm_stats:dir { read open search };
|
||||
allow hal_dumpstate_default sysfs_acpm_stats:file { read open getattr };
|
||||
allow hal_dumpstate_default sysfs_cpu:file { read open getattr };
|
||||
allow hal_dumpstate_default sysfs_batteryinfo:dir { read open search };
|
||||
allow hal_dumpstate_default sysfs_batteryinfo:file { read open getattr };
|
||||
allow hal_dumpstate_default logbuffer_device:chr_file { read open getattr };
|
||||
allow hal_dumpstate_default mitigation_vendor_data_file:file { read open getattr };
|
||||
allow hal_dumpstate_default mitigation_vendor_data_file:dir { search };
|
||||
allow hal_dumpstate_default sysfs_bcl:dir { read open search };
|
||||
allow hal_dumpstate_default sysfs_bcl:file { read open getattr };
|
||||
allow hal_dumpstate_default vendor_file:file { execute_no_trans };
|
||||
allow hal_dumpstate_default battery_history_device:chr_file { read };
|
||||
|
||||
|
||||
userdebug_or_eng(`
|
||||
allow hal_dumpstate_default vendor_pm_genpd_debugfs:file { read open getattr };
|
||||
')
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
#!/vendor/bin/sh
|
||||
display_trace_path="/sys/kernel/tracing/instances/pixel-display/trace"
|
||||
echo "------ Display Trace ($display_trace_path)------"
|
||||
cat $display_trace_path
|
||||
|
||||
echo "------ HWC Fence States ------"
|
||||
for f in $(ls /data/vendor/log/hwc/*_hwc_fence_state*.txt)
|
||||
do
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# Display (dump for bugreport)
|
||||
pixel_bugreport(dump_display)
|
||||
|
||||
allow dump_display sysfs_display:file r_file_perms;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# Display eng/userdebug (dump for bugreport)
|
||||
pixel_bugreport(dump_display_userdebug)
|
||||
|
||||
userdebug_or_eng(`
|
||||
|
@ -5,4 +6,6 @@ userdebug_or_eng(`
|
|||
allow dump_display_userdebug vendor_log_file:dir search;
|
||||
allow dump_display_userdebug vendor_hwc_log_file:dir r_dir_perms;
|
||||
allow dump_display_userdebug vendor_hwc_log_file:file r_file_perms;
|
||||
allow dump_display_userdebug debugfs_tracing_instances:dir search;
|
||||
allow dump_display_userdebug debugfs_tracing_instances:file r_file_perms;
|
||||
')
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# Google Mediacodec
|
||||
type mediacodec_google, domain;
|
||||
type mediacodec_google_exec, exec_type, vendor_file_type, file_type;
|
||||
|
||||
|
@ -8,6 +9,7 @@ hal_server_domain(mediacodec_google, hal_codec2)
|
|||
hal_client_domain(mediacodec_google, hal_graphics_allocator)
|
||||
|
||||
add_service(mediacodec_google, eco_service)
|
||||
binder_call(mediacodec_google, hal_camera_default)
|
||||
|
||||
allow mediacodec_google dmabuf_system_heap_device:chr_file r_file_perms;
|
||||
allow mediacodec_google video_device:chr_file { read write open ioctl map };
|
||||
|
|
43
vibrator/flags/Android.bp
Normal file
43
vibrator/flags/Android.bp
Normal file
|
@ -0,0 +1,43 @@
|
|||
//
|
||||
// Copyright (C) 2024 The Android Open Source Project
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
aconfig_declarations {
|
||||
name: "VibratorFlagsL26",
|
||||
package: "vendor.vibrator.hal.flags",
|
||||
container: "vendor",
|
||||
exportable: true,
|
||||
srcs: ["VibratorFlags.aconfig"],
|
||||
}
|
||||
|
||||
cc_aconfig_library {
|
||||
name: "PixelVibratorFlagsL26",
|
||||
aconfig_declarations: "VibratorFlagsL26",
|
||||
vendor_available: true,
|
||||
visibility: [
|
||||
"//vendor:__subpackages__",
|
||||
"//device/google/felix:__subpackages__",
|
||||
],
|
||||
}
|
||||
|
||||
java_aconfig_library {
|
||||
name: "PixelVibratorFlagsL26_java",
|
||||
aconfig_declarations: "VibratorFlagsL26",
|
||||
mode: "exported",
|
||||
visibility: ["//vendor:__subpackages__"],
|
||||
}
|
10
vibrator/flags/VibratorFlags.aconfig
Normal file
10
vibrator/flags/VibratorFlags.aconfig
Normal file
|
@ -0,0 +1,10 @@
|
|||
package: "vendor.vibrator.hal.flags"
|
||||
container: "vendor"
|
||||
|
||||
flag {
|
||||
name: "remove_capo"
|
||||
namespace: "vibrator"
|
||||
is_exported: true
|
||||
description: "This flag controls the removal of utilizing Capo at the HAL level"
|
||||
bug: "290223630"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue