Home
last modified time | relevance | path

Searched refs:TEST (Results 1 – 25 of 265) sorted by relevance

1234567891011

/frameworks/av/media/libaaudio/tests/
Dtest_various.cpp156 TEST(test_various, aaudio_state_lowlat_open_start) { in TEST() function
164 TEST(test_various, aaudio_state_none_open_start) { in TEST() function
172 TEST(test_various, aaudio_state_lowlat_open_stop) { in TEST() function
180 TEST(test_various, aaudio_state_none_open_stop) { in TEST() function
188 TEST(test_various, aaudio_state_lowlat_open_pause) { in TEST() function
196 TEST(test_various, aaudio_state_none_open_pause) { in TEST() function
204 TEST(test_various, aaudio_state_lowlat_open_flush) { in TEST() function
212 TEST(test_various, aaudio_state_none_open_flush) { in TEST() function
222 TEST(test_various, aaudio_state_lowlat_started_start) { in TEST() function
230 TEST(test_various, aaudio_state_none_started_start) { 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
Dtest_attributes.cpp188 TEST(test_attributes, aaudio_usage_perfnone) { in TEST() function
192 TEST(test_attributes, aaudio_content_type_perfnone) { in TEST() function
196 TEST(test_attributes, aaudio_input_preset_perfnone) { in TEST() function
200 TEST(test_attributes, aaudio_allowed_capture_policy_perfnone) { in TEST() function
204 TEST(test_attributes, aaudio_usage_lowlat) { in TEST() function
208 TEST(test_attributes, aaudio_content_type_lowlat) { in TEST() function
212 TEST(test_attributes, aaudio_input_preset_lowlat) { in TEST() function
216 TEST(test_attributes, aaudio_allowed_capture_policy_lowlat) { 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/ml/nn/runtime/test/
DTestValidateOperations.cpp713 TEST(TensorRankConstraint, ExactlyWillReturnSameInputAsValidMutation) { in TEST() function
730 TEST(TensorRankConstraint, ExactlyWillFailIfValidInputHasInvalidSize) { in TEST() function
741 TEST(TensorRankConstraint, ExactlyWillReturnTwoInvalidMutationsWithLowerAndHigherRank) { in TEST() function
767 TEST(TensorRankConstraint, AtLeastWillReturnTwoValidMutationsAboveThreshold) { in TEST() function
793 TEST(TensorRankConstraint, AtLeastWillReturnOneInvalidMutationsBelowThreshold) { in TEST() function
811 TEST(TensorRankConstraint, AtLeastWillReturnNoInvalidMutationsIfThresholdIs1) { in TEST() function
825 TEST(TensorRankConstraint, UpToWillReturnUpToTwoValidMutationsBelowThreshold) { in TEST() function
853 TEST(TensorRankConstraint, UpToWillReturnOneInvalidMutationsAboveThreshold) { in TEST() function
871 TEST(TensorRankConstraint, BetweenWillReturnTwoValidMutationsOnRangeBoundaries) { in TEST() function
897 TEST(TensorRankConstraint, BetweenWillReturnTwoInvValidMutationsAdjacentToRangeBoundaries) { in TEST() function
[all …]
/frameworks/native/libs/input/tests/
DTouchVideoFrame_test.cpp26 TEST(TouchVideoFrame, Constructor) { in TEST() function
40 TEST(TouchVideoFrame, Equality) { in TEST() function
72 TEST(TouchVideoFrame, Rotate90_0x0) { in TEST() function
79 TEST(TouchVideoFrame, Rotate90_1x1) { in TEST() function
86 TEST(TouchVideoFrame, Rotate90_2x2) { in TEST() function
93 TEST(TouchVideoFrame, Rotate90_3x2) { in TEST() function
100 TEST(TouchVideoFrame, Rotate90_3x2_4times) { in TEST() function
112 TEST(TouchVideoFrame, Rotate180_0x0) { in TEST() function
119 TEST(TouchVideoFrame, Rotate180_1x1) { in TEST() function
126 TEST(TouchVideoFrame, Rotate180_2x2) { 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/tools/aapt/tests/
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
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
/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 …]
DCommandLineOptionsTests.cpp40 TEST(CommandLineOptionsTests, Flag) { in TEST() function
58 TEST(CommandLineOptionsTests, MandatoryOption) { in TEST() function
73 TEST(CommandLineOptionsTests, MandatoryOptionMultipleArgsButExpectedOnce) { in TEST() function
81 TEST(CommandLineOptionsTests, MandatoryOptionMultipleArgsAndExpectedOnceOrMore) { in TEST() function
91 TEST(CommandLineOptionsTests, OptionalOption) { in TEST() function
116 TEST(CommandLineOptionsTests, OptionalOptionList) { in TEST() function
164 TEST(CommandLineOptionsTests, CornerCases) { in TEST() function
184 TEST(CommandLineOptionsTests, ConvertArgvToVector) { in TEST() function
197 TEST(CommandLineOptionsTests, ConvertArgvToVectorNoArgs) { in TEST() function
206 TEST(CommandLineOptionsTests, Usage) { 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, FailToParseAutoCreateNonIdReference) { in TEST() function
119 TEST(ResourceUtilsTest, ParseAttributeReferences) { in TEST() function
126 TEST(ResourceUtilsTest, FailParseIncompleteReference) { 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 …]
/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/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/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/tools/stats_log_api_gen/
Dtest_collation.cpp84 TEST(CollationTest, CollateStats) { in TEST() function
152 TEST(CollationTest, NonMessageTypeFails) { in TEST() function
162 TEST(CollationTest, FailOnBadTypes) { in TEST() function
172 TEST(CollationTest, FailOnSkippedFieldsSingle) { in TEST() function
183 TEST(CollationTest, FailOnSkippedFieldsMultiple) { in TEST() function
194 TEST(CollationTest, FailBadAttributionNodePosition) { in TEST() function
202 TEST(CollationTest, FailOnBadStateAtomOptions) { in TEST() function
209 TEST(CollationTest, PassOnGoodStateAtomOptions) { in TEST() function
215 TEST(CollationTest, PassOnGoodBinaryFieldAtom) { in TEST() function
222 TEST(CollationTest, FailOnBadBinaryFieldAtom) { 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/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
/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/native/services/inputflinger/tests/
DBlockingQueue_test.cpp31 TEST(BlockingQueueTest, Queue_AddAndRemove) { in TEST() function
42 TEST(BlockingQueueTest, Queue_ReachesCapacity) { in TEST() function
57 TEST(BlockingQueueTest, Queue_isFIFO) { in TEST() function
69 TEST(BlockingQueueTest, Queue_Clears) { in TEST() function
81 TEST(BlockingQueueTest, Queue_Erases) { in TEST() function
98 TEST(BlockingQueueTest, Queue_AllowsMultipleThreads) { in TEST() function
123 TEST(BlockingQueueTest, Queue_BlocksWhileWaitingForElements) { in TEST() function
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayIdentificationTest.cpp86 TEST(DisplayIdentificationTest, isEdid) { in TEST() function
94 TEST(DisplayIdentificationTest, parseEdid) { in TEST() function
115 TEST(DisplayIdentificationTest, parseInvalidEdid) { in TEST() function
134 TEST(DisplayIdentificationTest, getPnpId) { in TEST() function
143 TEST(DisplayIdentificationTest, parseDisplayIdentificationData) { in TEST() function
159 TEST(DisplayIdentificationTest, getFallbackDisplayId) { in TEST() function
165 TEST(DisplayIdentificationTest, getVirtualDisplayId) { in TEST() function
/frameworks/base/libs/hwui/tests/unit/
DFatVectorTests.cpp32 TEST(FatVector, baseline) { in TEST() function
41 TEST(FatVector, simpleAllocate) { in TEST() function
58 TEST(FatVector, preSizeConstructor) { in TEST() function
79 TEST(FatVector, shrink) { in TEST() function
94 TEST(FatVector, destructorInternal) { in TEST() function
106 TEST(FatVector, destructorExternal) { in TEST() function
/frameworks/ml/nn/common/
DUtilsTest.cpp33 TEST(CalculateBroadcastedShapeTest, Basic) { in TEST() function
50 TEST(CalculateBroadcastedShapeTest, FailsOnIncompatible) { in TEST() function
68 TEST(TensorHasUnspecifiedDimensionsTest, ExtensionTensorWithUnspecifiedRank) { in TEST() function
74 TEST(ValidateOperandTypeTest, ExtensionTensorWithUnspecifiedRank) { in TEST() function
95 TEST(ValidateOperandTypeTest, ExtensionTypeDimensionProductOverflow) { in TEST() function
115 TEST(ValidateOperandTypeTest, TensorSizeDimensionProductOverflow) { in TEST() function
160 TEST(QuantizationUtilsTest, QuantizeMultiplierSmallerThanOneExp) { in TEST() function
191 TEST(QuantizationUtilsTest, QuantizeMultiplierGreaterThanOne) { in TEST() function
218 TEST(QuantizationUtilTest, QuantizeMultiplier) { in TEST() function
242 TEST(QuantizationUtilTest, QuantizeMultiplierUnderflow) { in TEST() function
[all …]

1234567891011