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

Commit 7bf90a1f authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN Committed by Gerrit Code Review
Browse files

Merge "Add stable AIDL parcelables for IIpClient API"

parents da290bec 6b0b2b73
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -824,17 +824,23 @@ aidl_interface {
    name: "networkstack-aidl-interfaces",
    local_include_dir: "core/java",
    srcs: [
        "core/java/android/net/ApfCapabilitiesParcelable.aidl",
        "core/java/android/net/DhcpResultsParcelable.aidl",
        "core/java/android/net/INetworkMonitor.aidl",
        "core/java/android/net/INetworkMonitorCallbacks.aidl",
        "core/java/android/net/IIpMemoryStore.aidl",
        "core/java/android/net/INetworkStackConnector.aidl",
        "core/java/android/net/INetworkStackStatusCallback.aidl",
        "core/java/android/net/InitialConfigurationParcelable.aidl",
        "core/java/android/net/IpPrefixParcelable.aidl",
        "core/java/android/net/LinkAddressParcelable.aidl",
        "core/java/android/net/LinkPropertiesParcelable.aidl",
        "core/java/android/net/NetworkParcelable.aidl",
        "core/java/android/net/PrivateDnsConfigParcel.aidl",
        "core/java/android/net/ProvisioningConfigurationParcelable.aidl",
        "core/java/android/net/ProxyInfoParcelable.aidl",
        "core/java/android/net/RouteInfoParcelable.aidl",
        "core/java/android/net/StaticIpConfigurationParcelable.aidl",
        "core/java/android/net/dhcp/DhcpServingParamsParcel.aidl",
        "core/java/android/net/dhcp/IDhcpServer.aidl",
        "core/java/android/net/dhcp/IDhcpServerCallbacks.aidl",
+23 −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.net;

parcelable ApfCapabilitiesParcelable {
    int apfVersionSupported;
    int maximumApfProgramSize;
    int apfPacketFormat;
}
 No newline at end of file
+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 perNmissions and
 * limitations under the License.
 */

package android.net;

import android.net.StaticIpConfigurationParcelable;

parcelable DhcpResultsParcelable {
    StaticIpConfigurationParcelable baseConfiguration;
    int leaseDuration;
    int mtu;
    String serverAddress;
    String vendorInfo;
}
 No newline at end of file
+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.net;

import android.net.IpPrefixParcelable;
import android.net.LinkAddressParcelable;

parcelable InitialConfigurationParcelable {
    LinkAddressParcelable[] ipAddresses;
    IpPrefixParcelable[] directlyConnectedRoutes;
    String[] dnsServers;
    String gateway;
}
 No newline at end of file
+22 −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.net;

parcelable NetworkParcelable {
    long networkHandle;
}
Loading