/frameworks/libs/systemui/tracinglib/core/host/test/ |
D | CoroutineTracingTest.kt | 68 expect(1) in <lambda>() 69 traceCoroutine("hello") { expect(2, "hello") } in <lambda>() 75 expect(1) in <lambda>() 77 expect(2, "hello") in <lambda>() 78 traceCoroutine("world") { expect(3, "hello", "world") } in <lambda>() 79 expect(4, "hello") in <lambda>() 86 expect(1) in <lambda>() 88 expect(2, "hello") in <lambda>() 91 expect(3) in <lambda>() 97 expect(3, "span-for-launch") in <lambda>() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayManagerServiceImplRebootTests.java | 48 public final Expect expect = Expect.create(); field in OverlayManagerServiceImplRebootTests 74 expect.that(impl.updateOverlaysForUser(USER)).isEqualTo(allPackages); in testImmutableEnabledChange() 76 expect.that(o1).isNotNull(); in testImmutableEnabledChange() 77 assertThat(expect.hasFailures()).isFalse(); 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() 85 assertThat(expect.hasFailures()).isFalse(); in testImmutableEnabledChange() 86 expect.that(o2.isEnabled()).isTrue(); in testImmutableEnabledChange() [all …]
|
/frameworks/native/services/vr/virtual_touchpad/tests/ |
D | VirtualTouchpad_test.cpp | 120 UInputRecorder expect; in TEST_F() local 149 expect.Reset(); in TEST_F() 151 expect.Open(); in TEST_F() 153 expect.IoctlSetInt(UI_SET_PROPBIT, INPUT_PROP_DIRECT); in TEST_F() 155 expect.IoctlSetInt(UI_SET_EVBIT, EV_ABS); in TEST_F() 156 expect.IoctlSetInt(UI_SET_ABSBIT, ABS_MT_POSITION_X); in TEST_F() 157 expect.IoctlSetInt(UI_SET_ABSBIT, ABS_MT_POSITION_Y); in TEST_F() 159 expect.IoctlSetInt(UI_SET_ABSBIT, ABS_MT_SLOT); in TEST_F() 161 expect.IoctlSetInt(UI_SET_EVBIT, EV_REL); in TEST_F() 162 expect.IoctlSetInt(UI_SET_RELBIT, REL_WHEEL); in TEST_F() [all …]
|
/frameworks/minikin/tests/unittest/ |
D | OptimalLineBreakerTest.cpp | 172 void expectBreak(const std::vector<LineBreakExpectation>& expect, in expectBreak() argument 182 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in expectBreak() 193 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in expectBreak() 237 std::vector<LineBreakExpectation> expect = { in TEST_F() local 241 expectBreak(expect, textBuf, HIGH_QUALITY, NO_HYPHENATION, "en-US", LINE_WIDTH); in TEST_F() 242 expectBreak(expect, textBuf, HIGH_QUALITY, NORMAL_HYPHENATION, "en-US", LINE_WIDTH); in TEST_F() 243 expectBreak(expect, textBuf, BALANCED, NO_HYPHENATION, "en-US", LINE_WIDTH); in TEST_F() 244 expectBreak(expect, textBuf, BALANCED, NORMAL_HYPHENATION, "en-US", LINE_WIDTH); in TEST_F() 248 std::vector<LineBreakExpectation> expect = { in TEST_F() local 251 expectBreak(expect, textBuf, HIGH_QUALITY, NO_HYPHENATION, "en-US", LINE_WIDTH); in TEST_F() [all …]
|
D | GreedyLineBreakerTest.cpp | 273 std::vector<LineBreakExpectation> expect = { in TEST_F() local 278 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 284 std::vector<LineBreakExpectation> expect = { in TEST_F() local 289 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 296 std::vector<LineBreakExpectation> expect = { in TEST_F() local 303 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 310 std::vector<LineBreakExpectation> expect = { in TEST_F() local 319 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() 326 std::vector<LineBreakExpectation> expect = { in TEST_F() local 335 EXPECT_TRUE(sameLineBreak(expect, actual)) << toString(expect) << std::endl in TEST_F() [all …]
|
/frameworks/base/tools/lint/framework/checks/src/test/java/com/google/android/lint/parcel/ |
D | SaferParcelCheckerTest.kt | 61 .expect( in getDetector() 91 .expect("No warnings.") in testParcelDoesNotDetectSafeReadSerializable() 112 .expect( in testParcelDetectUnsafeReadArrayList() 142 .expect("No warnings.") in testParcelDoesNotDetectSafeReadArrayList() 166 .expect( in testParcelDetectUnsafeReadList() 198 .expect("No warnings.") in testDParceloesNotDetectSafeReadList() 220 .expect( in testParcelDetectUnsafeReadParcelable() 250 .expect("No warnings.") in testParcelDoesNotDetectSafeReadParcelable() 274 .expect( in testParcelDetectUnsafeReadParcelableList() 307 .expect("No warnings.") in testParcelDoesNotDetectSafeReadParcelableList() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | LockscreenShadeQsTransitionControllerTest.kt | 44 @get:Rule val expect: Expect = Expect.create() constant in com.android.systemui.statusbar.LockscreenShadeQsTransitionControllerTest 82 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() [all …]
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | FadeManagerConfigurationUnitTest.java | 119 public final Expect expect = Expect.create(); field in FadeManagerConfigurationUnitTest 129 expect.withMessage("Fade state for default builder") in build() 132 expect.withMessage("Fadeable usages for default builder") in build() 135 expect.withMessage("Unfadeable content types usages for default builder") in build() 138 expect.withMessage("Unfadeable player types for default builder") in build() 141 expect.withMessage("Unfadeable uids for default builder") in build() 143 expect.withMessage("Unfadeable audio attributes for default builder") in build() 145 expect.withMessage("Fade out volume shaper config for media usage") in build() 148 expect.withMessage("Fade out duration for game usage") in build() 151 expect.withMessage("Fade in volume shaper config for media uasge") in build() [all …]
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
D | ConversionUtilsTest.java | 177 public final Expect expect = Expect.create(); field in ConversionUtilsTest 204 expect.withMessage("Target SDK version of T") in isAtLeastU_withLowerSdkVersion_returnsFalse() 210 expect.withMessage("Target SDK version of U") in isAtLeastU_withUSdkVersion_returnsTrue() 216 expect.withMessage("Target SDK version U lower than V") in isAtLeastV_withLowerSdkVersion_returnsFalse() 222 expect.withMessage("Target SDK version of V not lower than V") in isAtLeastV_withVSdkVersion_returnsTrue() 232 expect.withMessage("Exception thrown for canceling error").that(thrown) in throwOnError_withCancelException() 243 expect.withMessage("Exception thrown for invalid argument error") in throwOnError_withInvalidArgumentException() 253 expect.withMessage("Exception thrown for timeout error") in throwOnError_withTimeoutException() 259 expect.withMessage("Properties id") in propertiesFromHalProperties_idsMatch() 265 expect.withMessage("Service name") in propertiesFromHalProperties_serviceNamesMatch() [all …]
|
D | ProgramInfoCacheTest.java | 127 public final Expect expect = Expect.create(); field in ProgramInfoCacheTest 131 expect.withMessage("Complete program info cache") in isComplete_forCompleteProgramInfoCache_returnsTrue() 139 expect.withMessage("Incomplete program info cache") in isComplete_forIncompleteProgramInfoCache_returnsFalse() 150 expect.withMessage("Program info cache filter") in getFilter_forProgramInfoCache() 165 expect.withMessage("Program cache updated with purge-enabled and complete chunk") in updateFromHalProgramListChunk_withPurgingCompleteChunk() 168 expect.withMessage("Complete program cache").that(cache.isComplete()).isTrue(); in updateFromHalProgramListChunk_withPurgingCompleteChunk() 184 expect.withMessage("Program cache updated with non-purging and incomplete chunk") in updateFromHalProgramListChunk_withNonPurgingIncompleteChunk() 187 expect.withMessage("Incomplete program cache").that(cache.isComplete()).isFalse(); in updateFromHalProgramListChunk_withNonPurgingIncompleteChunk() 202 expect.withMessage("Program cache updated with invalid chunk") in updateFromHalProgramListChunk_withInvalidChunk() 213 expect.withMessage("Program cache filtered by null filter") in filterAndUpdateFromInternal_withNullFilter() [all …]
|
/frameworks/libs/systemui/tracinglib/core/common/src/ |
D | TraceProxy.kt | 19 internal expect fun isEnabled(): Boolean 21 internal expect fun traceCounter(counterName: String, counterValue: Int) 23 internal expect fun traceBegin(methodName: String) 25 internal expect fun traceEnd() 27 internal expect fun asyncTraceBegin(methodName: String, cookie: Int) 29 internal expect fun asyncTraceEnd(methodName: String, cookie: Int) 31 internal expect fun asyncTraceForTrackBegin(trackName: String, methodName: String, cookie: Int) 33 internal expect fun asyncTraceForTrackEnd(trackName: String, methodName: String, cookie: Int) 47 internal expect fun instant(eventName: String) 62 internal expect fun instantForTrack(trackName: String, eventName: String)
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | ConvertTest.java | 80 public final Expect expect = Expect.create(); field in ConvertTest 87 expect.withMessage("Exception for illegeal argument").that(thrown) in throwOnError() 93 expect.withMessage("Properties id") in propertiesFromHalProperties_idsMatch() 99 expect.withMessage("Service name") in propertiesFromHalProperties_serviceNamesMatch() 105 expect.withMessage("Implementor") in propertiesFromHalProperties_implementorsMatch() 112 expect.withMessage("Product") in propertiesFromHalProperties_productsMatch() 118 expect.withMessage("Version") in propertiesFromHalProperties_versionsMatch() 124 expect.withMessage("Serial") in propertiesFromHalProperties_serialsMatch() 133 expect.withMessage("Supported program types") in propertiesFromHalProperties_dabTableInfoMatch() 143 expect.withMessage("Vendor info").that(MODULE_PROPERTIES.getVendorInfo()) in propertiesFromHalProperties_vendorInfoMatch() [all …]
|
/frameworks/base/tools/lint/global/checks/src/test/java/com/google/android/lint/aidl/ |
D | SimpleManualPermissionEnforcementDetectorTest.kt | 52 .expect( in getDetector() 90 .expect( in testClass_orSelfFalse_warning() 128 .expect( in testClass_enforcesFalse_warning() 169 .expect( in testAnonClass() 210 .expect( in testConstantEvaluation() 253 .expect( in testAllOf() 299 .expect( in testAllOf_mixedOrSelf_warning() 345 .expect( in testAllOf_mixedEnforces_warning() 415 .expect( in testPermissionHelper() 460 .expect( in testPermissionHelper_orSelfNotBubbledUp_warning() [all …]
|
D | EnforcePermissionDetectorTest.kt | 148 .expect(""" in testDetectIssuesMismatchingAnnotationOnMethod() 171 .expect(""" in testDetectIssuesAnnotationOnNonStubMethod() 216 .expect(""" in testDetectIssuesEmptyAnnotationOnMethod() 240 .expect(""" in testDetectIssuesMismatchingAnyAnnotationOnMethod() 266 .expect(""" in testDetectIssuesMismatchingAnyLiteralAnnotationOnMethod() 292 .expect(""" in testDetectIssuesMismatchingAllAnnotationOnMethod() 318 .expect(""" in testDetectIssuesMismatchingAllLiteralAnnotationOnMethod() 343 .expect(""" in testDetectIssuesMissingAnnotationOnMethod() 366 .expect(""" in testDetectIssuesExtraAnnotationMethod() 388 .expect( in testDetectIssuesMissingAnnotationOnMethodWhenClassIsCalledDefault() [all …]
|
D | EnforcePermissionHelperDetectorTest.kt | 50 .expect( in getDetector() 88 .expect( in testFirstExpressionIsVariableDeclaration() 123 .expect( in testMethodIsEmpty() 192 .expect( in testInterfaceDefaultMethod_notStubAncestor_error() 346 .expect( in testInheritance_missingCallInChain_error() 402 .expect( in testInheritance_missingCall_error() 427 .expect( in testRandomClass_notStubAncestor_error()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CountryDetectorServiceTest.java | 99 @Rule public final Expect expect = Expect.create(); field in CountryDetectorServiceTest 132 expect.that(mCountryDetectorService.isListenerSet()).isFalse(); in addCountryListener_validListener_listenerAdded() 135 expect.that(mCountryDetectorService.isListenerSet()).isTrue(); in addCountryListener_validListener_listenerAdded() 144 expect.that(mCountryDetectorService.isListenerSet()).isTrue(); in removeCountryListener_validListener_listenerRemoved() 147 expect.that(mCountryDetectorService.isListenerSet()).isFalse(); in removeCountryListener_validListener_listenerRemoved() 154 expect.that(mCountryDetectorService.isSystemReady()).isFalse(); in addCountryListener_serviceNotReady_throwsException() 162 expect.that(mCountryDetectorService.isSystemReady()).isFalse(); in removeCountryListener_serviceNotReady_throwsException() 168 expect.that(mCountryDetectorService.isSystemReady()).isFalse(); in detectCountry_serviceNotReady_returnNull() 170 expect.that(mCountryDetectorService.detectCountry()).isNull(); in detectCountry_serviceNotReady_returnNull() 183 expect.that(countryListenerA.isNotified()).isTrue(); in notifyReceivers_twoListenersRegistered_bothNotified() [all …]
|
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/ |
D | UniqueProgramIdentifierTest.java | 47 public final Expect expect = Expect.create(); field in UniqueProgramIdentifierTest 51 expect.withMessage("Critical secondary Id required for DAB") in requireCriticalSecondaryIds_forDab() 63 expect.withMessage("Null pointer exception for unique program identifier") in constructor_withNullSelector() 73 expect.withMessage("Primary id of DAB unique identifier") in getPrimaryId_forUniqueProgramIdentifier() 84 expect.withMessage("Critical secondary ids of DAB unique identifier") in getCriticalSecondaryIds_forDabUniqueProgramIdentifier() 95 expect.withMessage("Critical secondary ids of DAB unique identifier without ensemble") in getCriticalSecondaryIds_forDabUniqueProgramIdentifierWithoutEnsemble() 106 expect.withMessage("Critical secondary ids of DAB unique identifier") in getCriticalSecondaryIds_forDabUniqueProgramIdentifierWithoutSecondaryIds() 118 expect.withMessage("Empty critical secondary id list of FM unique identifier") in getCriticalSecondaryIds_forFmUniqueProgramIdentifier() 130 expect.withMessage("Primary id in DAB unique identifier") in toString_forUniqueProgramIdentifier() 132 expect.withMessage("Ensemble id in DAB unique identifier") in toString_forUniqueProgramIdentifier() [all …]
|
/frameworks/base/core/tests/overlaytests/device_self_targeting/src/com/android/overlaytest/ |
D | OverlayManagerImplTest.java | 103 @Rule public Expect expect = Expect.create(); field in OverlayManagerImplTest 255 expect.that(firstNumberOfOverlays).isEqualTo(1); in registerOverlay_createColorOverlay_shouldBeSavedInAndLoadFromFile() 257 expect.that(overlayInfo).isNotNull(); in registerOverlay_createColorOverlay_shouldBeSavedInAndLoadFromFile() 258 Truth.assertThat(expect.hasFailures()).isFalse(); in registerOverlay_createColorOverlay_shouldBeSavedInAndLoadFromFile() 259 expect.that(overlayInfo.isFabricated()).isTrue(); in registerOverlay_createColorOverlay_shouldBeSavedInAndLoadFromFile() 260 expect.that(overlayInfo.getOverlayName()).isEqualTo(mOverlayName); in registerOverlay_createColorOverlay_shouldBeSavedInAndLoadFromFile() 261 expect.that(overlayInfo.getPackageName()).isEqualTo(mContext.getPackageName()); in registerOverlay_createColorOverlay_shouldBeSavedInAndLoadFromFile() 262 expect.that(overlayInfo.getTargetPackageName()).isEqualTo(mContext.getPackageName()); in registerOverlay_createColorOverlay_shouldBeSavedInAndLoadFromFile() 263 expect.that(overlayInfo.getUserId()).isEqualTo(mContext.getUserId()); in registerOverlay_createColorOverlay_shouldBeSavedInAndLoadFromFile() 281 expect.that(firstNumberOfOverlays).isEqualTo(1); in registerOverlay_createStringOverlay_shouldBeSavedInAndLoadFromFile() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 61 @Rule public final Expect expect = Expect.create(); field in KeyEventTest 171 expect.withMessage("id (key1=%s, key2=%s", key1, key2).that(key2.getId()) in testCopyConstructorWith2ChangedFields() 250 expect.withMessage("id (key1=%s, key2=%s", key1, key2).that(key2.getId()) in testCopyChangeAction() 260 expect.withMessage("id (key1=%s, key2=%s)", key1, key2) in compareKeys() 262 expect.withMessage("downTime (key1=%s, key2=%s)", key1, key2) in compareKeys() 264 expect.withMessage("eventTime (key1=%s, key2=%s)", key1, key2) in compareKeys() 266 expect.withMessage("action (key1=%s, key2=%s)", key1, key2) in compareKeys() 268 expect.withMessage("keyCode (key1=%s, key2=%s)", key1, key2) in compareKeys() 270 expect.withMessage("repatCount (key1=%s, key2=%s)", key1, key2) in compareKeys() 272 expect.withMessage("metaState (key1=%s, key2=%s)", key1, key2) in compareKeys() [all …]
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/devicestate/ |
D | PosturesHelperTest.kt | 48 @get:Rule val expect: Expect = Expect.create() constant in com.android.settingslib.devicestate.PosturesHelperTest 75 expect in deviceStateToPosture_mapsCorrectly() 78 expect in deviceStateToPosture_mapsCorrectly() 81 expect in deviceStateToPosture_mapsCorrectly() 84 expect in deviceStateToPosture_mapsCorrectly() 87 expect in deviceStateToPosture_mapsCorrectly() 94 expect in postureToDeviceState_mapsCorrectly() 97 expect in postureToDeviceState_mapsCorrectly() 100 expect in postureToDeviceState_mapsCorrectly() 103 expect in postureToDeviceState_mapsCorrectly() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/dialog/ |
D | AccessibilityServiceWarningTest.java | 72 public final Expect expect = Expect.create(); field in AccessibilityServiceWarningTest 101 expect.that(dialogWindow.getAttributes().privateFlags in createAccessibilityServiceWarningDialog_hasExpectedWindowParams() 104 expect.that(dialogWindow.getAttributes().type).isEqualTo(TYPE_SYSTEM_DIALOG); in createAccessibilityServiceWarningDialog_hasExpectedWindowParams() 124 expect.that(mAllowListener.get()).isTrue(); in createAccessibilityServiceWarningDialog_clickAllow() 125 expect.that(mDenyListener.get()).isFalse(); in createAccessibilityServiceWarningDialog_clickAllow() 126 expect.that(mUninstallListener.get()).isFalse(); in createAccessibilityServiceWarningDialog_clickAllow() 137 expect.that(mAllowListener.get()).isFalse(); in createAccessibilityServiceWarningDialog_clickDeny() 138 expect.that(mDenyListener.get()).isTrue(); in createAccessibilityServiceWarningDialog_clickDeny() 139 expect.that(mUninstallListener.get()).isFalse(); in createAccessibilityServiceWarningDialog_clickDeny() 150 expect.that(mAllowListener.get()).isFalse(); in createAccessibilityServiceWarningDialog_clickUninstall() [all …]
|
/frameworks/base/tools/lint/framework/checks/src/test/java/com/google/android/lint/ |
D | CallingIdentityTokenDetectorTest.kt | 116 .expect( in testDetectsUnusedTokens() 167 .expect( in testDetectsUnusedTokensInScopes() 235 .expect( in testDetectsUnusedTokensWithSimilarNamesInScopes() 286 .expect( in testDetectsNonFinalTokens() 341 .expect( in testDetectsNestedClearCallingIdentityCalls() 412 .expect( in testDetectsClearIdentityCallNotFollowedByTryFinally() 497 .expect( in testDetectsRestoreCallingIdentityCallNotInFinally() 575 .expect( in testDetectsRestoreCallingIdentityCallNotInFinallyInScopes() 647 .expect( in testDetectsUseOfCallerAwareMethodsWithClearedIdentityIssuesInScopes() 770 .expect( in testDetectsResultOfClearIdentityCallNotStoredInVariable()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | FadeConfigurationsTest.java | 95 public final Expect expect = Expect.create(); field in FadeConfigurationsTest 107 expect.withMessage("Fadeable usages for default constructor") in testGetFadeableUsages_forDefaultConstr_equalsDefaultFadeableUsages() 113 expect.withMessage("Unfadeable content types for default constructor") in testGetUnfadeableContentTypes_forDefaultConstr_equalsDefaultContentTypes() 120 expect.withMessage("Unfadeable player types for default constructor") in testGetUnfadeablePlayerTypes_forDefaultConstr_equalsDefaultPlayerTypes() 127 expect.withMessage("Fadeout VolumeShaper config for default constructor") in testGetFadeOutVolumeShaperConfig_forDefaultConstr_equalsDefaultVolShaperConfig() 134 expect.withMessage("Fade out duration for media attribute with default constructor") in testGetFadeOutDuration_forFadeableAttrribute_equalsDefaultDuration() 137 expect.withMessage("Fade out duration for media attribute with default constructor") in testGetFadeOutDuration_forFadeableAttrribute_equalsDefaultDuration() 144 expect.withMessage("Fade out duration for assistant attribute with default constructor") in testGetFadeOutDuration_forUnFadeableAttrribute_equalsZeroDuration() 147 expect.withMessage("Fade out duration for speech attribute with default constructor") in testGetFadeOutDuration_forUnFadeableAttrribute_equalsZeroDuration() 154 expect.withMessage("Fade out duration for media attribute with default constructor") in testGetDelayFadeInOffenders_equalsDefaultDelay() [all …]
|
/frameworks/native/libs/binder/rust/tests/ |
D | integration.rs | 63 service.set_extension(&mut extension.as_binder()).expect("Could not add extension"); in main() 66 .expect("Could not register service"); in main() 403 std::env::current_exe().expect("Could not retrieve current executable path"); in new_internal() 411 let child = command.spawn().expect("Could not start service"); in new_internal() 418 self.0.kill().expect("Could not kill child process"); in drop() 419 self.0.wait().expect("Could not wait for child process to die"); in drop() 425 let mut sm = binder::get_service("manager").expect("Did not get manager binder service"); in check_get_service() 449 let mut sm = binder::get_service("manager").expect("Did not get manager binder service"); in check_get_service_async() 478 let mut sm = binder::check_service("manager").expect("Did not find manager binder service"); in check_check_service() 505 let mut sm = binder::check_service("manager").expect("Did not find manager binder service"); in check_check_service_async() [all …]
|
/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/ |
D | PlatformCompatPermissionsTest.java | 81 thrown.expect(SecurityException.class); in reportChange_noLogCompatChangePermission_throwsSecurityException() 99 thrown.expect(SecurityException.class); in reportChangeByPackageName_noLogCompatChangePermission_throwsSecurityException() 117 thrown.expect(SecurityException.class); in reportChangeByUid_noLogCompatChangePermission_throwsSecurityException() 133 thrown.expect(SecurityException.class); in isChangeEnabled_noReadCompatConfigPermission_throwsSecurityException() 142 thrown.expect(SecurityException.class); in isChangeEnabled_noLogCompatChangeConfigPermission_throwsSecurityException() 161 thrown.expect(SecurityException.class); in isChangeEnabledByPackageName_noReadCompatConfigPermission_throwsSecurityException() 170 thrown.expect(SecurityException.class); in isChangeEnabledByPackageName_noLogompatConfigPermission_throwsSecurityException() 189 thrown.expect(SecurityException.class); in isChangeEnabledByUid_noReadCompatConfigPermission_throwsSecurityException() 197 thrown.expect(SecurityException.class); in isChangeEnabledByUid_noLogCompatChangePermission_throwsSecurityException() 214 thrown.expect(SecurityException.class); in setOverrides_noOverridesPermission_throwsSecurityException() [all …]
|