1c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey/* 2c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey * Copyright (C) 2011 The Android Open Source Project 3c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey * 4c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey * Licensed under the Apache License, Version 2.0 (the "License"); 5c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey * you may not use this file except in compliance with the License. 6c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey * You may obtain a copy of the License at 7c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey * 8c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey * http://www.apache.org/licenses/LICENSE-2.0 9c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey * 10c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey * Unless required by applicable law or agreed to in writing, software 11c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey * distributed under the License is distributed on an "AS IS" BASIS, 12c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey * See the License for the specific language governing permissions and 14c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey * limitations under the License. 15c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey */ 16c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey 17c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkeypackage android.net; 18c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey 19c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey/** {@hide} */ 20c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkeyoneway interface INetworkPolicyListener { 21c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey 22fdfef57f498e3021a34342538aef9f1c7ccbae78Jeff Sharkey void onUidRulesChanged(int uid, int uidRules); 23fdfef57f498e3021a34342538aef9f1c7ccbae78Jeff Sharkey void onMeteredIfacesChanged(in String[] meteredIfaces); 241f8ea2dcd1ed3cde4b84fbb27b5a55b3fea7ff2aJeff Sharkey void onRestrictBackgroundChanged(boolean restrictBackground); 250ecfcd1e3a158ab5ee54d822d1a1166b15ba7a3cFelipe Leme void onUidPoliciesChanged(int uid, int uidPolicies); 26c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey 27c006f1aec15454782c35e028ad64d79a5c161cc1Jeff Sharkey} 28