Searched refs:callbackData (Results 1 – 6 of 6) sorted by relevance
201 private void processCallback(CallbackData callbackData) { in processCallback() argument203 mCallbackQueue.addLast(callbackData); in processCallback()204 if (mBlocker != null && (mWaitForCallbackMask & callbackData.callback) in processCallback()205 == callbackData.callback) { in processCallback()287 CallbackData callbackData = new CallbackData(ON_PUBLISH_STARTED); in onPublishStarted() local288 callbackData.publishDiscoverySession = session; in onPublishStarted()289 processCallback(callbackData); in onPublishStarted()294 CallbackData callbackData = new CallbackData(ON_SUBSCRIBE_STARTED); in onSubscribeStarted() local295 callbackData.subscribeDiscoverySession = session; in onSubscribeStarted()296 processCallback(callbackData); in onSubscribeStarted()[all …]
166 CallbackUtils.DiscoveryCb.CallbackData callbackData = mDiscoveryCb.waitForCallbacks( in executeSubscribe() local169 switch (callbackData.callback) { in executeSubscribe()179 mWifiAwareDiscoverySession = callbackData.subscribeDiscoverySession; in executeSubscribe()189 callbackData = mDiscoveryCb.waitForCallbacks( in executeSubscribe()192 switch (callbackData.callback) { in executeSubscribe()198 mPeerHandle = callbackData.peerHandle; in executeSubscribe()205 + callbackData.distanceMm); in executeSubscribe()212 mPeerMacAddress = MacAddress.fromBytes(callbackData.serviceSpecificInfo); in executeSubscribe()216 callbackData.serviceSpecificInfo) + "'"); in executeSubscribe()223 if (!Arrays.equals(PUB_SSI, callbackData.serviceSpecificInfo)) { in executeSubscribe()[all …]
198 CallbackUtils.DiscoveryCb.CallbackData callbackData = discoveryCb.waitForCallbacks( in executeTestResponder() local201 switch (callbackData.callback) { in executeTestResponder()211 PublishDiscoverySession discoverySession = callbackData.publishDiscoverySession; in executeTestResponder()222 callbackData = discoveryCb.waitForCallbacks(CallbackUtils.DiscoveryCb.ON_MESSAGE_RECEIVED); in executeTestResponder()223 switch (callbackData.callback) { in executeTestResponder()230 if (callbackData.serviceSpecificInfo == null in executeTestResponder()231 || callbackData.serviceSpecificInfo.length != MAC_BYTES_LEN) { in executeTestResponder()234 + bytesToHex(callbackData.serviceSpecificInfo, ':')); in executeTestResponder()238 PeerHandle peerHandle = callbackData.peerHandle; in executeTestResponder()239 byte[] peerMac = callbackData.serviceSpecificInfo; in executeTestResponder()[all …]
124 CallbackUtils.DiscoveryCb.CallbackData callbackData = in executeTestLocal() local127 if (!Arrays.equals(MSG_RTT, callbackData.serviceSpecificInfo)) { in executeTestLocal()130 (callbackData.serviceSpecificInfo == null) ? "<null>" in executeTestLocal()131 : ("'" + new String(callbackData.serviceSpecificInfo) + "'"))); in executeTestLocal()190 CallbackUtils.DiscoveryCb.CallbackData callbackData = mDiscoveryCb.waitForCallbacks( in executeTestLocal() local193 switch (callbackData.callback) { in executeTestLocal()213 callbackData = mDiscoveryCb.waitForCallbacksNoTimeout( in executeTestLocal()215 if (!Arrays.equals(MSG_RTT, callbackData.serviceSpecificInfo)) { in executeTestLocal()218 (callbackData.serviceSpecificInfo == null) ? "<null>" in executeTestLocal()219 : ("'" + new String(callbackData.serviceSpecificInfo) + "'"))); in executeTestLocal()
150 CallbackUtils.DiscoveryCb.CallbackData callbackData = mDiscoveryCb.waitForCallbacks( in executeTestSubscriber() local152 switch (callbackData.callback) { in executeTestSubscriber()162 if (!Arrays.equals(MSG_PUB_TO_SUB, callbackData.serviceSpecificInfo)) { in executeTestSubscriber()165 + new String(callbackData.serviceSpecificInfo) + "'"); in executeTestSubscriber()376 CallbackUtils.DiscoveryCb.CallbackData callbackData = mDiscoveryCb.waitForCallbacks( in executeTestPublisher() local379 switch (callbackData.callback) { in executeTestPublisher()392 if (callbackData.messageId != MESSAGE_ID) { in executeTestPublisher()395 + callbackData.messageId); in executeTestPublisher()
214 CallbackData *callbackData = (CallbackData *)userdata; in OnInputAvailableCB() local215 callbackData->addInputBufferId(index); in OnInputAvailableCB()226 CallbackData *callbackData = (CallbackData *)userdata; in OnOutputAvailableCB() local227 callbackData->addOutputBuffer(index, bufferInfo); in OnOutputAvailableCB()235 CallbackData *callbackData = (CallbackData *)userdata; in OnFormatChangedCB() local236 callbackData->addOutputFormat(format); in OnFormatChangedCB()510 CallbackData *callbackData = new CallbackData[numtracks]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() local531 AMediaCodec_setAsyncNotifyCallback(codec[i], aCB, &callbackData[i]); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()549 bufidx = callbackData[t].getInputBufferId(); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()579 bufidx = callbackData[tt].getInputBufferId(); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()[all …]