Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c93841a2 authored by Songchun Fan's avatar Songchun Fan Committed by android-build-merger
Browse files

Merge "[incremental] parcelable for incfs file descriptors"

am: c8b06609

Change-Id: Id9b7438ea32a1cc08e62791be4a1b9c566c30876
parents 1cf53ac4 c8b06609
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -772,6 +772,31 @@ cc_library {
    },
}

filegroup {
    name: "incremental_aidl",
    srcs: [
        "core/java/android/os/incremental/IncrementalFileSystemControlParcel.aidl",
    ],
    path: "core/java",
}

aidl_interface {
    name: "libincremental_aidl",
    srcs: [
        ":incremental_aidl",
    ],
    backend: {
        java: {
            sdk_version: "28",
        },
        cpp: {
            enabled: true,
        },
        ndk: {
            enabled: true,
        },
    },
}

gensrcs {
    name: "gen-platform-proto-constants",
+27 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2019 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 android.os.incremental;

/**
 * Wraps two file descriptors that Incremental Service uses to communicate
 * with Incremental FileSystem.
 * @hide
 */
parcelable IncrementalFileSystemControlParcel {
    @nullable ParcelFileDescriptor cmd;
    @nullable ParcelFileDescriptor log;
}