Home
last modified time | relevance | path

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

12

/system/core/libutils/tests/
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
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 …]
DBitSet_test.cpp37 TEST_F(BitSet32Test, BitWiseOr) { in TEST_F() function
52 TEST_F(BitSet32Test, BitWiseAnd_Disjoint) { in TEST_F() function
68 TEST_F(BitSet32Test, BitWiseAnd_NonDisjoint) { in TEST_F() function
88 TEST_F(BitSet32Test, MarkFirstUnmarkedBit) { in TEST_F() function
100 TEST_F(BitSet32Test, ClearFirstMarkedBit) { in TEST_F() function
114 TEST_F(BitSet32Test, ClearLastMarkedBit) { in TEST_F() function
128 TEST_F(BitSet32Test, FillAndClear) { in TEST_F() function
138 TEST_F(BitSet32Test, GetIndexOfBit) { in TEST_F() function
159 TEST_F(BitSet64Test, BitWiseOr) { in TEST_F() function
174 TEST_F(BitSet64Test, BitWiseAnd_Disjoint) { in TEST_F() function
[all …]
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 …]
DLruCache_test.cpp116 TEST_F(LruCacheTest, Empty) { in TEST_F() function
123 TEST_F(LruCacheTest, Simple) { in TEST_F() function
135 TEST_F(LruCacheTest, MaxCapacity) { in TEST_F() function
147 TEST_F(LruCacheTest, RemoveLru) { in TEST_F() function
160 TEST_F(LruCacheTest, GetUpdatesLru) { in TEST_F() function
178 TEST_F(LruCacheTest, StressTest) { in TEST_F() function
213 TEST_F(LruCacheTest, NoLeak) { in TEST_F() function
222 TEST_F(LruCacheTest, Clear) { in TEST_F() function
233 TEST_F(LruCacheTest, ClearNoDoubleFree) { in TEST_F() function
248 TEST_F(LruCacheTest, ClearReuseOk) { 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
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 …]
DVector_test.cpp38 TEST_F(VectorTest, CopyOnWrite_CopyAndAddElements) { in TEST_F() function
/system/extras/tests/iptables/qtaguid/
DsocketTag.cpp257 TEST_F(SocketTaggingTest, TagData) { in TEST_F() function
310 TEST_F(SocketTaggingTest, InsufficientArgsFails) { in TEST_F() function
315 TEST_F(SocketTaggingTest, BadCommandFails) { in TEST_F() function
320 TEST_F(SocketTaggingTest, NoTagNoUid) { in TEST_F() function
326 TEST_F(SocketTaggingTest, InvalidTagFail) { in TEST_F() function
332 TEST_F(SocketTaggingTest, ValidTagWithNoUid) { in TEST_F() function
338 TEST_F(SocketTaggingTest, ValidUntag) { in TEST_F() function
346 TEST_F(SocketTaggingTest, ValidFirsttag) { in TEST_F() function
352 TEST_F(SocketTaggingTest, ValidReTag) { in TEST_F() function
359 TEST_F(SocketTaggingTest, ValidReTagWithAcctTagChange) { in TEST_F() function
[all …]
/system/core/libion/tests/
Dexit_test.cpp28 TEST_F(Exit, WithAlloc) in TEST_F() function
46 TEST_F(Exit, WithAllocFd) in TEST_F() function
64 TEST_F(Exit, WithRepeatedAllocFd) in TEST_F() function
88 TEST_F(Exit, WithMapping) in TEST_F() function
111 TEST_F(Exit, WithPartialMapping) in TEST_F() function
135 TEST_F(Exit, WithMappingCached) in TEST_F() function
158 TEST_F(Exit, WithPartialMappingCached) in TEST_F() function
182 TEST_F(Exit, WithMappingNeedsSync) in TEST_F() function
205 TEST_F(Exit, WithPartialMappingNeedsSync) in TEST_F() function
Dformerly_valid_handle_test.cpp45 TEST_F(FormerlyValidHandle, free) in TEST_F() function
50 TEST_F(FormerlyValidHandle, map) in TEST_F() function
58 TEST_F(FormerlyValidHandle, share) in TEST_F() function
Dinvalid_values_test.cpp51 TEST_F(InvalidValues, ion_close) in TEST_F() function
56 TEST_F(InvalidValues, ion_alloc) in TEST_F() function
79 TEST_F(InvalidValues, ion_alloc_fd) in TEST_F() function
102 TEST_F(InvalidValues, ion_free) in TEST_F() function
115 TEST_F(InvalidValues, ion_map) in TEST_F() function
141 TEST_F(InvalidValues, ion_share) in TEST_F() function
158 TEST_F(InvalidValues, ion_import) in TEST_F() function
175 TEST_F(InvalidValues, ion_sync_fd) in TEST_F() function
Dallocate_test.cpp27 TEST_F(Allocate, Allocate) in TEST_F() function
42 TEST_F(Allocate, AllocateCached) in TEST_F() function
57 TEST_F(Allocate, AllocateCachedNeedsSync) in TEST_F() function
72 TEST_F(Allocate, RepeatedAllocate) in TEST_F() function
91 TEST_F(Allocate, Zeroed) in TEST_F() function
138 TEST_F(Allocate, Large) in TEST_F() function
Dmap_test.cpp28 TEST_F(Map, MapHandle) in TEST_F() function
57 TEST_F(Map, MapFd) in TEST_F() function
82 TEST_F(Map, MapOffset) in TEST_F() function
112 TEST_F(Map, MapCached) in TEST_F() function
138 TEST_F(Map, MapCachedNeedsSync) in TEST_F() function
Ddevice_test.cpp134 TEST_F(Device, KernelReadCached) in TEST_F() function
168 TEST_F(Device, KernelWriteCached) in TEST_F() function
202 TEST_F(Device, DMAReadCached) in TEST_F() function
234 TEST_F(Device, DMAWriteCached) in TEST_F() function
268 TEST_F(Device, KernelReadCachedNeedsSync) in TEST_F() function
302 TEST_F(Device, KernelWriteCachedNeedsSync) in TEST_F() function
336 TEST_F(Device, DMAReadCachedNeedsSync) in TEST_F() function
370 TEST_F(Device, DMAWriteCachedNeedsSync) in TEST_F() function
405 TEST_F(Device, KernelRead) in TEST_F() function
439 TEST_F(Device, KernelWrite) in TEST_F() function
[all …]
/system/keymaster/
Dkey_blob_test.cpp83 TEST_F(KeyBlobTest, EncryptDecrypt) { in TEST_F() function
100 TEST_F(KeyBlobTest, WrongKeyLength) { in TEST_F() function
114 TEST_F(KeyBlobTest, WrongNonce) { in TEST_F() function
134 TEST_F(KeyBlobTest, WrongTag) { in TEST_F() function
154 TEST_F(KeyBlobTest, WrongCiphertext) { in TEST_F() function
177 TEST_F(KeyBlobTest, WrongMasterKey) { in TEST_F() function
194 TEST_F(KeyBlobTest, WrongEnforced) { in TEST_F() function
219 TEST_F(KeyBlobTest, WrongUnenforced) { in TEST_F() function
244 TEST_F(KeyBlobTest, EmptyHidden) { in TEST_F() function
259 TEST_F(KeyBlobTest, WrongRootOfTrust) { in TEST_F() function
[all …]
Dgoogle_keymaster_test.cpp55 TEST_F(CheckSupported, SupportedAlgorithms) { in TEST_F() function
68 TEST_F(CheckSupported, SupportedBlockModes) { in TEST_F() function
89 TEST_F(CheckSupported, SupportedPaddingModes) { in TEST_F() function
113 TEST_F(CheckSupported, SupportedDigests) { in TEST_F() function
137 TEST_F(CheckSupported, SupportedImportFormats) { in TEST_F() function
161 TEST_F(CheckSupported, SupportedExportFormats) { in TEST_F() function
186 TEST_F(NewKeyGeneration, Rsa) { in TEST_F() function
237 TEST_F(NewKeyGeneration, Dsa) { in TEST_F() function
296 TEST_F(NewKeyGeneration, Ecdsa) { in TEST_F() function
347 TEST_F(GetKeyCharacteristics, SimpleRsa) { in TEST_F() function
[all …]
/system/core/libcutils/tests/
DPropertiesTest.cpp94 TEST_F(PropertiesTest, SetString) { in TEST_F() function
158 TEST_F(PropertiesTest, GetString) { in TEST_F() function
175 TEST_F(PropertiesTest, GetBool) { in TEST_F() function
215 TEST_F(PropertiesTest, GetInt64) { in TEST_F() function
262 TEST_F(PropertiesTest, GetInt32) { in TEST_F() function
/system/core/libnativebridge/tests/
DReSetupNativeBridge_test.cpp21 TEST_F(NativeBridgeTest, ReSetup) { in TEST_F() function
DUnavailableNativeBridge_test.cpp21 TEST_F(NativeBridgeTest, NoNativeBridge) { in TEST_F() function
DValidNameNativeBridge_test.cpp23 TEST_F(NativeBridgeTest, ValidName) { in TEST_F() function
DInvalidCharsNativeBridge_test.cpp23 TEST_F(NativeBridgeTest, InvalidChars) { in TEST_F() function
DNeedsNativeBridge_test.cpp38 TEST_F(NativeBridgeTest, NeedsNativeBridge) { in TEST_F() function
DPreInitializeNativeBridge_test.cpp33 TEST_F(NativeBridgeTest, PreInitializeNativeBridge) { in TEST_F() function
/system/vold/tests/
DVolumeManager_test.cpp37 TEST_F(VolumeManagerTest, AsecHashTests) { in TEST_F() function

12