Home
last modified time | relevance | path

Searched refs:TEST_F (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/cmds/installd/tests/
Dinstalld_utils_test.cpp79 TEST_F(UtilsTest, IsValidApkPath_BadPrefix) { in TEST_F() function
98 TEST_F(UtilsTest, IsValidApkPath_Internal) { in TEST_F() function
117 TEST_F(UtilsTest, IsValidApkPath_Private) { in TEST_F() function
137 TEST_F(UtilsTest, IsValidApkPath_AsecGood1) { in TEST_F() function
143 TEST_F(UtilsTest, IsValidApkPath_AsecGood2) { in TEST_F() function
149 TEST_F(UtilsTest, IsValidApkPath_EscapeFail) { in TEST_F() function
155 TEST_F(UtilsTest, IsValidApkPath_DoubleSlashFail) { in TEST_F() function
161 TEST_F(UtilsTest, IsValidApkPath_SubdirEscapeFail) { in TEST_F() function
167 TEST_F(UtilsTest, IsValidApkPath_SlashEscapeFail) { in TEST_F() function
173 TEST_F(UtilsTest, IsValidApkPath_CrazyDirFail) { in TEST_F() function
[all …]
/frameworks/native/libs/utils/tests/
DBlobCache_test.cpp46 TEST_F(BlobCacheTest, CacheSingleValueSucceeds) { in TEST_F() function
56 TEST_F(BlobCacheTest, CacheTwoValuesSucceeds) { in TEST_F() function
68 TEST_F(BlobCacheTest, GetOnlyWritesInsideBounds) { in TEST_F() function
80 TEST_F(BlobCacheTest, GetOnlyWritesIfBufferIsLargeEnough) { in TEST_F() function
89 TEST_F(BlobCacheTest, GetDoesntAccessNullBuffer) { in TEST_F() function
94 TEST_F(BlobCacheTest, MultipleSetsCacheLatestValue) { in TEST_F() function
105 TEST_F(BlobCacheTest, SecondSetKeepsFirstValueIfTooLarge) { in TEST_F() function
116 TEST_F(BlobCacheTest, DoesntCacheIfKeyIsTooBig) { in TEST_F() function
130 TEST_F(BlobCacheTest, DoesntCacheIfValueIsTooBig) { in TEST_F() function
146 TEST_F(BlobCacheTest, DoesntCacheIfKeyValuePairIsTooBig) { in TEST_F() function
[all …]
DUnicode_test.cpp34 TEST_F(UnicodeTest, UTF8toUTF16ZeroLength) { in TEST_F() function
44 TEST_F(UnicodeTest, UTF8toUTF16ASCIILength) { in TEST_F() function
55 TEST_F(UnicodeTest, UTF8toUTF16Plane1Length) { in TEST_F() function
66 TEST_F(UnicodeTest, UTF8toUTF16SurrogateLength) { in TEST_F() function
77 TEST_F(UnicodeTest, UTF8toUTF16TruncatedUTF8) { in TEST_F() function
89 TEST_F(UnicodeTest, UTF8toUTF16Normal) { in TEST_F() function
DLooper_test.cpp115 TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndNotAwoken_WaitsForTimeout) { in TEST_F() function
126 TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndAwokenBeforeWaiting_ImmediatelyReturns) { in TEST_F() function
139 TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndAwokenWhileWaiting_PromptlyReturns) { in TEST_F() function
153 TEST_F(LooperTest, PollOnce_WhenZeroTimeoutAndNoRegisteredFDs_ImmediatelyReturns) { in TEST_F() function
164 TEST_F(LooperTest, PollOnce_WhenZeroTimeoutAndNoSignalledFDs_ImmediatelyReturns) { in TEST_F() function
182 TEST_F(LooperTest, PollOnce_WhenZeroTimeoutAndSignalledFD_ImmediatelyInvokesCallbackAndReturns) { in TEST_F() function
205 TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndNoSignalledFDs_WaitsForTimeoutAndReturns) { in TEST_F() function
223 TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndSignalledFDBeforeWaiting_ImmediatelyInvokesCallbac… in TEST_F() function
248 TEST_F(LooperTest, PollOnce_WhenNonZeroTimeoutAndSignalledFDWhileWaiting_PromptlyInvokesCallbackAnd… in TEST_F() function
274 TEST_F(LooperTest, PollOnce_WhenCallbackAddedThenRemoved_CallbackShouldNotBeInvoked) { in TEST_F() function
[all …]
DBasicHashtable_test.cpp178 TEST_F(BasicHashtableTest, DefaultConstructor_WithDefaultProperties) { in TEST_F() function
187 TEST_F(BasicHashtableTest, Constructor_WithNonUnityLoadFactor) { in TEST_F() function
196 TEST_F(BasicHashtableTest, Constructor_WithUnityLoadFactorAndExactCapacity) { in TEST_F() function
205 TEST_F(BasicHashtableTest, Constructor_WithUnityLoadFactorAndInexactCapacity) { in TEST_F() function
214 TEST_F(BasicHashtableTest, FindAddFindRemoveFind_OneEntry) { in TEST_F() function
236 TEST_F(BasicHashtableTest, FindAddFindRemoveFind_MultipleEntryWithUniqueKey) { in TEST_F() function
264 TEST_F(BasicHashtableTest, FindAddFindRemoveFind_MultipleEntryWithDuplicateKey) { in TEST_F() function
310 TEST_F(BasicHashtableTest, Clear_WhenAlreadyEmpty_DoesNothing) { in TEST_F() function
320 TEST_F(BasicHashtableTest, Clear_AfterElementsAdded_RemovesThem) { in TEST_F() function
332 TEST_F(BasicHashtableTest, Clear_AfterElementsAdded_DestroysThem) { in TEST_F() function
[all …]
DString8_test.cpp34 TEST_F(String8Test, Cstr) { in TEST_F() function
40 TEST_F(String8Test, OperatorPlus) { in TEST_F() function
58 TEST_F(String8Test, OperatorPlusEquals) { in TEST_F() function
/frameworks/compile/mclinker/unittests/
DLinearAllocatorTest.cpp42 TEST_F( LinearAllocatorTest, allocateN ) { in TEST_F() function
49 TEST_F( LinearAllocatorTest, allocate ) { in TEST_F() function
56 TEST_F( LinearAllocatorTest, allocateOver ) { in TEST_F() function
63 TEST_F( LinearAllocatorTest, alloc_construct ) { in TEST_F() function
72 TEST_F( LinearAllocatorTest, alloc_constructCopy ) { in TEST_F() function
83 TEST_F( LinearAllocatorTest, allocN_construct ) { in TEST_F() function
92 TEST_F( LinearAllocatorTest, allocN_constructCopy ) { in TEST_F() function
103 TEST_F( LinearAllocatorTest, multi_alloc_ctor_iterate ) { in TEST_F() function
119 TEST_F( LinearAllocatorTest, multi_allocN_ctor_iterate ) { in TEST_F() function
DRTLinearAllocatorTest.cpp43 TEST_F(RTLinearAllocatorTest, AllocateN) { in TEST_F() function
50 TEST_F(RTLinearAllocatorTest, allocate ) { in TEST_F() function
57 TEST_F(RTLinearAllocatorTest, allocateOver ) { in TEST_F() function
64 TEST_F(RTLinearAllocatorTest, alloc_construct ) { in TEST_F() function
73 TEST_F(RTLinearAllocatorTest, alloc_constructCopy ) { in TEST_F() function
84 TEST_F(RTLinearAllocatorTest, allocN_construct ) { in TEST_F() function
93 TEST_F(RTLinearAllocatorTest, allocN_constructCopy ) { in TEST_F() function
104 TEST_F(RTLinearAllocatorTest, multi_alloc_ctor_iterate ) { in TEST_F() function
120 TEST_F(RTLinearAllocatorTest, multi_allocN_ctor_iterate ) { in TEST_F() function
DPathTest.cpp45 TEST_F( PathTest, should_exist ) { in TEST_F() function
55 TEST_F( PathTest, should_not_exist ) { in TEST_F() function
65 TEST_F( PathTest, should_is_directory ) { in TEST_F() function
77 TEST_F( PathTest, should_not_is_directory ) { in TEST_F() function
88 TEST_F( PathTest, should_equal ) { in TEST_F() function
102 TEST_F( PathTest, should_not_equal ) { in TEST_F() function
115 TEST_F( PathTest, append_success ) { in TEST_F() function
136 TEST_F( PathTest, should_become_generic_string ) { in TEST_F() function
DGCFactoryListTraitsTest.cpp79 TEST_F( GCFactoryListTraitsTest, Basic) { in TEST_F() function
84 TEST_F( GCFactoryListTraitsTest, BasicAgain) { in TEST_F() function
89 TEST_F( GCFactoryListTraitsTest, Clear) { in TEST_F() function
94 TEST_F( GCFactoryListTraitsTest, PushThenPop) { in TEST_F() function
102 TEST_F( GCFactoryListTraitsTest, CodeIterator) { in TEST_F() function
109 TEST_F( GCFactoryListTraitsTest, Empty) { in TEST_F() function
115 TEST_F( GCFactoryListTraitsTest, EraseAndSize) { in TEST_F() function
DHashTableTest.cpp76 TEST_F( HashTableTest, ptr_entry ) { in TEST_F() function
97 TEST_F( HashTableTest, constructor ) { in TEST_F() function
105 TEST_F( HashTableTest, allocattion ) { in TEST_F() function
122 TEST_F( HashTableTest, alloc100 ) { in TEST_F() function
144 TEST_F( HashTableTest, erase100 ) { in TEST_F() function
169 TEST_F( HashTableTest, clear) { in TEST_F() function
193 TEST_F( HashTableTest, tombstone ) { in TEST_F() function
229 TEST_F( HashTableTest, rehash_test ) { in TEST_F() function
250 TEST_F( HashTableTest, bucket_iterator ) { in TEST_F() function
273 TEST_F( HashTableTest, chain_iterator_single ) { in TEST_F() function
[all …]
DFactoriesTest.cpp44 TEST_F( FactoriesTest, node_produce ) { in TEST_F() function
56 TEST_F( FactoriesTest, node_iterate ) { in TEST_F() function
75 TEST_F( FactoriesTest, node_delegate_empty ) { in TEST_F() function
97 TEST_F( FactoriesTest, node_empty_delegate ) { in TEST_F() function
121 TEST_F( FactoriesTest, node_delegate ) { in TEST_F() function
157 TEST_F( FactoriesTest, node_delegate_self ) { in TEST_F() function
170 TEST_F( FactoriesTest, file_produce ) { in TEST_F() function
179 TEST_F( FactoriesTest, file_produce_by_params ) { in TEST_F() function
196 TEST_F( FactoriesTest, file_iterate ) { in TEST_F() function
DBinTreeTest.cpp48 TEST_F( BinTreeTest,Two_non_null_tree_merge) in TEST_F() function
72 TEST_F( BinTreeTest, A_null_tree_merge_a_non_null_tree) in TEST_F() function
91 TEST_F( BinTreeTest, A_non_null_tree_merge_a_null_tree) in TEST_F() function
111 TEST_F( BinTreeTest, Two_null_tree_merge) in TEST_F() function
125 TEST_F( BinTreeTest, DFSIterator_BasicTraversal) in TEST_F() function
156 TEST_F( BinTreeTest, DFSIterator_RightMostTree) in TEST_F() function
186 TEST_F( BinTreeTest, DFSIterator_SingleNode) in TEST_F() function
200 TEST_F( BinTreeTest, BFSIterator_BasicTraversal) in TEST_F() function
231 TEST_F( BinTreeTest, BFSIterator_RightMostTree) in TEST_F() function
261 TEST_F( BinTreeTest, BFSIterator_SingleNode) in TEST_F() function
DUniqueGCFactoryBaseTest.cpp40 TEST_F( UniqueGCFactoryBaseTest, number_constructor ) { in TEST_F() function
48 TEST_F( UniqueGCFactoryBaseTest, unique_produce ) { in TEST_F() function
58 TEST_F( UniqueGCFactoryBaseTest, unique_produce2 ) { in TEST_F() function
68 TEST_F( UniqueGCFactoryBaseTest, iterator ) in TEST_F() function
DMemoryAreaTest.cpp49 TEST_F( MemoryAreaTest, read_by_malloc ) in TEST_F() function
61 TEST_F( MemoryAreaTest, write_by_malloc ) in TEST_F() function
85 TEST_F( MemoryAreaTest, read_one_page ) in TEST_F() function
99 TEST_F( MemoryAreaTest, write_one_page ) in TEST_F() function
122 TEST_F( MemoryAreaTest, write_sync ) in TEST_F() function
DStringTableTest.cpp45 TEST_F(StringTableTest, different_string_size) { in TEST_F() function
56 TEST_F(StringTableTest, traverse_begin_to_end) { in TEST_F() function
73 TEST_F(StringTableTest, null_string) { in TEST_F() function
DLEB128Test.cpp45 TEST_F( LEB128Test, EncodeULEB_Example_from_Dwarf3_Figure22_Using_32bits) { in TEST_F() function
91 TEST_F( LEB128Test, EncodeULEB_Example_from_Dwarf3_Figure22_Using_64bits) { in TEST_F() function
137 TEST_F( LEB128Test, EncodeSLEB_Example_from_Dwarf3_Figure22) { in TEST_F() function
197 TEST_F( LEB128Test, DecodeULEB_Example_from_Dwarf3_Figure22) { in TEST_F() function
233 TEST_F( LEB128Test, DecodeSLEB_Example_from_Dwarf3_Figure22) { in TEST_F() function
278 TEST_F( LEB128Test, DecodeULEB_Tests_Found_in_Android_dalvik_dx) { in TEST_F() function
299 TEST_F( LEB128Test, EncodeULEB_Tests_Found_in_Android_dalvik_dx) { in TEST_F() function
391 TEST_F( LEB128Test, DecodeSLEB_Tests_Found_in_Android_dalvik_dx) { in TEST_F() function
416 TEST_F( LEB128Test, EncodeSLEB_Tests_Found_in_Android_dalvik_dx) { in TEST_F() function
458 TEST_F( LEB128Test, Random_Regression_Test) { in TEST_F() function
[all …]
DStrSymPoolTest.cpp47 TEST_F( StrSymPoolTest, insertString ) { in TEST_F() function
54 TEST_F( StrSymPoolTest, insertSameString ) { in TEST_F() function
64 TEST_F( StrSymPoolTest, insert_local_defined_Symbol ) { in TEST_F() function
114 TEST_F( StrSymPoolTest, insert_global_reference_Symbol ) { in TEST_F() function
169 TEST_F( StrSymPoolTest, insertSymbol_after_insert_same_string ) { in TEST_F() function
202 TEST_F( StrSymPoolTest, insert_16384_weak_reference_symbols ) { in TEST_F() function
DInputTreeTest.cpp47 TEST_F( InputTreeTest, Basic_operation ) { in TEST_F() function
74 TEST_F( InputTreeTest, forLoop_TEST ) { in TEST_F() function
99 TEST_F( InputTreeTest, Nesting_Case ) { in TEST_F() function
118 TEST_F( InputTreeTest, DFSIterator_BasicTraversal) in TEST_F() function
/frameworks/native/libs/gui/tests/
DSurfaceTextureClient_test.cpp114 TEST_F(SurfaceTextureClientTest, GetISurfaceTextureIsNotNull) { in TEST_F() function
119 TEST_F(SurfaceTextureClientTest, QueuesToWindowCompositorIsFalse) { in TEST_F() function
127 TEST_F(SurfaceTextureClientTest, ConcreteTypeIsSurfaceTextureClient) { in TEST_F() function
134 TEST_F(SurfaceTextureClientTest, EglCreateWindowSurfaceSucceeds) { in TEST_F() function
172 TEST_F(SurfaceTextureClientTest, BufferGeometryInvalidSizesFail) { in TEST_F() function
181 TEST_F(SurfaceTextureClientTest, DefaultGeometryValues) { in TEST_F() function
190 TEST_F(SurfaceTextureClientTest, BufferGeometryCanBeSet) { in TEST_F() function
200 TEST_F(SurfaceTextureClientTest, BufferGeometryDefaultSizeSetFormat) { in TEST_F() function
210 TEST_F(SurfaceTextureClientTest, BufferGeometrySetSizeDefaultFormat) { in TEST_F() function
220 TEST_F(SurfaceTextureClientTest, BufferGeometrySizeCanBeUnset) { in TEST_F() function
[all …]
DSurfaceTexture_test.cpp689 TEST_F(SurfaceTextureGLTest, TexturingFromCpuFilledYV12BufferNpot) { in TEST_F() function
734 TEST_F(SurfaceTextureGLTest, TexturingFromCpuFilledYV12BufferPow2) { in TEST_F() function
779 TEST_F(SurfaceTextureGLTest, TexturingFromCpuFilledYV12BufferWithCrop) { in TEST_F() function
843 TEST_F(SurfaceTextureGLTest, TexturingFromCpuFilledYV12BuffersRepeatedly) { in TEST_F() function
990 TEST_F(SurfaceTextureGLTest, TexturingFromCpuFilledRGBABufferNpot) { in TEST_F() function
1032 TEST_F(SurfaceTextureGLTest, TexturingFromCpuFilledRGBABufferPow2) { in TEST_F() function
1078 TEST_F(SurfaceTextureGLTest, DisconnectStressTest) { in TEST_F() function
1142 TEST_F(SurfaceTextureGLTest, DisconnectClearsCurrentTexture) { in TEST_F() function
1177 TEST_F(SurfaceTextureGLTest, ScaleToWindowMode) { in TEST_F() function
1211 TEST_F(SurfaceTextureGLTest, CroppedScalingMode) { in TEST_F() function
[all …]
DSurface_test.cpp59 TEST_F(SurfaceTest, QueuesToWindowComposerIsTrueWhenVisible) { in TEST_F() function
68 TEST_F(SurfaceTest, QueuesToWindowComposerIsTrueWhenPurgatorized) { in TEST_F() function
80 TEST_F(SurfaceTest, ScreenshotsOfProtectedBuffersSucceed) { in TEST_F() function
124 TEST_F(SurfaceTest, ConcreteTypeIsSurface) { in TEST_F() function
/frameworks/native/opengl/tests/EGLTest/
Degl_cache_test.cpp43 TEST_F(EGLCacheTest, UninitializedCacheAlwaysMisses) { in TEST_F() function
53 TEST_F(EGLCacheTest, InitializedCacheAlwaysHits) { in TEST_F() function
64 TEST_F(EGLCacheTest, TerminatedCacheAlwaysMisses) { in TEST_F() function
96 TEST_F(EGLCacheSerializationTest, ReinitializedCacheContainsValues) { in TEST_F() function
/frameworks/wilhelm/tests/automated/
DBufferQueue_test.cpp305 TEST_F(TestBufferQueue, testInvalidBuffer){ in TEST_F() function
310 TEST_F(TestBufferQueue, testMuteSolo) { in TEST_F() function
328 TEST_F(TestBufferQueue, testSeek) { in TEST_F() function
338 TEST_F(TestBufferQueue, testValidBuffer) { in TEST_F() function
346 TEST_F(TestBufferQueue, testEnqueueMaxBuffer) { in TEST_F() function
355 TEST_F(TestBufferQueue, testEnqueueExtraBuffer) { in TEST_F() function
366 TEST_F(TestBufferQueue, testEnqueueAtStopped) { in TEST_F() function
377 TEST_F(TestBufferQueue, testEnqueueAtPaused) { in TEST_F() function
388 TEST_F(TestBufferQueue, testClearQueue) { in TEST_F() function
398 TEST_F(TestBufferQueue, testStateTransitionEmptyQueue) { in TEST_F() function
[all …]
/frameworks/base/libs/androidfw/tests/
DInputChannel_test.cpp37 TEST_F(InputChannelTest, ConstructorAndDestructor_TakesOwnershipOfFileDescriptors) { in TEST_F() function
59 TEST_F(InputChannelTest, OpenInputChannelPair_ReturnsAPairOfConnectedChannels) { in TEST_F() function
110 TEST_F(InputChannelTest, ReceiveSignal_WhenNoSignalPresent_ReturnsAnError) { in TEST_F() function
124 TEST_F(InputChannelTest, ReceiveSignal_WhenPeerClosed_ReturnsAnError) { in TEST_F() function
140 TEST_F(InputChannelTest, SendSignal_WhenPeerClosed_ReturnsAnError) { in TEST_F() function

12