/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | OwnersTest.java | 22 import static com.google.common.truth.Truth.assertThat; 80 assertThat(owners.hasDeviceOwner()).isFalse(); in testUpgrade01() 107 assertThat(owners.hasDeviceOwner()).isFalse(); in testUpgrade01() 147 assertThat(owners.hasDeviceOwner()).isTrue(); in testUpgrade02() 171 assertThat(owners.hasDeviceOwner()).isTrue(); in testUpgrade02() 214 assertThat(owners.hasDeviceOwner()).isFalse(); in testUpgrade03() 246 assertThat(owners.hasDeviceOwner()).isFalse(); in testUpgrade03() 301 assertThat(owners.hasDeviceOwner()).isTrue(); in testUpgrade04() 337 assertThat(owners.hasDeviceOwner()).isTrue(); in testUpgrade04() 387 assertThat(owners.hasDeviceOwner()).isTrue(); in testUpgrade04() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
H A D | HdmiUtilsTest.java | 18 import static com.google.common.truth.Truth.assertThat; 70 assertThat(HdmiUtils.getLocalPortFromPhysicalAddress( in pathToPort_isMe() 79 assertThat(HdmiUtils.getLocalPortFromPhysicalAddress( in pathToPort_isDirectlyBelow() 87 assertThat(HdmiUtils.getLocalPortFromPhysicalAddress( in pathToPort_isBelow() 95 assertThat(HdmiUtils.getLocalPortFromPhysicalAddress( in pathToPort_neitherMeNorBelow() 101 assertThat(HdmiUtils.getLocalPortFromPhysicalAddress( in pathToPort_neitherMeNorBelow() 107 assertThat(HdmiUtils.getLocalPortFromPhysicalAddress( in pathToPort_neitherMeNorBelow() 113 assertThat(HdmiUtils.getLocalPortFromPhysicalAddress( in pathToPort_neitherMeNorBelow() 152 assertThat(config).isEqualTo(expectedConfig); in parseSampleXML() 192 assertThat(HdmiUtils.pathRelationship(0x1200, 0x2000)) in pathRelationship_differentBranch() [all …]
|
H A D | HdmiCecNetworkTest.java | 20 import static com.google.common.truth.Truth.assertThat; 176 assertThat(cecDeviceInfo.getPhysicalAddress()).isEqualTo( in cecDevices_tracking_logicalAddressOnly() 179 assertThat(cecDeviceInfo.getDisplayName()).isEqualTo( in cecDevices_tracking_logicalAddressOnly() 217 assertThat(cecDeviceInfo.getDisplayName()).isEqualTo( in cecDevices_tracking_reportPhysicalAddress() 262 assertThat(cecDeviceInfo.getDisplayName()).isEqualTo( in cecDevices_tracking_reportPowerStatus() 302 assertThat(cecDeviceInfo.getDisplayName()).isEqualTo( in cecDevices_tracking_reportVendorId() 392 assertThat(cecDeviceInfo.getCecVersion()).isEqualTo( in cecDevices_tracking_updatesPowerStatus() 433 assertThat(cecDeviceInfo.getDisplayName()).isEqualTo( in cecDevices_tracking_updatesVendorId() 438 assertThat(cecDeviceInfo.getCecVersion()).isEqualTo( in cecDevices_tracking_updatesVendorId() 475 assertThat(cecDeviceInfo.getDisplayName()).isEqualTo( in cecDevices_tracking_reportPowerStatus_broadcast_infersCec2() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/autofill/ |
H A D | AutofillIdTest.java | 48 assertThat(id.getViewId()).isEqualTo(42); in testVirtual_int() 49 assertThat(id.isVirtualInt()).isTrue(); in testVirtual_int() 51 assertThat(id.isNonVirtual()).isFalse(); in testVirtual_int() 89 assertThat(id.isVirtualInt()).isTrue(); in testVirtual_parentObjectConstructor() 175 assertThat(id).isEqualTo(sameId); in testEqualsHashCode_nonVirtual_same() 176 assertThat(sameId).isEqualTo(id); in testEqualsHashCode_nonVirtual_same() 187 assertThat(id).isNotEqualTo(otherId); in testEqualsHashCode_nonVirtual_other() 188 assertThat(otherId).isNotEqualTo(id); in testEqualsHashCode_nonVirtual_other() 205 assertThat(virtual).isNotEqualTo(id); in testEqualsHashCode_virtual_same() 206 assertThat(id).isNotEqualTo(virtual); in testEqualsHashCode_virtual_same() [all …]
|
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
H A D | RssiCurveTest.java | 19 import static com.google.common.truth.Truth.assertThat; 36 assertThat(curve.lookupScore(-200)).isEqualTo(10); in lookupScore_constantCurve() 37 assertThat(curve.lookupScore(-100)).isEqualTo(10); in lookupScore_constantCurve() 38 assertThat(curve.lookupScore(0)).isEqualTo(10); in lookupScore_constantCurve() 39 assertThat(curve.lookupScore(100)).isEqualTo(10); in lookupScore_constantCurve() 40 assertThat(curve.lookupScore(200)).isEqualTo(10); in lookupScore_constantCurve() 50 assertThat(curve.lookupScore(0)).isEqualTo(10); in lookupScore_changingCurve() 51 assertThat(curve.lookupScore(50)).isEqualTo(10); in lookupScore_changingCurve() 52 assertThat(curve.lookupScore(100)).isEqualTo(10); in lookupScore_changingCurve() 53 assertThat(curve.lookupScore(200)).isEqualTo(10); in lookupScore_changingCurve() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/stats/ |
H A D | AppSearchStatsTest.java | 19 import static com.google.common.truth.Truth.assertThat; 54 assertThat(cStats.getEstimatedBinderLatencyMillis()) in testAppSearchStats_CallStats() 56 assertThat(cStats.getCallType()).isEqualTo(callType); in testAppSearchStats_CallStats() 69 assertThat(cStats.getPackageName()).isNull(); in testAppSearchCallStats_nullValues() 70 assertThat(cStats.getDatabase()).isNull(); in testAppSearchCallStats_nullValues() 71 assertThat(cStats.getCallType()).isEqualTo(callType); in testAppSearchCallStats_nullValues() 113 assertThat(pStats.getNativeIndexMergeLatencyMillis()) in testAppSearchStats_PutDocumentStats() 160 assertThat(iStats.hasDeSync()).isTrue(); in testAppSearchStats_InitializeStats() 166 assertThat(iStats.getDocumentStoreRecoveryCause()) in testAppSearchStats_InitializeStats() 179 assertThat(iStats.hasReset()).isTrue(); in testAppSearchStats_InitializeStats() [all …]
|
/aosp12/system/tools/xsdc/tests/src/com/android/xsdc/tests/ |
H A D | XmlParserTest.java | 46 assertThat(orderType.getOrderDate(), in testPurchaseSimple() 52 assertThat(orderType.getShipTo().get(1).getZip(), in testPurchaseSimple() 79 assertThat(employee.getName(), is("Peter")); in testNestedType() 92 assertThat(person.getName(), is("Petr")); in testSimpleComplexContent() 131 assertThat(stringTypes.getId(), is("abcd")); in testPredefinedTypes() 142 assertThat(dateTypes.getDate(), in testPredefinedTypes() 144 assertThat(dateTypes.getDateTime(), in testPredefinedTypes() 149 assertThat(dateTypes.getGMonthDay(), in testPredefinedTypes() 152 assertThat(dateTypes.getGYearMonth(), in testPredefinedTypes() 154 assertThat(dateTypes.getTime(), in testPredefinedTypes() [all …]
|
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
H A D | CachedAppOptimizerTest.java | 24 import static com.google.common.truth.Truth.assertThat; 187 assertThat(mCachedAppOptimizerUnderTest.mProcStateThrottle) in init_setsDefaults() 314 assertThat(mCountDown.await(5, TimeUnit.SECONDS)).isTrue(); in useCompaction_listensToDeviceConfigChanges() 324 assertThat(mCountDown.await(5, TimeUnit.SECONDS)).isTrue(); in useCompaction_listensToDeviceConfigChanges() 353 assertThat(mCountDown.await(5, TimeUnit.SECONDS)).isTrue(); in useFreeze_doesNotListenToDeviceConfigChanges() 375 assertThat(mCountDown.await(5, TimeUnit.SECONDS)).isTrue(); in useCompaction_listensToDeviceConfigChangesBadValues() 432 assertThat(mCountDown.await(5, TimeUnit.SECONDS)).isTrue(); in compactAction_listensToDeviceConfigChangesBadValues() 901 assertThat(valuesAfter).isEqualTo(rssAfter1); in processWithDeltaRSSTooSmall_notFullCompacted() 917 assertThat(valuesAfter).isEqualTo(rssAfter1); in processWithDeltaRSSTooSmall_notFullCompacted() 932 assertThat(valuesAfter).isEqualTo(rssAfter3); in processWithDeltaRSSTooSmall_notFullCompacted() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | LooperStatsTest.java | 91 assertThat(entries).hasSize(1); in testSingleMessageDispatched() 123 assertThat(entries).hasSize(1); in testThrewException() 196 assertThat(entries).hasSize(3); in testMultipleMessagesDispatched() 285 assertThat(entries).hasSize(1); in testDispatchDelayIsRecorded() 306 assertThat(entries).hasSize(0); in testDataNotCollectedBeforeDeviceStateSet() 321 assertThat(entries).hasSize(0); in testDataNotCollectedOnCharger() 337 assertThat(entries).hasSize(1); in testDataCollectedIfIgnoreBatteryStatusFlagSet() 361 assertThat(entries).hasSize(2); in testScreenStateCollected() 400 assertThat(entries).hasSize(2); in testMessagesOverSizeCap() 465 assertThat(entries).hasSize(0); in testReset() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
H A D | ContentCaptureEventTest.java | 63 assertThat(event.getId()).isNull(); in testSetAutofillId_null() 64 assertThat(event.getIds()).isNull(); in testSetAutofillId_null() 72 assertThat(event.getId()).isNull(); in testSetAutofillIds_null() 81 assertThat(event.getId()).isNull(); in testAddAutofillId_null() 103 assertThat(event.getId()).isNull(); in testSetAutofillIds() 113 assertThat(event.getId()).isNull(); in testAddAutofillId() 171 assertThat(event).isNotNull(); in newEventForSessionStarted() 193 assertThat(event).isNotNull(); in testSessionFinished_directly() 202 assertThat(event).isNotNull(); in testSessionFinished_throughParcel() 223 assertThat(event).isNotNull(); in testContextUpdated_directly() [all …]
|
/aosp12/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/ts43/ |
H A D | Ts43VowifiStatusTest.java | 19 import static com.google.common.truth.Truth.assertThat; 45 assertThat(status.inProgress()).isFalse(); in ts43VowifiStatus_vowifiAvailable_vowifiEntitled() 46 assertThat(status.incompatible()).isFalse(); in ts43VowifiStatus_vowifiAvailable_vowifiEntitled() 61 assertThat(status.inProgress()).isFalse(); in ts43VowifiStatus_addressNotRequired_vowifiEntitled() 77 assertThat(status.inProgress()).isFalse(); in ts43VowifiStatus_tcStatusNotRequired_vowifiEntitled() 93 assertThat(status.inProgress()).isFalse(); in ts43VowifiStatus_provisionNotRequired_vowifiEntitled() 109 assertThat(status.inProgress()).isFalse(); in ts43VowifiStatus_addressNotAvailable_serverDataMissing() 141 assertThat(status.inProgress()).isTrue(); in ts43VowifiStatus_entitlementStatusProvisioning_inProgress() 157 assertThat(status.inProgress()).isTrue(); in ts43VowifiStatus_addressInProgress_inProgress() 173 assertThat(status.inProgress()).isTrue(); in ts43VowifiStatus_tcStatusInProgress_inProgress() [all …]
|
/aosp12/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/ |
H A D | DvrRecordingServiceTest.java | 19 import static com.google.common.truth.Truth.assertThat; 58 assertThat(getService().mInForeground).isFalse(); in testStartService_null() 63 assertThat(getService().mInForeground).isTrue(); in testStartService_null() 64 assertThat(getService().mIsRecording).isTrue(); in testStartService_null() 74 assertThat(getService().mInForeground).isTrue(); in testStartService_noUpcomingRecording() 82 assertThat(getService().mInForeground).isTrue(); in testStartService_noUpcomingRecording() 84 assertThat(getService().mIsRecording).isTrue(); in testStartService_noUpcomingRecording() 87 assertThat(getService().mIsRecording).isFalse(); in testStartService_noUpcomingRecording() 98 assertThat(getService().mIsRecording).isTrue(); in testStartService_noUpcomingRecording() 102 assertThat(getService().mIsRecording).isTrue(); in testStartService_noUpcomingRecording() [all …]
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
H A D | UsageGraphTest.java | 19 import static com.google.common.truth.Truth.assertThat; 73 assertThat(localPaths.size()).isEqualTo(3); in calculateLocalPaths_singlePath() 74 assertThat(localPaths.keyAt(0)).isEqualTo(0); in calculateLocalPaths_singlePath() 96 assertThat(localPaths.size()).isEqualTo(6); in calculateLocalPaths_multiplePaths() 98 assertThat(localPaths.keyAt(0)).isEqualTo(0); in calculateLocalPaths_multiplePaths() 124 assertThat(localPaths.size()).isEqualTo(3); in calculateLocalPaths_similarPointMiddle() 125 assertThat(localPaths.keyAt(0)).isEqualTo(0); in calculateLocalPaths_similarPointMiddle() 144 assertThat(localPaths.size()).isEqualTo(4); in calculateLocalPaths_similarPointEnd() 145 assertThat(localPaths.keyAt(0)).isEqualTo(0); in calculateLocalPaths_similarPointEnd() 168 assertThat(localPaths.size()).isEqualTo(6); in calculateLocalPaths_unavailableData_shouldInsertFlatPoint() [all …]
|
/aosp12/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
H A D | CarPropertyConfigTest.java | 19 import static com.google.common.truth.Truth.assertThat; 52 assertThat(config.getAreaType()).isEqualTo(CAR_AREA_TYPE); in createFloatPropertyConfig() 53 assertThat(config.getPropertyType()).isEqualTo(Float.class); in createFloatPropertyConfig() 54 assertThat(config.getAreaCount()).isEqualTo(2); in createFloatPropertyConfig() 57 assertThat(config.getMinValue(WINDOW_DRIVER)).isNull(); in createFloatPropertyConfig() 58 assertThat(config.getMaxValue(WINDOW_DRIVER)).isNull(); in createFloatPropertyConfig() 76 assertThat(configRead.getAreaCount()).isEqualTo(2); in testWriteReadFloat() 101 assertThat(configRead.getAreaCount()).isEqualTo(2); in testWriteReadIntegerValue() 125 assertThat(configRead.getAreaCount()).isEqualTo(2); in testWriteReadLongValue() 149 assertThat(configRead.getAreaCount()).isEqualTo(2); in testWriteReadIntegerArray() [all …]
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | CbGeoUtilsTest.java | 19 import static com.google.common.truth.Truth.assertThat; 38 assertThat(distInMeter).isWithin(0.1).of(12586.1); in testDistanceBetweenTwoLatLng() 62 assertThat(decodedGeo.size()).isEqualTo(2); in testEncodeGeometries() 68 assertThat(vertexes.size()).isEqualTo(3); in testEncodeGeometries() 70 assertThat(p.lat).isWithin(CbGeoUtils.EPS).of(11.11); in testEncodeGeometries() 71 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(22.22); in testEncodeGeometries() 73 assertThat(p.lat).isWithin(CbGeoUtils.EPS).of(33.33); in testEncodeGeometries() 74 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(44.44); in testEncodeGeometries() 76 assertThat(p.lat).isWithin(CbGeoUtils.EPS).of(55.55); in testEncodeGeometries() 94 assertThat(geo.size()).isEqualTo(2); in testParseGeometriesFromString() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | PackageManagerSettingsTests.java | 33 import static org.junit.Assert.assertThat; 155 assertThat(ps.getStopped(0), is(false)); in testSettingsReadOld() 256 assertThat(params, is(notNullValue())); in testReadPackageRestrictions_noSuspendParamsMap() 460 Truth.assertThat(readPs1).isNotNull(); in testWriteReadUsesStaticLibraries() 529 assertThat(hasEnabled, is(false)); in testEnableDisable() 534 assertThat(hasDisabled, is(false)); in testEnableDisable() 538 assertThat(hasEnabled, is(false)); in testEnableDisable() 1229 assertThat(mapping.size(), is(1)); in verifyKeySetMetaData() 1232 assertThat(mapping.size(), is(1)); in verifyKeySetMetaData() 1235 assertThat(mapping.size(), is(1)); in verifyKeySetMetaData() [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/tv/tunerresourcemanager/ |
H A D | TunerResourceManagerServiceTest.java | 18 import static com.google.common.truth.Truth.assertThat; 242 assertThat(mTunerResourceManagerService in requestFrontendTest_ClientNotRegistered() 265 assertThat(mTunerResourceManagerService in requestFrontendTest_NoFrontendWithGiveTypeAvailable() 298 assertThat(mTunerResourceManagerService in requestFrontendTest_FrontendWithNoExclusiveGroupAvailable() 337 assertThat(mTunerResourceManagerService in requestFrontendTest_FrontendWithExclusiveGroupAvailable() 343 assertThat(mTunerResourceManagerService in requestFrontendTest_FrontendWithExclusiveGroupAvailable() 387 assertThat(mTunerResourceManagerService in requestFrontendTest_NoFrontendAvailable_RequestWithLowerPriority() 392 assertThat(mTunerResourceManagerService in requestFrontendTest_NoFrontendAvailable_RequestWithLowerPriority() 398 assertThat(mTunerResourceManagerService in requestFrontendTest_NoFrontendAvailable_RequestWithLowerPriority() 437 assertThat(mTunerResourceManagerService in requestFrontendTest_NoFrontendAvailable_RequestWithHigherPriority() [all …]
|
/aosp12/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
H A D | SoftApConfigurationTest.java | 19 import static com.google.common.truth.Truth.assertThat; 102 assertThat(unparceled).isEqualTo(original); in testBasicSettings() 107 assertThat(copy).isEqualTo(original); in testBasicSettings() 126 assertThat(unparceled).isEqualTo(original); in testWpa2() 131 assertThat(copy).isEqualTo(original); in testWpa2() 184 assertThat(unparceled).isEqualTo(original); in testWpa2WithAllFieldCustomized() 189 assertThat(copy).isEqualTo(original); in testWpa2WithAllFieldCustomized() 210 assertThat(unparceled).isEqualTo(original); in testWpa3Sae() 215 assertThat(copy).isEqualTo(original); in testWpa3Sae() 237 assertThat(unparceled).isEqualTo(original); in testWpa3SaeTransition() [all …]
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/ |
H A D | CarStorageMonitoringTest.java | 141 assertThat(wearInformation).isNotNull(); in testHealthServiceWearInformationProvider() 365 assertThat(entries).isNotNull(); in testUidIoStatEntry() 369 assertThat(entry).isNotNull(); in testUidIoStatEntry() 370 assertThat(entry.uid).isEqualTo(0); in testUidIoStatEntry() 384 assertThat(entry).isNotNull(); in testUidIoStatEntry() 411 assertThat(entries).isNull(); in testUidIoStatEntryMissingFields() 426 assertThat(entries).isNull(); in testUidIoStatEntryNonNumericFields() 501 assertThat(delta21).isNotNull(); in testUidIoStatEntryDelta() 537 assertThat(delta).isNotNull(); in testUidIoStatsRecordDelta() 594 assertThat(delta1).isEqualTo(delta1); in testUidIoStatsDelta() [all …]
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
H A D | BasePrivacySettingsPreferenceTest.java | 19 import static com.google.common.truth.Truth.assertThat; 48 assertThat(searchIndexableResources).isNotEmpty(); in verifyEnterpriseSearchIndexableResources() 50 assertThat(searchIndexableResources.get(0).xmlResId) in verifyEnterpriseSearchIndexableResources() 56 assertThat(controllers).isNotNull(); in verifyEnterprisePreferenceControllers() 57 assertThat(controllers.size()).isEqualTo(17); in verifyEnterprisePreferenceControllers() 61 assertThat(controllers.get(position++)).isInstanceOf( in verifyEnterprisePreferenceControllers() 88 assertThat(controllers.get(position)).isInstanceOf( in verifyEnterprisePreferenceControllers() 94 assertThat(searchIndexableResources).isNotEmpty(); in verifyFinancedSearchIndexableResources() 102 assertThat(controllers).isNotNull(); in verifyFinancedPreferenceControllers() 103 assertThat(controllers.size()).isEqualTo(6); in verifyFinancedPreferenceControllers() [all …]
|
/aosp12/packages/services/Car/packages/ScriptExecutor/tests/unit/src/com/android/car/scriptexecutor/ |
H A D | ScriptExecutorTest.java | 19 import static com.google.common.truth.Truth.assertThat; 193 assertThat(mFakeScriptExecutorListener.mErrorType).isEqualTo( in invokeScript_skipsUnsupportedNestedTables() 195 assertThat(mFakeScriptExecutorListener.mMessage).contains( in invokeScript_skipsUnsupportedNestedTables() 296 assertThat( in invokeScript_allSupportedArrayTypesWorkRoundTripWithKeyNamesPreserved() 366 assertThat(mFakeScriptExecutorListener.mMessage).isEqualTo( in invokeScript_arraysWithLengthAboveLimitCauseError() 394 assertThat(mFakeScriptExecutorListener.mMessage).contains( in invokeScript_arrayContainingVaryingTypesCausesError() 485 assertThat(mFakeScriptExecutorListener.mMessage).isEqualTo( in invokeScript_tooManyParametersInOnError() 807 assertThat(mFakeScriptExecutorListener.mMessage).contains( in invokeScript_wrongFunctionNameProvided() 824 assertThat(mFakeScriptExecutorListener.mMessage).contains( in invokeScript_runtimeErrorDueToSyntax() 842 assertThat(mFakeScriptExecutorListener.mMessage).contains( in invokeScript_runtimeErrorDueToUndefinedMethod() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
H A D | FalsingDataProviderTest.java | 19 import static com.google.common.truth.Truth.assertThat; 80 assertThat(motionEventList.size()).isEqualTo(3); in test_trackMotionEvents() 101 assertThat(motionEventList.size()).isEqualTo(2); in test_trackRecentMotionEvents() 221 assertThat(mDataProvider.isRight()).isTrue(); in test_isRight() 226 assertThat(mDataProvider.isRight()).isFalse(); in test_isRight() 231 assertThat(mDataProvider.isRight()).isFalse(); in test_isRight() 243 assertThat(mDataProvider.isUp()).isTrue(); in test_isUp() 248 assertThat(mDataProvider.isUp()).isFalse(); in test_isUp() 253 assertThat(mDataProvider.isUp()).isFalse(); in test_isUp() 262 assertThat(mDataProvider.isDocked()).isTrue(); in test_isWirelessCharging() [all …]
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
H A D | CarUserManagerUnitTest.java | 109 assertThat( in testUserIdentificationAssociationSetValue() 218 assertThat(future).isNotNull(); in testSwitchUser_success() 231 assertThat(future).isNotNull(); in testSwitchUser_remoteException() 243 assertThat(future).isNotNull(); in testSwitchUser_runtimeException() 298 assertThat(future).isNotNull(); in testCreateUser_withType_success() 319 assertThat(future).isNotNull(); in testCreateUser_withType_remoteException() 334 assertThat(future).isNotNull(); in testCreateUser_withType_runtimeException() 349 assertThat(future).isNotNull(); in testCreateUser_success() 370 assertThat(future).isNotNull(); in testCreateUser_remoteException() 385 assertThat(future).isNotNull(); in testCreateGuest_success() [all …]
|
/aosp12/system/tools/aidl/tests/java/src/android/aidl/tests/ |
H A D | TestServiceClient.java | 22 import static org.junit.Assert.assertThat; 178 assertThat(echoed, is(input)); in testBooleanArrayReversal() 191 assertThat(echoed, is(input)); in testByteArrayReversal() 204 assertThat(echoed, is(input)); in testCharArrayReversal() 217 assertThat(echoed, is(input)); in testIntArrayReversal() 230 assertThat(echoed, is(input)); in testLongArrayReversal() 243 assertThat(echoed, is(input)); in testFloatArrayReversal() 256 assertThat(echoed, is(input)); in testDoubleArrayReversal() 307 assertThat(testing, is(input)); in testRepeatGenericParcelable() 650 assertThat( in testStrucuturedParcelable() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/ |
H A D | MediaOutputAdapterTest.java | 19 import static com.google.common.truth.Truth.assertThat; 122 assertThat(mViewHolder.mAddIcon.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_zeroMode_bindPairNew_verifyView() 123 assertThat(mViewHolder.mCheckBox.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_zeroMode_bindPairNew_verifyView() 141 assertThat(mViewHolder.mCheckBox.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindGroup_withSessionName_verifyView() 191 assertThat(mViewHolder.mAddIcon.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindConnectedDevice_withoutSelectableDevice_hideAddIcon() 198 assertThat(mViewHolder.mAddIcon.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindNonActiveConnectedDevice_verifyView() 214 assertThat(mViewHolder.mAddIcon.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindDisconnectedBluetoothDevice_verifyView() 221 assertThat(mViewHolder.mSubTitleText.getText().toString()).isEqualTo( in onBindViewHolder_bindDisconnectedBluetoothDevice_verifyView() 231 assertThat(mViewHolder.mAddIcon.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindFailedStateDevice_verifyView() 233 assertThat(mViewHolder.mSeekBar.getVisibility()).isEqualTo(View.GONE); in onBindViewHolder_bindFailedStateDevice_verifyView() [all …]
|