Home
last modified time | relevance | path

Searched refs:TEST_ID (Results 1 – 8 of 8) sorted by relevance

/cts/tests/controls/src/android/controls/cts/
DCtsControlTemplateTest.java52 private static final String TEST_ID = "TEST_ID"; field in CtsControlTemplateTest
78 ControlTemplate toParcel = new ToggleTemplate(TEST_ID, mControlButton); in testUnparcelingCorrectClass_toggle()
88 ControlTemplate toParcel = new RangeTemplate(TEST_ID, 0, 2, 1, 1, "%f"); in testUnparcelingCorrectClass_range()
98 new RangeTemplate(TEST_ID, 2, 0, 1, 1, "%f"); in testRangeParameters_minMax()
103 new RangeTemplate(TEST_ID, 0, 2, -1, 1, "%f"); in testRangeParameters_minCurrent()
108 new RangeTemplate(TEST_ID, 0, 2, 3, 1, "%f"); in testRangeParameters_maxCurrent()
113 new RangeTemplate(TEST_ID, 0, 2, 1, -1, "%f"); in testRangeParameters_negativeStep()
119 TEST_ID, false, mIcon, TEST_ACTION_DESCRIPTION); in testUnparcelingCorrectClass_thumbnail()
130 TEST_ID, false, mIcon, TEST_ACTION_DESCRIPTION); in testThumbnailTemplate_isActive()
134 template = new ThumbnailTemplate(TEST_ID, true, mIcon, TEST_ACTION_DESCRIPTION); in testThumbnailTemplate_isActive()
[all …]
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DRoutingSessionInfoTest.java51 public static final String TEST_ID = "test_id"; field in RoutingSessionInfoTest
78 final String validId = TEST_ID; in testBuilderConstructorWithInvalidValues()
111 TEST_ID, "" /* clientPackageName*/); in testBuilderConstructorWithEmptyClientPackageName()
117 TEST_ID, TEST_CLIENT_PACKAGE_NAME); in testBuilderBuildWithEmptySelectedRoutesThrowsIAE()
125 TEST_ID, TEST_CLIENT_PACKAGE_NAME); in testBuilderAddRouteMethodsWithIllegalArgumentsThrowsIAE()
152 TEST_ID, TEST_CLIENT_PACKAGE_NAME); in testBuilderRemoveRouteMethodsWithIllegalArgumentsThrowsIAE()
182 TEST_ID, TEST_CLIENT_PACKAGE_NAME) in testBuilderAndGettersOfRoutingSessionInfo()
197 assertThat(sessionInfo.getId()).isEqualTo(TEST_ID); in testBuilderAndGettersOfRoutingSessionInfo()
227 TEST_ID, TEST_CLIENT_PACKAGE_NAME) in testBuilderAddRouteMethodsWithBuilderCopyConstructor()
257 TEST_ID, TEST_CLIENT_PACKAGE_NAME) in testBuilderRemoveRouteMethods()
[all …]
DMediaRoute2InfoTest.java51 public static final String TEST_ID = "test_id"; field in MediaRoute2InfoTest
109 MediaRoute2Info.Builder builder = new MediaRoute2Info.Builder(TEST_ID, TEST_NAME); in testBuilderBuildWithEmptyRouteTypesShouldThrowIAE()
119 new MediaRoute2Info.Builder(TEST_ID, TEST_NAME) in testBuilderAndGettersOfMediaRoute2Info()
133 assertThat(routeInfo.getId()).isEqualTo(TEST_ID); in testBuilderAndGettersOfMediaRoute2Info()
156 MediaRoute2Info routeInfo = new MediaRoute2Info.Builder(TEST_ID, TEST_NAME) in testBuilderSetExtrasWithNull()
170 MediaRoute2Info routeInfo = new MediaRoute2Info.Builder(TEST_ID, TEST_NAME) in testBuilderaddFeatures()
179 MediaRoute2Info routeInfo = new MediaRoute2Info.Builder(TEST_ID, TEST_NAME) in testBuilderclearFeatures()
193 new MediaRoute2Info.Builder(TEST_ID, TEST_NAME) in testBuilderCreatePublicRouteInfoByDefault()
203 new MediaRoute2Info.Builder(TEST_ID, TEST_NAME) in testRouteInfoSeenByItsCreatorPackage()
215 new MediaRoute2Info.Builder(TEST_ID, TEST_NAME) in testRouteInfoSeenOnlyByItsAllowedPackages()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DRtpHeaderExtensionTypeTest.java32 private static final int TEST_ID = 1; field in RtpHeaderExtensionTypeTest
37 RtpHeaderExtensionType test = new RtpHeaderExtensionType(TEST_ID, TEST_URI); in testParceling()
38 assertEquals(TEST_ID, test.getLocalIdentifier()); in testParceling()
/cts/tests/tests/app/src/android/app/cts/
DShareIdentityTest.java369 private static final AtomicInteger TEST_ID = new AtomicInteger(); field in ShareIdentityTest
405 int testId = TEST_ID.getAndIncrement(); in testShareIdentity_explicitIdentityShared_identityAvailableToActivity()
421 int testId = TEST_ID.getAndIncrement(); in testShareIdentity_defaultIdentityNotShared_identityNotAvailableToActivity()
442 int testId = TEST_ID.getAndIncrement(); in testShareIdentity_explicitIdentityNotShared_identityNotAvailableToActivity()
466 int testId = TEST_ID.getAndIncrement(); in testShareIdentity_identityNotSharedSameUid_identityAvailableToActivity()
496 int testId = TEST_ID.getAndIncrement(); in testShareIdentity_startActivityForResult_identityNotAvailableToActivity()
520 int testId = TEST_ID.getAndIncrement(); in testShareIdentity_sendBroadcastToRuntimeReceiverIdentityShared_identityAvailable()
536 int testId = TEST_ID.getAndIncrement(); in testShareIdentity_sendBroadcastToManifestReceiverIdentityShared_identityAvailable()
554 int testId = TEST_ID.getAndIncrement(); in testShareIdentity_sendBroadcastToRuntimeReceiverIdentityNotShared_identityNotAvailable()
577 int testId = TEST_ID.getAndIncrement(); in testShareIdentity_sendBroadcastToManifestReceiverIdentityNotShared_identityNotAvailable()
[all …]
/cts/tests/framework/base/suggestions/src/android/service/settings/suggestions/
DSuggestionTest.java39 private static final String TEST_ID = "id"; field in SuggestionTest
58 final Suggestion suggestion = new Suggestion.Builder(TEST_ID) in buildSuggestion_allFieldsShouldBeSet()
65 assertThat(suggestion.getId()).isEqualTo(TEST_ID); in buildSuggestion_allFieldsShouldBeSet()
86 final Suggestion oldSuggestion = new Suggestion.Builder(TEST_ID) in buildSuggestion_fromParcelable()
98 assertThat(newSuggestion.getId()).isEqualTo(TEST_ID); in buildSuggestion_fromParcelable()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DPrintDocumentActivity.java34 mTestId = getIntent().getIntExtra(BasePrintTest.TEST_ID, -1); in onCreate()
DBasePrintTest.java113 static final String TEST_ID = "BasePrintTest.EXTRA_TEST_ID"; field in BasePrintTest
637 intent.putExtra(TEST_ID, mTestId); in createActivity()