Home
last modified time | relevance | path

Searched refs:tv (Results 1 – 25 of 131) sorted by relevance

123456

/cts/tests/tests/util/src/android/util/cts/
DTypedValueTest.java52 TypedValue tv = new TypedValue(); in testGetFloat() local
53 tv.data = 99; in testGetFloat()
54 assertEquals(expected, tv.getFloat(), 0.0f); in testGetFloat()
97 TypedValue tv = new TypedValue(); in testGetFraction() local
98 tv.data = 10; in testGetFraction()
99 assertEquals(expected, tv.getFraction(1.1f, 2.1f), 0.0f); in testGetFraction()
139 TypedValue tv = new TypedValue(); in testToString() local
140 tv.assetCookie = 1; in testToString()
141 tv.changingConfigurations = 2; in testToString()
142 tv.data = 3; in testToString()
[all …]
/cts/tests/tests/tv/tuner/config/tuner/tuner-cts-config-api/
Dcurrent.txt2 package android.media.tv.tuner.cts.configuration.v1 {
13 …method @Nullable public android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltages getSuppor…
15 …method public void setSupportedVoltages(@Nullable android.media.tv.tuner.cts.configuration.v1.LnbS…
20 …enum_constant public static final android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltage …
21 …enum_constant public static final android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltage …
22 …enum_constant public static final android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltage …
23 …enum_constant public static final android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltage …
24 …enum_constant public static final android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltage …
25 …enum_constant public static final android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltage …
26 …enum_constant public static final android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltage …
[all …]
/cts/tests/tests/tv/config/tuner/tuner-cts-config-api/
Dcurrent.txt2 package android.media.tv.tuner.cts.configuration.v1 {
13 …method @Nullable public android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltages getSuppor…
15 …method public void setSupportedVoltages(@Nullable android.media.tv.tuner.cts.configuration.v1.LnbS…
20 …enum_constant public static final android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltage …
21 …enum_constant public static final android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltage …
22 …enum_constant public static final android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltage …
23 …enum_constant public static final android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltage …
24 …enum_constant public static final android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltage …
25 …enum_constant public static final android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltage …
26 …enum_constant public static final android.media.tv.tuner.cts.configuration.v1.LnbSupportedVoltage …
[all …]
/cts/tests/tests/systemui/PipTestApp/src/android/systemui/cts/tv/pip/
DPipTestActivity.kt17 package android.systemui.cts.tv.pip in <lambda>()
36 import android.systemui.tv.cts.PipActivity.ACTION_ENTER_PIP in <lambda>()
37 import android.systemui.tv.cts.PipActivity.ACTION_MEDIA_PAUSE in <lambda>()
38 import android.systemui.tv.cts.PipActivity.ACTION_MEDIA_PLAY in <lambda>()
39 import android.systemui.tv.cts.PipActivity.ACTION_SET_MEDIA_TITLE in <lambda>()
40 import android.systemui.tv.cts.PipActivity.ACTION_NO_OP in <lambda>()
41 import android.systemui.tv.cts.PipActivity.EXTRA_ASPECT_RATIO_DENOMINATOR in <lambda>()
42 import android.systemui.tv.cts.PipActivity.EXTRA_ASPECT_RATIO_NUMERATOR in <lambda>()
43 import android.systemui.tv.cts.PipActivity.EXTRA_SET_CUSTOM_ACTIONS in <lambda>()
44 import android.systemui.tv.cts.PipActivity.EXTRA_ENTER_PIP in <lambda>()
[all …]
/cts/tests/tests/tv/tuner/src/android/media/tv/tuner/cts/
DSharedFilterTestService.java17 package android.media.tv.tuner.cts;
22 import android.media.tv.tuner.dvr.DvrPlayback;
23 import android.media.tv.tuner.Tuner;
24 import android.media.tv.tuner.cts.ISharedFilterTestServer;
25 import android.media.tv.tuner.dvr.OnPlaybackStatusChangedListener;
26 import android.media.tv.tuner.filter.Filter;
27 import android.media.tv.tuner.filter.FilterCallback;
28 import android.media.tv.tuner.filter.FilterEvent;
29 import android.media.tv.tuner.filter.SharedFilter;
30 import android.media.tv.tuner.filter.SharedFilterCallback;
DTunerDvrTest.java17 package android.media.tv.tuner.cts;
24 import android.media.tv.tuner.Tuner;
25 import android.media.tv.tuner.TunerVersionChecker;
26 import android.media.tv.tuner.dvr.DvrPlayback;
27 import android.media.tv.tuner.dvr.DvrRecorder;
28 import android.media.tv.tuner.dvr.DvrSettings;
29 import android.media.tv.tuner.dvr.OnPlaybackStatusChangedListener;
30 import android.media.tv.tuner.dvr.OnRecordStatusChangedListener;
31 import android.media.tv.tuner.filter.Filter;
32 import android.media.tv.tuner.filter.FilterCallback;
[all …]
DTunerResourceTestService.java17 package android.media.tv.tuner.cts;
22 import android.hardware.tv.tuner.Result;
23 import android.media.tv.tuner.Tuner;
24 import android.media.tv.tuner.frontend.FrontendInfo;
25 import android.media.tv.tuner.frontend.FrontendSettings;
DTunerFilterTest.java17 package android.media.tv.tuner.cts;
25 import android.media.tv.tuner.Tuner;
26 import android.media.tv.tuner.TunerVersionChecker;
27 import android.media.tv.tuner.filter.AlpFilterConfiguration;
28 import android.media.tv.tuner.filter.AvSettings;
29 import android.media.tv.tuner.filter.DownloadSettings;
30 import android.media.tv.tuner.filter.Filter;
31 import android.media.tv.tuner.filter.IpFilterConfiguration;
32 import android.media.tv.tuner.filter.MmtpFilterConfiguration;
33 import android.media.tv.tuner.filter.PesSettings;
[all …]
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/
DSharedFilterTestService.java17 package android.media.tv.tuner.cts;
22 import android.media.tv.tuner.dvr.DvrPlayback;
23 import android.media.tv.tuner.Tuner;
24 import android.media.tv.tuner.cts.ISharedFilterTestServer;
25 import android.media.tv.tuner.dvr.OnPlaybackStatusChangedListener;
26 import android.media.tv.tuner.filter.Filter;
27 import android.media.tv.tuner.filter.FilterCallback;
28 import android.media.tv.tuner.filter.FilterEvent;
29 import android.media.tv.tuner.filter.SharedFilter;
30 import android.media.tv.tuner.filter.SharedFilterCallback;
DTunerDvrTest.java17 package android.media.tv.tuner.cts;
24 import android.media.tv.tuner.Tuner;
25 import android.media.tv.tuner.TunerVersionChecker;
26 import android.media.tv.tuner.dvr.DvrPlayback;
27 import android.media.tv.tuner.dvr.DvrRecorder;
28 import android.media.tv.tuner.dvr.DvrSettings;
29 import android.media.tv.tuner.dvr.OnPlaybackStatusChangedListener;
30 import android.media.tv.tuner.dvr.OnRecordStatusChangedListener;
31 import android.media.tv.tuner.filter.Filter;
32 import android.media.tv.tuner.filter.FilterCallback;
[all …]
DTunerResourceTestService.java17 package android.media.tv.tuner.cts;
22 import android.hardware.tv.tuner.Result;
23 import android.media.tv.tuner.Tuner;
24 import android.media.tv.tuner.frontend.FrontendInfo;
25 import android.media.tv.tuner.frontend.FrontendSettings;
DTunerFilterTest.java17 package android.media.tv.tuner.cts;
25 import android.media.tv.tuner.Tuner;
26 import android.media.tv.tuner.TunerVersionChecker;
27 import android.media.tv.tuner.filter.AlpFilterConfiguration;
28 import android.media.tv.tuner.filter.AvSettings;
29 import android.media.tv.tuner.filter.DownloadSettings;
30 import android.media.tv.tuner.filter.Filter;
31 import android.media.tv.tuner.filter.IpFilterConfiguration;
32 import android.media.tv.tuner.filter.MmtpFilterConfiguration;
33 import android.media.tv.tuner.filter.PesSettings;
[all …]
/cts/tests/tests/tv/src/android/media/tv/ad/cts/
DTvAdStubActivity.java17 package android.media.tv.ad.cts;
20 import android.media.tv.TvView;
21 import android.media.tv.ad.TvAdView;
23 import android.tv.cts.R;
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/
DTvInteractiveAppViewStubActivity.java17 package android.media.tv.interactive.cts;
20 import android.media.tv.TvView;
21 import android.media.tv.interactive.TvInteractiveAppView;
23 import android.tv.cts.R;
DStubTvInputService2.java17 package android.media.tv.interactive.cts;
20 import android.media.tv.AdBuffer;
21 import android.media.tv.AdRequest;
22 import android.media.tv.AdResponse;
23 import android.media.tv.AitInfo;
24 import android.media.tv.BroadcastInfoRequest;
25 import android.media.tv.BroadcastInfoResponse;
26 import android.media.tv.TvInputService;
/cts/tests/tests/tv/src/android/media/tv/cts/
DHardwareSessionTest.java17 package android.media.tv.cts;
22 import android.media.tv.TvContract;
23 import android.media.tv.TvInputInfo;
24 import android.media.tv.TvInputManager;
25 import android.media.tv.TvInputService;
26 import android.media.tv.TvView;
27 import android.media.tv.cts.HardwareSessionTest.HardwareProxyTvInputService.CountingSession;
32 import android.tv.cts.R;
DTvViewStubActivity.java17 package android.media.tv.cts;
22 import android.media.tv.TvView;
24 import android.tv.cts.R;
DBundledTvInputServiceTest.java17 package android.media.tv.cts;
22 import android.media.tv.TvContract;
23 import android.media.tv.TvInputInfo;
24 import android.media.tv.TvInputManager;
25 import android.media.tv.TvView;
30 import android.tv.cts.R;
/cts/tests/app/app/src/android/app/stubs/
DActivityManagerStubFooActivity.java28 final TextView tv = new TextView(this); in onCreate() local
29 tv.setText("Hello, Android"); in onCreate()
30 setContentView(tv); in onCreate()
DActivityManagerStubCrashActivity.java28 final TextView tv = new TextView(this); in onCreate() local
29 tv.setText("Hello, Android but crash"); in onCreate()
30 setContentView(tv); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DBaseActivity.java28 TextView tv = new TextView(this); in onCreate() local
30 tv.setText("2 + 3 = " + Integer.toString(sum)); in onCreate()
31 setContentView(tv); in onCreate()
/cts/tests/tests/text/src/android/text/util/cts/
DLinkifyTest.java140 TextView tv = new TextView(mContext); in testAddLinksToTextView() local
141 tv.setText(text); in testAddLinksToTextView()
143 assertTrue(Linkify.addLinks(tv, Linkify.WEB_URLS)); in testAddLinksToTextView()
144 URLSpan[] spans = ((Spannable) tv.getText()).getSpans(0, text.length(), URLSpan.class); in testAddLinksToTextView()
149 tv.setText(spannable); in testAddLinksToTextView()
150 assertTrue(Linkify.addLinks(tv, Linkify.EMAIL_ADDRESSES)); in testAddLinksToTextView()
151 spans = ((Spannable) tv.getText()).getSpans(0, text.length(), URLSpan.class); in testAddLinksToTextView()
168 TextView tv = new TextView(mContext); in testAddLinksToTextViewWithScheme() local
169 tv.setText(text); in testAddLinksToTextViewWithScheme()
171 Linkify.addLinks(tv, LINKIFY_TEST_PATTERN, "Test:"); in testAddLinksToTextViewWithScheme()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java298 TextView tv = findTextView(R.id.textview_text); in testAccessText() local
301 tv.setText(expected); in testAccessText()
302 assertEquals(expected, tv.getText().toString()); in testAccessText()
304 tv.setText(null); in testAccessText()
305 assertEquals("", tv.getText().toString()); in testAccessText()
1644 TextView tv = findTextView(R.id.textview_text); in testGetEditableText() local
1647 tv.setText(text, BufferType.EDITABLE); in testGetEditableText()
1648 assertEquals(text, tv.getText().toString()); in testGetEditableText()
1649 assertTrue(tv.getText() instanceof Editable); in testGetEditableText()
1650 assertEquals(text, tv.getEditableText().toString()); in testGetEditableText()
[all …]
DTabHostCtsActivity.java50 final TextView tv = new TextView(getApplicationContext()); in createTabContent() local
51 tv.setText(INITIAL_VIEW_TEXT); in createTabContent()
52 return tv; in createTabContent()
/cts/tests/tests/content/src/android/content/res/cts/
DResources_ThemeTest.java203 final TypedValue tv = new TypedValue(); in testEmptyDoesNotGetOverriden() local
204 assertTrue(theme.resolveAttribute(R.attr.type1, tv, false)); in testEmptyDoesNotGetOverriden()
205 assertEquals(TypedValue.TYPE_NULL, tv.type); in testEmptyDoesNotGetOverriden()
206 assertEquals(TypedValue.DATA_NULL_EMPTY, tv.data); in testEmptyDoesNotGetOverriden()
210 assertTrue(theme.resolveAttribute(R.attr.type1, tv, false)); in testEmptyDoesNotGetOverriden()
211 assertEquals(TypedValue.TYPE_NULL, tv.type); in testEmptyDoesNotGetOverriden()
212 assertEquals(TypedValue.DATA_NULL_EMPTY, tv.data); in testEmptyDoesNotGetOverriden()
216 assertTrue(theme.resolveAttribute(R.attr.type1, tv, false)); in testEmptyDoesNotGetOverriden()
217 assertNotSame(TypedValue.TYPE_NULL, tv.type); in testEmptyDoesNotGetOverriden()

123456