sm8750-common: init vendor files from proprietary-files.txt

This commit is contained in:
SaschaNes
2025-08-12 13:48:09 +02:00
commit 1bad864d42
929 changed files with 54353 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
# Copyright (c) 2021 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#start tcmd
service tcmd /system/system_ext/bin/tcmd
class late_start
socket tcmd stream 660 root inet
group system readproc inet radio wakelock oem_2901
user system
disabled
on property:persist.vendor.tcmd.feature=1
start tcmd
on property:persist.vendor.tcmd.feature=0
stop tcmd

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 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.
-->
<permissions>
<library
name="com.android.hotwordenrollment.common.util"
file="/system_ext/framework/com.android.hotwordenrollment.common.util.jar"
/>
</permissions>

View File

@@ -0,0 +1,72 @@
#
# Copyright (c) 2021 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#
# Not a contribution.
#
# Copyright (C) 2018 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.
getuid: 1
writev: 1
sendto: 1
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
read: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
#prctl: arg0 == PR_SET_VMA || arg0 == PR_GET_DUMPABLE || arg0 == 0x37
epoll_pwait: 1
close: 1
openat: 1
fstat: 1
fcntl: 1
newfstatat: 1
epoll_ctl: 1
readlinkat: 1
getsockopt: 1
accept4: 1
mremap: 1
pread64: 1
fstatfs: 1
rt_sigaction: 1
rt_sigprocmask: 1
faccessat: 1
ioctl: 1
setpriority: 1
prctl: 1
getrandom: 1
futex: 1
eventfd2: 1
epoll_create1: 1
getsockname: 1
exit_group: 1
sched_getaffinity: 1
exit: 1
getpid: 1
sigaltstack: 1
getrlimit: 1
listen: 1
restart_syscall: 1
clone: 1
sched_getscheduler: 1
write: 1
socket: arg0 == AF_UNIX
set_tid_address: 1
rt_sigreturn: 1
connect: 1
clock_gettime: 1
gettid: 1
rt_tgsigqueueinfo: 1
nanosleep: 1

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
/* Copyright (c) 2017-2018, 2020 The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of The Linux Foundation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-->
<config>
<!-- Broadcast actions that are currently whitelisted. -->
<allow-implicit-broadcast action="org.codeaurora.intent.action.PRE_ALERTING_CALL_INFO" />
<!-- These are location components that need to freely run in the background -->
<allow-in-power-save package="com.qualcomm.location" />
<hidden-api-whitelisted-app package="com.qualcomm.location" />
<hidden-api-whitelisted-app package="com.skyhook.blp" />
</config>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.