Move QoS API classes to Connectivity

The classes were added in S and are used to back ConnectivityManager
APIs. Add them to the connectivity boundary as they belong together with
ConnectivityManager.

Bug: 181512874
Test: m
Change-Id: I03b5978949b200a72813d1ebc4812d851fe3df37
This commit is contained in:
Remi NGUYEN VAN
2021-03-01 17:53:45 +09:00
parent d799e71134
commit cb61701582
17 changed files with 273 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
/*
* Copyright (C) 2021 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.annotation.SystemApi;
/**
* Thrown when the local address of the socket has changed.
*
* @hide
*/
@SystemApi
public class SocketLocalAddressChangedException extends Exception {
/** @hide */
public SocketLocalAddressChangedException() {
super("The local address of the socket changed");
}
}