Home
last modified time | relevance | path

Searched refs:IIntResultListener (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DITetheringConnector.aidl18 import android.net.IIntResultListener;
26 IIntResultListener receiver); in tether()
29 IIntResultListener receiver); in untether()
32 String callingAttributionTag, IIntResultListener receiver); in setUsbTethering()
35 String callingAttributionTag, IIntResultListener receiver); in startTethering()
38 IIntResultListener receiver); in stopTethering()
48 IIntResultListener receiver); in isTetheringSupported()
51 IIntResultListener receiver); in stopAllTethering()
53 void setPreferTestNetworks(boolean prefer, IIntResultListener listener); in setPreferTestNetworks()
DTetheringManager.java420 void runRequest(ITetheringConnector connector, IIntResultListener listener); in runRequest()
430 private final IIntResultListener mListener = new IIntResultListener.Stub() {
935 final IIntResultListener listener = new IIntResultListener.Stub() {
989 new IIntResultListener.Stub() {
1700 new IIntResultListener.Stub() {
DIIntResultListener.aidl23 oneway interface IIntResultListener { interface
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringService.java36 import android.net.IIntResultListener;
109 IIntResultListener listener) { in tether()
117 IIntResultListener listener) { in untether()
125 IIntResultListener listener) { in setUsbTethering()
133 String callingAttributionTag, IIntResultListener listener) { in startTethering()
146 IIntResultListener listener) { in stopTethering()
189 IIntResultListener listener) { in stopAllTethering()
200 IIntResultListener listener) { in isTetheringSupported()
209 public void setPreferTestNetworks(boolean prefer, IIntResultListener listener) { in setPreferTestNetworks()
227 final String callingAttributionTag, final IIntResultListener listener) { in checkAndNotifyCommonError()
[all …]
DTethering.java85 import android.net.IIntResultListener;
286 private ArrayList<Pair<Boolean, IIntResultListener>> mPendingPanRequests;
663 final IIntResultListener listener) { in startTethering()
704 final IIntResultListener listener) { in enableTetheringInternal()
733 private void sendTetherResult(final IIntResultListener listener, final int result, in sendTetherResult()
769 private void setBluetoothTethering(final boolean enable, final IIntResultListener listener) { in setBluetoothTethering()
818 for (Pair<Boolean, IIntResultListener> request : mPendingPanRequests) { in onServiceConnected()
832 for (Pair<Boolean, IIntResultListener> request : mPendingPanRequests) { in onServiceDisconnected()
849 final boolean enable, final IIntResultListener listener) { in setBluetoothTetheringSettings()
975 void tether(String iface, int requestedState, final IIntResultListener listener) { in tether()
[all …]
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringServiceTest.java44 import android.net.IIntResultListener;
90 private class TestTetheringResult extends IIntResultListener.Stub {
265 final IIntResultListener listener = invocation.getArgument(1); in runSetUsbTethering()
268 }).when(mTethering).setUsbTethering(anyBoolean(), any(IIntResultListener.class)); in runSetUsbTethering()
273 verify(mTethering).setUsbTethering(eq(true) /* enable */, any(IIntResultListener.class)); in runSetUsbTethering()
DTetheringTest.java132 import android.net.IIntResultListener;
2616 private class ResultListener extends IIntResultListener.Stub {