Home
last modified time | relevance | path

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

/frameworks/base/cmds/installd/tests/
Dinstalld_utils_test.cpp69 TEST_F(UtilsTest, IsValidApkPath_BadPrefix) { in TEST_F() function
88 TEST_F(UtilsTest, IsValidApkPath_Internal) { in TEST_F() function
107 TEST_F(UtilsTest, IsValidApkPath_Private) { in TEST_F() function
127 TEST_F(UtilsTest, IsValidApkPath_AsecGood1) { in TEST_F() function
133 TEST_F(UtilsTest, IsValidApkPath_AsecGood2) { in TEST_F() function
139 TEST_F(UtilsTest, IsValidApkPath_EscapeFail) { in TEST_F() function
145 TEST_F(UtilsTest, IsValidApkPath_DoubleSlashFail) { in TEST_F() function
151 TEST_F(UtilsTest, IsValidApkPath_SubdirEscapeFail) { in TEST_F() function
157 TEST_F(UtilsTest, IsValidApkPath_SlashEscapeFail) { in TEST_F() function
163 TEST_F(UtilsTest, IsValidApkPath_CrazyDirFail) { in TEST_F() function
[all …]
/frameworks/base/libs/utils/tests/
DBlobCache_test.cpp42 TEST_F(BlobCacheTest, CacheSingleValueSucceeds) { in TEST_F() function
52 TEST_F(BlobCacheTest, CacheTwoValuesSucceeds) { in TEST_F() function
64 TEST_F(BlobCacheTest, GetOnlyWritesInsideBounds) { in TEST_F() function
76 TEST_F(BlobCacheTest, GetOnlyWritesIfBufferIsLargeEnough) { in TEST_F() function
85 TEST_F(BlobCacheTest, GetDoesntAccessNullBuffer) { in TEST_F() function
90 TEST_F(BlobCacheTest, MultipleSetsCacheLatestValue) { in TEST_F() function
101 TEST_F(BlobCacheTest, SecondSetKeepsFirstValueIfTooLarge) { in TEST_F() function
112 TEST_F(BlobCacheTest, DoesntCacheIfKeyIsTooBig) { in TEST_F() function
126 TEST_F(BlobCacheTest, DoesntCacheIfValueIsTooBig) { in TEST_F() function
142 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 …]
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
DObbFile_test.cpp56 TEST_F(ObbFileTest, ReadFailure) { in TEST_F() function
61 TEST_F(ObbFileTest, WriteThenRead) { in TEST_F() function
DZipFileRO_test.cpp37 TEST_F(ZipFileROTest, ZipTimeConvertSuccess) { in TEST_F() function
/frameworks/base/libs/gui/tests/
DSurfaceTextureClient_test.cpp99 TEST_F(SurfaceTextureClientTest, GetISurfaceTextureIsNotNull) { in TEST_F() function
104 TEST_F(SurfaceTextureClientTest, QueuesToWindowCompositorIsFalse) { in TEST_F() function
112 TEST_F(SurfaceTextureClientTest, ConcreteTypeIsSurfaceTextureClient) { in TEST_F() function
119 TEST_F(SurfaceTextureClientTest, EglCreateWindowSurfaceSucceeds) { in TEST_F() function
153 TEST_F(SurfaceTextureClientTest, BufferGeometryInvalidSizesFail) { in TEST_F() function
162 TEST_F(SurfaceTextureClientTest, DefaultGeometryValues) { in TEST_F() function
171 TEST_F(SurfaceTextureClientTest, BufferGeometryCanBeSet) { in TEST_F() function
181 TEST_F(SurfaceTextureClientTest, BufferGeometryDefaultSizeSetFormat) { in TEST_F() function
191 TEST_F(SurfaceTextureClientTest, BufferGeometrySetSizeDefaultFormat) { in TEST_F() function
201 TEST_F(SurfaceTextureClientTest, BufferGeometrySizeCanBeUnset) { in TEST_F() function
[all …]
DSurface_test.cpp57 TEST_F(SurfaceTest, QueuesToWindowComposerIsTrueWhenVisible) { in TEST_F() function
66 TEST_F(SurfaceTest, QueuesToWindowComposerIsTrueWhenPurgatorized) { in TEST_F() function
78 TEST_F(SurfaceTest, ScreenshotsOfProtectedBuffersSucceed) { in TEST_F() function
122 TEST_F(SurfaceTest, ConcreteTypeIsSurface) { in TEST_F() function
DSurfaceTexture_test.cpp534 TEST_F(SurfaceTextureGLTest, TexturingFromCpuFilledYV12BufferNpot) { in TEST_F() function
579 TEST_F(SurfaceTextureGLTest, TexturingFromCpuFilledYV12BufferPow2) { in TEST_F() function
624 TEST_F(SurfaceTextureGLTest, TexturingFromCpuFilledYV12BufferWithCrop) { in TEST_F() function
686 TEST_F(SurfaceTextureGLTest, TexturingFromCpuFilledYV12BuffersRepeatedly) { in TEST_F() function
835 TEST_F(SurfaceTextureGLTest, TexturingFromCpuFilledRGBABufferNpot) { in TEST_F() function
889 TEST_F(SurfaceTextureGLTest, TexturingFromCpuFilledRGBABufferPow2) { in TEST_F() function
943 TEST_F(SurfaceTextureGLTest, TexturingFromGLFilledRGBABufferPow2) { in TEST_F() function
1019 TEST_F(SurfaceTextureGLTest, AbandonUnblocksDequeueBuffer) { in TEST_F() function
1283 TEST_F(SurfaceTextureGLToGLTest, UpdateTexImageBeforeFrameFinishedCompletes) { in TEST_F() function
1301 TEST_F(SurfaceTextureGLToGLTest, UpdateTexImageAfterFrameFinishedCompletes) { in TEST_F() function
[all …]
/frameworks/base/libs/ui/tests/
DInputChannel_test.cpp37 TEST_F(InputChannelTest, ConstructorAndDestructor_TakesOwnershipOfFileDescriptors) { in TEST_F() function
70 TEST_F(InputChannelTest, OpenInputChannelPair_ReturnsAPairOfConnectedChannels) { in TEST_F() function
124 TEST_F(InputChannelTest, ReceiveSignal_WhenNoSignalPresent_ReturnsAnError) { in TEST_F() function
138 TEST_F(InputChannelTest, ReceiveSignal_WhenPeerClosed_ReturnsAnError) { in TEST_F() function
154 TEST_F(InputChannelTest, SendSignal_WhenPeerClosed_ReturnsAnError) { in TEST_F() function
DInputPublisherAndConsumer_test.cpp67 TEST_F(InputPublisherAndConsumerTest, GetChannel_ReturnsTheChannel) { in TEST_F() function
335 TEST_F(InputPublisherAndConsumerTest, PublishKeyEvent_EndToEnd) { in TEST_F() function
340 TEST_F(InputPublisherAndConsumerTest, PublishKeyEvent_WhenNotReset_ReturnsError) { in TEST_F() function
354 TEST_F(InputPublisherAndConsumerTest, PublishMotionEvent_EndToEnd) { in TEST_F() function
359 TEST_F(InputPublisherAndConsumerTest, PublishMotionEvent_WhenNotReset_ReturnsError) { in TEST_F() function
383 TEST_F(InputPublisherAndConsumerTest, PublishMotionEvent_WhenPointerCountLessThan1_ReturnsError) { in TEST_F() function
397 TEST_F(InputPublisherAndConsumerTest, PublishMotionEvent_WhenPointerCountGreaterThanMax_ReturnsErro… in TEST_F() function
415 TEST_F(InputPublisherAndConsumerTest, PublishMultipleEvents_EndToEnd) { in TEST_F() function
424 TEST_F(InputPublisherAndConsumerTest, AppendMotionSample_WhenCalledBeforeDispatchSignal_AppendsSamp… in TEST_F() function
430 TEST_F(InputPublisherAndConsumerTest, AppendMotionSample_WhenCalledAfterDispatchSignalAndNotConsume… in TEST_F() function
[all …]
DInputEvent_test.cpp37 TEST_F(PointerCoordsTest, ClearSetsBitsToZero) { in TEST_F() function
44 TEST_F(PointerCoordsTest, AxisValues) { in TEST_F() function
142 TEST_F(PointerCoordsTest, Parcel) { in TEST_F() function
176 TEST_F(KeyEventTest, Properties) { in TEST_F() function
427 TEST_F(MotionEventTest, Properties) { in TEST_F() function
447 TEST_F(MotionEventTest, CopyFrom_KeepHistory) { in TEST_F() function
457 TEST_F(MotionEventTest, CopyFrom_DoNotKeepHistory) { in TEST_F() function
475 TEST_F(MotionEventTest, OffsetLocation) { in TEST_F() function
485 TEST_F(MotionEventTest, Scale) { in TEST_F() function
507 TEST_F(MotionEventTest, Parcel) { in TEST_F() function
[all …]
/frameworks/base/opengl/libs/GLES2_dbg/test/
Dtest_server.cpp69 TEST_F(ServerFileTest, Send) in TEST_F() function
86 TEST_F(ServerFileTest, CreateDbgContext) in TEST_F() function
165 TEST_F(ServerFileContextTest, MessageLoop) in TEST_F() function
209 TEST_F(ServerFileContextTest, DisableEnableVertexAttribArray) in TEST_F() function
Dtest_main.cpp59 TEST_F(DbgContextTest, GetReadPixelBuffer) in TEST_F() function
107 TEST_F(DbgContextTest, CompressReadPixelBuffer) in TEST_F() function
165 TEST_F(DbgContextTest, UseProgram) in TEST_F() function
Dtest_socket.cpp110 TEST_F(SocketContextTest, MessageLoopSkip) in TEST_F() function
144 TEST_F(SocketContextTest, MessageLoopContinue) in TEST_F() function
177 TEST_F(SocketContextTest, MessageLoopGenerateCall) in TEST_F() function
245 TEST_F(SocketContextTest, MessageLoopSetProp) in TEST_F() function
330 TEST_F(SocketContextTest, TexImage2D) in TEST_F() function
392 TEST_F(SocketContextTest, CopyTexImage2D) in TEST_F() function
/frameworks/base/services/input/tests/
DInputReader_test.cpp924 TEST_F(InputReaderTest, GetInputConfiguration_WhenNoDevices_ReturnsDefaults) { in TEST_F() function
933 TEST_F(InputReaderTest, GetInputConfiguration_WhenAlphabeticKeyboardPresent_ReturnsQwertyKeyboard) { in TEST_F() function
945 TEST_F(InputReaderTest, GetInputConfiguration_WhenTouchScreenPresent_ReturnsFingerTouchScreen) { in TEST_F() function
959 TEST_F(InputReaderTest, GetInputConfiguration_WhenTouchPadPresent_ReturnsFingerNoTouch) { in TEST_F() function
971 TEST_F(InputReaderTest, GetInputConfiguration_WhenMousePresent_ReturnsNoNavigation) { in TEST_F() function
988 TEST_F(InputReaderTest, GetInputConfiguration_WhenTrackballPresent_ReturnsTrackballNavigation) { in TEST_F() function
1002 TEST_F(InputReaderTest, GetInputConfiguration_WhenDPadPresent_ReturnsDPadNavigation) { in TEST_F() function
1014 TEST_F(InputReaderTest, GetInputDeviceInfo_WhenDeviceIdIsValid) { in TEST_F() function
1029 TEST_F(InputReaderTest, GetInputDeviceInfo_WhenDeviceIdIsInvalid) { in TEST_F() function
1036 TEST_F(InputReaderTest, GetInputDeviceInfo_WhenDeviceIdIsIgnored) { in TEST_F() function
[all …]
DInputDispatcher_test.cpp121 TEST_F(InputDispatcherTest, InjectInputEvent_ValidatesKeyEvents) { in TEST_F() function
141 TEST_F(InputDispatcherTest, InjectInputEvent_ValidatesMotionEvents) { in TEST_F() function
/frameworks/base/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp626 TEST_F(SurfaceMediaSourceTest, DISABLED_DummyEncodingFromCpuFilledYV12BufferNpotOneBufferPass) { in TEST_F() function
637 TEST_F(SurfaceMediaSourceTest, DISABLED_DummyEncodingFromCpuFilledYV12BufferNpotWrongSizeBufferPass… in TEST_F() function
655 TEST_F(SurfaceMediaSourceTest, DISABLED_DummyEncodingFromCpuFilledYV12BufferNpotMultiBufferPass) { in TEST_F() function
677 TEST_F(SurfaceMediaSourceTest, DISABLED_DummyLagEncodingFromCpuFilledYV12BufferNpotMultiBufferPass… in TEST_F() function
702 TEST_F(SurfaceMediaSourceTest, DISABLED_DummyThreadedEncodingFromCpuFilledYV12BufferNpotMultiBuffer… in TEST_F() function
726 TEST_F(SurfaceMediaSourceTest, DISABLED_EncodingFromCpuYV12BufferNpotWriteMediaServer) { in TEST_F() function
771 TEST_F(SurfaceMediaSourceGLTest, ChooseAndroidRecordableEGLConfigDummyWriter) { in TEST_F() function
808 TEST_F(SurfaceMediaSourceGLTest, RenderingToRecordableEGLSurfaceWorks) { in TEST_F() function
854 TEST_F(SurfaceMediaSourceGLTest, EncodingFromGLRgbaSameImageEachBufNpotWrite) { in TEST_F() function
897 TEST_F(SurfaceMediaSourceGLTest, EncodingFromGLRgbaDiffImageEachBufNpotWrite) { in TEST_F() function
/frameworks/base/opengl/tests/EGLTest/
DEGL_test.cpp54 TEST_F(EGLTest, DISABLED_EGLConfigEightBitFirst) { in TEST_F() function
87 TEST_F(EGLTest, EGLConfigRGBA8888First) { in TEST_F() function