/cts/tests/controls/src/android/controls/cts/ |
D | CtsControlTemplateTest.java | 52 private static final String TEST_ID = "TEST_ID"; field in CtsControlTemplateTest 77 ControlTemplate toParcel = new ToggleTemplate(TEST_ID, mControlButton); in testUnparcelingCorrectClass_toggle() 87 ControlTemplate toParcel = new RangeTemplate(TEST_ID, 0, 2, 1, 1, "%f"); in testUnparcelingCorrectClass_range() 97 new RangeTemplate(TEST_ID, 2, 0, 1, 1, "%f"); in testRangeParameters_minMax() 102 new RangeTemplate(TEST_ID, 0, 2, -1, 1, "%f"); in testRangeParameters_minCurrent() 107 new RangeTemplate(TEST_ID, 0, 2, 3, 1, "%f"); in testRangeParameters_maxCurrent() 112 new RangeTemplate(TEST_ID, 0, 2, 1, -1, "%f"); in testRangeParameters_negativeStep() 118 TEST_ID, false, mIcon, TEST_ACTION_DESCRIPTION); in testUnparcelingCorrectClass_thumbnail() 129 TEST_ID, false, mIcon, TEST_ACTION_DESCRIPTION); in testThumbnailTemplate_isActive() 133 template = new ThumbnailTemplate(TEST_ID, true, mIcon, TEST_ACTION_DESCRIPTION); in testThumbnailTemplate_isActive() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | RtpHeaderExtensionTypeTest.java | 32 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/media/src/android/media/cts/ |
D | MediaRoute2InfoTest.java | 49 public static final String TEST_ID = "test_id"; field in MediaRoute2InfoTest 104 MediaRoute2Info.Builder builder = new MediaRoute2Info.Builder(TEST_ID, TEST_NAME); in testBuilderBuildWithEmptyRouteTypesShouldThrowIAE() 113 MediaRoute2Info routeInfo = new MediaRoute2Info.Builder(TEST_ID, TEST_NAME) in testBuilderAndGettersOfMediaRoute2Info() 126 assertEquals(TEST_ID, routeInfo.getId()); in testBuilderAndGettersOfMediaRoute2Info() 149 MediaRoute2Info routeInfo = new MediaRoute2Info.Builder(TEST_ID, TEST_NAME) in testBuilderSetExtrasWithNull() 163 MediaRoute2Info routeInfo = new MediaRoute2Info.Builder(TEST_ID, TEST_NAME) in testBuilderaddFeatures() 172 MediaRoute2Info routeInfo = new MediaRoute2Info.Builder(TEST_ID, TEST_NAME) in testBuilderclearFeatures() 189 MediaRoute2Info routeInfo1 = new MediaRoute2Info.Builder(TEST_ID, TEST_NAME) in testEqualsCreatedWithSameArguments() 202 MediaRoute2Info routeInfo2 = new MediaRoute2Info.Builder(TEST_ID, TEST_NAME) in testEqualsCreatedWithSameArguments() 224 MediaRoute2Info routeInfo1 = new MediaRoute2Info.Builder(TEST_ID, TEST_NAME) in testEqualsCreatedWithBuilderCopyConstructor() [all …]
|
D | RoutingSessionInfoTest.java | 44 public static final String TEST_ID = "test_id"; field in RoutingSessionInfoTest 72 final String validId = TEST_ID; in testBuilderConstructorWithInvalidValues() 105 TEST_ID, "" /* clientPackageName*/); in testBuilderConstructorWithEmptyClientPackageName() 111 TEST_ID, TEST_CLIENT_PACKAGE_NAME); in testBuilderBuildWithEmptySelectedRoutesThrowsIAE() 119 TEST_ID, TEST_CLIENT_PACKAGE_NAME); in testBuilderAddRouteMethodsWithIllegalArgumentsThrowsIAE() 146 TEST_ID, TEST_CLIENT_PACKAGE_NAME); in testBuilderRemoveRouteMethodsWithIllegalArgumentsThrowsIAE() 176 TEST_ID, TEST_CLIENT_PACKAGE_NAME) in testBuilderAndGettersOfRoutingSessionInfo() 192 assertEquals(TEST_ID, sessionInfo.getId()); in testBuilderAndGettersOfRoutingSessionInfo() 225 TEST_ID, TEST_CLIENT_PACKAGE_NAME) in testBuilderAddRouteMethodsWithBuilderCopyConstructor() 259 TEST_ID, TEST_CLIENT_PACKAGE_NAME) in testBuilderRemoveRouteMethods() [all …]
|
/cts/tests/framework/base/suggestions/src/android/service/settings/suggestions/ |
D | SuggestionTest.java | 39 private static final String TEST_ID = "id"; field in SuggestionTest 57 final Suggestion suggestion = new Suggestion.Builder(TEST_ID) in buildSuggestion_allFieldsShouldBeSet() 64 assertThat(suggestion.getId()).isEqualTo(TEST_ID); in buildSuggestion_allFieldsShouldBeSet() 85 final Suggestion oldSuggestion = new Suggestion.Builder(TEST_ID) in buildSuggestion_fromParcelable() 97 assertThat(newSuggestion.getId()).isEqualTo(TEST_ID); in buildSuggestion_fromParcelable()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
D | PrintDocumentActivity.java | 34 mTestId = getIntent().getIntExtra(BasePrintTest.TEST_ID, -1); in onCreate()
|
D | BasePrintTest.java | 113 static final String TEST_ID = "BasePrintTest.EXTRA_TEST_ID"; field in BasePrintTest 637 intent.putExtra(TEST_ID, mTestId); in createActivity()
|