am 3d1d57dc: Merge "Collect and persist tethering stats." into ics-factoryrom
* commit '3d1d57dcdb02ace6af5810bd4ec3f8fad5fc1799': Collect and persist tethering stats.
This commit is contained in:
@@ -83,6 +83,12 @@ interface IConnectivityManager
|
|||||||
|
|
||||||
String[] getTetheredIfaces();
|
String[] getTetheredIfaces();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return list of interface pairs that are actively tethered. Even indexes are
|
||||||
|
* remote interface, and odd indexes are corresponding local interfaces.
|
||||||
|
*/
|
||||||
|
String[] getTetheredIfacePairs();
|
||||||
|
|
||||||
String[] getTetheringErroredIfaces();
|
String[] getTetheringErroredIfaces();
|
||||||
|
|
||||||
String[] getTetherableUsbRegexs();
|
String[] getTetherableUsbRegexs();
|
||||||
|
|||||||
@@ -2394,6 +2394,12 @@ public class ConnectivityService extends IConnectivityManager.Stub {
|
|||||||
return mTethering.getTetheredIfaces();
|
return mTethering.getTetheredIfaces();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String[] getTetheredIfacePairs() {
|
||||||
|
enforceTetherAccessPermission();
|
||||||
|
return mTethering.getTetheredIfacePairs();
|
||||||
|
}
|
||||||
|
|
||||||
public String[] getTetheringErroredIfaces() {
|
public String[] getTetheringErroredIfaces() {
|
||||||
enforceTetherAccessPermission();
|
enforceTetherAccessPermission();
|
||||||
return mTethering.getErroredIfaces();
|
return mTethering.getErroredIfaces();
|
||||||
|
|||||||
Reference in New Issue
Block a user