Home
last modified time | relevance | path

Searched defs:TEST (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/frameworks/av/media/libaaudio/tests/
Dtest_various.cpp133 TEST(test_various, aaudio_release_close_none_output) { in TEST() function
140 TEST(test_various, aaudio_release_close_none_input) { in TEST() function
147 TEST(test_various, aaudio_release_close_low_shared_output) { in TEST() function
153 TEST(test_various, aaudio_release_close_low_shared_input) { in TEST() function
159 TEST(test_various, aaudio_release_close_low_exclusive_output) { in TEST() function
165 TEST(test_various, aaudio_release_close_low_exclusive_input) { in TEST() function
305 TEST(test_various, aaudio_state_lowlat_open_start) { in TEST() function
313 TEST(test_various, aaudio_state_none_open_start) { in TEST() function
321 TEST(test_various, aaudio_state_lowlat_open_stop) { in TEST() function
329 TEST(test_various, aaudio_state_none_open_stop) { in TEST() function
[all …]
/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp32 TEST(ResourceUtilsTest, ParseBool) { in TEST() function
44 TEST(ResourceUtilsTest, ParseResourceName) { in TEST() function
62 TEST(ResourceUtilsTest, ParseReferenceWithNoPackage) { in TEST() function
72 TEST(ResourceUtilsTest, ParseReferenceWithPackage) { in TEST() function
82 TEST(ResourceUtilsTest, ParseReferenceWithSurroundingWhitespace) { in TEST() function
92 TEST(ResourceUtilsTest, ParseAutoCreateIdReference) { in TEST() function
102 TEST(ResourceUtilsTest, ParsePrivateReference) { in TEST() function
112 TEST(ResourceUtilsTest, ParseBinaryDynamicReference) { in TEST() function
126 TEST(ResourceUtilsTest, FailToParseAutoCreateNonIdReference) { in TEST() function
133 TEST(ResourceUtilsTest, ParseAttributeReferences) { in TEST() function
[all …]
/frameworks/native/libs/ui/tests/
DRect_test.cpp27 TEST(RectTest, constructDefault) { in TEST() function
33 TEST(RectTest, constructFromWidthAndHeight) { in TEST() function
45 TEST(RectTest, constructFromSize) { in TEST() function
57 TEST(RectTest, constructFromLTRB) { in TEST() function
69 TEST(RectTest, constructFromPoints) { in TEST() function
81 TEST(RectTest, constructFromFloatRect) { in TEST() function
104 TEST(RectTest, makeInvalid) { in TEST() function
111 TEST(RectTest, clear) { in TEST() function
118 TEST(RectTest, getSize) { in TEST() function
123 TEST(RectTest, getBounds) { in TEST() function
[all …]
/frameworks/native/libs/ftl/
Dflags_test.cpp29 TEST(Flags, Test) { in TEST() function
36 TEST(Flags, Any) { in TEST() function
47 TEST(Flags, All) { in TEST() function
58 TEST(Flags, DefaultConstructor_hasNoFlagsSet) { in TEST() function
63 TEST(Flags, NotOperator_onEmptyFlagsSetsAllFlags) { in TEST() function
69 TEST(Flags, NotOperator_onNonEmptyFlagsInvertsFlags) { in TEST() function
76 TEST(Flags, OrOperator_withNewFlag) { in TEST() function
83 TEST(Flags, OrOperator_withExistingFlag) { in TEST() function
90 TEST(Flags, OrEqualsOperator_withNewFlag) { in TEST() function
97 TEST(Flags, OrEqualsOperator_withExistingFlag) { in TEST() function
[all …]
/frameworks/base/tools/aapt2/util/
DUtil_test.cpp41 TEST(UtilTest, TrimOnlyWhitespace) { in TEST() function
47 TEST(UtilTest, StringEndsWith) { in TEST() function
51 TEST(UtilTest, StringStartsWith) { in TEST() function
55 TEST(UtilTest, TokenizeInput) { in TEST() function
69 TEST(UtilTest, TokenizeEmptyString) { in TEST() function
78 TEST(UtilTest, TokenizeAtEnd) { in TEST() function
87 TEST(UtilTest, IsJavaClassName) { in TEST() function
101 TEST(UtilTest, IsJavaPackageName) { in TEST() function
115 TEST(UtilTest, IsAndroidPackageName) { in TEST() function
134 TEST(UtilTest, IsAndroidSharedUserId) { in TEST() function
[all …]
/frameworks/base/libs/hwui/tests/unit/
DRenderEffectCapabilityQueryTests.cpp21 TEST(RenderEffectCapabilityQuery, testSupportedVendor) { in TEST() function
25 TEST(RenderEffectCapabilityQuery, testSupportedVendorWithDifferentVersion) { in TEST() function
29 TEST(RenderEffectCapabilityQuery, testVendorWithSupportedVersion) { in TEST() function
33 TEST(RenderEffectCapabilityQuery, testVendorWithSupportedPatchVersion) { in TEST() function
37 TEST(RenderEffectCapabilityQuery, testVendorWithNewerThanSupportedMajorVersion) { in TEST() function
41 TEST(RenderEffectCapabilityQuery, testVendorWithNewerThanSupportedMinorVersion) { in TEST() function
45 TEST(RenderEffectCapabilityQuery, testVendorWithUnsupportedMajorVersion) { in TEST() function
49 TEST(RenderEffectCapabilityQuery, testVendorWithUnsupportedVersion) { in TEST() function
DCanvasOpTests.cpp64 TEST(CanvasOp, verifyConst) { in TEST() function
78 TEST(CanvasOp, simplePush) { in TEST() function
118 TEST(CanvasOp, simpleDrawPaint) { in TEST() function
133 TEST(CanvasOp, simpleDrawPoint) { in TEST() function
149 TEST(CanvasOp, simpleDrawPoints) { in TEST() function
174 TEST(CanvasOp, simpleDrawLine) { in TEST() function
192 TEST(CanvasOp, simpleDrawLines) { in TEST() function
216 TEST(CanvasOp, simpleDrawRect) { in TEST() function
231 TEST(CanvasOp, simpleDrawRegionRect) { in TEST() function
249 TEST(CanvasOp, simpleDrawRegionPath) { in TEST() function
[all …]
/frameworks/base/tools/aapt2/filter/
DConfigFilter_test.cpp23 TEST(ConfigFilterTest, EmptyFilterMatchesAnything) { in TEST() function
30 TEST(ConfigFilterTest, MatchesConfigWithUnrelatedAxis) { in TEST() function
37 TEST(ConfigFilterTest, MatchesConfigWithSameValueAxis) { in TEST() function
44 TEST(ConfigFilterTest, MatchesConfigWithSameValueAxisAndOtherUnrelatedAxis) { in TEST() function
51 TEST(ConfigFilterTest, MatchesConfigWithOneMatchingAxis) { in TEST() function
61 TEST(ConfigFilterTest, DoesNotMatchConfigWithDifferentValueAxis) { in TEST() function
68 TEST(ConfigFilterTest, DoesNotMatchWhenOneQualifierIsExplicitlyNotMatched) { in TEST() function
80 TEST(ConfigFilterTest, MatchesSmallestWidthWhenSmaller) { in TEST() function
87 TEST(ConfigFilterTest, MatchesConfigWithSameLanguageButNoRegionSpecified) { in TEST() function
94 TEST(ConfigFilterTest, IgnoresVersion) { in TEST() function
[all …]
/frameworks/base/libs/androidfw/tests/
DConfigDescription_test.cpp36 TEST(ConfigDescriptionTest, ParseFailWhenQualifiersAreOutOfOrder) { in TEST() function
42 TEST(ConfigDescriptionTest, ParseFailWhenQualifiersAreNotMatched) { in TEST() function
46 TEST(ConfigDescriptionTest, ParseFailWhenQualifiersHaveTrailingDash) { in TEST() function
50 TEST(ConfigDescriptionTest, ParseBasicQualifiers) { in TEST() function
67 TEST(ConfigDescriptionTest, ParseLocales) { in TEST() function
73 TEST(ConfigDescriptionTest, ParseQualifierAddedInApi13) { in TEST() function
82 TEST(ConfigDescriptionTest, ParseCarAttribute) { in TEST() function
88 TEST(ConfigDescriptionTest, TestParsingRoundQualifier) { in TEST() function
103 TEST(ConfigDescriptionTest, TestWideColorGamutQualifier) { in TEST() function
118 TEST(ConfigDescriptionTest, TestHdrQualifier) { in TEST() function
[all …]
DConfigLocale_test.cpp25 TEST(ConfigLocaleTest, packAndUnpack2LetterLanguage) { in TEST() function
48 TEST(ConfigLocaleTest, packAndUnpack2LetterRegion) { in TEST() function
63 TEST(ConfigLocaleTest, packAndUnpack3LetterLanguage) { in TEST() function
79 TEST(ConfigLocaleTest, packAndUnpack3LetterLanguageAtOffset16) { in TEST() function
103 TEST(ConfigLocaleTest, packAndUnpack3LetterRegion) { in TEST() function
139 TEST(ConfigLocaleTest, IsMoreSpecificThan) { in TEST() function
190 TEST(ConfigLocaleTest, setLocale) { in TEST() function
294 TEST(ConfigLocaleTest, computeScript) { in TEST() function
322 TEST(ConfigLocaleTest, getBcp47Locale_script) { in TEST() function
336 TEST(ConfigLocaleTest, getBcp47Locale_numberingSystem) { in TEST() function
[all …]
/frameworks/base/tools/aapt/tests/
DAaptConfig_test.cpp37 TEST(AaptConfigTest, ParseFailWhenQualifiersAreOutOfOrder) { in TEST() function
43 TEST(AaptConfigTest, ParseFailWhenQualifiersAreNotMatched) { in TEST() function
47 TEST(AaptConfigTest, ParseFailWhenQualifiersHaveTrailingDash) { in TEST() function
51 TEST(AaptConfigTest, ParseBasicQualifiers) { in TEST() function
65 TEST(AaptConfigTest, ParseLocales) { in TEST() function
71 TEST(AaptConfigTest, ParseQualifierAddedInApi13) { in TEST() function
80 TEST(AaptConfigTest, TestParsingOfCarAttribute) { in TEST() function
86 TEST(AaptConfigTest, TestParsingRoundQualifier) { in TEST() function
101 TEST(AaptConfigTest, WideColorGamutQualifier) { in TEST() function
116 TEST(AaptConfigTest, HdrQualifier) { in TEST() function
DResourceFilter_test.cpp30 TEST(WeakResourceFilterTest, EmptyFilterMatchesAnything) { in TEST() function
45 TEST(WeakResourceFilterTest, MatchesConfigWithUnrelatedAxis) { in TEST() function
55 TEST(WeakResourceFilterTest, MatchesConfigWithSameValueAxis) { in TEST() function
66 TEST(WeakResourceFilterTest, MatchesConfigWithSameValueAxisAndOtherUnrelatedAxis) { in TEST() function
78 TEST(WeakResourceFilterTest, MatchesConfigWithOneMatchingAxis) { in TEST() function
89 TEST(WeakResourceFilterTest, DoesNotMatchConfigWithDifferentValueAxis) { in TEST() function
100 TEST(WeakResourceFilterTest, DoesNotMatchWhenOneQualifierIsExplicitlyNotMatched) { in TEST() function
113 TEST(WeakResourceFilterTest, MatchesSmallestWidthWhenSmaller) { in TEST() function
126 TEST(WeakResourceFilterTest, MatchesConfigWithSameLanguageButNoRegionSpecified) { in TEST() function
137 TEST(WeakResourceFilterTest, ParsesStandardLocaleOnlyString) { in TEST() function
[all …]
DPseudolocales_test.cpp47 TEST(Pseudolocales, NoPseudolocalization) { in TEST() function
55 TEST(Pseudolocales, PlaintextAccent) { in TEST() function
71 TEST(Pseudolocales, PlaintextBidi) { in TEST() function
96 TEST(Pseudolocales, SimpleICU) { in TEST() function
115 TEST(Pseudolocales, ICUBidi) { in TEST() function
129 TEST(Pseudolocales, Escaping) { in TEST() function
139 TEST(Pseudolocales, PluralsAndSelects) { in TEST() function
169 TEST(Pseudolocales, NestedICU) { in TEST() function
215 TEST(Pseudolocales, RedefineMethod) { in TEST() function
/frameworks/libs/net/common/netd/libnetdutils/
DLogTest.cpp70 TEST(LogEntryTest, Empty) { in TEST() function
75 TEST(LogEntryTest, GlobalFunction) { in TEST() function
79 TEST(LogEntryTest, GlobalPrettyFunction) { in TEST() function
83 TEST(LogEntryTest, UnnamedNamespaceFunction) { in TEST() function
88 TEST(LogEntryTest, UnnamedNamespacePrettyFunction) { in TEST() function
93 TEST(LogEntryTest, ClassFunction) { in TEST() function
98 TEST(LogEntryTest, ClassPrettyFunction) { in TEST() function
103 TEST(LogEntryTest, InnerClassFunction) { in TEST() function
108 TEST(LogEntryTest, InnerClassPrettyFunction) { in TEST() function
113 TEST(LogEntryTest, PrintChainedArguments) { in TEST() function
[all …]
/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp78 TEST(AddService, HappyHappy) { in TEST() function
84 TEST(AddService, EmptyNameDisallowed) { in TEST() function
90 TEST(AddService, JustShortEnoughServiceNameHappy) { in TEST() function
96 TEST(AddService, TooLongNameDisallowed) { in TEST() function
102 TEST(AddService, WeirdCharactersDisallowed) { in TEST() function
108 TEST(AddService, AddNullServiceDisallowed) { in TEST() function
114 TEST(AddService, AddDisallowedFromApp) { in TEST() function
130 TEST(AddService, HappyOverExistingService) { in TEST() function
138 TEST(AddService, OverwriteExistingService) { in TEST() function
158 TEST(AddService, NoPermissions) { in TEST() function
[all …]
/frameworks/native/libs/input/tests/
DTouchVideoFrame_test.cpp27 TEST(TouchVideoFrame, Constructor) { in TEST() function
41 TEST(TouchVideoFrame, Equality) { in TEST() function
73 TEST(TouchVideoFrame, Rotate90_0x0) { in TEST() function
80 TEST(TouchVideoFrame, Rotate90_1x1) { in TEST() function
87 TEST(TouchVideoFrame, Rotate90_2x2) { in TEST() function
94 TEST(TouchVideoFrame, Rotate90_3x2) { in TEST() function
101 TEST(TouchVideoFrame, Rotate90_3x2_4times) { in TEST() function
113 TEST(TouchVideoFrame, Rotate180_0x0) { in TEST() function
120 TEST(TouchVideoFrame, Rotate180_1x1) { in TEST() function
127 TEST(TouchVideoFrame, Rotate180_2x2) { in TEST() function
[all …]
/frameworks/native/services/inputflinger/tests/
DAnrTracker_test.cpp31 TEST(AnrTrackerTest, SingleEntry_First) { in TEST() function
40 TEST(AnrTrackerTest, MultipleEntries_RemoveToken) { in TEST() function
57 TEST(AnrTrackerTest, AddAndRemove_Empty) { in TEST() function
69 TEST(AnrTrackerTest, Clear) { in TEST() function
77 TEST(AnrTrackerTest, SingleToken_MaintainsOrder) { in TEST() function
90 TEST(AnrTrackerTest, MultipleTokens_MaintainsOrder) { in TEST() function
104 TEST(AnrTrackerTest, MultipleTokens_IdenticalTimes) { in TEST() function
119 TEST(AnrTrackerTest, MultipleTokens_IdenticalTimesRemove) { in TEST() function
135 TEST(AnrTrackerTest, Empty_DoesntCrash) { in TEST() function
144 TEST(AnrTrackerTest, RemoveInvalidItem_DoesntCrash) { in TEST() function
/frameworks/av/media/libheadtracking/
DPose-test.cpp32 TEST(Pose, CtorDefault) { in TEST() function
38 TEST(Pose, CtorRotation) { in TEST() function
45 TEST(Pose, CtorTranslation) { in TEST() function
52 TEST(Pose, CtorTranslationRotation) { in TEST() function
60 TEST(Pose, Inverse) { in TEST() function
66 TEST(Pose, IsApprox) { in TEST() function
80 TEST(Pose, Compose) { in TEST() function
87 TEST(Pose, MoveWithRateLimit_NoLimit) { in TEST() function
95 TEST(Pose, MoveWithRateLimit_TranslationLimit) { in TEST() function
104 TEST(Pose, MoveWithRateLimit_RotationLimit) { in TEST() function
[all …]
/frameworks/native/libs/binder/tests/
DbinderTextOutputTest.cpp58 TEST(TextOutput, HandlesStdEndl) { in TEST() function
65 TEST(TextOutput, HandlesCEndl) { in TEST() function
72 TEST(TextOutput, HandlesAndroidEndl) { in TEST() function
79 TEST(TextOutput, HandleEmptyString) { in TEST() function
83 TEST(TextOutput, HandleString) { in TEST() function
87 TEST(TextOutput, HandleNum) { in TEST() function
91 TEST(TextOutput, HandleBool) { in TEST() function
95 TEST(TextOutput, HandleChar) { in TEST() function
99 TEST(TextOutput, HandleParcel) { in TEST() function
104 TEST(TextOutput, HandleHexDump) { in TEST() function
[all …]
/frameworks/base/tools/aapt2/compile/
DPseudolocalizer_test.cpp52 TEST(PseudolocalizerTest, NoPseudolocalization) { in TEST() function
61 TEST(PseudolocalizerTest, PlaintextAccent) { in TEST() function
79 TEST(PseudolocalizerTest, PlaintextBidi) { in TEST() function
107 TEST(PseudolocalizerTest, SimpleICU) { in TEST() function
129 TEST(PseudolocalizerTest, ICUBidi) { in TEST() function
143 TEST(PseudolocalizerTest, Escaping) { in TEST() function
155 TEST(PseudolocalizerTest, PluralsAndSelects) { in TEST() function
184 TEST(PseudolocalizerTest, NestedICU) { in TEST() function
229 TEST(PseudolocalizerTest, RedefineMethod) { in TEST() function
DNinePatch_test.cpp184 TEST(NinePatchTest, Minimum3x3) { in TEST() function
190 TEST(NinePatchTest, MixedNeutralColors) { in TEST() function
196 TEST(NinePatchTest, TransparentNeutralColor) { in TEST() function
202 TEST(NinePatchTest, SingleStretchRegion) { in TEST() function
215 TEST(NinePatchTest, MultipleStretchRegions) { in TEST() function
232 TEST(NinePatchTest, InferPaddingFromStretchRegions) { in TEST() function
240 TEST(NinePatchTest, Padding) { in TEST() function
248 TEST(NinePatchTest, LayoutBoundsAreOnWrongEdge) { in TEST() function
254 TEST(NinePatchTest, LayoutBoundsMustTouchEdges) { in TEST() function
261 TEST(NinePatchTest, LayoutBounds) { in TEST() function
[all …]
/frameworks/minikin/tests/unittest/
DHyphenatorTest.cpp47 TEST(HyphenatorTest, usEnglishAutomaticHyphenation) { in TEST() function
62 TEST(HyphenatorTest, catalanMiddleDot) { in TEST() function
76 TEST(HyphenatorTest, catalanMiddleDotShortWord) { in TEST() function
88 TEST(HyphenatorTest, polishHyphen) { in TEST() function
100 TEST(HyphenatorTest, polishHyphenButNonLatinWord) { in TEST() function
113 TEST(HyphenatorTest, polishEnDash) { in TEST() function
126 TEST(HyphenatorTest, slovenianHyphen) { in TEST() function
138 TEST(HyphenatorTest, latinSoftHyphen) { in TEST() function
150 TEST(HyphenatorTest, latinSoftHyphenStartingTheWord) { in TEST() function
161 TEST(HyphenatorTest, malayalamSoftHyphen) { in TEST() function
[all …]
/frameworks/native/libs/fakeservicemanager/
Dtest_sm.cpp47 TEST(AddService, HappyHappy) { in TEST() function
53 TEST(AddService, HappyOverExistingService) { in TEST() function
61 TEST(GetService, HappyHappy) { in TEST() function
71 TEST(GetService, NonExistant) { in TEST() function
77 TEST(ListServices, AllServices) { in TEST() function
96 TEST(WaitForService, NonExistant) { in TEST() function
102 TEST(WaitForService, HappyHappy) { in TEST() function
112 TEST(IsDeclared, NonExistant) { in TEST() function
118 TEST(IsDeclared, HappyHappy) { in TEST() function
/frameworks/av/media/libaudioclient/tests/
Daudio_aidl_status_tests.cpp32 TEST(audio_aidl_status_tests, statusRoundTripSmallValues) { in TEST() function
39 TEST(audio_aidl_status_tests, statusRoundTripSpecialValues) { in TEST() function
64 TEST(audio_aidl_status_tests, binderStatusExceptions) { in TEST() function
87 TEST(audio_aidl_status_tests, binderStatusTransactionError) { in TEST() function
112 TEST(audio_aidl_status_tests, binderStatusServiceSpecificError) { in TEST() function
120 TEST(audio_aidl_status_tests, binderStatusMessage) { in TEST() function
/frameworks/base/cmds/idmap2/tests/
DResultTests.cpp33 TEST(ResultTests, ErrorTraits) { in TEST() function
40 TEST(ResultTests, ErrorCtorFormat) { in TEST() function
45 TEST(ResultTests, ErrorPropagateParent) { in TEST() function
62 TEST(ResultTests, CopyConstructor) { in TEST() function
75 TEST(ResultTests, Constructor) { in TEST() function
88 TEST(ResultTests, MoveConstructor) { in TEST() function
99 TEST(ResultTests, CopyAssignmentOperator) { in TEST() function
113 TEST(ResultTests, MoveAssignmentOperator) { in TEST() function
125 TEST(ResultTests, BoolOperator) { in TEST() function
136 TEST(ResultTests, IndirectionOperator) { in TEST() function
[all …]

12345678910>>...13