Home
last modified time | relevance | path

Searched refs:that (Results 1 – 25 of 1659) sorted by relevance

12345678910>>...67

/frameworks/base/services/core/java/com/android/server/display/brightness/
DBrightnessEvent.java73 public BrightnessEvent(BrightnessEvent that) { in BrightnessEvent() argument
74 copyFrom(that); in BrightnessEvent()
87 public void copyFrom(BrightnessEvent that) { in copyFrom() argument
88 mReason.set(that.getReason()); in copyFrom()
89 mDisplayId = that.getDisplayId(); in copyFrom()
90 mPhysicalDisplayId = that.getPhysicalDisplayId(); in copyFrom()
91 mDisplayState = that.mDisplayState; in copyFrom()
92 mDisplayPolicy = that.mDisplayPolicy; in copyFrom()
93 mTime = that.getTime(); in copyFrom()
95 mLux = that.getLux(); in copyFrom()
[all …]
/frameworks/base/core/java/android/app/
DAppCompatTaskInfo.java156 public boolean equalsForTaskOrganizer(@Nullable AppCompatTaskInfo that) { in equalsForTaskOrganizer() argument
157 if (that == null) { in equalsForTaskOrganizer()
160 return isFromLetterboxDoubleTap == that.isFromLetterboxDoubleTap in equalsForTaskOrganizer()
162 == that.topActivityEligibleForUserAspectRatioButton in equalsForTaskOrganizer()
163 && topActivityLetterboxVerticalPosition == that.topActivityLetterboxVerticalPosition in equalsForTaskOrganizer()
164 && topActivityLetterboxWidth == that.topActivityLetterboxWidth in equalsForTaskOrganizer()
165 && topActivityLetterboxHeight == that.topActivityLetterboxHeight in equalsForTaskOrganizer()
167 == that.topActivityLetterboxHorizontalPosition in equalsForTaskOrganizer()
168 && isUserFullscreenOverrideEnabled == that.isUserFullscreenOverrideEnabled in equalsForTaskOrganizer()
169 && isSystemFullscreenOverrideEnabled == that.isSystemFullscreenOverrideEnabled in equalsForTaskOrganizer()
[all …]
DTaskInfo.java409 public boolean equalsForTaskOrganizer(@Nullable TaskInfo that) { in equalsForTaskOrganizer() argument
410 if (that == null) { in equalsForTaskOrganizer()
413 return topActivityType == that.topActivityType in equalsForTaskOrganizer()
414 && isResizeable == that.isResizeable in equalsForTaskOrganizer()
415 && supportsMultiWindow == that.supportsMultiWindow in equalsForTaskOrganizer()
416 && displayAreaFeatureId == that.displayAreaFeatureId in equalsForTaskOrganizer()
417 && Objects.equals(positionInParent, that.positionInParent) in equalsForTaskOrganizer()
418 && Objects.equals(pictureInPictureParams, that.pictureInPictureParams) in equalsForTaskOrganizer()
419 && Objects.equals(shouldDockBigOverlays, that.shouldDockBigOverlays) in equalsForTaskOrganizer()
420 && Objects.equals(displayCutoutInsets, that.displayCutoutInsets) in equalsForTaskOrganizer()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplRebootTests.java74 expect.that(impl.updateOverlaysForUser(USER)).isEqualTo(allPackages); in testImmutableEnabledChange()
76 expect.that(o1).isNotNull(); in testImmutableEnabledChange()
78 expect.that(o1.isEnabled()).isFalse(); in testImmutableEnabledChange()
79 expect.that(o1.isMutable).isFalse(); in testImmutableEnabledChange()
82 expect.that(impl.updateOverlaysForUser(USER)).isEqualTo(allPackages); in testImmutableEnabledChange()
84 expect.that(o2).isNotNull(); in testImmutableEnabledChange()
86 expect.that(o2.isEnabled()).isTrue(); in testImmutableEnabledChange()
87 expect.that(o2.isMutable).isFalse(); in testImmutableEnabledChange()
90 expect.that(impl.updateOverlaysForUser(USER)).isEqualTo(allPackages); in testImmutableEnabledChange()
92 expect.that(o3).isNotNull(); in testImmutableEnabledChange()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/devicepolicy/
DOwnerShellDataTest.java53 assertWithMessage("dto(%s).userId", dto).that(dto.userId).isEqualTo(USER_ID); in testForDeviceOwner()
54 assertWithMessage("dto(%s).parentUserId", dto).that(dto.parentUserId) in testForDeviceOwner()
56 assertWithMessage("dto(%s).admin", dto).that(dto.admin).isSameInstanceAs(ADMIN); in testForDeviceOwner()
57 assertWithMessage("dto(%s).isDeviceOwner", dto).that(dto.isDeviceOwner).isTrue(); in testForDeviceOwner()
58 assertWithMessage("dto(%s).isProfileOwner", dto).that(dto.isProfileOwner).isFalse(); in testForDeviceOwner()
59 assertWithMessage("dto(%s).isManagedProfileOwner", dto).that(dto.isManagedProfileOwner) in testForDeviceOwner()
61 assertWithMessage("dto(%s).isAffiliated", dto).that(dto.isAffiliated).isFalse(); in testForDeviceOwner()
80 assertWithMessage("dto(%s).userId", dto).that(dto.userId).isEqualTo(USER_ID); in testForUserProfileOwner()
81 assertWithMessage("dto(%s).parentUserId", dto).that(dto.parentUserId) in testForUserProfileOwner()
83 assertWithMessage("dto(%s).admin", dto).that(dto.admin).isSameInstanceAs(ADMIN); in testForUserProfileOwner()
[all …]
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
DRadioManagerTest.java182 .that(thrown).hasMessageThat().contains("Unsupported band"); in constructor_withUnsupportedTypeForBandDescriptor_throwsException()
190 .that(bandDescriptor.getType()).isEqualTo(RadioManager.BAND_AM); in getType_forBandDescriptor()
198 .that(bandDescriptor.getRegion()).isEqualTo(REGION); in getRegion_forBandDescriptor()
206 .that(bandDescriptor.getLowerLimit()).isEqualTo(FM_LOWER_LIMIT); in getLowerLimit_forBandDescriptor()
214 .that(bandDescriptor.getUpperLimit()).isEqualTo(AM_UPPER_LIMIT); in getUpperLimit_forBandDescriptor()
222 .that(bandDescriptor.getSpacing()).isEqualTo(AM_SPACING); in getSpacing_forBandDescriptor()
230 .that(bandDescriptor.describeContents()).isEqualTo(0); in describeContents_forBandDescriptor()
244 .that(bandDescriptorFromParcel).isEqualTo(bandDescriptor); in writeToParcel_forBandDescriptor()
252 mExpect.withMessage("Band Descriptors").that(bandDescriptors).hasLength(CREATOR_ARRAY_SIZE); in newArray_forBandDescriptorCreator()
260 .that(bandDescriptor.isAmBand()).isTrue(); in isAmBand_forAmBandDescriptor_returnsTrue()
[all …]
DProgramSelectorTest.java52 assertWithMessage("Identifier type").that(FM_IDENTIFIER.getType()) in getType_forIdentifier()
63 .that(fmIdentifier.isCategoryType()).isTrue(); in isCategoryType_withCategoryTypeForIdentifier()
69 .that(FM_IDENTIFIER.isCategoryType()).isFalse(); in isCategoryType_withNonCategoryTypeForIdentifier()
75 .that(FM_IDENTIFIER.getValue()).isEqualTo(FM_FREQUENCY); in getValue_forIdentifier()
81 .that(FM_IDENTIFIER).isNotEqualTo(DAB_DMB_SID_EXT_IDENTIFIER_1); in equals_withDifferentTypesForIdentifiers_returnsFalse()
87 .that(DAB_DMB_SID_EXT_IDENTIFIER_2).isNotEqualTo(DAB_DMB_SID_EXT_IDENTIFIER_1); in equals_withDifferentValuesForIdentifiers_returnsFalse()
96 .that(FM_IDENTIFIER).isEqualTo(fmIdentifierSame); in equals_withSameKeyAndValueForIdentifiers_returnsTrue()
102 .that(FM_IDENTIFIER.describeContents()).isEqualTo(0); in describeContents_forIdentifier()
110 assertWithMessage("Identifiers").that(identifiers).hasLength(CREATOR_ARRAY_SIZE); in newArray_forIdentifierCreator()
123 .that(identifierFromParcel).isEqualTo(FM_IDENTIFIER); in writeToParcel_forIdentifier()
[all …]
DRadioMetadataTest.java73 .that(clock.describeContents()).isEqualTo(0); in describeContents_forClock()
80 mExpect.withMessage("Clock array size").that(clocks.length).isEqualTo(CREATOR_ARRAY_SIZE); in newArray_forClockCreator()
94 .that(clockFromParcel.getUtcEpochSeconds()).isEqualTo(TEST_UTC_SECOND_SINCE_EPOCH); in writeToParcel_forClock()
96 .that(clockFromParcel.getTimezoneOffsetMinutes()) in writeToParcel_forClock()
109 .that(thrown).hasMessageThat() in putString_withIllegalKey()
122 .that(thrown).hasMessageThat() in putInt_withIllegalKey()
135 .that(thrown).hasMessageThat() in putBitmap_withIllegalKey()
149 .that(thrown).hasMessageThat() in putClock_withIllegalKey()
163 invalidStringArrayKey).that(thrown).hasMessageThat() in putStringArray_withIllegalKey_throwsException()
176 .that(thrown).hasMessageThat().contains("can not be null"); in putStringArray_withNullKey_throwsException()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DExpectableTestCase.java78 return mExpect.that(actual); in expectThat()
82 return mExpect.that(actual); in expectThat()
86 return mExpect.that(actual); in expectThat()
91 return mExpect.that(actual); in expectThat()
95 return mExpect.that(actual); in expectThat()
99 return mExpect.that(actual); in expectThat()
103 return mExpect.that(actual); in expectThat()
107 return mExpect.that(actual); in expectThat()
111 return mExpect.that(actual); in expectThat()
115 return mExpect.that(actual); in expectThat()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DLockscreenShadeQsTransitionControllerTest.kt82 expect.that(controller.qsTransitionFraction).isEqualTo(0.25f) in qsTransitionFraction_noStartDelay_returnsBasedOnTransitionDistance()
85 expect.that(controller.qsTransitionFraction).isEqualTo(0.5f) in qsTransitionFraction_noStartDelay_returnsBasedOnTransitionDistance()
88 expect.that(controller.qsTransitionFraction).isEqualTo(0.75f) in qsTransitionFraction_noStartDelay_returnsBasedOnTransitionDistance()
91 expect.that(controller.qsTransitionFraction).isEqualTo(1f) in qsTransitionFraction_noStartDelay_returnsBasedOnTransitionDistance()
100 expect.that(controller.qsTransitionFraction).isEqualTo(0f) in qsTransitionFraction_noStartDelay_returnsValuesBetween0and1()
103 expect.that(controller.qsTransitionFraction).isEqualTo(1f) in qsTransitionFraction_noStartDelay_returnsValuesBetween0and1()
112 expect.that(controller.qsTransitionFraction).isEqualTo(0f) in qsTransitionFraction_withStartDelay_returnsBasedOnTransitionDistanceAndDelay()
115 expect.that(controller.qsTransitionFraction).isEqualTo(0f) in qsTransitionFraction_withStartDelay_returnsBasedOnTransitionDistanceAndDelay()
118 expect.that(controller.qsTransitionFraction).isEqualTo(0.15f) in qsTransitionFraction_withStartDelay_returnsBasedOnTransitionDistanceAndDelay()
121 expect.that(controller.qsTransitionFraction).isEqualTo(0.9f) in qsTransitionFraction_withStartDelay_returnsBasedOnTransitionDistanceAndDelay()
[all …]
/frameworks/proto_logging/stats/atoms/hotword/
Dhotword_atoms.proto50 // Indicates that the service was initialized successfully.
53 // Indicates that the service was not initialized successfully.
56 // Indicates that the callback was invoked without init state.
59 // Indicates that the callback was invoked, but the init state value exceeded
63 // Indicates that the callback was not invoked within timeout.
84 // Indicates that the service was restarted due to audio service died.
87 // Indicates that the service was restarted regularly.
90 // Deprecated. Indicates that the service was restarted due to service crashed.
108 // Indicates that the system got the keyphrase from DSP.
111 // Deprecated. Indicates that the system can not inform the service to verify the keyphrase.
[all …]
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DFadeManagerConfigurationUnitTest.java130 .that(mFmc.getFadeState()) in build()
133 .that(mFmc.getFadeableUsages()) in build()
136 .that(mFmc.getUnfadeableContentTypes()) in build()
139 .that(mFmc.getUnfadeablePlayerTypes()) in build()
142 .that(mFmc.getUnfadeableUids()).isEmpty(); in build()
144 .that(mFmc.getUnfadeableAudioAttributes()).isEmpty(); in build()
146 .that(mFmc.getFadeOutVolumeShaperConfigForUsage(AudioAttributes.USAGE_MEDIA)) in build()
149 .that(mFmc.getFadeOutDurationForUsage(AudioAttributes.USAGE_GAME)) in build()
152 .that(mFmc.getFadeInVolumeShaperConfigForUsage(AudioAttributes.USAGE_MEDIA)) in build()
155 .that(mFmc.getFadeInDurationForUsage(AudioAttributes.USAGE_GAME)) in build()
[all …]
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DConversionUtilsTest.java205 .that(ConversionUtils.isAtLeastU(T_APP_UID)).isFalse(); in isAtLeastU_withLowerSdkVersion_returnsFalse()
211 .that(ConversionUtils.isAtLeastU(U_APP_UID)).isTrue(); in isAtLeastU_withUSdkVersion_returnsTrue()
217 .that(ConversionUtils.isAtLeastV(U_APP_UID)).isFalse(); in isAtLeastV_withLowerSdkVersion_returnsFalse()
223 .that(ConversionUtils.isAtLeastV(V_APP_UID)).isTrue(); in isAtLeastV_withVSdkVersion_returnsTrue()
232 expect.withMessage("Exception thrown for canceling error").that(thrown) in throwOnError_withCancelException()
244 .that(thrown).hasMessageThat().contains("tune: INVALID_ARGUMENTS"); in throwOnError_withInvalidArgumentException()
254 .that(thrown).hasMessageThat().contains("seek: TIMEOUT"); in throwOnError_withTimeoutException()
260 .that(MODULE_PROPERTIES.getId()).isEqualTo(TEST_ID); in propertiesFromHalProperties_idsMatch()
266 .that(MODULE_PROPERTIES.getServiceName()).isEqualTo(TEST_SERVICE_NAME); in propertiesFromHalProperties_serviceNamesMatch()
272 .that(MODULE_PROPERTIES.getImplementor()).isEqualTo(TEST_MAKER); in propertiesFromHalProperties_implementorsMatch()
[all …]
/frameworks/base/tests/Input/src/android/hardware/input/
DVirtualTouchEventTest.java96 assertWithMessage("Incorrect action").that(event.getAction()).isEqualTo( in touchEvent_created()
98 assertWithMessage("Incorrect tool type").that(event.getToolType()).isEqualTo( in touchEvent_created()
100 assertWithMessage("Incorrect x").that(event.getX()).isEqualTo(0f); in touchEvent_created()
101 assertWithMessage("Incorrect y").that(event.getY()).isEqualTo(1f); in touchEvent_created()
102 assertWithMessage("Incorrect pointer id").that(event.getPointerId()).isEqualTo(1); in touchEvent_created()
116 assertWithMessage("Incorrect action").that(event.getAction()).isEqualTo( in touchEvent_created_withPressureAndAxis()
118 assertWithMessage("Incorrect tool type").that(event.getToolType()).isEqualTo( in touchEvent_created_withPressureAndAxis()
120 assertWithMessage("Incorrect x").that(event.getX()).isEqualTo(0f); in touchEvent_created_withPressureAndAxis()
121 assertWithMessage("Incorrect y").that(event.getY()).isEqualTo(1f); in touchEvent_created_withPressureAndAxis()
122 assertWithMessage("Incorrect pointer id").that(event.getPointerId()).isEqualTo(1); in touchEvent_created_withPressureAndAxis()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/impl/custom/
DQSTileStateSubject.kt41 check("other").that(other).isNull() in <lambda>()
44 check("other").that(other).isNotNull() in <lambda>()
47 check("icon").that(actual.icon()).isEqualTo(other.icon()) in <lambda>()
48 check("iconRes").that(actual.iconRes).isEqualTo(other.iconRes) in <lambda>()
49 check("label").that(actual.label).isEqualTo(other.label) in <lambda>()
50 check("activationState").that(actual.activationState).isEqualTo(other.activationState) in <lambda>()
51 check("secondaryLabel").that(actual.secondaryLabel).isEqualTo(other.secondaryLabel) in <lambda>()
52 check("label").that(actual.supportedActions).isEqualTo(other.supportedActions) in <lambda>()
54 .that(actual.contentDescription) in <lambda>()
56 check("stateDescription").that(actual.stateDescription).isEqualTo(other.stateDescription) in <lambda>()
[all …]
DTileSubject.kt39 check("other").that(other).isNull() in <lambda>()
42 check("other").that(other).isNotNull() in <lambda>()
46 check("icon").that(actual.icon).isEqualTo(other.icon) in <lambda>()
47 check("label").that(actual.label).isEqualTo(other.label) in <lambda>()
48 check("subtitle").that(actual.subtitle).isEqualTo(other.subtitle) in <lambda>()
50 .that(actual.contentDescription) in <lambda>()
52 check("stateDescription").that(actual.stateDescription).isEqualTo(other.stateDescription) in <lambda>()
54 .that(actual.activityLaunchForClick) in <lambda>()
56 check("state").that(actual.state).isEqualTo(other.state) in <lambda>()
69 fun assertThat(tile: Tile?): TileSubject = Truth.assertAbout(tiles()).that(tile) in <lambda>()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DConvertTest.java87 expect.withMessage("Exception for illegeal argument").that(thrown) in throwOnError()
94 .that(MODULE_PROPERTIES.getId()).isEqualTo(TEST_ID); in propertiesFromHalProperties_idsMatch()
100 .that(MODULE_PROPERTIES.getServiceName()).isEqualTo(TEST_SERVICE_NAME); in propertiesFromHalProperties_serviceNamesMatch()
106 .that(MODULE_PROPERTIES.getImplementor()).isEqualTo(TEST_MAKER); in propertiesFromHalProperties_implementorsMatch()
113 .that(MODULE_PROPERTIES.getProduct()).isEqualTo(TEST_PRODUCT); in propertiesFromHalProperties_productsMatch()
119 .that(MODULE_PROPERTIES.getVersion()).isEqualTo(TEST_VERSION); in propertiesFromHalProperties_versionsMatch()
125 .that(MODULE_PROPERTIES.getSerial()).isEqualTo(TEST_SERIAL); in propertiesFromHalProperties_serialsMatch()
134 .that(MODULE_PROPERTIES.getDabFrequencyTable()) in propertiesFromHalProperties_dabTableInfoMatch()
143 expect.withMessage("Vendor info").that(MODULE_PROPERTIES.getVendorInfo()) in propertiesFromHalProperties_vendorInfoMatch()
151 expect.withMessage("Band descriptors").that(bands).hasLength(2); in propertiesFromHalProperties_bandsMatch()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DDumpableContainerImplTest.java67 assertWithMessage("listDumpables(...)").that(getOutput()).isEqualTo("...No dumpables\n"); in testListDumpables_empty()
77 assertWithMessage("listDumpables()").that(getOutput()).isEqualTo("...1 dumpables: one\n"); in testListDumpables_one()
86 assertWithMessage("addDumpable(dumpable1)").that(added1).isTrue(); in testListDumpables_twoDistinctNames()
89 assertWithMessage("addDumpable(dumpable2)").that(added2).isTrue(); in testListDumpables_twoDistinctNames()
92 assertWithMessage("listDumpables()").that(getOutput()) in testListDumpables_twoDistinctNames()
102 assertWithMessage("addDumpable(dumpable1)").that(added1).isTrue(); in testListDumpables_twoSameName()
105 assertWithMessage("addDumpable(dumpable2)").that(added2).isFalse(); in testListDumpables_twoSameName()
108 assertWithMessage("listDumpables()").that(getOutput()) in testListDumpables_twoSameName()
119 assertWithMessage("dumpOneDumpable()").that(getOutput()).isEqualTo("...No two\n"); in testOneDumpable_notFound()
129 assertWithMessage("dumpOneDumpable()").that(getOutput()) in testOneDumpable_noArgs()
[all …]
/frameworks/base/proto/src/
Dsystem_messages.proto34 // Notify the user that a screenshot was captured.
46 // Warn the user that the device has gotten warm.
50 // Warn the user that some notifications are hidden.
58 // Notify the user that instant app is running.
62 // Notify the user that they should select an input method
74 // Notification to tell the user that a heavy-weight application is running.
78 // Notification to tell the user that a process has exceeded its memory limit.
82 // Notification that is shown when finishing a system upgrade
86 // Notify the user that tethering is active.
92 // Notify the user that always-on VPN has disconnected.
[all …]
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java547 AppWidgetProviderInfo that = new AppWidgetProviderInfo(); in clone() local
548 that.provider = this.provider == null ? null : this.provider.clone(); in clone()
549 that.minWidth = this.minWidth; in clone()
550 that.minHeight = this.minHeight; in clone()
551 that.minResizeWidth = this.minResizeWidth; in clone()
552 that.minResizeHeight = this.minResizeHeight; in clone()
553 that.maxResizeWidth = this.maxResizeWidth; in clone()
554 that.maxResizeHeight = this.maxResizeHeight; in clone()
555 that.targetCellWidth = this.targetCellWidth; in clone()
556 that.targetCellHeight = this.targetCellHeight; in clone()
[all …]
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssPositionMode.java45 GnssPositionMode that = (GnssPositionMode) other; in equals() local
46 return mMode == that.mMode && mRecurrence == that.mRecurrence in equals()
47 && mMinInterval == that.mMinInterval in equals()
48 && mPreferredAccuracy == that.mPreferredAccuracy in equals()
49 && mPreferredTime == that.mPreferredTime && mLowPowerMode == that.mLowPowerMode in equals()
50 && this.getClass() == that.getClass(); in equals()
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/datatransfer/contextsync/
DCrossDeviceCallTest.java51 assertWithMessage("Wrong status").that(crossDeviceCall.getStatus()) in updateCallDetails_uninitialized()
53 assertWithMessage("Wrong controls").that(crossDeviceCall.getControls()).isEmpty(); in updateCallDetails_uninitialized()
63 assertWithMessage("Wrong status").that(crossDeviceCall.getStatus()) in updateCallDetails_ringing()
65 assertWithMessage("Wrong controls").that(crossDeviceCall.getControls()) in updateCallDetails_ringing()
78 assertWithMessage("Wrong status").that(crossDeviceCall.getStatus()) in updateCallDetails_ongoing()
80 assertWithMessage("Wrong controls").that(crossDeviceCall.getControls()) in updateCallDetails_ongoing()
93 assertWithMessage("Wrong status").that(crossDeviceCall.getStatus()) in updateCallDetails_holding()
95 assertWithMessage("Wrong controls").that(crossDeviceCall.getControls()) in updateCallDetails_holding()
107 assertWithMessage("Wrong status").that(crossDeviceCall.getStatus()) in updateCallDetails_cannotHold()
109 assertWithMessage("Wrong controls").that(crossDeviceCall.getControls()) in updateCallDetails_cannotHold()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionInfoInternal.java1381 public boolean equalsDbItemsOnly(@NonNull SubscriptionInfoInternal that) { in equalsDbItemsOnly() argument
1382 return mId == that.mId && mSimSlotIndex == that.mSimSlotIndex in equalsDbItemsOnly()
1383 && mDisplayNameSource == that.mDisplayNameSource && mIconTint == that.mIconTint in equalsDbItemsOnly()
1384 && mDataRoaming == that.mDataRoaming && mIsEmbedded == that.mIsEmbedded in equalsDbItemsOnly()
1385 && mIsRemovableEmbedded == that.mIsRemovableEmbedded in equalsDbItemsOnly()
1386 && mIsExtremeThreatAlertEnabled == that.mIsExtremeThreatAlertEnabled in equalsDbItemsOnly()
1387 && mIsSevereThreatAlertEnabled == that.mIsSevereThreatAlertEnabled in equalsDbItemsOnly()
1388 && mIsAmberAlertEnabled == that.mIsAmberAlertEnabled in equalsDbItemsOnly()
1389 && mIsEmergencyAlertEnabled == that.mIsEmergencyAlertEnabled in equalsDbItemsOnly()
1390 && mAlertSoundDuration == that.mAlertSoundDuration in equalsDbItemsOnly()
[all …]
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/subjects/
DTransitionStateSubject.kt30 return Truth.assertAbout(TransitionStateSubject.transitionStates()).that(state) in <lambda>()
35 return Truth.assertAbout(TransitionSubject.transitions()).that(transitions) in assertThat()
44 check("currentScene").that(actual.currentScene).isEqualTo(sceneKey) in hasCurrentScene()
76 check("currentScene").that(actual.currentScene).isEqualTo(sceneKey) in hasCurrentScene()
80 check("fromScene").that(actual.fromScene).isEqualTo(sceneKey) in hasFromScene()
84 check("toScene").that(actual.toScene).isEqualTo(sceneKey) in hasToScene()
88 check("progress").that(actual.progress).isWithin(tolerance).of(progress) in hasProgress()
93 .that(actual.progressVelocity) in hasProgressVelocity()
99 check("isInitiatedByUserInput").that(actual.isInitiatedByUserInput).isTrue() in isInitiatedByUserInput()
103 check("isUserInputOngoing").that(actual.isUserInputOngoing).isEqualTo(isUserInputOngoing) in hasIsUserInputOngoing()
[all …]
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DExtendedMockitoRuleTest.java138 assertWithMessage("@Mock object").that(mClassUnderTest.mMock).isNotNull(); in testMocksInitialized()
145 assertWithMessage("@Mock object").that(mClassUnderTest.mMock).isNull(); in testMocksNotInitialized()
178 .that(StaticClass.marco()).isEqualTo("mocko()"); in testMocksStatic()
180 .that(StaticClass.water()).isNull(); // not mocked in testMocksStatic()
185 assertWithMessage("rule.getMockedStaticClasses()").that(mockedClasses) in testMocksStatic()
209 .that(StaticClass.marco()).isEqualTo("mocko()"); in testMocksStatic_multipleClasses()
211 .that(StaticClass.water()).isNull(); // not mocked in testMocksStatic_multipleClasses()
214 .that(AnotherStaticClass.marco()).isEqualTo("MOCKO()"); in testMocksStatic_multipleClasses()
216 .that(AnotherStaticClass.water()).isNull(); // not mocked in testMocksStatic_multipleClasses()
221 assertWithMessage("rule.getMockedStaticClasses()").that(mockedClasses) in testMocksStatic_multipleClasses()
[all …]

12345678910>>...67