/cts/tests/tests/car/src/android/car/cts/ |
D | VehiclePropertyIdsTest.java | 64 .isEqualTo("INVALID"); in testToString() 66 .isEqualTo("IGNITION_STATE"); in testToString() 68 .isEqualTo("INFO_DRIVER_SEAT"); in testToString() 70 .isEqualTo("INFO_EV_BATTERY_CAPACITY"); in testToString() 72 .isEqualTo("INFO_EV_CONNECTOR_TYPE"); in testToString() 74 .isEqualTo("INFO_EV_PORT_LOCATION"); in testToString() 76 .isEqualTo("INFO_EXTERIOR_DIMENSIONS"); in testToString() 78 .isEqualTo("INFO_FUEL_CAPACITY"); in testToString() 80 .isEqualTo("INFO_FUEL_DOOR_LOCATION"); in testToString() 82 .isEqualTo("INFO_FUEL_TYPE"); in testToString() [all …]
|
D | VehicleGearTest.java | 39 assertThat(VehicleGear.toString(VehicleGear.GEAR_UNKNOWN)).isEqualTo("GEAR_UNKNOWN"); in testToString() 40 assertThat(VehicleGear.toString(VehicleGear.GEAR_NEUTRAL)).isEqualTo("GEAR_NEUTRAL"); in testToString() 41 assertThat(VehicleGear.toString(VehicleGear.GEAR_REVERSE)).isEqualTo("GEAR_REVERSE"); in testToString() 42 assertThat(VehicleGear.toString(VehicleGear.GEAR_PARK)).isEqualTo("GEAR_PARK"); in testToString() 43 assertThat(VehicleGear.toString(VehicleGear.GEAR_DRIVE)).isEqualTo("GEAR_DRIVE"); in testToString() 44 assertThat(VehicleGear.toString(VehicleGear.GEAR_FIRST)).isEqualTo("GEAR_FIRST"); in testToString() 45 assertThat(VehicleGear.toString(VehicleGear.GEAR_SECOND)).isEqualTo("GEAR_SECOND"); in testToString() 46 assertThat(VehicleGear.toString(VehicleGear.GEAR_THIRD)).isEqualTo("GEAR_THIRD"); in testToString() 47 assertThat(VehicleGear.toString(VehicleGear.GEAR_FOURTH)).isEqualTo("GEAR_FOURTH"); in testToString() 48 assertThat(VehicleGear.toString(VehicleGear.GEAR_FIFTH)).isEqualTo("GEAR_FIFTH"); in testToString() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/ |
D | TestTheme.java | 103 assertThat(mName).isEqualTo("Base Theme"); in assertThemeBaseValues() 104 assertThat(mBaseColor).isEqualTo(COLOR_BLACK); in assertThemeBaseValues() 105 assertThat(mNavigationBarColor).isEqualTo(COLOR_RED); in assertThemeBaseValues() 106 assertThat(mStatusBarColor).isEqualTo(COLOR_GREEN); in assertThemeBaseValues() 107 assertThat(mWindowBackground).isEqualTo(mBaseColor); in assertThemeBaseValues() 111 assertThat(mName).isEqualTo("Base Theme Polish"); in assertThemeBaseValues_pl() 112 assertThat(mBaseColor).isEqualTo(COLOR_GREEN); in assertThemeBaseValues_pl() 113 assertThat(mNavigationBarColor).isEqualTo(COLOR_BLACK); in assertThemeBaseValues_pl() 114 assertThat(mStatusBarColor).isEqualTo(COLOR_RED); in assertThemeBaseValues_pl() 115 assertThat(mWindowBackground).isEqualTo(mBaseColor); in assertThemeBaseValues_pl() [all …]
|
/cts/hostsidetests/media/src/android/media/metrics/cts/ |
D | MediaMetricsAtomTests.java | 82 assertThat(data.size()).isEqualTo(1); in testPlaybackStateEvent_default() 86 assertThat(result.getPlaybackState().toString()).isEqualTo("NOT_STARTED"); in testPlaybackStateEvent_default() 87 assertThat(result.getTimeSincePlaybackCreatedMillis()).isEqualTo(-1L); in testPlaybackStateEvent_default() 102 assertThat(data.size()).isEqualTo(1); in testPlaybackStateEvent() 106 assertThat(result.getPlaybackState().toString()).isEqualTo("JOINING_FOREGROUND"); in testPlaybackStateEvent() 107 assertThat(result.getTimeSincePlaybackCreatedMillis()).isEqualTo(1763L); in testPlaybackStateEvent() 122 assertThat(data.size()).isEqualTo(1); in testPlaybackErrorEvent_default() 127 assertThat(result.getTimeSincePlaybackCreatedMillis()).isEqualTo(-1L); in testPlaybackErrorEvent_default() 128 assertThat(result.getErrorCode().toString()).isEqualTo("ERROR_CODE_UNKNOWN"); in testPlaybackErrorEvent_default() 129 assertThat(result.getSubErrorCode()).isEqualTo(0); in testPlaybackErrorEvent_default() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | Paint_TextBoundsTest.java | 76 assertThat(r.left).isEqualTo(0); in testSingleChar_1em() 77 assertThat(r.top).isEqualTo(-100); in testSingleChar_1em() 78 assertThat(r.right).isEqualTo(100); in testSingleChar_1em() 79 assertThat(r.bottom).isEqualTo(0); in testSingleChar_1em() 87 assertThat(r.left).isEqualTo(0); in testSingleChar_2em() 88 assertThat(r.top).isEqualTo(-200); in testSingleChar_2em() 89 assertThat(r.right).isEqualTo(200); in testSingleChar_2em() 90 assertThat(r.bottom).isEqualTo(0); in testSingleChar_2em() 98 assertThat(r.left).isEqualTo(100); in testSingleChar_2em_with_lsb() 99 assertThat(r.top).isEqualTo(-200); in testSingleChar_2em_with_lsb() [all …]
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/ |
D | ViewNodeTest.java | 63 assertThat(node.getAutofillId()).isEqualTo(initialId); in testAutofillIdMethods_orphanView() 68 assertThat(node.getAutofillId()).isEqualTo(newId); in testAutofillIdMethods_orphanView() 72 assertThat(node.getAutofillId()).isEqualTo(new AutofillId(66, 6)); in testAutofillIdMethods_orphanView() 73 assertThat(node.getParentAutofillId()).isEqualTo(new AutofillId(66)); in testAutofillIdMethods_orphanView() 91 assertThat(node.getAutofillId()).isEqualTo(initialChildId); in testAutofillIdMethods_parentedView() 92 assertThat(node.getParentAutofillId()).isEqualTo(initialParentId); in testAutofillIdMethods_parentedView() 96 assertThat(node.getAutofillId()).isEqualTo(newChildId); in testAutofillIdMethods_parentedView() 97 assertThat(node.getParentAutofillId()).isEqualTo(initialParentId); in testAutofillIdMethods_parentedView() 101 assertThat(node.getAutofillId()).isEqualTo(newChildId); in testAutofillIdMethods_parentedView() 102 assertThat(node.getParentAutofillId()).isEqualTo(initialParentId); in testAutofillIdMethods_parentedView() [all …]
|
/cts/tests/location/location_none/src/android/location/cts/none/ |
D | LocationRequestTest.java | 39 assertThat(request.getIntervalMillis()).isEqualTo(0); in testBuild_Defaults() 40 assertThat(request.getQuality()).isEqualTo(LocationRequest.QUALITY_BALANCED_POWER_ACCURACY); in testBuild_Defaults() 41 assertThat(request.getMinUpdateIntervalMillis()).isEqualTo(0); in testBuild_Defaults() 42 assertThat(request.getDurationMillis()).isEqualTo(Long.MAX_VALUE); in testBuild_Defaults() 43 assertThat(request.getMaxUpdates()).isEqualTo(Integer.MAX_VALUE); in testBuild_Defaults() 44 assertThat(request.getMinUpdateDistanceMeters()).isEqualTo(0f); in testBuild_Defaults() 45 assertThat(request.isHiddenFromAppOps()).isEqualTo(false); in testBuild_Defaults() 46 assertThat(request.isLocationSettingsIgnored()).isEqualTo(false); in testBuild_Defaults() 47 assertThat(request.isLowPower()).isEqualTo(false); in testBuild_Defaults() 62 assertThat(request.getIntervalMillis()).isEqualTo(5000); in testBuild_Explicit() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | CompositeUserDataTest.java | 90 assertThat(categoryIds.length).isEqualTo(1); in testMerge_nullGenericUserData() 91 assertThat(categoryIds[0]).isEqualTo(mCategoryId3); in testMerge_nullGenericUserData() 94 assertThat(values.length).isEqualTo(1); in testMerge_nullGenericUserData() 95 assertThat(values[0]).isEqualTo(mValue3); in testMerge_nullGenericUserData() 107 assertThat(categoryIds.length).isEqualTo(2); in testMerge_bothEmpty() 108 assertThat(categoryIds[0]).isEqualTo(mCategoryId3); in testMerge_bothEmpty() 109 assertThat(categoryIds[1]).isEqualTo(mCategoryId); in testMerge_bothEmpty() 112 assertThat(values.length).isEqualTo(2); in testMerge_bothEmpty() 113 assertThat(values[0]).isEqualTo(mValue3); in testMerge_bothEmpty() 114 assertThat(values[1]).isEqualTo(mValue); in testMerge_bothEmpty() [all …]
|
/cts/tests/translation/src/android/translation/cts/unittests/ |
D | TranslationRequestTest.java | 52 assertThat(request.getTranslationRequestValues().size()).isEqualTo(0); in testBuilder_validViewTranslationRequest() 53 assertThat(request.getViewTranslationRequests().size()).isEqualTo(1); in testBuilder_validViewTranslationRequest() 57 assertThat(viewRequest.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_validViewTranslationRequest() 58 assertThat(viewRequest.getKeys().size()).isEqualTo(1); in testBuilder_validViewTranslationRequest() 60 assertThat(viewRequest.getValue("sample id").getText().toString()).isEqualTo("sample text"); in testBuilder_validViewTranslationRequest() 71 assertThat(request.getTranslationRequestValues().size()).isEqualTo(1); in testBuilder_validTranslationRequestValue() 72 assertThat(request.getViewTranslationRequests().size()).isEqualTo(0); in testBuilder_validTranslationRequestValue() 76 assertThat(value.getText().toString()).isEqualTo("hello"); in testBuilder_validTranslationRequestValue() 85 assertThat(request.getFlags()).isEqualTo(TranslationRequest.FLAG_PARTIAL_RESPONSES); in testBuilder_validFlags() 86 assertThat(request.getTranslationRequestValues().size()).isEqualTo(0); in testBuilder_validFlags() [all …]
|
D | TranslationResponseTest.java | 61 assertThat(response.getTranslationResponseValues().size()).isEqualTo(0); in testBuilder_validViewTranslationResponse() 62 assertThat(response.getViewTranslationResponses().size()).isEqualTo(1); in testBuilder_validViewTranslationResponse() 66 assertThat(viewResponse.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_validViewTranslationResponse() 67 assertThat(viewResponse.getKeys().size()).isEqualTo(1); in testBuilder_validViewTranslationResponse() 68 assertThat(viewResponse.getValue("sample id").getText()).isEqualTo("sample text"); in testBuilder_validViewTranslationResponse() 83 assertThat(response.getTranslationResponseValues().size()).isEqualTo(0); in testBuilder_errorViewTranslationResponse() 84 assertThat(response.getViewTranslationResponses().size()).isEqualTo(1); in testBuilder_errorViewTranslationResponse() 88 assertThat(viewResponse.getAutofillId()).isEqualTo(new AutofillId(42)); in testBuilder_errorViewTranslationResponse() 89 assertThat(viewResponse.getKeys().size()).isEqualTo(1); in testBuilder_errorViewTranslationResponse() 91 .isEqualTo(TranslationResponseValue.STATUS_ERROR); in testBuilder_errorViewTranslationResponse() [all …]
|
D | ViewTranslationRequestTest.java | 50 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(mAutofillId, 12345L, 0)); in testBuilderVirtualAutofillId_validSetText() 51 assertThat(request.getKeys().size()).isEqualTo(1); in testBuilderVirtualAutofillId_validSetText() 53 assertThat(request.getValue("sample id").getText()).isEqualTo("sample text"); in testBuilderVirtualAutofillId_validSetText() 63 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_validSetText() 64 assertThat(request.getKeys().size()).isEqualTo(1); in testBuilder_validSetText() 66 assertThat(request.getValue("sample id").getText()).isEqualTo("sample text"); in testBuilder_validSetText() 78 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_setTextTwice() 79 assertThat(request.getKeys().size()).isEqualTo(1); in testBuilder_setTextTwice() 81 assertThat(request.getValue("sample id").getText()).isEqualTo("text2"); in testBuilder_setTextTwice() 91 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(17)); in testGetValue_invalidId() [all …]
|
D | TranslationContextTest.java | 57 .isEqualTo(TranslationContext.FLAG_DEFINITIONS); in testContext_validContext() 59 assertThat(context.getSourceSpec().getLocale()).isEqualTo(ULocale.ENGLISH); in testContext_validContext() 61 .isEqualTo(TranslationSpec.DATA_FORMAT_TEXT); in testContext_validContext() 63 assertThat(context.getTargetSpec().getLocale()).isEqualTo(ULocale.FRENCH); in testContext_validContext() 65 .isEqualTo(TranslationSpec.DATA_FORMAT_TEXT); in testContext_validContext() 73 assertThat(context.getTranslationFlags()).isEqualTo(0); in testParceledContext() 75 assertThat(context.getSourceSpec().getLocale()).isEqualTo(ULocale.ENGLISH); in testParceledContext() 77 .isEqualTo(TranslationSpec.DATA_FORMAT_TEXT); in testParceledContext() 79 assertThat(context.getTargetSpec().getLocale()).isEqualTo(ULocale.FRENCH); in testParceledContext() 81 .isEqualTo(TranslationSpec.DATA_FORMAT_TEXT); in testParceledContext() [all …]
|
D | TranslationCapabilityTest.java | 62 .isEqualTo(TranslationCapability.STATE_AVAILABLE_TO_DOWNLOAD); in testCapability_validCapability() 64 .isEqualTo(TranslationContext.FLAG_TRANSLITERATION); in testCapability_validCapability() 67 assertThat(capability.getSourceSpec().getLocale()).isEqualTo(ULocale.ENGLISH); in testCapability_validCapability() 69 .isEqualTo(TranslationSpec.DATA_FORMAT_TEXT); in testCapability_validCapability() 71 assertThat(capability.getTargetSpec().getLocale()).isEqualTo(ULocale.FRENCH); in testCapability_validCapability() 73 .isEqualTo(TranslationSpec.DATA_FORMAT_TEXT); in testCapability_validCapability() 84 .isEqualTo(TranslationCapability.STATE_AVAILABLE_TO_DOWNLOAD); in testParceledCapability() 86 .isEqualTo(TranslationContext.FLAG_TRANSLITERATION); in testParceledCapability() 89 assertThat(capability.getSourceSpec().getLocale()).isEqualTo(ULocale.ENGLISH); in testParceledCapability() 91 .isEqualTo(TranslationSpec.DATA_FORMAT_TEXT); in testParceledCapability() [all …]
|
D | ViewTranslationResponseTest.java | 53 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_validAddText() 54 assertThat(request.getKeys().size()).isEqualTo(1); in testBuilder_validAddText() 55 assertThat(request.getValue("sample id").getText()).isEqualTo("sample text"); in testBuilder_validAddText() 64 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_validAddError() 65 assertThat(request.getKeys().size()).isEqualTo(1); in testBuilder_validAddError() 67 .isEqualTo(TranslationResponseValue.STATUS_ERROR); in testBuilder_validAddError() 79 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(17)); in testGetValue_invalidId() 80 assertThat(request.getKeys().size()).isEqualTo(1); in testGetValue_invalidId() 81 assertThat(request.getValue("sample id").getText().toString()).isEqualTo("sample text"); in testGetValue_invalidId() 101 assertThat(request.getAutofillId()).isEqualTo(new AutofillId(17)); in testBuilder_multipleResults() [all …]
|
/cts/tests/smartspace/src/android/smartspace/cts/ |
D | SmartspaceTargetTest.java | 71 assertThat(testTarget.getSmartspaceTargetId()).isEqualTo("test_target_id"); in testCreateSmartspaceTarget() 72 assertThat(testTarget.getHeaderAction()).isEqualTo(createSmartspaceAction("header")); in testCreateSmartspaceTarget() 73 assertThat(testTarget.getBaseAction()).isEqualTo(createSmartspaceAction("base")); in testCreateSmartspaceTarget() 74 assertThat(testTarget.getCreationTimeMillis()).isEqualTo(10); in testCreateSmartspaceTarget() 75 assertThat(testTarget.getExpiryTimeMillis()).isEqualTo(15); in testCreateSmartspaceTarget() 76 assertThat(testTarget.getScore()).isEqualTo(0.5f); in testCreateSmartspaceTarget() 77 assertThat(testTarget.getActionChips().size()).isEqualTo(1); in testCreateSmartspaceTarget() 78 assertThat(testTarget.getActionChips().get(0)).isEqualTo(createSmartspaceAction("chips")); in testCreateSmartspaceTarget() 79 assertThat(testTarget.getIconGrid().size()).isEqualTo(1); in testCreateSmartspaceTarget() 80 assertThat(testTarget.getIconGrid().get(0)).isEqualTo(createSmartspaceAction("icon_grid")); in testCreateSmartspaceTarget() [all …]
|
/cts/tests/tests/notificationlegacy/notificationlegacy30/src/android/app/notification/legacy30/cts/ |
D | NotificationTemplateApi30Test.kt | 29 assertThat(mContext.applicationInfo.targetSdkVersion).isEqualTo(30) in <lambda>() 40 assertThat(iconView.visibility).isEqualTo(View.VISIBLE) in <lambda>() 41 assertThat(iconView.width).isEqualTo(iconView.height) in <lambda>() 53 assertThat(iconView.visibility).isEqualTo(View.VISIBLE) in <lambda>() 54 assertThat(iconView.width).isEqualTo(iconView.height) in <lambda>() 68 assertThat(iconView.visibility).isEqualTo(View.VISIBLE) in <lambda>() 69 assertThat(iconView.width).isEqualTo(iconView.height) in <lambda>() 82 assertThat(iconView.visibility).isEqualTo(View.VISIBLE) in <lambda>() 83 assertThat(iconView.width).isEqualTo(iconView.height) in <lambda>() 98 assertThat(iconView.visibility).isEqualTo(View.VISIBLE) in <lambda>() [all …]
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | GenericDocumentCtsTest.java | 43 assertThat(GenericDocument.getMaxIndexedProperties()).isEqualTo(16); in testMaxIndexedProperties() 74 assertThat(document1).isEqualTo(document2); in testDocumentEquals_identical() 75 assertThat(document1.hashCode()).isEqualTo(document2.hashCode()); in testDocumentEquals_identical() 106 assertThat(document1).isEqualTo(document2); in testDocumentEquals_differentOrder() 107 assertThat(document1.hashCode()).isEqualTo(document2.hashCode()); in testDocumentEquals_differentOrder() 160 assertThat(document.getId()).isEqualTo("id1"); in testDocumentGetSingleValue() 161 assertThat(document.getTtlMillis()).isEqualTo(1L); in testDocumentGetSingleValue() 162 assertThat(document.getSchemaType()).isEqualTo("schemaType1"); in testDocumentGetSingleValue() 163 assertThat(document.getCreationTimestampMillis()).isEqualTo(5); in testDocumentGetSingleValue() 164 assertThat(document.getScore()).isEqualTo(1); in testDocumentGetSingleValue() [all …]
|
D | SearchResultCtsTest.java | 48 assertThat(searchResult.getPackageName()).isEqualTo("packageName"); in testBuildSearchResult() 49 assertThat(searchResult.getDatabaseName()).isEqualTo("databaseName"); in testBuildSearchResult() 50 assertThat(searchResult.getRankingSignal()).isEqualTo(2.9); in testBuildSearchResult() 51 assertThat(searchResult.getGenericDocument()).isEqualTo(email); in testBuildSearchResult() 54 assertThat(actualMatchInfo.getPropertyPath()).isEqualTo("body"); in testBuildSearchResult() 55 assertThat(actualMatchInfo.getExactMatchRange()).isEqualTo(exactMatchRange); in testBuildSearchResult() 56 assertThat(actualMatchInfo.getSnippetRange()).isEqualTo(snippetMatchRange); in testBuildSearchResult() 57 assertThat(actualMatchInfo.getExactMatch()).isEqualTo("lo Wo"); in testBuildSearchResult() 58 assertThat(actualMatchInfo.getSnippet()).isEqualTo("ello Worl"); in testBuildSearchResult() 59 assertThat(actualMatchInfo.getFullText()).isEqualTo("Hello World."); in testBuildSearchResult() [all …]
|
/cts/hostsidetests/backup/BackupTransportApp/src/android/cts/backup/backuptransportapp/ |
D | BackupTransportTest.java | 83 assertThat(mBackupTransport.initializeDevice()).isEqualTo(BackupTransport.TRANSPORT_ERROR); in testInitializeDevice_returnsTransportError() 89 .isEqualTo(BackupTransport.TRANSPORT_ERROR); in testClearBackupData_returnsTransportError() 94 assertThat(mBackupTransport.finishBackup()).isEqualTo(BackupTransport.TRANSPORT_ERROR); in testFinishBackup_returnsTransportError() 99 assertThat(mBackupTransport.requestBackupTime()).isEqualTo(0); in testRequestBackupTime_returnsZero() 107 .isEqualTo(BackupTransport.TRANSPORT_ERROR); in testPerformBackupWithFlags_returnsTransportError() 113 .isEqualTo(BackupTransport.TRANSPORT_ERROR); in testPerformBackup_returnsTransportError() 123 assertThat(mBackupTransport.getCurrentRestoreSet()).isEqualTo(0); in testGetCurrentRestoreSet_returnsZero() 129 .isEqualTo(BackupTransport.TRANSPORT_ERROR); in testStartRestore_returnsTransportError() 140 .isEqualTo(BackupTransport.TRANSPORT_ERROR); in testGetRestoreData_returnsTransportError() 150 assertThat(mBackupTransport.requestFullBackupTime()).isEqualTo(0); in testRequestFullBackupTime_returnsZero() [all …]
|
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/ |
D | CustomEventTest.java | 58 .whereTag().isEqualTo(TAG_1); in whereTag_works() 60 assertThat(eventLogs.poll().tag()).isEqualTo(TAG_1); in whereTag_works() 73 .whereTag().isEqualTo(TAG_2); in whereTag_skipsNonMatching() 75 assertThat(eventLogs.poll().tag()).isEqualTo(TAG_2); in whereTag_skipsNonMatching() 85 .whereData().isEqualTo(DATA_1); in whereData_works() 87 assertThat(eventLogs.poll().data()).isEqualTo(DATA_1); in whereData_works() 100 .whereData().isEqualTo(DATA_2); in whereData_skipsNonMatching() 102 assertThat(eventLogs.poll().data()).isEqualTo(DATA_2); in whereData_skipsNonMatching() 110 .isEqualTo("{type=CustomEvent, packageName=PACKAGE}"); in describeQuery_onlyIncludingPackage_isCorrect() 116 .whereTag().isEqualTo("TAG"); in describeQuery_includesTag_isCorrect() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | ViewAttributesTest.java | 71 assertThat(hints).isEqualTo( 76 assertThat(hints).isEqualTo(new String[] {View.AUTOFILL_HINT_PASSWORD}); 80 assertThat(hints).isEqualTo( 85 assertThat(hints).isEqualTo(new String[] {"yesterday", "today", "tomorrow", "never"}); 108 assertThat(v.getAutofillHints()).isEqualTo(new String[]{View.AUTOFILL_HINT_PASSWORD}); 111 assertThat(v.getAutofillHints()).isEqualTo(new String[]{"custom", "value"}); 114 assertThat(v.getAutofillHints()).isEqualTo(new String[]{"more", "values"}); 118 assertThat(v.getAutofillHints()).isEqualTo(new String[]{View.AUTOFILL_HINT_PASSWORD, 168 assertThat(request.contexts.size()).isEqualTo(1); 196 assertThat(outerView.getHeight()).isEqualTo( [all …]
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvTrackInfoSubject.java | 56 check("getAudioChannelCount()").that(actual.getAudioChannelCount()).isEqualTo(id); in hasAudioChannelCount() 60 check("getAudioSampleRate()").that(actual.getAudioSampleRate()).isEqualTo(rate); in hasAudioSampleRate() 64 check("describeContents()").that(actual.describeContents()).isEqualTo(content); in hasContentDescription() 69 check("getEncoding()").that(actual.getEncoding()).isEqualTo(encoding); in hasEncoding() 73 check("getId()").that(actual.getId()).isEqualTo(id); in hasId() 77 check("getLanguage()").that(actual.getLanguage()).isEqualTo(language); in hasLanguage() 81 check("getType()").that(actual.getType()).isEqualTo(type); in hasType() 86 actual.getVideoActiveFormatDescription()).isEqualTo(format); in hasVideoActiveFormatDescription() 89 check("getVideoHeight()").that(actual.getVideoHeight()).isEqualTo(height); in hasVideoHeight() 93 check("getVideoFrameRate()").that(actual.getVideoFrameRate()).isEqualTo(rate); in hasVideoFrameRate() [all …]
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 239 assertThat(getInstalledVersion(TestApp.A)).isEqualTo(-1); in testInstallStagedApk_Commit() 243 assertThat(getInstalledVersion(TestApp.A)).isEqualTo(-1); in testInstallStagedApk_Commit() 252 assertThat(getInstalledVersion(TestApp.A)).isEqualTo(1); in testInstallStagedApk_VerifyPostReboot() 271 assertThat(getInstalledVersion(TestApp.A)).isEqualTo(-1); in testInstallMultipleStagedApks_Commit() 272 assertThat(getInstalledVersion(TestApp.B)).isEqualTo(-1); in testInstallMultipleStagedApks_Commit() 276 assertThat(getInstalledVersion(TestApp.A)).isEqualTo(-1); in testInstallMultipleStagedApks_Commit() 277 assertThat(getInstalledVersion(TestApp.B)).isEqualTo(-1); in testInstallMultipleStagedApks_Commit() 286 assertThat(getInstalledVersion(TestApp.A)).isEqualTo(1); in testInstallMultipleStagedApks_VerifyPostReboot() 287 assertThat(getInstalledVersion(TestApp.B)).isEqualTo(1); in testInstallMultipleStagedApks_VerifyPostReboot() 294 assertThat(getInstalledVersion(TestApp.A)).isEqualTo(-1); in testAbandonStagedApkBeforeReboot_CommitAndAbandon() [all …]
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/exceptions/ |
D | AppSearchExceptionCtsTest.java | 30 assertThat(e.getResultCode()).isEqualTo(AppSearchResult.RESULT_IO_ERROR); in testNoMessageException() 34 assertThat(result.getResultCode()).isEqualTo(AppSearchResult.RESULT_IO_ERROR); in testNoMessageException() 41 assertThat(e.getResultCode()).isEqualTo(AppSearchResult.RESULT_NOT_FOUND); in testExceptionWithMessage() 45 assertThat(result.getResultCode()).isEqualTo(AppSearchResult.RESULT_NOT_FOUND); in testExceptionWithMessage() 46 assertThat(result.getErrorMessage()).isEqualTo("ERROR!"); in testExceptionWithMessage() 55 assertThat(e.getResultCode()).isEqualTo(AppSearchResult.RESULT_INVALID_ARGUMENT); in testExceptionWithThrowable() 56 assertThat(e.getCause()).isEqualTo(throwable); in testExceptionWithThrowable() 60 assertThat(result.getResultCode()).isEqualTo(AppSearchResult.RESULT_INVALID_ARGUMENT); in testExceptionWithThrowable() 61 assertThat(result.getErrorMessage()).isEqualTo("ERROR!"); in testExceptionWithThrowable()
|
/cts/tests/framework/base/suggestions/src/android/service/settings/suggestions/ |
D | SuggestionTest.java | 64 assertThat(suggestion.getId()).isEqualTo(TEST_ID); in buildSuggestion_allFieldsShouldBeSet() 65 assertThat(suggestion.getTitle()).isEqualTo(TEST_TITLE); in buildSuggestion_allFieldsShouldBeSet() 66 assertThat(suggestion.getSummary()).isEqualTo(TEST_SUMMARY); in buildSuggestion_allFieldsShouldBeSet() 67 assertThat(suggestion.getIcon()).isEqualTo(mIcon); in buildSuggestion_allFieldsShouldBeSet() 68 assertThat(suggestion.getFlags()).isEqualTo(0); in buildSuggestion_allFieldsShouldBeSet() 69 assertThat(suggestion.getPendingIntent()).isEqualTo(mTestIntent); in buildSuggestion_allFieldsShouldBeSet() 97 assertThat(newSuggestion.getId()).isEqualTo(TEST_ID); in buildSuggestion_fromParcelable() 98 assertThat(newSuggestion.getTitle()).isEqualTo(TEST_TITLE); in buildSuggestion_fromParcelable() 99 assertThat(newSuggestion.getSummary()).isEqualTo(TEST_SUMMARY); in buildSuggestion_fromParcelable() 100 assertThat(newSuggestion.getIcon().toString()).isEqualTo(mIcon.toString()); in buildSuggestion_fromParcelable() [all …]
|