Home
last modified time | relevance | path

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

1234567891011

/frameworks/av/media/libaaudio/tests/
Dtest_various.cpp110 TEST(test_various, aaudio_release_close_none) { in TEST() function
116 TEST(test_various, aaudio_release_close_low_shared) { in TEST() function
121 TEST(test_various, aaudio_release_close_low_exclusive) { in TEST() function
260 TEST(test_various, aaudio_state_lowlat_open_start) { in TEST() function
268 TEST(test_various, aaudio_state_none_open_start) { in TEST() function
276 TEST(test_various, aaudio_state_lowlat_open_stop) { in TEST() function
284 TEST(test_various, aaudio_state_none_open_stop) { in TEST() function
292 TEST(test_various, aaudio_state_lowlat_open_pause) { in TEST() function
300 TEST(test_various, aaudio_state_none_open_pause) { in TEST() function
308 TEST(test_various, aaudio_state_lowlat_open_flush) { in TEST() function
[all …]
Dtest_full_queue.cpp71 TEST(test_full_queue, aaudio_full_queue_perf_none_50) { in TEST() function
75 TEST(test_full_queue, aaudio_full_queue_perf_none_200) { in TEST() function
79 TEST(test_full_queue, aaudio_full_queue_perf_none_1000) { in TEST() function
83 TEST(test_full_queue, aaudio_full_queue_low_latency_50) { in TEST() function
87 TEST(test_full_queue, aaudio_full_queue_low_latency_200) { in TEST() function
91 TEST(test_full_queue, aaudio_full_queue_low_latency_1000) { in TEST() function
/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/base/tools/aapt2/util/
DUtil_test.cpp30 TEST(UtilTest, TrimOnlyWhitespace) { in TEST() function
36 TEST(UtilTest, StringEndsWith) { in TEST() function
40 TEST(UtilTest, StringStartsWith) { in TEST() function
44 TEST(UtilTest, TokenizeInput) { in TEST() function
58 TEST(UtilTest, TokenizeEmptyString) { in TEST() function
67 TEST(UtilTest, TokenizeAtEnd) { in TEST() function
76 TEST(UtilTest, IsJavaClassName) { in TEST() function
90 TEST(UtilTest, IsJavaPackageName) { in TEST() function
104 TEST(UtilTest, IsAndroidPackageName) { in TEST() function
121 TEST(UtilTest, FullyQualifiedClassName) { 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/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, NoPermissions) { in TEST() function
150 TEST(GetService, HappyHappy) { in TEST() function
[all …]
/frameworks/base/tools/aapt/tests/
DAaptConfig_test.cpp38 TEST(AaptConfigTest, ParseFailWhenQualifiersAreOutOfOrder) { in TEST() function
44 TEST(AaptConfigTest, ParseFailWhenQualifiersAreNotMatched) { in TEST() function
48 TEST(AaptConfigTest, ParseFailWhenQualifiersHaveTrailingDash) { in TEST() function
52 TEST(AaptConfigTest, ParseBasicQualifiers) { in TEST() function
66 TEST(AaptConfigTest, ParseLocales) { in TEST() function
72 TEST(AaptConfigTest, ParseQualifierAddedInApi13) { in TEST() function
81 TEST(AaptConfigTest, TestParsingOfCarAttribute) { in TEST() function
87 TEST(AaptConfigTest, TestParsingRoundQualifier) { in TEST() function
102 TEST(AaptConfigTest, WideColorGamutQualifier) { in TEST() function
117 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/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/ml/nn/runtime/test/
DTestValidateOperations.cpp712 TEST(TensorRankConstraint, ExactlyWillReturnSameInputAsValidMutation) { in TEST() function
729 TEST(TensorRankConstraint, ExactlyWillFailIfValidInputHasInvalidSize) { in TEST() function
740 TEST(TensorRankConstraint, ExactlyWillReturnTwoInvalidMutationsWithLowerAndHigherRank) { in TEST() function
766 TEST(TensorRankConstraint, AtLeastWillReturnTwoValidMutationsAboveThreshold) { in TEST() function
792 TEST(TensorRankConstraint, AtLeastWillReturnOneInvalidMutationsBelowThreshold) { in TEST() function
810 TEST(TensorRankConstraint, AtLeastWillReturnNoInvalidMutationsIfThresholdIs1) { in TEST() function
824 TEST(TensorRankConstraint, UpToWillReturnUpToTwoValidMutationsBelowThreshold) { in TEST() function
852 TEST(TensorRankConstraint, UpToWillReturnOneInvalidMutationsAboveThreshold) { in TEST() function
870 TEST(TensorRankConstraint, BetweenWillReturnTwoValidMutationsOnRangeBoundaries) { in TEST() function
896 TEST(TensorRankConstraint, BetweenWillReturnTwoInvValidMutationsAdjacentToRangeBoundaries) { 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/native/libs/binder/tests/
DbinderTextOutputTest.cpp59 TEST(TextOutput, HandlesStdEndl) { in TEST() function
66 TEST(TextOutput, HandlesCEndl) { in TEST() function
73 TEST(TextOutput, HandlesAndroidEndl) { in TEST() function
80 TEST(TextOutput, HandleEmptyString) { in TEST() function
84 TEST(TextOutput, HandleString) { in TEST() function
88 TEST(TextOutput, HandleNum) { in TEST() function
92 TEST(TextOutput, HandleBool) { in TEST() function
96 TEST(TextOutput, HandleChar) { in TEST() function
100 TEST(TextOutput, HandleParcel) { in TEST() function
105 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/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/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/native/libs/vr/libpdx/
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 …]
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
/frameworks/base/cmds/incident_helper/tests/
Dih_util_test.cpp28 TEST(IhUtilTest, ParseHeader) { in TEST() function
46 TEST(IhUtilTest, ParseRecord) { in TEST() function
67 TEST(IhUtilTest, ParseRecordByColumns) { in TEST() function
102 TEST(IhUtilTest, stripPrefix) { in TEST() function
120 TEST(IhUtilTest, stripSuffix) { in TEST() function
138 TEST(IhUtilTest, behead) { in TEST() function
154 TEST(IhUtilTest, Reader) { in TEST() function
171 TEST(IhUtilTest, ReaderEmpty) { in TEST() function
183 TEST(IhUtilTest, ReaderMultipleEmptyLines) { in TEST() function
199 TEST(IhUtilTest, ReaderFailedNegativeFd) { in TEST() function
[all …]
/frameworks/base/startop/view_compiler/
Dlayout_validation_test.cc31 TEST(LayoutValidationTest, SingleButtonLayout) { function
42 TEST(LayoutValidationTest, SmallConstraintLayout) { function
84 TEST(LayoutValidationTest, MergeNode) { function
103 TEST(LayoutValidationTest, IncludeLayout) { function
123 TEST(LayoutValidationTest, ViewNode) { function
144 TEST(LayoutValidationTest, FragmentNode) { function

1234567891011