Searched refs:callbackData (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/aware/ |
D | CallbackUtils.java | 226 private void processCallback(CallbackData callbackData) { in processCallback() argument 228 mCallbackQueue.addLast(callbackData); in processCallback() 229 if (mBlocker != null && mWaitForCallbackCodes.contains(callbackData.callbackCode)) { in processCallback() 318 CallbackData callbackData = new CallbackData(CallbackCode.ON_PUBLISH_STARTED); in onPublishStarted() local 319 callbackData.publishDiscoverySession = session; in onPublishStarted() 320 processCallback(callbackData); in onPublishStarted() 325 CallbackData callbackData = new CallbackData(CallbackCode.ON_SUBSCRIBE_STARTED); in onSubscribeStarted() local 326 callbackData.subscribeDiscoverySession = session; in onSubscribeStarted() 327 processCallback(callbackData); in onSubscribeStarted() 332 CallbackData callbackData = new CallbackData(CallbackCode.ON_SESSION_CONFIG_UPDATED); in onSessionConfigUpdated() local [all …]
|
D | WifiAwareSnippet.java | 158 CallbackUtils.DiscoveryCb.CallbackData callbackData = in subscribe() local 163 if (callbackData.callbackCode in subscribe() 167 callbackData.callbackCode)); in subscribe() 169 mDiscoverySession = callbackData.subscribeDiscoverySession; in subscribe() 177 callbackData = in subscribe() 182 if (callbackData.callbackCode == CallbackUtils.DiscoveryCb.CallbackCode.TIMEOUT) { in subscribe() 186 mPeerHandle = callbackData.peerHandle; in subscribe() 191 + callbackData.distanceMm); in subscribe() 194 if (!Arrays.equals(PUB_SSI, callbackData.serviceSpecificInfo)) { in subscribe() 197 + new String(callbackData.serviceSpecificInfo, UTF_8) in subscribe() [all …]
|
/packages/modules/StatsD/lib/libstatspull/tests/ |
D | stats_subscription_test.cpp | 146 CallbackData callbackData{/*subId=*/0, in TEST_F() local 153 configBytes.size(), &callback, &callbackData); in TEST_F() 163 EXPECT_EQ(callbackData.subId, 0); in TEST_F() 164 EXPECT_EQ(callbackData.reason, in TEST_F() 166 EXPECT_EQ(callbackData.count, 0); in TEST_F() 167 ASSERT_TRUE(callbackData.payload.empty()); in TEST_F() 174 EXPECT_EQ(callbackData.subId, subId); in TEST_F() 175 EXPECT_EQ(callbackData.reason, ASTATSMANAGER_SUBSCRIPTION_CALLBACK_REASON_STATSD_INITIATED); in TEST_F() 176 EXPECT_EQ(callbackData.count, 1); in TEST_F() 177 ASSERT_GT(callbackData.payload.size(), 0); in TEST_F() [all …]
|