Merge "[incremental] parcelable for incfs file descriptors" am: c8b066091e

am: c93841a265

Change-Id: Ie9469f0e7b380ceafb2773d124d5c4d42c942d89
This commit is contained in:
Songchun Fan
2019-12-05 15:10:17 -08:00
committed by android-build-merger
2 changed files with 52 additions and 0 deletions

View File

@@ -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",

View File

@@ -0,0 +1,27 @@
/*
* 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;
}