Searched refs:IOperationReceiver (Results 1 – 10 of 10) sorted by relevance
/packages/modules/Connectivity/thread/framework/java/android/net/thread/ |
D | IThreadNetworkController.aidl | 23 import android.net.thread.IOperationReceiver; 38 void join(in ActiveOperationalDataset activeOpDataset, in IOperationReceiver receiver); in join() 39 …void scheduleMigration(in PendingOperationalDataset pendingOpDataset, in IOperationReceiver receiv… in scheduleMigration() 40 void leave(in IOperationReceiver receiver); in leave() 42 … void setTestNetworkAsUpstream(in String testNetworkInterfaceName, in IOperationReceiver receiver); in setTestNetworkAsUpstream() 43 void setChannelMaxPowers(in ChannelMaxPower[] channelMaxPowers, in IOperationReceiver receiver); in setChannelMaxPowers() 48 void setEnabled(boolean enabled, in IOperationReceiver receiver); in setEnabled()
|
D | IOperationReceiver.aidl | 20 oneway interface IOperationReceiver { interface
|
D | ThreadNetworkController.java | 741 private static final class OperationReceiverProxy extends IOperationReceiver.Stub {
|
/packages/modules/Connectivity/thread/tests/unit/src/android/net/thread/ |
D | ThreadNetworkControllerTest.java | 106 private static IOperationReceiver getOperationReceiver(InvocationOnMock invocation) { in getOperationReceiver() 107 return (IOperationReceiver) invocation.getArguments()[0]; in getOperationReceiver() 110 private static IOperationReceiver getJoinReceiver(InvocationOnMock invocation) { in getJoinReceiver() 111 return (IOperationReceiver) invocation.getArguments()[1]; in getJoinReceiver() 114 private static IOperationReceiver getScheduleMigrationReceiver(InvocationOnMock invocation) { in getScheduleMigrationReceiver() 115 return (IOperationReceiver) invocation.getArguments()[1]; in getScheduleMigrationReceiver() 118 private static IOperationReceiver getSetTestNetworkAsUpstreamReceiver( in getSetTestNetworkAsUpstreamReceiver() 120 return (IOperationReceiver) invocation.getArguments()[1]; in getSetTestNetworkAsUpstreamReceiver() 123 private static IOperationReceiver getSetChannelMaxPowersReceiver(InvocationOnMock invocation) { in getSetChannelMaxPowersReceiver() 124 return (IOperationReceiver) invocation.getArguments()[1]; in getSetChannelMaxPowersReceiver() [all …]
|
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/ |
D | ThreadNetworkControllerServiceTest.java | 61 import android.net.thread.IOperationReceiver; 345 final IOperationReceiver mockReceiver = mock(IOperationReceiver.class); in join_otDaemonRemoteFailure_returnsInternalError() 358 final IOperationReceiver mockReceiver = mock(IOperationReceiver.class); in join_succeed_threadNetworkRegistered() 549 private static IOperationReceiver newOperationReceiver(CompletableFuture<Void> future) { in newOperationReceiver() 550 return new IOperationReceiver.Stub() { in newOperationReceiver() 654 () -> mService.forceStopOtDaemonForTest(true, new IOperationReceiver.Default())); 660 IOperationReceiver mockReceiver = mock(IOperationReceiver.class); 661 IOperationReceiver mockJoinReceiver = mock(IOperationReceiver.class); 676 IOperationReceiver mockReceiver = mock(IOperationReceiver.class); 677 IOperationReceiver mockJoinReceiver = mock(IOperationReceiver.class); [all …]
|
D | ThreadNetworkCountryCodeTest.java | 53 import android.net.thread.IOperationReceiver; 115 @Captor private ArgumentCaptor<IOperationReceiver> mOperationReceiverCaptor; 142 IOperationReceiver cb = (IOperationReceiver) args[1]; in setUp() 154 .setCountryCode(any(), any(IOperationReceiver.class)); in setUp()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | OperationReceiverWrapper.java | 22 import android.net.thread.IOperationReceiver; 33 private final IOperationReceiver mReceiver; 41 public OperationReceiverWrapper(IOperationReceiver receiver) { in OperationReceiverWrapper() 52 public OperationReceiverWrapper(IOperationReceiver receiver, boolean expectOtDaemonDied) { in OperationReceiverWrapper()
|
D | ThreadNetworkShellCommand.java | 22 import android.net.thread.IOperationReceiver; 163 mControllerService.join(dataset, new IOperationReceiver.Default()); in join() 251 private static IOperationReceiver newOperationReceiver(CompletableFuture<Void> future) { in newOperationReceiver() 252 return new IOperationReceiver.Stub() { in newOperationReceiver()
|
D | ThreadNetworkControllerService.java | 94 import android.net.thread.IOperationReceiver; 432 void forceStopOtDaemonForTest(boolean enabled, @NonNull IOperationReceiver receiver) { in forceStopOtDaemonForTest() 474 public void setEnabled(boolean isEnabled, @NonNull IOperationReceiver receiver) { in setEnabled() 548 final IOperationReceiver receiver = in onUserRestrictionsChanged() 549 new IOperationReceiver.Stub() { in onUserRestrictionsChanged() 600 final IOperationReceiver receiver = in onAirplaneModeChanged() 601 new IOperationReceiver.Stub() { in onAirplaneModeChanged() 1050 @NonNull ActiveOperationalDataset activeDataset, @NonNull IOperationReceiver receiver) { 1074 @NonNull IOperationReceiver receiver) { 1097 public void leave(@NonNull IOperationReceiver receiver) { [all …]
|
D | ThreadNetworkCountryCode.java | 32 import android.net.thread.IOperationReceiver; 512 private IOperationReceiver newOperationReceiver(CountryCodeInfo countryCodeInfo) { in newOperationReceiver() 513 return new IOperationReceiver.Stub() { in newOperationReceiver()
|