Searched refs:WifiNanNative (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/ |
D | WifiNanHalTest.java | 56 private WifiNanNative mDut = WifiNanNative.getInstance(); 72 WifiNanNative.initNanHandlersNative(WifiNative.class, WifiNative.sWlan0Index); in setup() 264 ArgumentCaptor<WifiNanNative.Capabilities> capabilitiesCapture = ArgumentCaptor in testNotifyCapabilities() 265 .forClass(WifiNanNative.Capabilities.class); in testNotifyCapabilities() 268 args.putInt("status", WifiNanNative.NAN_STATUS_SUCCESS); in testNotifyCapabilities() 270 args.putInt("response_type", WifiNanNative.NAN_RESPONSE_GET_CAPABILITIES); in testNotifyCapabilities() 292 WifiNanNative.Capabilities capabilities = capabilitiesCapture.getValue(); in testNotifyCapabilities() 322 args.putInt("status", WifiNanNative.NAN_STATUS_SUCCESS); in testNotifyResponseConfigSuccess() 324 args.putInt("response_type", WifiNanNative.NAN_RESPONSE_ENABLED); in testNotifyResponseConfigSuccess() 337 args.putInt("status", WifiNanNative.NAN_STATUS_INVALID_BAND_CONFIG_FLAGS); in testNotifyResponseConfigFail() [all …]
|
D | WifiNanHalMock.java | 91 Field field = WifiNanNative.class.getDeclaredField("sNanNativeInit"); in initNanHalMockLibrary()
|
D | WifiNanStateManagerTest.java | 64 @Mock private WifiNanNative mMockNative; 1121 private static void installMockWifiNanNative(WifiNanNative obj) throws Exception { in installMockWifiNanNative() 1122 Field field = WifiNanNative.class.getDeclaredField("sWifiNanNativeSingleton"); in installMockWifiNanNative()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/ |
D | WifiNanSessionState.java | 82 WifiNanNative.getInstance().publish(transactionId, mPubSubIdValid ? mPubSubId : 0, data, in publish() 92 WifiNanNative.getInstance().subscribe(transactionId, mPubSubIdValid ? mPubSubId : 0, data, in subscribe() 114 WifiNanNative.getInstance().sendMessage(transactionId, mPubSubId, peerId, peerMac, message, in sendMessage() 126 WifiNanNative.getInstance().stopPublish(transactionId, mPubSubId); in stop() 128 WifiNanNative.getInstance().stopSubscribe(transactionId, mPubSubId); in stop()
|
D | WifiNanNative.java | 38 public class WifiNanNative { class 47 private static WifiNanNative sWifiNanNativeSingleton; 51 public static WifiNanNative getInstance() { in getInstance() 62 sWifiNanNativeSingleton = new WifiNanNative(); in getInstance() 132 private WifiNanNative() { in WifiNanNative() method in WifiNanNative
|
D | WifiNanStateManager.java | 92 private WifiNanNative.Capabilities mCapabilities; 208 public void onCapabilitiesUpdate(short transactionId, WifiNanNative.Capabilities capabilities) { in onCapabilitiesUpdate() 442 (WifiNanNative.Capabilities) msg.obj); in handleMessage() 666 WifiNanNative.getInstance().disable(createTransactionInfo().mTransactionId); in disconnectLocal() 672 WifiNanNative.getInstance() in disconnectLocal() 691 WifiNanNative.getInstance() in requestConfigLocal() 792 WifiNanNative.Capabilities capabilities) { in onCapabilitiesUpdatedLocal()
|