Home
last modified time | relevance | path

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

1234567891011

/frameworks/av/media/libaaudio/tests/
Dtest_various.cpp131 TEST(test_various, aaudio_release_close_none_output) { in TEST() function
138 TEST(test_various, aaudio_release_close_none_input) { in TEST() function
145 TEST(test_various, aaudio_release_close_low_shared_output) { in TEST() function
151 TEST(test_various, aaudio_release_close_low_shared_input) { in TEST() function
157 TEST(test_various, aaudio_release_close_low_exclusive_output) { in TEST() function
163 TEST(test_various, aaudio_release_close_low_exclusive_input) { in TEST() function
303 TEST(test_various, aaudio_state_lowlat_open_start) { in TEST() function
311 TEST(test_various, aaudio_state_none_open_start) { in TEST() function
319 TEST(test_various, aaudio_state_lowlat_open_stop) { in TEST() function
327 TEST(test_various, aaudio_state_none_open_stop) { in TEST() function
[all …]
/frameworks/native/libs/input/tests/
DFlags_test.cpp28 TEST(Flags, Test) { in TEST() function
35 TEST(Flags, Any) { in TEST() function
46 TEST(Flags, All) { in TEST() function
57 TEST(Flags, DefaultConstructor_hasNoFlagsSet) { in TEST() function
62 TEST(Flags, NotOperator_onEmptyFlagsSetsAllFlags) { in TEST() function
68 TEST(Flags, NotOperator_onNonEmptyFlagsInvertsFlags) { in TEST() function
75 TEST(Flags, OrOperator_withNewFlag) { in TEST() function
82 TEST(Flags, OrOperator_withExistingFlag) { in TEST() function
89 TEST(Flags, OrEqualsOperator_withNewFlag) { in TEST() function
96 TEST(Flags, OrEqualsOperator_withExistingFlag) { in TEST() function
[all …]
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/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/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/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/minikin/tests/unittest/
DWordBreakerTests.cpp35 TEST(WordBreakerTest, basic) { in TEST() function
52 TEST(WordBreakerTest, softHyphen) { in TEST() function
68 TEST(WordBreakerTest, hardHyphen) { in TEST() function
80 TEST(WordBreakerTest, postfixAndPrefix) { in TEST() function
95 TEST(WordBreakerTest, myanmarKinzi) { in TEST() function
107 TEST(WordBreakerTest, zwjEmojiSequences) { in TEST() function
136 TEST(WordBreakerTest, emojiWithModifier) { in TEST() function
154 TEST(WordBreakerTest, unicode10Emoji) { in TEST() function
202 TEST(WordBreakerTest, flagsSequenceSingleFlag) { in TEST() function
225 TEST(WordBreakerTest, flagsSequence) { in TEST() function
[all …]
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/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/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/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/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/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 …]
/frameworks/base/libs/hwui/tests/unit/
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/native/libs/vr/libpdx/
Dstatus_tests.cpp10 TEST(Status, DefaultInit) { in TEST() function
18 TEST(Status, InitalizeSuccess) { in TEST() function
38 TEST(Status, InitalizeError) { in TEST() function
51 TEST(Status, ErrorMessage) { in TEST() function
59 TEST(Status, Copy) { in TEST() function
85 TEST(Status, Move) { in TEST() function
118 TEST(Status, Take) { in TEST() function
Dserialization_tests.cpp107 TEST(SerializableTypes, Constructor) { in TEST() function
115 TEST(SerializationTest, bool) { in TEST() function
135 TEST(SerializationTest, uint8_t) { in TEST() function
169 TEST(SerializationTest, uint16_t) { in TEST() function
217 TEST(SerializationTest, uint32_t) { in TEST() function
279 TEST(SerializationTest, uint64_t) { in TEST() function
356 TEST(SerializationTest, int8_t) { in TEST() function
404 TEST(SerializationTest, int16_t) { in TEST() function
466 TEST(SerializationTest, int32_t) { in TEST() function
542 TEST(SerializationTest, int64_t) { in TEST() function
[all …]

1234567891011