Home
last modified time | relevance | path

Searched refs:CallbackCode (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/aware/
DCallbackUtils.java60 public enum CallbackCode { enum in CallbackUtils.AttachCb
67 private CallbackCode mCallbackCode = CallbackCode.TIMEOUT;
72 mCallbackCode = CallbackCode.ON_ATTACHED; in onAttached()
79 mCallbackCode = CallbackCode.ON_ATTACH_FAILED; in onAttachFailed()
90 public Pair<CallbackCode, WifiAwareSession> waitForAttach() throws InterruptedException { in waitForAttach()
95 return new Pair<>(CallbackCode.TIMEOUT, null); in waitForAttach()
174 public enum CallbackCode { enum in CallbackUtils.DiscoveryCb
198 public CallbackData(CallbackCode callbackCode) { in CallbackData()
202 public CallbackCode callbackCode;
221 private Set<CallbackCode> mWaitForCallbackCodes = ImmutableSet.of();
[all …]
DWifiAwareSnippet.java115 Pair<CallbackUtils.AttachCb.CallbackCode, WifiAwareSession> results = in attach()
117 if (results.first != CallbackUtils.AttachCb.CallbackCode.ON_ATTACHED) { in attach()
161 CallbackUtils.DiscoveryCb.CallbackCode.ON_SUBSCRIBE_STARTED, in subscribe()
162 CallbackUtils.DiscoveryCb.CallbackCode.ON_SESSION_CONFIG_FAILED)); in subscribe()
164 != CallbackUtils.DiscoveryCb.CallbackCode.ON_SUBSCRIBE_STARTED) { in subscribe()
179 .DiscoveryCb.CallbackCode.ON_SERVICE_DISCOVERED_WITH_RANGE in subscribe()
180 : CallbackUtils.DiscoveryCb.CallbackCode.ON_SERVICE_DISCOVERED)); in subscribe()
182 if (callbackData.callbackCode == CallbackUtils.DiscoveryCb.CallbackCode.TIMEOUT) { in subscribe()
224 CallbackUtils.DiscoveryCb.CallbackCode.ON_MESSAGE_SEND_SUCCEEDED, in sendMessage()
225 CallbackUtils.DiscoveryCb.CallbackCode.ON_MESSAGE_SEND_FAILED)); in sendMessage()
[all …]