Home
last modified time | relevance | path

Searched refs:sendMessage (Results 1 – 25 of 34) sorted by relevance

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DWavAnalyzer.java45 listener.sendMessage("Calculating... Please wait...\n"); in doWork()
49 listener.sendMessage("WARNING: May have missed the prefix." in doWork()
66 listener.sendMessage("WARNING: Data is clipped." in isClipped()
87 listener.sendMessage("WARNING: Inconsistent result across trials." in isConsistent()
101 listener.sendMessage( in responsePassesHifiTest()
108 listener.sendMessage("WARNING: Signal is too weak or background noise is too strong." in responsePassesHifiTest()
120 listener.sendMessage( in responsePassesHifiTest()
132 listener.sendMessage("Aligning data... Please wait...\n"); in measurePipStrength()
136 listener.sendMessage("Done.\n"); in measurePipStrength()
137 listener.sendMessage("Prefix starts at " + (double) dataStartI / sampleRate + " s \n"); in measurePipStrength()
[all …]
DNativeAnalyzerThread.java108 private void sendMessage(int what) { in sendMessage() method in NativeAnalyzerThread
112 mMessageHandler.sendMessage(msg); in sendMessage()
124 sendMessage(NATIVE_AUDIO_THREAD_MESSAGE_REC_STARTED);
131 sendMessage(NATIVE_AUDIO_THREAD_MESSAGE_OPEN_ERROR);
135 sendMessage(NATIVE_AUDIO_THREAD_MESSAGE_REC_ERROR);
146 sendMessage(NATIVE_AUDIO_THREAD_MESSAGE_REC_ERROR);
151 sendMessage(NATIVE_AUDIO_THREAD_MESSAGE_REC_ERROR);
183 sendMessage(what);
DAudioTestRunner.java40 sendMessage(mTestId, TEST_STARTED,""); in run()
53 public void sendMessage(int msgType, String str) { in sendMessage() method in AudioTestRunner
54 sendMessage(mTestId, msgType, str); in sendMessage()
57 public void sendMessage(int testId, int msgType, String str) { in sendMessage() method in AudioTestRunner
62 mHandler.sendMessage(msg); in sendMessage()
DAudioAEC.java281 sendMessage(AudioTestRunner.TEST_MESSAGE, in startTest()
289 sendMessage(AudioTestRunner.TEST_ENDED_ERROR, msg); in startTest()
293 sendMessage(AudioTestRunner.TEST_ENDED_OK, msg); in startTest()
306 sendMessage(AudioTestRunner.TEST_ENDED_ERROR, in startTest()
319 sendMessage(AudioTestRunner.TEST_ENDED_ERROR, in startTest()
347 sendMessage(AudioTestRunner.TEST_ENDED_ERROR, msg); in startTest()
357 sendMessage(AudioTestRunner.TEST_ENDED_ERROR, msg); in startTest()
368 sendMessage(AudioTestRunner.TEST_ENDED_ERROR, msg); in startTest()
386 sendMessage(AudioTestRunner.TEST_MESSAGE, in startTest()
401 sendMessage(AudioTestRunner.TEST_MESSAGE, in startTest()
[all …]
DAudioFrequencyVoiceRecognitionActivity.java675 sendMessage(mTestId, TEST_MESSAGE, in startTest()
682 sendMessage(mTestId, TEST_ENDED, "Testing Completed"); in startTest()
685 sendMessage(mTestId, TEST_ENDED_ERROR, in startTest()
697 sendMessage(mTestId, TEST_MESSAGE, in startTest()
702 sendMessage(mTestId, TEST_ENDED, "Testing Completed"); in startTest()
705 sendMessage(mTestId, TEST_ENDED_ERROR, in startTest()
718 sendMessage(mTestId, TEST_MESSAGE, in startTest()
724 sendMessage(mTestId, TEST_ENDED, "Testing Completed"); in startTest()
727 sendMessage(mTestId, TEST_ENDED_ERROR, in startTest()
739 sendMessage(mTestId, TEST_MESSAGE, "Testing USB Microphone: Noise"); in startTest()
[all …]
DAudioFrequencyMicActivity.java363 sendMessage(mTestId, TEST_MESSAGE, in startTest()
368 sendMessage(mTestId, TEST_ENDED, "Testing Completed"); in startTest()
371 sendMessage(mTestId, TEST_ENDED_ERROR, in startTest()
384 sendMessage(mTestId, TEST_MESSAGE, in startTest()
390 sendMessage(mTestId, TEST_ENDED, "Testing Completed"); in startTest()
393 sendMessage(mTestId, TEST_ENDED_ERROR, in startTest()
405 sendMessage(mTestId, TEST_MESSAGE, "Testing USB Microphone: Noise"); in startTest()
409 sendMessage(mTestId, TEST_ENDED, "Testing Completed"); in startTest()
412 sendMessage(mTestId, TEST_ENDED_ERROR, in startTest()
434 sendMessage(mTestId, TEST_STARTED,""); in run()
[all …]
DAudioFrequencyUnprocessedActivity.java667 sendMessage(mTestId, TEST_MESSAGE, in startTest()
674 sendMessage(mTestId, TEST_ENDED, "Testing Completed"); in startTest()
677 sendMessage(mTestId, TEST_ENDED_ERROR, in startTest()
689 sendMessage(mTestId, TEST_MESSAGE, in startTest()
694 sendMessage(mTestId, TEST_ENDED, "Testing Completed"); in startTest()
697 sendMessage(mTestId, TEST_ENDED_ERROR, in startTest()
710 sendMessage(mTestId, TEST_MESSAGE, in startTest()
716 sendMessage(mTestId, TEST_ENDED, "Testing Completed"); in startTest()
719 sendMessage(mTestId, TEST_ENDED_ERROR, in startTest()
731 sendMessage(mTestId, TEST_MESSAGE, "Testing USB Microphone: Noise"); in startTest()
[all …]
DAudioFrequencySpeakerActivity.java242 mMessageHandler.sendMessage(msg);
245 sendMessage("Testing Background Environment");
252 sendMessage("Testing Left Capture");
258 sendMessage("Testing Right Capture");
265 sendMessage("Testing Completed");
269 mMessageHandler.sendMessage(msg2);
286 private void sendMessage(String str) {
290 mMessageHandler.sendMessage(msg);
DAudioFrequencyLineActivity.java224 mMessageHandler.sendMessage(msg);
226 sendMessage("Testing Left Capture");
232 sendMessage("Testing Right Capture");
239 sendMessage("Testing Completed");
243 mMessageHandler.sendMessage(msg2);
260 private void sendMessage(String str) {
264 mMessageHandler.sendMessage(msg);
/cts/tests/tests/net/src/android/net/cts/
DNetworkAgentTest.kt158 asyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION) in handleMessage()
173 fun sendMessage(what: Int, arg1: Int = 0, arg2: Int = 0, obj: Any? = null) = in connect() method
174 asyncChannel.sendMessage(Message(what, arg1, arg2, obj)) in connect()
425 mFakeConnectivityService.sendMessage(CMD_ADD_KEEPALIVE_PACKET_FILTER, in agent()
427 mFakeConnectivityService.sendMessage(CMD_START_SOCKET_KEEPALIVE, in agent()
450 mFakeConnectivityService.sendMessage(CMD_STOP_SOCKET_KEEPALIVE, arg1 = slot) in agent()
451 mFakeConnectivityService.sendMessage(CMD_REMOVE_KEEPALIVE_PACKET_FILTER, arg1 = slot) in agent()
534 mFakeConnectivityService.sendMessage(CMD_SAVE_ACCEPT_UNVALIDATED, 1) in testSetAcceptUnvalidated()
545 mFakeConnectivityService.sendMessage(CMD_SAVE_ACCEPT_UNVALIDATED, 0) in testSetAcceptUnvalidatedPreventAutomaticReconnect()
546 mFakeConnectivityService.sendMessage(CMD_PREVENT_AUTOMATIC_RECONNECT) in testSetAcceptUnvalidatedPreventAutomaticReconnect()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DDebugContext.java68 mRS.sendMessage(RS_MSG_TEST_FLUSH, null); in testDebugContextI()
87 mRS.sendMessage(RS_MSG_TEST_FLUSH, null); in testDebugContextK()
171 mRS.sendMessage(RS_MSG_TEST_FLUSH, null); in finishAllocationCopyTests()
462 mRS.sendMessage(RS_MSG_TEST_FLUSH, null); in testDebugContextRsAllocationCopy2D_Short_WrongD()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DMessageTestActivity.java274 sendMessage(0); in sendInitialMessageFromClient()
278 private void sendMessage(int number) { in sendMessage() method in MessageTestActivity
306 sendMessage(number + 1); in addNewMessage()
DBluetoothChatService.java248 mHandler.sendMessage(msg); in connected()
307 mHandler.sendMessage(msg); in connectionFailed()
319 mHandler.sendMessage(msg); in connectionLost()
DBleCocClientService.java563 private void sendMessage(byte[] buf) { in sendMessage() method in BleCocClientService
650 sendMessage(buf); in sendData8bytes()
663 sendMessage(buf); in sendDataLargeBuf()
DBleCocServerService.java271 private void sendMessage(byte[] buf) { in sendMessage() method in BleCocServerService
281 sendMessage(buf); in sendData8bytes()
294 sendMessage(buf); in sendDataLargeBuf()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DSimpleForegroundService.java103 mServiceHandler.sendMessage(msg); in onStartCommand()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdCtsForegroundService.java107 mServiceHandler.sendMessage(msg); in onStartCommand()
/cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/
DSimpleIOService.java114 mServiceHandler.sendMessage(msg); in onStartCommand()
/cts/tests/tests/os/src/android/os/cts/
DMessageTest.java252 mHandler.sendMessage(message); in testSendMessageThrowsIfMessageAlreadyRecycled()
285 mHandler.sendMessage(msg); in testSendMessageThrowsIfMessageIsBeingDelivered()
/cts/tests/tests/media/src/android/media/cts/
DPresentationSyncTest.java306 handler.sendMessage(Message.obtain(handler, START_TEST, frameDelay, 0)); in runChoreographedTest()
383 mHandler.sendMessage(Message.obtain(mHandler, END_TEST)); in doFrame()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DDataPathOutOfBandTestCase.java248 discoverySession.sendMessage(peerHandle, MESSAGE_ID, mDiscoveryMac); in executeTestResponder()
363 discoverySession.sendMessage(peerHandle, MESSAGE_ID, mDiscoveryMac); in executeTestInitiator()
DDiscoveryWithRangingTestCase.java189 mWifiAwareDiscoverySession.sendMessage(mPeerHandle, MESSAGE_ID + 2, MSG_RTT); in executeTestLocal()
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/
DCtsStreamingService.java150 mHandler.sendMessage(
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/
Dpoc.cpp173 status_t result = server->sendMessage(&serverMsg); in checkMessage()
/cts/suite/audio_quality/lib/src/audio/
DRemoteAudio.cpp153 mLooper->sendMessage(command, toCommandHandler(command)->getMessage()); in sendCommand()

12