IClientInterface.aidl revision 66527843f7df41d152e09b21dec2f0d931db08db
17971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley/* 27971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley * Copyright (C) 2016 The Android Open Source Project 37971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley * 47971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley * Licensed under the Apache License, Version 2.0 (the "License"); 57971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley * you may not use this file except in compliance with the License. 67971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley * You may obtain a copy of the License at 77971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley * 87971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley * http://www.apache.org/licenses/LICENSE-2.0 97971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley * 107971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley * Unless required by applicable law or agreed to in writing, software 117971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley * distributed under the License is distributed on an "AS IS" BASIS, 127971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 137971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley * See the License for the specific language governing permissions and 147971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley * limitations under the License. 157971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley */ 167971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley 177971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wileypackage android.net.wifi; 187971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley 197971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley// IClientInterface represents a network interface that can be used to connect 207971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley// to access points and obtain internet connectivity. 217971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wileyinterface IClientInterface { 227971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley 2366527843f7df41d152e09b21dec2f0d931db08dbChristopher Wiley // Enable a wpa_supplicant instance running against this interface. 2466527843f7df41d152e09b21dec2f0d931db08dbChristopher Wiley // Returns true if supplicant was successfully enabled, or is already enabled. 2566527843f7df41d152e09b21dec2f0d931db08dbChristopher Wiley boolean enableSupplicant(); 2666527843f7df41d152e09b21dec2f0d931db08dbChristopher Wiley 2766527843f7df41d152e09b21dec2f0d931db08dbChristopher Wiley // Remove this interface from wpa_supplicant's control. 2866527843f7df41d152e09b21dec2f0d931db08dbChristopher Wiley // Returns true if removal was successful. 2966527843f7df41d152e09b21dec2f0d931db08dbChristopher Wiley boolean disableSupplicant(); 307971782245f5f5b8c7a13fbd1f5a753040e01377Christopher Wiley} 31