Home
last modified time | relevance | path

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

1234567

/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVmsUtils_test.cpp32 TEST(VmsUtilsTest, subscribeMessage) { in TEST() function
47 TEST(VmsUtilsTest, unsubscribeMessage) { in TEST() function
62 TEST(VmsUtilsTest, singleOfferingMessage) { in TEST() function
86 TEST(VmsUtilsTest, offeringWithDependencies) { in TEST() function
123 TEST(VmsUtilsTest, availabilityMessage) { in TEST() function
132 TEST(VmsUtilsTest, subscriptionsMessage) { in TEST() function
141 TEST(VmsUtilsTest, dataMessage) { in TEST() function
164 TEST(VmsUtilsTest, emptyMessageInvalid) { in TEST() function
169 TEST(VmsUtilsTest, invalidMessageType) { in TEST() function
177 TEST(VmsUtilsTest, parseDataMessage) { in TEST() function
[all …]
/hardware/interfaces/broadcastradio/common/utilsaidl/test/
DBroadcastRadioUtilsTest.cpp84 TEST(BroadcastRadioUtilsTest, IdentifierIteratorBegin) { in TEST() function
99 TEST(BroadcastRadioUtilsTest, IdentifierIteratorIncrement) { in TEST() function
116 TEST(BroadcastRadioUtilsTest, IdentifierIteratorIncrementWithValue) { in TEST() function
131 TEST(BroadcastRadioUtilsTest, IdentifierIteratorBeginEndWithoutSecondaryIds) { in TEST() function
140 TEST(BroadcastRadioUtilsTest, IdentifierIteratorBeginEndWithDifferentObjects) { in TEST() function
153 TEST(BroadcastRadioUtilsTest, IdentifierIteratorBeginEndWithTheSameObject) { in TEST() function
165 TEST(BroadcastRadioUtilsTest, IsSupportedWithSupportedSelector) { in TEST() function
171 TEST(BroadcastRadioUtilsTest, IsSupportedWithUnsupportedSelector) { in TEST() function
177 TEST(BroadcastRadioUtilsTest, GetBandWithFmFrequency) { in TEST() function
183 TEST(BroadcastRadioUtilsTest, HasIdWithPrimaryIdType) { in TEST() function
[all …]
/hardware/google/pixel/power-libperfmgr/aidl/tests/
DGpuCapacityCalculationTest.cpp41 TEST(GpuCapacityCalculation, gpu_total_time_attribution) { in TEST() function
49 TEST(GpuCapacityCalculation, total_time_of_zero_reports_zero_capacity) { in TEST() function
54 TEST(GpuCapacityCalculation, no_overrun_frame) { in TEST() function
66 TEST(GpuCapacityCalculation, basic_50_50_frame) { in TEST() function
75 TEST(GpuCapacityCalculation, frame_10_90) { in TEST() function
84 TEST(GpuCapacityCalculation, frame_0_100) { in TEST() function
93 TEST(GpuCapacityCalculation, frame_40_60_parallel) { in TEST() function
102 TEST(GpuCapacityCalculation, frame_100_0) { in TEST() function
111 TEST(GpuCapacityCalculation, frame_100_100) { in TEST() function
120 TEST(GpuCapacityCalculation, report_underaccounts_total_50_50) { in TEST() function
[all …]
/hardware/google/gfxstream/third-party/astc-encoder/Source/UnitTest/
Dtest_simd.cpp52 TEST(misc, RoundDownVLA) in TEST() function
67 TEST(misc, RoundUpVLA) in TEST() function
86 TEST(vfloat, ChangeSign) in TEST() function
110 TEST(vfloat, Atan) in TEST() function
130 TEST(vfloat, Atan2) in TEST() function
158 TEST(vfloat, ChangeSign) in TEST() function
170 TEST(vfloat, Atan) in TEST() function
181 TEST(vfloat, Atan2) in TEST() function
197 TEST(vfloat, ChangeSign) in TEST() function
213 TEST(vfloat, Atan) in TEST() function
[all …]
Dtest_softfloat.cpp32 TEST(softfloat, FP16NormalNumbers) in TEST() function
39 TEST(softfloat, FP16DenormalNumbers) in TEST() function
46 TEST(softfloat, FP16Zero) in TEST() function
53 TEST(softfloat, FP16Infinity) in TEST() function
60 TEST(softfloat, FP16NaN) in TEST() function
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/
DVehicleUtilsTest.cpp469 TEST(VehicleUtilsTest, testToInt) { in TEST() function
475 TEST(VehicleUtilsTest, testGetPropType) { in TEST() function
481 TEST(VehicleUtilsTest, testGetPropGroup) { in TEST() function
487 TEST(VehicleUtilsTest, testGetPropArea) { in TEST() function
493 TEST(VehicleUtilsTest, testIsGlobalPropTrue) { in TEST() function
497 TEST(VehicleUtilsTest, testIsGlobalPropFalse) { in TEST() function
501 TEST(VehicleUtilsTest, testIsSystemPropTrue) { in TEST() function
505 TEST(VehicleUtilsTest, testIsSystemPropFalse) { in TEST() function
512 TEST(VehicleUtilsTest, testGetAreaConfigGlobal) { in TEST() function
522 TEST(VehicleUtilsTest, testGetAreaConfigGlobalNoAreaConfig) { in TEST() function
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/tests/
Dhalf_float_test.cpp50 TEST(half_to_float_test, nan_test) in TEST() function
85 TEST(half_to_float_test, half_to_float_test) in TEST() function
90 TEST(half_to_float_test, half_to_float_slow_test) in TEST() function
113 TEST(float_to_half_test, float_to_half_test) in TEST() function
118 TEST(float_to_float16_rtne_test, float_to_float16_rtne_test) in TEST() function
125 TEST(float_to_float16_rtz_test, float_to_float16_rtz_test) in TEST() function
130 TEST(float_to_float16_rtz_slow_test, float_to_float16_rtz_test) in TEST() function
Dtimespec_test.cpp33 TEST(timespec_test, timespec_add) in TEST() function
46 TEST(timespec_test, timespec_sub) in TEST() function
59 TEST(timespec_test, timespec_to_nsec) in TEST() function
68 TEST(timespec_test, timespec_to_usec) in TEST() function
77 TEST(timespec_test, timespec_to_msec) in TEST() function
86 TEST(timespec_test, timespec_to_proto) in TEST() function
115 TEST(timespec_test, millihz_to_nsec) in TEST() function
120 TEST(timespec_test, time_t_max) in TEST() function
132 TEST(timespec_test, timespec_add_nsec) in TEST() function
182 TEST(timespec_test, timespec_add_msec) in TEST() function
[all …]
Dvector_test.cpp85 TEST(Vector, Grow0) { test(4, 0, 0); } in TEST() function
87 TEST(Vector, Grow1) { test(4, 1, 0); } in TEST() function
89 TEST(Vector, Grow2) { test(4, 2, 0); } in TEST() function
91 TEST(Vector, Grow3) { test(4, 3, 0); } in TEST() function
93 TEST(Vector, Grow4) { test(4, 4, 0); } in TEST() function
95 TEST(Vector, Grow5) { test(4, 5, 0); } in TEST() function
97 TEST(Vector, Rollover) in TEST() function
Dfast_idiv_by_const_test.cpp317 TEST(fast_idiv_by_const, uint8_add_sat) in TEST() function
331 TEST(fast_idiv_by_const, uint8_mul_add) in TEST() function
345 TEST(fast_idiv_by_const, int8) in TEST() function
360 TEST(fast_idiv_by_const, uint16_add_sat_bounded) in TEST() function
365 TEST(fast_idiv_by_const, uint16_add_sat_full) in TEST() function
370 TEST(fast_idiv_by_const, uint16_mul_add_bounded) in TEST() function
375 TEST(fast_idiv_by_const, uint16_mul_add_full) in TEST() function
380 TEST(fast_idiv_by_const, int16) in TEST() function
385 TEST(fast_idiv_by_const, uint32_add_sat_bounded) in TEST() function
390 TEST(fast_idiv_by_const, uint32_add_sat_full) in TEST() function
[all …]
Dbitset_test.cpp27 TEST(bitset, sizes) in TEST() function
40 TEST(bitset, test_set_clear) in TEST() function
54 TEST(bitset, test_set_ones) in TEST() function
70 TEST(bitset, test_basic_range) in TEST() function
92 TEST(bitset, test_bitset_ffs) in TEST() function
112 TEST(bitset, test_range_bits) in TEST() function
154 TEST(bitset, test_and) in TEST() function
192 TEST(bitset, test_or) in TEST() function
232 TEST(bitset, test_not) in TEST() function
256 TEST(bitset, test_shr_zero) in TEST() function
[all …]
/hardware/google/gfxstream/host/tests/
DStalePtrRegistry_unittest.cpp22 TEST(StalePtrRegistry, Constructor) { in TEST() function
26 TEST(StalePtrRegistry, Add) { in TEST() function
33 TEST(StalePtrRegistry, AddRemove) { in TEST() function
42 TEST(StalePtrRegistry, AddMakeStale) { in TEST() function
53 TEST(StalePtrRegistry, Get) { in TEST() function
61 TEST(StalePtrRegistry, GetDefaultVal) { in TEST() function
68 TEST(StalePtrRegistry, GetNonExisting) { in TEST() function
75 TEST(StalePtrRegistry, AddMakeStaleGetStale) { in TEST() function
95 TEST(StalePtrRegistry, AddMakeStaleGetStaleWithDelete) { in TEST() function
116 TEST(StalePtrRegistry, AddMakeStaleWithRemap) { in TEST() function
[all …]
/hardware/google/aemu/host-common/
Dlogging_unittest.cpp50 TEST(Logging, ERRMacroNoArguments) { in TEST() function
58 TEST(Logging, ERRMacroWithArguments) { in TEST() function
66 TEST(Logging, INFOMacroNoArguments) { in TEST() function
74 TEST(Logging, INFOMacroWithArguments) { in TEST() function
82 TEST(Logging, FormatsPrefixCorrectly) { in TEST() function
91 TEST(Logging, OutputsTimestamp) { in TEST() function
99 TEST(Logging, FileHasBasenameOnlyWithBackwardsSlashes) { in TEST() function
108 TEST(Logging, FileHasBasenameOnlyWithForwardSlashes) { in TEST() function
116 TEST(Logging, OutputsDifferentThreadIdsOnDifferentThreads) { in TEST() function
/hardware/libhardware/tests/input/evdev/
DBitUtils_test.cpp24 TEST(BitInRange, testInvalidRange) { in TEST() function
30 TEST(BitInRange, testNoBits) { in TEST() function
36 TEST(BitInRange, testOneBit) { in TEST() function
44 TEST(BitInRange, testZeroStart) { in TEST() function
54 TEST(BitInRange, testByteBoundaryEnd) { in TEST() function
64 TEST(BitInRange, testMultiByteArray) { in TEST() function
/hardware/interfaces/automotive/vehicle/2.0/utils/tests/
DUserHalHelper_test.cpp79 TEST(UserHalHelperTest, TestToInitialUserInfoRequestSystemUser) { in TEST() function
99 TEST(UserHalHelperTest, TestToInitialUserInfoRequestAdminUser) { in TEST() function
117 TEST(UserHalHelperTest, TestToInitialUserInfoRequestUserFlagsBitCombination) { in TEST() function
138 TEST(UserHalHelperTest, TestToInitialUserInfoRequestUserInvalidUserFlag) { in TEST() function
151 TEST(UserHalHelperTest, TestFailsToInitialUserInfoRequestWithMismatchingPropType) { in TEST() function
163 TEST(UserHalHelperTest, TestFailsToInitialUserInfoRequestWithInvalidRequestType) { in TEST() function
175 TEST(UserHalHelperTest, TestFailsToInitialUserInfoRequestWithInvalidUserFlag) { in TEST() function
187 TEST(UserHalHelperTest, TestFailsToInitialUserInfoRequestWithIncompleteUsersInfo) { in TEST() function
208 TEST(UserHalHelperTest, TestToSwitchUserRequest) { in TEST() function
229 TEST(UserHalHelperTest, TestFailsToSwitchUserRequestWithMismatchingPropType) { in TEST() function
[all …]
/hardware/google/aemu/base/
DStringFormat_unittest.cpp21 TEST(StringFormat, EmptyString) { in TEST() function
27 TEST(StringFormat, SimpleString) { in TEST() function
32 TEST(StringFormat, SimpleDecimal) { in TEST() function
37 TEST(StringFormat, VeryLongString) { in TEST() function
49 TEST(StringAppendFormat, EmptyString) { in TEST() function
56 TEST(StringAppendFormat, SimpleString) { in TEST() function
63 TEST(StringAppendFormat, VeryLongString) { in TEST() function
DScopedFd_unittest.cpp42 TEST(ScopedFd, DefaultConstructor) { in TEST() function
48 TEST(ScopedFd, Constructor) { in TEST() function
53 TEST(ScopedFd, Release) { in TEST() function
62 TEST(ScopedFd, Close) { in TEST() function
69 TEST(ScopedFd, Swap) { in TEST() function
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/userhal/test/
DUserHalHelper_test.cpp96 TEST(UserHalHelperTest, TestToInitialUserInfoRequest) { in TEST() function
114 TEST(UserHalHelperTest, TestToInitialUserInfoRequestUserFlagsBitCombination) { in TEST() function
133 TEST(UserHalHelperTest, TestToInitialUserInfoRequestUserInvalidUserFlag) { in TEST() function
145 TEST(UserHalHelperTest, TestFailsToInitialUserInfoRequestWithMismatchingPropType) { in TEST() function
157 TEST(UserHalHelperTest, TestFailsToInitialUserInfoRequestWithInvalidRequestType) { in TEST() function
169 TEST(UserHalHelperTest, TestFailsToInitialUserInfoRequestWithInvalidUserFlag) { in TEST() function
181 TEST(UserHalHelperTest, TestFailsToInitialUserInfoRequestWithIncompleteUsersInfo) { in TEST() function
202 TEST(UserHalHelperTest, TestToSwitchUserRequest) { in TEST() function
221 TEST(UserHalHelperTest, TestFailsToSwitchUserRequestWithMismatchingPropType) { in TEST() function
233 TEST(UserHalHelperTest, TestFailsToSwitchUserRequestWithInvalidMessageType) { in TEST() function
[all …]
/hardware/interfaces/graphics/mapper/stable-c/implutils/
Dimpltests.cpp65 TEST(Metadata, setGetBufferId) { in TEST() function
82 TEST(Metadata, setGetDataspace) { in TEST() function
99 TEST(Metadata, setGetValidName) { in TEST() function
117 TEST(Metadata, setGetInvalidName) { in TEST() function
136 TEST(Metadata, wouldOverflowName) { in TEST() function
151 TEST(Metadata, setGetMismatchedWidthHight) { in TEST() function
166 TEST(Metadata, setGetCompression) { in TEST() function
182 TEST(Metadata, setGetPlaneLayout) { in TEST() function
209 TEST(Metadata, setGetRects) { in TEST() function
226 TEST(Metadata, setGetSmpte2086) { in TEST() function
[all …]
/hardware/interfaces/neuralnetworks/1.0/utils/test/
DDeviceTest.cpp104 TEST(DeviceTest, invalidName) { in TEST() function
114 TEST(DeviceTest, invalidDevice) { in TEST() function
123 TEST(DeviceTest, getCapabilitiesError) { in TEST() function
141 TEST(DeviceTest, getCapabilitiesTransportFailure) { in TEST() function
156 TEST(DeviceTest, getCapabilitiesDeadObject) { in TEST() function
171 TEST(DeviceTest, linkToDeathError) { in TEST() function
185 TEST(DeviceTest, linkToDeathTransportFailure) { in TEST() function
200 TEST(DeviceTest, linkToDeathDeadObject) { in TEST() function
215 TEST(DeviceTest, getName) { in TEST() function
227 TEST(DeviceTest, getFeatureLevel) { in TEST() function
[all …]
/hardware/interfaces/neuralnetworks/1.1/utils/test/
DDeviceTest.cpp112 TEST(DeviceTest, invalidName) { in TEST() function
122 TEST(DeviceTest, invalidDevice) { in TEST() function
131 TEST(DeviceTest, getCapabilitiesError) { in TEST() function
151 TEST(DeviceTest, getCapabilitiesTransportFailure) { in TEST() function
166 TEST(DeviceTest, getCapabilitiesDeadObject) { in TEST() function
181 TEST(DeviceTest, linkToDeathError) { in TEST() function
195 TEST(DeviceTest, linkToDeathTransportFailure) { in TEST() function
210 TEST(DeviceTest, linkToDeathDeadObject) { in TEST() function
225 TEST(DeviceTest, getName) { in TEST() function
237 TEST(DeviceTest, getFeatureLevel) { in TEST() function
[all …]
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DDeviceTest.cpp164 TEST(DeviceTest, invalidName) { in TEST() function
174 TEST(DeviceTest, invalidDevice) { in TEST() function
183 TEST(DeviceTest, getVersionStringError) { in TEST() function
197 TEST(DeviceTest, getVersionStringTransportFailure) { in TEST() function
212 TEST(DeviceTest, getVersionStringDeadObject) { in TEST() function
227 TEST(DeviceTest, getTypeError) { in TEST() function
242 TEST(DeviceTest, getTypeTransportFailure) { in TEST() function
257 TEST(DeviceTest, getTypeDeadObject) { in TEST() function
272 TEST(DeviceTest, getSupportedExtensionsError) { in TEST() function
287 TEST(DeviceTest, getSupportedExtensionsTransportFailure) { in TEST() function
[all …]
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DDeviceTest.cpp144 TEST(DeviceTest, invalidName) { in TEST() function
154 TEST(DeviceTest, invalidDevice) { in TEST() function
163 TEST(DeviceTest, getVersionStringError) { in TEST() function
177 TEST(DeviceTest, getVersionStringTransportFailure) { in TEST() function
192 TEST(DeviceTest, getVersionStringDeadObject) { in TEST() function
207 TEST(DeviceTest, getTypeError) { in TEST() function
222 TEST(DeviceTest, getTypeTransportFailure) { in TEST() function
237 TEST(DeviceTest, getTypeDeadObject) { in TEST() function
252 TEST(DeviceTest, getSupportedExtensionsError) { in TEST() function
267 TEST(DeviceTest, getSupportedExtensionsTransportFailure) { in TEST() function
[all …]
/hardware/interfaces/confirmationui/support/test/
Dandroid_cbor_test.cpp80 TEST(Cbor, FeatureTest) { in TEST() function
91 TEST(Cbor, BufferTooShort) { in TEST() function
104 TEST(Cbor, MalformedUTF8Test_Stray) { in TEST() function
112 TEST(Cbor, MalformendUTF8Test_StringEndsMidMultiByte) { in TEST() function
120 TEST(Cbor, UTF8Test_TwoBytes) { in TEST() function
128 TEST(Cbor, UTF8Test_ThreeBytes) { in TEST() function
136 TEST(Cbor, UTF8Test_FourBytes) { in TEST() function
144 TEST(Cbor, MalformendUTF8Test_CharacterTooLong) { in TEST() function
152 TEST(Cbor, MalformendUTF8Test_StringEndsMidMultiByte2) { in TEST() function
160 TEST(Cbor, MinimalViableHeaderSizeTest) { in TEST() function
/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientBufferTest.cpp65 TEST(ResilientBufferTest, invalidBufferFactory) { in TEST() function
77 TEST(ResilientBufferTest, bufferFactoryFailure) { in TEST() function
89 TEST(ResilientBufferTest, getBuffer) { in TEST() function
100 TEST(ResilientBufferTest, getToken) { in TEST() function
112 TEST(ResilientBufferTest, copyTo) { in TEST() function
126 TEST(ResilientBufferTest, copyToError) { in TEST() function
140 TEST(ResilientBufferTest, copyToDeadObjectFailedRecovery) { in TEST() function
155 TEST(ResilientBufferTest, copyToDeadObjectSuccessfulRecovery) { in TEST() function
172 TEST(ResilientBufferTest, copyFrom) { in TEST() function
186 TEST(ResilientBufferTest, copyFromError) { in TEST() function
[all …]

1234567