/cts/tests/tests/os/src/android/os/cts/ |
D | HandlerTest.java | 126 mHandler1.removeMessages(msg.what); in testSendMessageAtTime() 139 assertFalse(mHandler.hasMessages(msg.what)); in testHasMessagesWithInt() 141 assertTrue(mHandler.hasMessages(msg.what)); in testHasMessagesWithInt() 142 mHandler.removeMessages(msg.what); in testHasMessagesWithInt() 143 assertFalse(mHandler.hasMessages(msg.what)); in testHasMessagesWithInt() 150 assertFalse(mHandler.hasMessages(msg.what, msg.obj)); in testHasMessagesWithObject() 152 assertTrue(mHandler.hasMessages(msg.what, msg.obj)); in testHasMessagesWithObject() 153 mHandler.removeMessages(msg.what); in testHasMessagesWithObject() 154 assertFalse(mHandler.hasMessages(msg.what, msg.obj)); in testHasMessagesWithObject() 202 assertEquals(0, mHandler1.what); in testSendEmptyMessageAtTime() [all …]
|
D | MessageTest.java | 113 assertEquals(0, message.what); in testObtain() 129 assertEquals(message.what, expected.what); in testObtain2() 152 assertEquals(WHAT, expected.what); in testObtain5() 159 assertEquals(WHAT, expected.what); in testObtain6() 167 assertEquals(WHAT, expected.what); in testObtain7() 176 assertEquals(WHAT, expected.what); in testObtain8() 204 assertEquals(WHAT, mMessage.what); in testCopyFrom() 216 assertEquals(0, message.what); in testRecycle() 238 assertEquals(WHAT, mMessage.what); in testWriteToParcel()
|
D | MessageQueueTest.java | 236 if (msg.what == 0) { in testAtFrontOfQueue() 816 if (msg.what == 3) { in testSyncBarriers() 821 } else if (msg.what == 4) { in testSyncBarriers() 825 } else if (msg.what == 8) { in testSyncBarriers() 830 private void sendAsyncMessage(int what) { in testSyncBarriers() 831 Message msg = mHandler.obtainMessage(what); in testSyncBarriers() 858 private void sendAsyncMessageAtTime(int what, long when) { in testLateSyncBarriers() 859 Message msg = mHandler.obtainMessage(what); in testLateSyncBarriers() 953 if (msg.what != mCount) { in handleMessage() 955 + msg.what)); in handleMessage() [all …]
|
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/ |
D | MockModemConfigInterface.java | 76 void registerForNumOfLiveModemChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForNumOfLiveModemChanged() argument 81 void registerForPhoneCapabilityChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForPhoneCapabilityChanged() argument 86 void registerForSimultaneousCallingSupportStatusChanged(int logicalSlotId, Handler h, int what, in registerForSimultaneousCallingSupportStatusChanged() argument 92 void registerForSimSlotStatusChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForSimSlotStatusChanged() argument 98 void registerForBasebandVersionChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForBasebandVersionChanged() argument 103 void registerForDeviceIdentityChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForDeviceIdentityChanged() argument 106 void registerForDeviceImeiInfoChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForDeviceImeiInfoChanged() argument 111 void registerForRadioStateChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForRadioStateChanged() argument 126 void registerForCardStatusChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForCardStatusChanged() argument 131 void registerForSimAppDataChanged(int logicalSlotId, Handler h, int what, Object obj); in registerForSimAppDataChanged() argument [all …]
|
D | MockModemConfigBase.java | 382 switch (msg.what) { in handleMessage() 834 int logicalSlotId, Handler h, int what, Object obj) { in registerForNumOfLiveModemChanged() argument 835 mNumOfLiveModemChangedRegistrants.addUnique(h, what, obj); in registerForNumOfLiveModemChanged() 845 int logicalSlotId, Handler h, int what, Object obj) { in registerForPhoneCapabilityChanged() argument 846 mPhoneCapabilityChangedRegistrants.addUnique(h, what, obj); in registerForPhoneCapabilityChanged() 856 int logicalSlotId, Handler h, int what, Object obj) { in registerForSimultaneousCallingSupportStatusChanged() argument 857 mSimultaneousCallingSupportChangedRegistrants.addUnique(h, what, obj); in registerForSimultaneousCallingSupportStatusChanged() 867 int logicalSlotId, Handler h, int what, Object obj) { in registerForSimSlotStatusChanged() argument 868 mSimSlotStatusChangedRegistrants.addUnique(h, what, obj); in registerForSimSlotStatusChanged() 879 int logicalSlotId, Handler h, int what, Object obj) { in registerForBasebandVersionChanged() argument [all …]
|
D | IRadioConfigImpl.java | 96 switch (msg.what) { in handleMessage() 104 Log.e(mTag, msg.what + " failure. Exception: " + ar.exception); in handleMessage() 114 Log.e(mTag, msg.what + " failure. Exception: " + ar.exception); in handleMessage() 127 Log.e(mTag, msg.what + " failure. Exception: " + ar.exception); in handleMessage() 145 Log.e(mTag, msg.what + " failure. Exception: " + ar.exception); in handleMessage()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | NativeAnalyzerThread.java | 145 private void sendMessage(int what) { in sendMessage() argument 148 msg.what = what; in sendMessage() 220 int what = (analysisComplete && result == 0) 223 sendMessage(what);
|
D | AudioTestRunner.java | 59 msg.what = msgType; in sendMessage() 70 switch (msg.what) { in handleMessage() 84 Log.e("TestHandler", String.format("Unknown message: %d", msg.what)); in handleMessage()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | DigitsKeyListenerTest.java | 106 Object what = new Object(); in testFilter1() local 108 spannableSource.setSpan(what, 0, spannableSource.length(), Spanned.SPAN_POINT_POINT); in testFilter1() 112 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter1() 113 assertEquals(0, filtered.getSpanStart(what)); in testFilter1() 114 assertEquals("123".length(), filtered.getSpanEnd(what)); in testFilter1() 185 Object what = new Object(); in testFilter2() local 187 spannableSource.setSpan(what, 0, spannableSource.length(), Spanned.SPAN_POINT_POINT); in testFilter2() 191 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter2() 192 assertEquals(0, filtered.getSpanStart(what)); in testFilter2() 193 assertEquals("5123".length(), filtered.getSpanEnd(what)); in testFilter2() [all …]
|
D | NumberKeyListenerTest.java | 75 Object what = new Object(); in testFilter() local 77 spannableSource.setSpan(what, 0, spannableSource.length(), Spanned.SPAN_POINT_POINT); in testFilter() 81 assertEquals(Spanned.SPAN_POINT_POINT, filtered.getSpanFlags(what)); in testFilter() 82 assertEquals(0, filtered.getSpanStart(what)); in testFilter() 83 assertEquals("12345".length(), filtered.getSpanEnd(what)); in testFilter()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MultiAutoCompleteTextView_CommaTokenizerTest.java | 126 UnderlineSpan what = new UnderlineSpan(); in testTerminateToken() local 127 spannableString.setSpan(what, 0, spannableString.length(), in testTerminateToken() 132 assertEquals(0, actual.getSpanStart(what)); in testTerminateToken() 133 assertEquals(spannableString.length(), actual.getSpanEnd(what)); in testTerminateToken()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | ForegroundServiceUtil.java | 43 switch (msg.what) { in requestStartForegroundService() 55 Log.e(TAG, "Unknown message from the LocalMediaProjectionService: " + msg.what); in requestStartForegroundService()
|
D | LocalMediaProjectionService.java | 100 void sendMessage(int what) { in sendMessage() argument 102 msg.what = what; in sendMessage()
|
D | MediaPlayerTestBase.java | 194 mMediaPlayer.setOnErrorListener((mp, what, extra) -> { in playLoadedVideo() argument 195 fail("Media player had error " + what + " playing video"); in playLoadedVideo() 198 mMediaPlayer.setOnInfoListener((mp, what, extra) -> { in playLoadedVideo() argument 199 if (what == MediaPlayer.MEDIA_INFO_VIDEO_RENDERING_START) { in playLoadedVideo() 272 mMediaPlayer.setOnErrorListener((mp, what, extra) -> { in setOnErrorListener() argument
|
/cts/tests/tests/security/src/android/security/cts/ |
D | AttributionSourceService.java | 70 switch (receivingMessage.what) { in handleMessage() 73 Message replyMessage = Message.obtain(null, receivingMessage.what); in handleMessage() 77 if (receivingMessage.what == MSG_READ_ATTRIBUTION_SOURCE_BUNDLE) { in handleMessage() 107 Log.e(TAG, "Unknown message type: " + receivingMessage.what); in handleMessage() 178 switch (msg.what) { in handleMessage() 188 Log.e(TAG, "Unknown message type: " + msg.what); in handleMessage()
|
D | MediaServerCrashTest.java | 61 public boolean onError(MediaPlayer mp, int what, int extra) { in setUp() 63 assertTrue("mediaserver process died", what != MediaPlayer.MEDIA_ERROR_SERVER_DIED); in setUp() 64 Log.w(TAG, "onError " + what); in setUp()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyVideoSourceActivity.java | 44 mVideoView.setOnErrorListener((mp, what, extra) -> { in onCreate() argument 45 Log.e(TAG, "MediaPlayer encountered error " + what + ", " + extra); in onCreate()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarTestBase.java | 169 protected void assertMoreThan(String what, float expected, float actual, String hint) { in assertMoreThan() argument 171 fail(what + ": expected more than " + expected * 100 + "%, but only got " + actual * 100 in assertMoreThan() 176 protected void assertLessThan(String what, float expected, float actual, String hint) { in assertLessThan() argument 178 fail(what + ": expected less than " + expected * 100 + "%, but got " + actual * 100 in assertLessThan()
|
/cts/hostsidetests/tagging/common/src/android/cts/tagging/ |
D | TestingService.java | 56 if (msg.what != MSG_START_TEST) { in handleMessage() 57 Log.e(TAG, "TestingService received bad message: " + msg.what); in handleMessage()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ColorStateListDrawableTest.java | 229 public void scheduleDrawable(Drawable who, Runnable what, long when) { in scheduleDrawable() argument 231 mScheduledRunnable = what; in scheduleDrawable() 236 public void unscheduleDrawable(Drawable who, Runnable what) { in unscheduleDrawable() argument 238 mUnscheduledRunnable = what; in unscheduleDrawable()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | DisplayEventActivity.java | 93 msg.what = MESSAGE_LAUNCHED; in launched() 106 msg.what = MESSAGE_CALLBACK; in callback()
|
/cts/tests/tests/externalservice/service/src/android/externalservice/service/ |
D | ServiceCreator.java | 45 switch (msg.what) { 66 reply.what = ServiceMessages.MSG_CREATE_EXTERNAL_SERVICE_RESPONSE;
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | ResourceManagerRecorderActivity.java | 267 public void onInfo(MediaRecorder mr, int what, int extra) { in recordVideoUsingCamera() 268 Log.v(TAG, "onInfo(" + what + ", " + extra + ")"); in recordVideoUsingCamera() 272 public void onError(MediaRecorder mr, int what, int extra) { in recordVideoUsingCamera() 273 Log.e(TAG, "onError(" + what + ", " + extra + ")"); in recordVideoUsingCamera()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/ |
D | JavaSinkHandler.java | 55 switch (msg.what) { in handleMessage()
|
/cts/tests/tests/media/recorder/src/android/media/recorder/cts/ |
D | MediaRecorderRandomTest.java | 101 public void onError(MediaRecorder recorder, int what, int extra) { in testRecorderRandomAction() 103 what == MediaRecorder.MEDIA_ERROR_SERVER_DIED) { in testRecorderRandomAction()
|