/cts/tests/location/location_none/src/android/location/cts/none/ |
D | CountryTest.java | 52 assertEquals(Country.COUNTRY_SOURCE_NETWORK, country1.getSource()); in testGetSourceWithConstructor() 53 assertNotEquals(country1.getSource(), country2.getSource()); in testGetSourceWithConstructor() 54 assertEquals(Country.COUNTRY_SOURCE_NETWORK, country3.getSource()); in testGetSourceWithConstructor()
|
D | CountryDetectorTest.java | 66 assertNotEquals(-1, countryCallback.getSource()); in testRegisterCountryDetectorCallback()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarMediaManagerTest.java | 83 private ComponentName getSource(int mode) { in getSource() method in CarMediaManagerTest 114 mSavedPlaybackSource = getSource(MEDIA_SOURCE_MODE_PLAYBACK); in setUp() 115 mSavedBrowseSource = getSource(MEDIA_SOURCE_MODE_BROWSE); in setUp() 163 assertThat(getSource(MEDIA_SOURCE_MODE_BROWSE)).isEqualTo(FAKE_1); in testDependentPlaybackConfig() 164 assertThat(getSource(MEDIA_SOURCE_MODE_PLAYBACK)).isEqualTo(FAKE_1); in testDependentPlaybackConfig() 168 assertThat(getSource(MEDIA_SOURCE_MODE_BROWSE)).isEqualTo(FAKE_2); in testDependentPlaybackConfig() 169 assertThat(getSource(MEDIA_SOURCE_MODE_PLAYBACK)).isEqualTo(FAKE_2); in testDependentPlaybackConfig() 193 assertThat(getSource(MEDIA_SOURCE_MODE_BROWSE)).isEqualTo(FAKE_1); in testIndependentPlaybackConfig() 194 assertThat(getSource(MEDIA_SOURCE_MODE_PLAYBACK)).isEqualTo(FAKE_0); in testIndependentPlaybackConfig() 198 assertThat(getSource(MEDIA_SOURCE_MODE_BROWSE)).isEqualTo(FAKE_1); in testIndependentPlaybackConfig() [all …]
|
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/ |
D | ContentInfoTest.java | 87 assertThat(split.first.getSource()).isEqualTo(SOURCE_CLIPBOARD); in testPartition_multipleItems() 90 assertThat(split.second.getSource()).isEqualTo(SOURCE_CLIPBOARD); in testPartition_multipleItems() 139 assertThat(copy.getSource()).isEqualTo(original.getSource()); in testBuilder_copy() 167 assertThat(copy.getSource()).isEqualTo(SOURCE_APP); in testBuilder_copyAndUpdate() 265 assertThat(fromParcel.getSource()).isEqualTo(SOURCE_AUTOFILL); in testParcel_withMinimalMetadata() 285 assertThat(fromParcel.getSource()).isEqualTo(original.getSource()); in testParcel_withAllMetadata()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | ImageSpanTest.java | 101 assertNull(imageSpan.getSource()); in testGetSource() 105 assertEquals(source, imageSpan.getSource()); in testGetSource() 109 assertEquals(source, imageSpan.getSource()); in testGetSource()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | StubMotionInterceptingAccessibilityService.java | 83 if (motionEvent.getSource() == canarySource) { in setAndAwaitMotionEventSources() 115 if (motionEvent.getSource() == source) { in injectAndAwaitMotionEvent()
|
D | AccessibilityViewTreeReportingTest.java | 323 assertTrue(awaitedEvent.getSource().isImportantForAccessibility()); 362 if (event.getSource() != null) { 364 event.getSource().getViewIdResourceName(),
|
D | AccessibilityWindowQueryTest.java | 231 assertNull(event.getSource().getWindow()); in testNoWindowsAccessIfFlagNotSet() 282 AccessibilityWindowInfo window = event.getSource().getWindow(); in testTraverseWindowFromEvent() 315 AccessibilityWindowInfo window = event.getSource().getWindow(); in testInteractWithAppWindow() 520 AccessibilityNodeInfo source = awaitedEvent.getSource(); in testGetEventSource()
|
/cts/tests/tests/media/audio/jni/ |
D | AudioPlayer.h | 44 inline AudioSource* getSource() { in getSource() function
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/ |
D | HdmiCecLogicalAddressTest.java | 59 assertThat(CecMessage.getSource(message).getDeviceType()).isEqualTo(deviceType); in cect_RebootLogicalAddress()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputTestCase.java | 230 assertNotEquals(testCase + " (source)", InputDevice.SOURCE_CLASS_NONE, actual.getSource()); in assertSource() 231 assertTrue(testCase + " (source)", expected.isFromSource(actual.getSource())); in assertSource() 381 event.getSource(), event.getFlags()); in splitBatchedMotionEvent() 392 event.getSource(), event.getFlags()); in splitBatchedMotionEvent()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/audio/ |
D | HdmiCecLogicalAddressTest.java | 67 assertThat(CecMessage.getSource(message)).isEqualTo(AUDIO_DEVICE); in cect_10_2_5_1_RebootLogicalAddress()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | VerifyInputEventTest.java | 322 assertEquals(keyEvent.getSource(), verified.getSource()); in compareKeys() 347 assertEquals(motionEvent.getSource(), verified.getSource()); in compareMotions()
|
D | ScrollFeedbackProviderTest.java | 84 runScrollScenarios(deviceId, motionRange.getSource(), motionRange.getAxis()); in testApisDontCrash_allExistingInputSourceAndAxesCombinations()
|
D | ViewUnbufferedTest.java | 160 assertEquals(sentEvent.getSource(), receivedEvent.mSource); in compareEvent() 259 Math.round(event.getX()), Math.round(event.getY()), event.getSource())); in receivedEvent()
|
D | ViewConfigurationTest.java | 173 int source = range.getSource(); in testFlingThresholds_forAllAvailableDevices()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/ |
D | CameraTestInstrumentation.java | 91 String source = metric.getSource(); in sendStatus()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | AccessibilityEventFilterUtils.java | 60 (event, expect) -> event.getSource() != null in filterForEventTypeWithResource() 61 && event.getSource().getViewIdResourceName().equals(expect)); in filterForEventTypeWithResource()
|
/cts/tests/tests/view/src/android/view/cts/input/ |
D | InputDeviceViewBehaviorTest.java | 69 viewBehavior.shouldSmoothScroll(motionRange.getAxis(), motionRange.getSource()); in testShouldSmoothScroll_onValidAxisSourceCombo_throwsNoException()
|
D | InputDeviceMultiDeviceKeyEventTest.java | 192 assertEquals("Source: " + log, expectedKeyEvent.getSource(), in assertReceivedKeyEvent() 193 receivedKeyEvent.getSource()); in assertReceivedKeyEvent()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InlineSuggestionInfoTest.java | 75 assertThat(info.getSource()).isEqualTo(InlineSuggestionInfo.SOURCE_AUTOFILL); in testInlineSuggestionInfoValues()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | CecMessage.java | 117 public static LogicalAddress getSource(String message) { in getSource() method in CecMessage
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ColorSpaceTest.java | 507 assertSame(ColorSpace.get(ColorSpace.Named.SRGB), connector.getSource()); in testConnect() 515 assertSame(connector.getDestination(), connector.getSource()); in testConnect() 522 assertSame(connector.getSource(), connector.getDestination()); in testConnect() 618 assertSame(connector.getSource(), connector.getDestination()); in testIdentityConnector()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | TestUtils.java | 610 event.getSource(), event.getFlags()); in splitBatchedMotionEvent() 621 event.getSource(), event.getFlags()); in splitBatchedMotionEvent()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsKeyEventUtil.java | 260 int source = event.getSource(); in sendKey()
|