cuttlefish: Wire up Netsim UDS socket (--grpc_uds_path)#2851
Open
AlpineOolong wants to merge 1 commit into
Open
cuttlefish: Wire up Netsim UDS socket (--grpc_uds_path)#2851AlpineOolong wants to merge 1 commit into
AlpineOolong wants to merge 1 commit into
Conversation
Databean
approved these changes
Jul 14, 2026
1e1407a to
897aa77
Compare
Inject GrpcSocketCreator into NetsimServerComponent (NetsimServer) and pass --grpc_uds_path=<instance_dir>/grpc_socket/NetsimControlServer.sock when launching netsimd.
This establishes the Unix Domain Socket communication path required for local gRPC service discovery and control (such as CasimirControlService and ServerReflection) while keeping --netsim_nfc disabled by default (#define CF_DEFAULTS_NETSIM_NFC false).
Objective: Verify that adding GrpcSocketCreator and --grpc_uds_path introduces zero regressions to default Cuttlefish behavior and cleanly establishes the Unix Domain Socket when explicitly opted into via --netsim_nfc=true.
Phase 1.1: Local Build & Unit/Host Presubmits
* Host Compilation:
source build/envsetup.sh && lunch aosp_cf_x86_64_phone-trunk_staging-userdebug
m run_cvd netsimd
Expected Result: Clean build with zero compilation errors or missing component dependencies in fruit.
* Cuttlefish Host Test Suite:
atest -c cvd_host_tests
Expected Result: All host unit tests pass.
Test: m run_cvd
Bug: 526689247
897aa77 to
14d9f8e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Inject GrpcSocketCreator into NetsimServerComponent (NetsimServer) and pass --grpc_uds_path=<instance_dir>/grpc_socket/NetsimControlServer.sock when launching netsimd.
This establishes the Unix Domain Socket communication path required for local gRPC service discovery and control (such as CasimirControlService and ServerReflection) while keeping --netsim_nfc disabled by default (#define CF_DEFAULTS_NETSIM_NFC false).
Objective: Verify that adding GrpcSocketCreator and --grpc_uds_path introduces zero regressions to default Cuttlefish behavior and cleanly establishes the Unix Domain Socket when explicitly opted into via --netsim_nfc=true.
Phase 1.1: Local Build & Unit/Host Presubmits
Test: m run_cvd
Bug: 526689247