Searched refs:callbackData (Results 1 – 7 of 7) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/ |
D | CallbackUtils.java | 204 private void processCallback(CallbackData callbackData) { in processCallback() argument 206 mCallbackQueue.addLast(callbackData); in processCallback() 207 if (mBlocker != null && (mWaitForCallbackMask & callbackData.callback) in processCallback() 208 == callbackData.callback) { in processCallback() 290 CallbackData callbackData = new CallbackData(ON_PUBLISH_STARTED); in onPublishStarted() local 291 callbackData.publishDiscoverySession = session; in onPublishStarted() 292 processCallback(callbackData); in onPublishStarted() 297 CallbackData callbackData = new CallbackData(ON_SUBSCRIBE_STARTED); in onSubscribeStarted() local 298 callbackData.subscribeDiscoverySession = session; in onSubscribeStarted() 299 processCallback(callbackData); in onSubscribeStarted() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/ |
D | DiscoveryBaseTestCase.java | 166 CallbackUtils.DiscoveryCb.CallbackData callbackData = mDiscoveryCb.waitForCallbacks( in executeSubscribe() local 169 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 …]
|
D | DataPathOutOfBandTestCase.java | 198 CallbackUtils.DiscoveryCb.CallbackData callbackData = discoveryCb.waitForCallbacks( in executeTestResponder() local 201 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 …]
|
D | DiscoveryWithRangingTestCase.java | 124 CallbackUtils.DiscoveryCb.CallbackData callbackData = in executeTestLocal() local 127 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() local 193 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()
|
D | DataPathInBandTestCase.java | 163 CallbackUtils.DiscoveryCb.CallbackData callbackData = mDiscoveryCb.waitForCallbacks( in executeTestSubscriber() local 165 switch (callbackData.callback) { in executeTestSubscriber() 175 if (!Arrays.equals(MSG_PUB_TO_SUB, callbackData.serviceSpecificInfo)) { in executeTestSubscriber() 178 + new String(callbackData.serviceSpecificInfo) + "'"); in executeTestSubscriber() 457 CallbackUtils.DiscoveryCb.CallbackData callbackData = mDiscoveryCb.waitForCallbacks( in executeTestPublisher() local 460 switch (callbackData.callback) { in executeTestPublisher() 473 if (callbackData.messageId != MESSAGE_ID) { in executeTestPublisher() 476 + callbackData.messageId); in executeTestPublisher()
|
/cts/tests/surfacecontrol/jni/ |
D | ChoreographerTestUtils.h | 68 FrameTime(const AChoreographerFrameCallbackData* callbackData, int index) in FrameTime() 69 : vsyncId(AChoreographerFrameCallbackData_getFrameTimelineVsyncId(callbackData, in FrameTime() 73 callbackData, index)), in FrameTime() 74 deadline(AChoreographerFrameCallbackData_getFrameTimelineDeadlineNanos(callbackData, in FrameTime() 82 void populate(const AChoreographerFrameCallbackData* callbackData) { in populate() 83 size_t index = AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex(callbackData); in populate() 85 size_t length = AChoreographerFrameCallbackData_getFrameTimelinesLength(callbackData); in populate() 90 timelines.push_back(FrameTime(callbackData, i)); in populate() 112 static void vsyncCallback(const AChoreographerFrameCallbackData* callbackData, void* data) { in vsyncCallback() argument 114 vsyncCallback(AChoreographerFrameCallbackData_getFrameTimeNanos(callbackData), data); in vsyncCallback() [all …]
|
/cts/tests/tests/media/decoder/jni/ |
D | native-media-jni.cpp | 208 CallbackData *callbackData = (CallbackData *)userdata; in OnInputAvailableCB() local 209 callbackData->addInputBufferId(index); in OnInputAvailableCB() 220 CallbackData *callbackData = (CallbackData *)userdata; in OnOutputAvailableCB() local 221 callbackData->addOutputBuffer(index, bufferInfo); in OnOutputAvailableCB() 229 CallbackData *callbackData = (CallbackData *)userdata; in OnFormatChangedCB() local 230 callbackData->addOutputFormat(format); in OnFormatChangedCB() 309 std::unique_ptr<CallbackData[]> callbackData(new CallbackData[numtracks]); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative() local 330 AMediaCodec_setAsyncNotifyCallback(codec[i], aCB, &callbackData[i]); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative() 348 bufidx = callbackData[t].getInputBufferId(); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative() 378 bufidx = callbackData[tt].getInputBufferId(); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative() [all …]
|