Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Android/device/device/google/sdv/sdv_ivi_base/   (Android Betriebssystem Version 17©)  Datei vom 26.5.2026 mit Größe 2 kB image not shown  

Quelle  sdv.agents.rc   Sprache: unbekannt

 
Spracherkennung für: .rc vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

# Copyright (C) 2026 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.

# SDV-IVI's init .rc file which is used to start SDV specific services on IVI.

on early-init
    # Signal that apexd-bootstrap is ready, init_open_dice can execute. IVI is a derivative of Core
    # Android, where apexd-bootstrap is run on early-init in the primary init .rc file, which
    # executes first, before this trigger.
    setprop ro.sdv.apex.bootstrap.ready true

# Declare the SDV service discovery (SD) service.
# Since IVI does not have a VPM service, we use a build of the SD service that
# does not rely on VPM.
service sdv_sd_agent /system_ext/bin/sdv_sd_agent_no_vpm
    class core
    disabled
    user sdv_sd_agent
    group system
    enter_namespace net /mnt/run/sd_mesh_ns

# Declare the SDV Gateway service. Runs the SDV Data Tunnel agent as well.
# Using sdv_dt_agent as the user, since data tunnel is running inside of sdv_gateway.
service sdv_gateway /system_ext/bin/sdv_gateway
    class core
    disabled
    user sdv_dt_agent
    group system
    enter_namespace net /mnt/run/sdv_dt_ns

# Declare the SDV RPCagent.
service rpcagent /system_ext/bin/rpcagent
    class core
    disabled
    user sdv_rpc_agent
    group system

# Declare the SDV IVI Runtime
# SDV IVI RT does not own any resources.
# Running under system user as SELinux guards its privilege.
service sdv_ivi_rt /system_ext/bin/sdv_ivi_rt_service
    class core
    disabled
    user system
    group system

# The sdv_gateway does the following steps:
1. Immediately starts the IPrivilegedGatewayNetworking AIDL service.
2. Sets ro.vendor.sdv.rpc.network.ready=true once it receives
#    the network handle from sdv_gatewaynetworking_service.
3. Waits for ro.sdv.ethernet.ready to be set and starts the Data Tunnel
#    and Gateway AIDL services.
on boot
    start sdv_ivi_rt
    start sdv_gateway

# The SDV Gateway process waits for ro.sdv.ethernet.ready (on A16)
# to be set before starting. The Gateway process waits for the SD and RPC agent
# services before fully starting, making the start order of the individual
# processes unimportant.
on property:ro.sdv.ethernet.ready=true
    start sdv_sd_agent
    start rpcagent

service sdv_vsidl_provider_agent  /system_ext/bin/sdv_empty_vsidl_provider_agent_for_ivi
    class core
    disabled
    user system_ext_sdv_vsidl_provider
    group system
on property:ro.sdv.ethernet.ready=true
    start sdv_vsidl_provider_agent

[Dauer der Verarbeitung: 0.12 Sekunden, vorverarbeitet 2026-06-27]