/cts/tests/tests/os/src/android/os/cts/ |
D | HandlerTest.java | 95 mHandler1.removeMessages(msg.what); in testSendMessageAtTime() 106 assertFalse(mHandler.hasMessages(msg.what)); in testHasMessagesWithInt() 108 assertTrue(mHandler.hasMessages(msg.what)); in testHasMessagesWithInt() 109 mHandler.removeMessages(msg.what); in testHasMessagesWithInt() 110 assertFalse(mHandler.hasMessages(msg.what)); in testHasMessagesWithInt() 116 assertFalse(mHandler.hasMessages(msg.what, msg.obj)); in testHasMessagesWithObject() 118 assertTrue(mHandler.hasMessages(msg.what, msg.obj)); in testHasMessagesWithObject() 119 mHandler.removeMessages(msg.what); in testHasMessagesWithObject() 120 assertFalse(mHandler.hasMessages(msg.what, msg.obj)); in testHasMessagesWithObject() 166 assertEquals(0, mHandler1.what); in testSendEmptyMessageAtTime() [all …]
|
D | MessageTest.java | 83 assertEquals(0, message.what); in testObtain() 98 assertEquals(message.what, expected.what); in testObtain2() 118 assertEquals(WHAT, expected.what); in testObtain5() 124 assertEquals(WHAT, expected.what); in testObtain6() 131 assertEquals(WHAT, expected.what); in testObtain7() 139 assertEquals(WHAT, expected.what); in testObtain8() 164 assertEquals(WHAT, mMessage.what); in testCopyFrom() 175 assertEquals(0, message.what); in testRecycle() 195 assertEquals(WHAT, mMessage.what); in testWriteToParcel()
|
D | MessageQueueTest.java | 211 if (msg.what == 0) { in testAtFrontOfQueue() 739 if (msg.what == 3) { in testSyncBarriers() 744 } else if (msg.what == 4) { in testSyncBarriers() 748 } else if (msg.what == 8) { in testSyncBarriers() 753 private void sendAsyncMessage(int what) { in testSyncBarriers() 754 Message msg = mHandler.obtainMessage(what); in testSyncBarriers() 847 if (msg.what != mCount) { in handleMessage() 849 + msg.what)); in handleMessage() 856 failure(new RuntimeException("Message received after done, #" + msg.what)); in handleMessage()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | DigitsKeyListenerTest.java | 72 Object what = new Object(); in testFilter1() local 74 spannableSource.setSpan(what, 0, spannableSource.length(), Spanned.SPAN_POINT_POINT); in testFilter1() 78 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter1() 79 assertEquals(0, filtered.getSpanStart(what)); in testFilter1() 80 assertEquals("123".length(), filtered.getSpanEnd(what)); in testFilter1() 150 Object what = new Object(); in testFilter2() local 152 spannableSource.setSpan(what, 0, spannableSource.length(), Spanned.SPAN_POINT_POINT); in testFilter2() 156 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter2() 157 assertEquals(0, filtered.getSpanStart(what)); in testFilter2() 158 assertEquals("5123".length(), filtered.getSpanEnd(what)); in testFilter2() [all …]
|
D | NumberKeyListenerTest.java | 65 Object what = new Object(); in testFilter() local 67 spannableSource.setSpan(what, 0, spannableSource.length(), Spanned.SPAN_POINT_POINT); in testFilter() 71 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter() 72 assertEquals(0, filtered.getSpanStart(what)); in testFilter() 73 assertEquals("12345".length(), filtered.getSpanEnd(what)); in testFilter()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MultiAutoCompleteTextView_CommaTokenizerTest.java | 125 UnderlineSpan what = new UnderlineSpan(); in testTerminateToken() local 126 spannableString.setSpan(what, 0, spannableString.length(), in testTerminateToken() 131 assertEquals(0, actual.getSpanStart(what)); in testTerminateToken() 132 assertEquals(spannableString.length(), actual.getSpanEnd(what)); in testTerminateToken()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | NativeAudioThread.java | 119 msg.what = NATIVE_AUDIO_THREAD_MESSAGE_REC_STARTED; in run() 134 msg.what = NATIVE_AUDIO_THREAD_MESSAGE_REC_ERROR; in run() 245 msg.what = NATIVE_AUDIO_THREAD_MESSAGE_REC_COMPLETE_ERRORS; in endTest() 247 msg.what = NATIVE_AUDIO_THREAD_MESSAGE_REC_COMPLETE; in endTest()
|
D | AudioFrequencyMicActivity.java | 291 msg.what = TEST_STARTED; 312 msg2.what = TEST1_ENDED; 334 msg.what = TEST1_MESSAGE; 363 msg.what = TEST_STARTED; 376 msg2.what = TEST_ENDED; 398 msg.what = TEST_MESSAGE; 407 switch (msg.what) { 435 Log.e(TAG, String.format("Unknown message: %d", msg.what));
|
D | AudioFrequencyLineActivity.java | 232 msg.what = TEST_STARTED; 252 msg2.what = TEST_ENDED; 272 msg.what = TEST_MESSAGE; 281 switch (msg.what) { 297 Log.e(TAG, String.format("Unknown message: %d", msg.what));
|
D | AudioFrequencySpeakerActivity.java | 265 msg.what = TEST_STARTED; 292 msg2.what = TEST_ENDED; 312 msg.what = TEST_MESSAGE; 321 switch (msg.what) { 337 Log.e(TAG, String.format("Unknown message: %d", msg.what));
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerTestBase.java | 256 public boolean onError(MediaPlayer mp, int what, int extra) { in playLoadedVideo() 257 fail("Media player had error " + what + " playing video"); in playLoadedVideo() 263 public boolean onInfo(MediaPlayer mp, int what, int extra) { in playLoadedVideo() 264 if (what == MediaPlayer.MEDIA_INFO_VIDEO_RENDERING_START) { in playLoadedVideo() 310 public boolean onError(MediaPlayer mp, int what, int extra) { in setOnErrorListener()
|
D | MediaRandomTest.java | 184 public boolean onError(MediaPlayer mp, int what, int extra) { in testPlayerRandomAction() 186 what == MediaPlayer.MEDIA_ERROR_SERVER_DIED) { in testPlayerRandomAction() 274 public void onError(MediaRecorder recorder, int what, int extra) { in testRecorderRandomAction() 276 what == MediaRecorder.MEDIA_ERROR_SERVER_DIED) { in testRecorderRandomAction()
|
D | StreamingMediaPlayerTest.java | 221 public boolean onError(MediaPlayer mp, int what, int extra) { in localHttpAudioStreamTest() 222 fail("Media player had error " + what + " playing " + name); in localHttpAudioStreamTest() 275 public boolean onError(MediaPlayer mp, int what, int extra) { in localHttpsAudioStreamTest() 276 fail("Media player had error " + what + " playing " + name); in localHttpsAudioStreamTest()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | MultinetworkSysctlTest.java | 57 private void assertLess(String what, int a, int b) { in assertLess() argument 58 assertTrue(what + " expected < " + b + " but was: " + a, a < b); in assertLess()
|
/cts/tests/app/src/android/app/cts/ |
D | SearchManagerStubActivity.java | 210 if (!doStep(msg.what)) { in handleMessage() 211 sendEmptyMessage(msg.what + 1); in handleMessage()
|
D | DialogStubActivity.java | 171 buttonIndex = msg.what; in onCreateDialog() 177 positiveMessage.what = DialogInterface.BUTTON_POSITIVE; in onCreateDialog() 181 negativeMessage.what = DialogInterface.BUTTON_NEGATIVE; in onCreateDialog() 185 neutralMessage.what = DialogInterface.BUTTON_NEUTRAL; in onCreateDialog()
|
/cts/suite/audio_quality/lib/src/audio/ |
D | RemoteAudio.cpp | 339 switch(message.what) { in handleMessage() 353 mResult = (mThread.mCmds[message.what - AudioProtocol::ECmdStart]) \ in handleMessage() 356 if ((message.what != AudioProtocol::ECmdDownload) && in handleMessage() 357 (message.what != AudioProtocol::ECmdGetDeviceInfo) ) { in handleMessage()
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | PermissionTestService.java | 70 if (msg.what != MSG_START_TEST) { in handleMessage() 71 Log.e(TAG, "PermissionTestService received bad message: " + msg.what); in handleMessage()
|
D | ServiceRunnerActivity.java | 54 switch (msg.what) { in handleMessage()
|
/cts/tests/tests/hardware/src/android/hardware/multiprocess/ |
D | ErrorLoggingService.java | 152 switch(msg.what) { in handleMessage() 177 Log.e(TAG, "Unknown message type: " + msg.what); in handleMessage() 381 switch (msg.what) { in handleMessage() 393 Log.e(TAG, "Unknown message type: " + msg.what); in handleMessage()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
D | PlayVideoActivity.java | 162 public boolean onError(MediaPlayer mp, int what, int extra) { 163 Log.e(TAG, "Unable to play video, got onError with code " + what + ", extra " + extra);
|
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityRecordTest.java | 175 ((Message) expectedRecord.getParcelableData()).what, in assertEqualAccessibilityRecord() 176 ((Message) receivedRecord.getParcelableData()).what); in assertEqualAccessibilityRecord()
|
D | AccessibilityEventTest.java | 255 ((Message) expectedEvent.getParcelableData()).what, in assertEqualsAccessiblityEvent() 256 ((Message) receivedEvent.getParcelableData()).what); in assertEqualsAccessiblityEvent()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ClipDrawableTest.java | 454 public void scheduleDrawable(Drawable who, Runnable what, long when) { in scheduleDrawable() argument 456 mRunnable = what; in scheduleDrawable() 460 public void unscheduleDrawable(Drawable who, Runnable what) { in unscheduleDrawable() argument 462 mRunnable = what; in unscheduleDrawable()
|
D | TransitionDrawableTest.java | 259 public void scheduleDrawable(Drawable who, Runnable what, long when) { in scheduleDrawable() argument 262 public void unscheduleDrawable(Drawable who, Runnable what) { in unscheduleDrawable() argument
|