/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | GestureDetectionStubAccessibilityService.java | 162 List<String> received = new ArrayList<>(); in assertGestureReceived() local 164 received.add(AccessibilityGestureEvent.gestureIdToString(getGesture(i))); in assertGestureReceived() 166 fail("Expected " + expected + " but received " + received); in assertGestureReceived() 168 String received = AccessibilityGestureEvent.gestureIdToString(getGesture(0)); in assertGestureReceived() local 169 assertEquals(expected, received); in assertGestureReceived() 176 List<String> received = new ArrayList<>(); in assertGestureReceived() local 178 received.add( in assertGestureReceived() 182 fail("Expected " + expected + " but received " + received); in assertGestureReceived() 202 List<String> received = new ArrayList<>(); in assertPropagated() local 208 received.add(AccessibilityEvent.eventTypeToString(getEvent(i))); in assertPropagated() [all …]
|
D | AccessibilityFocusAndInputFocusSyncTest.java | 163 AccessibilityNodeInfo received = sUiAutomation in testFindAccessibilityFocus() local 165 assertNotNull(received); in testFindAccessibilityFocus() 166 assertTrue(received.isAccessibilityFocused()); in testFindAccessibilityFocus() 169 assertEquals(expected, received); in testFindAccessibilityFocus()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | EventCapturingHoverListener.java | 76 List<String> received = new ArrayList<>(); in assertPropagated() local 85 received.add(MotionEvent.actionToString(ev.getActionMasked())); in assertPropagated() 90 received.add(MotionEvent.actionToString(action)); in assertPropagated() 93 String prev = received.get(received.size() - 1); in assertPropagated() 95 received.add(MotionEvent.actionToString(action)); in assertPropagated() 100 assertEquals(expected, received); in assertPropagated()
|
D | EventCapturingTouchListener.java | 78 List<String> received = new ArrayList<>(); in assertPropagated() local 88 received.add(MotionEvent.actionToString(ev.getActionMasked())); in assertPropagated() 93 received.add(MotionEvent.actionToString(action)); in assertPropagated() 96 String prev = received.get(received.size() - 1); in assertPropagated() 98 received.add(MotionEvent.actionToString(action)); in assertPropagated() 103 assertEquals(expected, received); in assertPropagated()
|
/cts/apps/PermissionApp/src/com/android/cts/permission/permissionapp/ |
D | PermissionActivity.java | 51 final Intent received = getIntent(); in onCreate() local 52 Log.d(TAG, "Started with " + received); in onCreate() 54 final String action = received.getAction(); in onCreate() 55 mPermission = received.getStringExtra(EXTRA_PERMISSION); in onCreate() 63 Log.w(TAG, "Unknown intent received: " + received); in onCreate()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | VerifyInputEventTest.java | 96 KeyEvent received = waitForKey(); in testKeyEvent() local 97 VerifiedInputEvent verified = mInputManager.verifyInputEvent(received); in testKeyEvent() 142 KeyEvent received = waitForKey(); in testTamperedKeyEvent() local 143 received.setSource(SOURCE_JOYSTICK); // use the received event, but modify its source in testTamperedKeyEvent() 144 VerifiedInputEvent verified = mInputManager.verifyInputEvent(received); in testTamperedKeyEvent() 162 MotionEvent received = waitForMotion(); in testMotionEvent() local 163 VerifiedInputEvent verified = mInputManager.verifyInputEvent(received); in testMotionEvent() 211 MotionEvent received = waitForMotion(); in testTamperedMotionEvent() local 213 received.setAction(MotionEvent.ACTION_CANCEL); in testTamperedMotionEvent() 214 VerifiedInputEvent verified = mInputManager.verifyInputEvent(received); in testTamperedMotionEvent() [all …]
|
D | SystemGestureExclusionRectsTest.java | 66 final CountDownLatch received = new CountDownLatch(1); in staticView() local 82 received.countDown(); in staticView() 88 assertTrue("didn't receive exclusion rects", received.await(3, SECONDS)); in staticView()
|
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/ |
D | SuspendTestUtils.java | 142 static boolean areSameExtras(BaseBundle expected, BaseBundle received) { in areSameExtras() argument 143 if (expected == null || received == null) { in areSameExtras() 144 return expected == received; in areSameExtras() 147 if (keys.size() != received.keySet().size()) { in areSameExtras() 151 if (!Objects.equals(expected.get(key), received.get(key))) { in areSameExtras() 158 static void assertSameExtras(String message, BaseBundle expected, BaseBundle received) { in assertSameExtras() argument 159 if (!areSameExtras(expected, received)) { in assertSameExtras() 160 fail(message + ": [expected: " + expected + "; received: " + received + "]"); in assertSameExtras()
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | IntentReceiverActivity.java | 79 final Intent received = getIntent(); in onCreate() local 80 final String action = received.getAction(); in onCreate() 84 String text = received.getStringExtra("extra_text"); in onCreate() 112 String message = received.getStringExtra("extra_message"); in onCreate()
|
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/ |
D | TestApp.java | 264 String received = result.getString(Utils.TEST_ONCOMMAND_RESULT); in commandRequest() 265 if (received != null && received.equals(Utils.TEST_ONCOMMAND_RESULT_VALUE)) { in commandRequest() 269 "Invalid commandrequest result received: " + received); in commandRequest()
|
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/ |
D | ActionChargingTest.java | 79 public boolean received() { in received() method in ActionChargingTest.ActionChargingListener 158 listener.received()); in checkActionChargingDeferred()
|
/cts/tests/DropBoxManager/src/android/dropboxmanager/cts/ |
D | DropBoxTests.java | 87 long received; field in DropBoxTests.DropBoxEntryAddedData 97 data.received = SystemClock.elapsedRealtime(); 283 final long receivedTimeDelta = anotherData.received - data.received; in testMultipleLowPriorityRateLimiting()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | UserActionCallback.java | 176 boolean received = mLatch.await(BROADCAST_TIMEOUT, TimeUnit.MILLISECONDS); in waitForBroadcasts() 180 mPendingActions).that(received).isTrue(); in waitForBroadcasts()
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/ |
D | EnqueueJobWorkTest.java | 70 private void compareWork(TestWorkItem[] expected, ArrayList<JobWorkItem> received) { in compareWork() argument 71 if (received == null) { in compareWork() 78 for (int i = 0; i < received.size(); i++) { in compareWork() 79 JobWorkItem work = received.get(i); in compareWork() 99 if (received.size() < expected.length) { in compareWork() 100 fail("Received only " + received.size() + " work items, but expected " in compareWork()
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferTest.cpp | 307 AHardwareBuffer* received = NULL; in TEST() local 308 err = AHardwareBuffer_recvHandleFromUnixSocket(fds[0], &received); in TEST() 310 EXPECT_TRUE(received != NULL); in TEST() 311 EXPECT_EQ(desc, GetDescription(received)); in TEST() 319 AHardwareBuffer_release(received); in TEST()
|
/cts/tests/tests/view/src/android/view/cts/input/ |
D | InputDeviceSensorManagerTest.java | 255 private void assertSensorDataEquals(float[] expected, float[] received) { in assertSensorDataEquals() argument 257 expected.length, received.length); in assertSensorDataEquals() 259 assertEquals("Data index[" + i + "] not match", expected[i], received[i], TOLERANCE); in assertSensorDataEquals()
|
/cts/tests/media/jni/ |
D | NativeExtractorTest.cpp | 428 AMediaCodecBufferInfo received; in checkSeekPoints() local 431 setSampleInfo(extractor, &received); in checkSeekPoints() 432 if (!isSampleInfoIdentical(&arg->mExpected, &received)) { in checkSeekPoints() 433 ALOGE(" flags exp/got: %d / %d", arg->mExpected.flags, received.flags); in checkSeekPoints() 434 ALOGE(" size exp/got: %d / %d ", arg->mExpected.size, received.size); in checkSeekPoints() 436 received.presentationTimeUs); in checkSeekPoints()
|
/cts/tests/app/src/android/app/cts/ |
D | WallpaperManagerTest.java | 447 ArrayList<Integer> received = new ArrayList<>(); in verifyColorListenerInvoked() local 455 received.add(whichWp); in verifyColorListenerInvoked() 481 whichExpected + " received: " + received); in verifyColorListenerInvoked()
|
/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | LocationManagerFineTest.java | 1399 Location received = capture.getNextLocation(TIMEOUT_MS); in testSetTestProviderLocation() local 1400 assertThat(received).isEqualTo(loc1); in testSetTestProviderLocation() 1401 assertThat(received.isFromMockProvider()).isTrue(); in testSetTestProviderLocation() 1470 Location received = capture.getLocation(TIMEOUT_MS); in testSetTestProviderLocation_B33091107() local 1471 assertThat(received).isEqualTo(loc); in testSetTestProviderLocation_B33091107() 1472 assertThat(received.isFromMockProvider()).isTrue(); in testSetTestProviderLocation_B33091107()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | ExtractorTest.java | 1000 MediaCodec.BufferInfo received = new MediaCodec.BufferInfo(); 1003 received.set(0, (int) extractor.getSampleSize(), extractor.getSampleTime(), 1005 if (!isSampleInfoIdentical(arg.mExpected, received)) { 1009 received.flags); 1011 " size exp/got: " + arg.mExpected.size + '/' + received.size); 1014 received.presentationTimeUs);
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | BaseTelecomTestWithMockServices.java | 1590 void assertOutgoingCallBroadcastReceived(boolean received) { in assertOutgoingCallBroadcastReceived() argument 1595 return received; in assertOutgoingCallBroadcastReceived() 1605 received ? "Outgoing Call Broadcast should be received" in assertOutgoingCallBroadcastReceived()
|
/cts/tests/tests/calendarprovider/src/android/provider/cts/calendar/ |
D | CalendarTest.java | 1463 public boolean received = false; field in CalendarTest.MockReminderReceiver 1469 received = true; in onReceive() 1509 return reminderReceiver.received; in testRemindersAlarm() 1512 assertTrue(reminderReceiver.received); in testRemindersAlarm()
|