/frameworks/wilhelm/src/ut/ |
D | OpenSLESUT.c | 41 #define _(x) { &SL_IID_##x, "SL_IID_" #x } macro 47 _(3DCOMMIT), 48 _(3DDOPPLER), 49 _(3DGROUPING), 50 _(3DLOCATION), 51 _(3DMACROSCOPIC), 52 _(3DSOURCE), 53 _(AUDIODECODERCAPABILITIES), 54 _(AUDIOENCODER), 55 _(AUDIOENCODERCAPABILITIES), [all …]
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | ipc_helper_tests.cpp | 8 using testing::_; 51 ON_CALL(sender_, Send(_, _, _, _)) in SendTest() 53 ON_CALL(sender_, SendMessage(_, _, _)) in SendTest() 64 ON_CALL(receiver_, Receive(_, _, _, _)) in RecvTest() 66 ON_CALL(receiver_, ReceiveMessage(_, _, _)) in RecvTest() 96 ON_CALL(sender_, Send(_, _, _, _)) in SendMessageTest() 98 ON_CALL(sender_, SendMessage(_, _, _)) in SendMessageTest() 109 ON_CALL(receiver_, Receive(_, _, _, _)) in RecvMessageTest() 111 ON_CALL(receiver_, ReceiveMessage(_, _, _)) in RecvMessageTest() 185 EXPECT_CALL(receiver_, Receive(kSocketFd, IntToPtr(kPtr), 100, _)) in TEST_F() [all …]
|
/frameworks/wilhelm/tools/mphtogen/ |
D | mphtogen.c | 50 #define _(x) convert(MPH_to_##x, "../../src/autogen/MPH_to_" #x ".h"); macro 54 _(3DGroup) in main() 55 _(AudioPlayer) in main() 56 _(AudioRecorder) in main() 57 _(Engine) in main() 58 _(LEDDevice) in main() 59 _(Listener) in main() 60 _(MetadataExtractor) in main() 61 _(MidiPlayer) in main() 62 _(OutputMix) in main() [all …]
|
/frameworks/wilhelm/tests/sandbox/ |
D | monkey.c | 199 #define _(entryState, action, probability) {entryState, action, probability, #action, 0}, macro 200 _(STATE_INITIAL, actionInitialize, 1) 201 _(STATE_CREATED, actionDestroy, 1) 202 _(STATE_CREATED, actionRealize, 1) 203 _(STATE_CREATED, actionSleep, 1) 204 _(STATE_NONEXISTENT, actionCreate, 1) 205 _(STATE_NONEXISTENT, actionSleep, 1) 206 _(STATE_PAUSED, actionDestroy, 1) 207 _(STATE_PAUSED, actionPause, 1) 208 _(STATE_PAUSED, actionPlay, 1) [all …]
|
D | reverb.c | 38 #define _(name) {#name, SL_I3DL2_ENVIRONMENT_PRESET_##name}, macro 41 _(DEFAULT) 42 _(GENERIC) 43 _(PADDEDCELL) 44 _(ROOM) 45 _(BATHROOM) 46 _(LIVINGROOM) 47 _(STONEROOM) 48 _(AUDITORIUM) 49 _(CONCERTHALL) [all …]
|
/frameworks/base/core/res/ |
D | MakeJavaSymbols.sed | 7 s|.*R.id.\([a-zA-Z0-9_]*\).*| <java-symbol type="id" name="\1" />|gp 8 s|.*R.attr.\([a-zA-Z0-9_]*\).*| <java-symbol type="attr" name="\1" />|gp 9 s|.*R.bool.\([a-zA-Z0-9_]*\).*| <java-symbol type="bool" name="\1" />|gp 10 s|.*R.integer.\([a-zA-Z0-9_]*\).*| <java-symbol type="integer" name="\1" />|gp 11 s|.*R.color.\([a-zA-Z0-9_]*\).*| <java-symbol type="color" name="\1" />|gp 12 s|.*R.dimen.\([a-zA-Z0-9_]*\).*| <java-symbol type="dimen" name="\1" />|gp 13 s|.*R.fraction.\([a-zA-Z0-9_]*\).*| <java-symbol type="fraction" name="\1" />|gp 14 s|.*R.string.\([a-zA-Z0-9_]*\).*| <java-symbol type="string" name="\1" />|gp 15 s|.*R.plurals.\([a-zA-Z0-9_]*\).*| <java-symbol type="plurals" name="\1" />|gp 16 s|.*R.array.\([a-zA-Z0-9_]*\).*| <java-symbol type="array" name="\1" />|gp [all …]
|
/frameworks/wilhelm/src/android/ |
D | android_GenericMediaPlayer.cpp | 65 #define _(code) case code: return #code; in media_event_type_to_string() macro 66 _(MEDIA_NOP) in media_event_type_to_string() 67 _(MEDIA_PREPARED) in media_event_type_to_string() 68 _(MEDIA_PLAYBACK_COMPLETE) in media_event_type_to_string() 69 _(MEDIA_BUFFERING_UPDATE) in media_event_type_to_string() 70 _(MEDIA_SEEK_COMPLETE) in media_event_type_to_string() 71 _(MEDIA_SET_VIDEO_SIZE) in media_event_type_to_string() 72 _(MEDIA_TIMED_TEXT) in media_event_type_to_string() 73 _(MEDIA_ERROR) in media_event_type_to_string() 74 _(MEDIA_INFO) in media_event_type_to_string() [all …]
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | EventMetricProducer_test.cpp | 116 EXPECT_CALL(*wizard, query(_, key1, _, _, _, _)).WillOnce(Return(ConditionState::kFalse)); in TEST() 118 EXPECT_CALL(*wizard, query(_, key2, _, _, _, _)).WillOnce(Return(ConditionState::kTrue)); in TEST()
|
D | GaugeMetricProducer_test.cpp | 110 EXPECT_CALL(*pullerManager, RegisterReceiver(tagId, _, _, _)).WillOnce(Return()); in TEST() 111 EXPECT_CALL(*pullerManager, UnRegisterReceiver(tagId, _)).WillOnce(Return()); in TEST() 112 EXPECT_CALL(*pullerManager, Pull(tagId, _)) in TEST() 289 EXPECT_CALL(*pullerManager, RegisterReceiver(tagId, _, _, _)).WillOnce(Return()); in TEST() 290 EXPECT_CALL(*pullerManager, UnRegisterReceiver(tagId, _)).WillOnce(Return()); in TEST() 291 EXPECT_CALL(*pullerManager, Pull(tagId, _)) in TEST() 365 EXPECT_CALL(*pullerManager, RegisterReceiver(tagId, _, _, _)).WillOnce(Return()); in TEST() 366 EXPECT_CALL(*pullerManager, UnRegisterReceiver(tagId, _)).WillOnce(Return()); in TEST() 367 EXPECT_CALL(*pullerManager, Pull(tagId, _)).WillOnce(Return(false)); in TEST() 418 EXPECT_CALL(*pullerManager, RegisterReceiver(tagId, _, _, _)).WillOnce(Return()); in TEST() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/ |
D | protostream_objectwriter_test.cc | 76 using ::testing::_; 379 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), in TEST_P() 382 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), in TEST_P() 385 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_SFIXED64"), in TEST_P() 388 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_BOOL"), in TEST_P() 412 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_INT32"), in TEST_P() 415 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_UINT32"), in TEST_P() 418 EXPECT_CALL(listener_, InvalidValue(_, StringPiece("TYPE_SFIXED64"), in TEST_P() 422 InvalidValue(_, StringPiece("TYPE_BOOL"), StringPiece("\"NaN\""))) in TEST_P() 496 _, StringPiece("name"), in TEST_P() [all …]
|
/frameworks/compile/slang/ |
D | slang_rs_export_type.cpp | 62 #define _ nullptr macro 75 …l", "BOOLEAN", "BOOLEAN", 8, "bool", "boolean", "byte", _, _, false}, 76 {PrimitiveDataType, _, "UNSIGNED_5_6_5", _, 16, _, _, _, … 77 {PrimitiveDataType, _, "UNSIGNED_5_5_5_1", _, 16, _, _, _, … 78 {PrimitiveDataType, _, "UNSIGNED_4_4_4_4", _, 16, _, _, _, … 80 {MatrixDataType, "rs_matrix2x2", "MATRIX_2X2", _, 4*32, "rs_matrix2x2", "Matrix2f", _, _, _, false… 81 {MatrixDataType, "rs_matrix3x3", "MATRIX_3X3", _, 9*32, "rs_matrix3x3", "Matrix3f", _, _, _, false… 82 {MatrixDataType, "rs_matrix4x4", "MATRIX_4X4", _, 16*32, "rs_matrix4x4", "Matrix4f", _, _, _, false… 86 … "RS_ELEMENT", "ELEMENT", 32, "Element", "Element", _, _, _, false}, 87 … "RS_TYPE", "TYPE", 32, "Type", "Type", _, _, _, false}, [all …]
|
/frameworks/wilhelm/src/ |
D | handlers.c | 41 #define _(id) ((id) - SL_OBJECTID_ENGINE + XA_OBJECTID_CAMERADEVICE + 1) macro 43 [_(SL_OBJECTID_AUDIOPLAYER)] = { 53 [_(SL_OBJECTID_AUDIORECORDER)] = { 56 [_(SL_OBJECTID_MIDIPLAYER)] = { 60 [_(SL_OBJECTID_OUTPUTMIX)] = {
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayTransactionTest.cpp | 48 using testing::_; 185 EXPECT_CALL(*mEventThread, registerDisplayEventConnection(_)); in setupScheduler() 186 EXPECT_CALL(*mSFEventThread, registerDisplayEventConnection(_)); in setupScheduler() 351 EXPECT_CALL(*test->mNativeWindow, query(NATIVE_WINDOW_WIDTH, _)) in makeFakeExistingDisplayInjector() 353 EXPECT_CALL(*test->mNativeWindow, query(NATIVE_WINDOW_HEIGHT, _)) in makeFakeExistingDisplayInjector() 372 EXPECT_CALL(*test->mNativeWindow, query(NATIVE_WINDOW_WIDTH, _)) in setupNativeWindowSurfaceCreationCallExpectations() 374 EXPECT_CALL(*test->mNativeWindow, query(NATIVE_WINDOW_HEIGHT, _)) in setupNativeWindowSurfaceCreationCallExpectations() 387 EXPECT_CALL(*test->mConsumer, consumerConnect(_, false)).WillOnce(Return(NO_ERROR)); in setupFramebufferConsumerBufferQueueCallExpectations() 388 EXPECT_CALL(*test->mConsumer, setConsumerName(_)).WillRepeatedly(Return(NO_ERROR)); in setupFramebufferConsumerBufferQueueCallExpectations() 393 EXPECT_CALL(*test->mConsumer, setMaxAcquiredBufferCount(_)) in setupFramebufferConsumerBufferQueueCallExpectations() [all …]
|
D | CompositionTest.cpp | 49 using testing::_; 102 EXPECT_CALL(*mNativeWindow, query(NATIVE_WINDOW_WIDTH, _)) in CompositionTest() 104 EXPECT_CALL(*mNativeWindow, query(NATIVE_WINDOW_HEIGHT, _)) in CompositionTest() 131 EXPECT_CALL(*mEventThread.get(), registerDisplayEventConnection(_)); in setupScheduler() 269 EXPECT_CALL(*test->mNativeWindow, query(NATIVE_WINDOW_WIDTH, _)) in setupPreconditions() 271 EXPECT_CALL(*test->mNativeWindow, query(NATIVE_WINDOW_HEIGHT, _)) in setupPreconditions() 289 EXPECT_CALL(*test->mComposer, getDisplayCapabilities(HWC_DISPLAY, _)) in setupPreconditionCallExpectations() 297 setColorTransform(HWC_DISPLAY, _, Hwc2::ColorTransform::IDENTITY)) in setupCommonCompositionCallExpectations() 299 EXPECT_CALL(*test->mComposer, presentOrValidateDisplay(HWC_DISPLAY, _, _, _, _)).Times(1); in setupCommonCompositionCallExpectations() 300 EXPECT_CALL(*test->mComposer, getDisplayRequests(HWC_DISPLAY, _, _, _)).Times(1); in setupCommonCompositionCallExpectations() [all …]
|
D | SchedulerTest.cpp | 16 using testing::_; 78 EXPECT_CALL(*mEventThread, registerDisplayEventConnection(_)).WillOnce(Return(0)); in SchedulerTest() 84 EXPECT_CALL(*mEventThread, createEventConnection(_)) in SchedulerTest() 135 EXPECT_CALL(*mEventThread, onHotplugReceived(_, _)).Times(0); in TEST_F() 146 EXPECT_CALL(*mEventThread, dump(_)).Times(0); in TEST_F() 150 EXPECT_CALL(*mEventThread, setPhaseOffset(_)).Times(0); in TEST_F()
|
/frameworks/base/services/tests/servicestests/res/raw/ |
D | backup_telephony_no_password | 6 …��T��_Wխ{o�������-m��*�r�x�;b�<���1X/o)�����-P�����z���*��p(�o�_��,F���@('��o… 14 /�� �h;$��v��ZAaH�F A�_��P��"�<<��E"1�F��PG��p4 15 …_����B���A8�@>/�h E���8�`��GC`��-0!`x��84����,�������C �(�oJ�q����!��[… 17 ? �/L��`������W�!(�/�1��?_��=�X��A�@>�a|N#q�;��'$��������{��y��`8|�����C��ߔǻ… 20 �A�B�G94����y(o�~-���X;/ �_�p;��@$��B��xh�!P�`�T����P���?�'�Ͻ����� 23 …ئ�������u�7��o�Ŋ�>�F%ߛ�n��[߿j��?o�B�������Gٽ9qmq�kNȸxϖ1��3�gQ�g2��_��K�7�O>Vkq;U:7fH���… 26 A��mTL� i��g�Ug��Yt'r57���W�.0�?���q�Dp��:P,x-���"2�����c�_M�bU��l�3��oP!�ws;�B�_�A,��… 27 ݴ{�i��-�0�O(1-+|4�*��-����y�����aB7�y�ʪ�뷙��|��M~3L�r���ޏ� )�[���_�#��~z��|�$7�OqΨ��V���… 29 �Ǯў>?-���l ?ѩ%Oق��R��_��\�]e��|�}�n���x9_���&=�0�ﳡU�����I!H���l��������{�j?�꘤و�K�P�… 30 ٻ���+]�ۋ_��qm�r��������OvJF8\���L|�+��|�n��i=�s����"ry����}�`
|
D | backup_telephony_with_password | 10 �9��dN��h�_��jhy� E2��͚~J��+��`���sY��"]�/HĬ�����Q�[�$�+�Ing��r�����*m*�i�&����<�t�b@/… 12 6�Y�N��&E4�4��S�e�u���� g��@c"�I-v�0B_��f�EǧZ��'��8^�կ0������?{�v5"�ہ2�U"���W��wSbG!�����eU… 14 …�"B��nM�.&��4�yEE�3D��j��V�����Ce�hD�v�R��n\�Nm�edV�Vi��q_���굧X'��`�1�;���`͵σ�[_ 24 …F���R)̌1?��m>gof�X�q��`�bNzo��ç|+]�p{qt+��o�����*������V��ȋ@ ^�]��5_���Wΰ�>6.���a��dS�(… 27 B0"�eE'S���5�� P����S�f/�-B�A�3��"�]Ht��Ax@�����,x�^HS�D#�<%+��S��F�D���b���ڇ�B�?��_:�cpi>/… 34 …�iҹ�1^Y:�d��<�W�S���v$QQ�1��3�칉���{��8�է����:_%4f[���MΞx;bM��0�"�|�M��0\Ur�|�����t�T�… 37 …�B��VfH���AQS{f��� ,{�##���z��Wɍ,d<H��T��/���G~�B��`����G��ۖ�m� �_�z����~e��C(��R�K��… 48 �6�Zd�_J������t���� ���|�T���"�"��w���qru�M5n��$ �D�(X�Y�,��D>_�XH��W[����N�W�X ����… 54 �g<zi]���1�X�b8��1u���F_��ږ�w�����d(�����II�������>5���NO�b�_'�,��\�2�?bA�c��7�����C�… 56 …�����O���AA?o�p��>�ݚ\��d�ݜ���"]�oDd��M6�Н�v�/�2A�oC�}D����@6����pZ=���\$r�eDZT�_��$&^��
|
/frameworks/base/cmds/statsd/tests/ |
D | ConfigManager_test.cpp | 92 EXPECT_CALL(*(listener.get()), OnConfigUpdated(_, ConfigKeyEq(1, StringToId("zzz")), in TEST() 98 EXPECT_CALL(*(listener.get()), OnConfigUpdated(_, ConfigKeyEq(1, StringToId("zzz")), in TEST() 104 EXPECT_CALL(*(listener.get()), OnConfigUpdated(_, ConfigKeyEq(1, StringToId("yyy")), in TEST() 110 EXPECT_CALL(*(listener.get()), OnConfigUpdated(_, ConfigKeyEq(2, StringToId("zzz")), in TEST() 146 EXPECT_CALL(*(listener.get()), OnConfigUpdated(_, _, _)).Times(5); in TEST()
|
/frameworks/ml/nn/common/operations/ |
D | EmbeddingLookupTest.cpp | 99 ASSERT_EQ(execution.setInput(EmbeddingLookup::k##X##Tensor, X##_.data(), \ in Invoke() 100 sizeof(T) * X##_.size()), \ in Invoke() 108 ASSERT_EQ(execution.setOutput(EmbeddingLookup::k##X##Tensor, X##_.data(), \ in Invoke() 109 sizeof(T) * X##_.size()), \ in Invoke() 121 X##_.insert(X##_.end(), f.begin(), f.end()); \ 146 #define DefineTensor(X, T) std::vector<T> X##_;
|
D | SVDFTest.cpp | 244 #define ReserveOutput(X) X##_.insert(X##_.end(), multiAll(*it2++), 0.f); in SVDFOpModel() 264 ASSERT_EQ(execution.setInput(SVDF::k##X##Tensor, X##_.data(), \ in Invoke() 265 sizeof(float) * X##_.size()), \ in Invoke() 273 EXPECT_TRUE(X##_.data() != nullptr); \ in Invoke() 274 ASSERT_EQ(execution.setOutput(SVDF::k##X##Tensor, X##_.data(), \ in Invoke() 275 sizeof(float) * X##_.size()), \ in Invoke() 295 X##_.insert(X##_.end(), f.begin(), f.end()); \ 330 #define DefineTensor(X) std::vector<float> X##_;
|
D | HashtableLookupTest.cpp | 113 ASSERT_EQ(execution.setInput(HashtableLookup::k##X##Tensor, X##_.data(), \ in Invoke() 114 sizeof(T) * X##_.size()), \ in Invoke() 122 ASSERT_EQ(execution.setOutput(HashtableLookup::k##X##Tensor, X##_.data(), \ in Invoke() 123 sizeof(T) * X##_.size()), \ in Invoke() 135 X##_.insert(X##_.end(), f.begin(), f.end()); \ 158 #define DefineTensor(X, T) std::vector<T> X##_;
|
D | LSHProjectionTest.cpp | 89 void Set##X(const std::vector<T>& f) { X##_.insert(X##_.end(), f.begin(), f.end()); } 106 execution.setInput(LSHProjection::k##X##Tensor, X##_.data(), sizeof(T) * X##_.size()), \ in Invoke() 114 ASSERT_EQ(execution.setOutput(LSHProjection::k##X##Tensor, X##_.data(), \ in Invoke() 115 sizeof(T) * X##_.size()), \ in Invoke()
|
/frameworks/native/libs/vr/libpdx/ |
D | client_tests.cpp | 32 using testing::_; 204 SendWithInt(nullptr, TestInterface::kOpAdd, _, _, nullptr, 0)) in TEST_F() 216 SendWithInt(kTransactionState, TestInterface::kOpAdd, _, _, nullptr, 0)) in TEST_F() 230 SendWithInt(kTransactionState, TestInterface::kOpAdd, _, _, nullptr, 0)) in TEST_F() 245 _, _, nullptr, 0)) in TEST_F() 260 _, _, nullptr, 0)) in TEST_F() 276 SendWithChannelHandle(kTransactionState, TestInterface::kOpPushChannel, _, in TEST_F() 277 _, nullptr, 0)) in TEST_F() 292 SendWithChannelHandle(kTransactionState, TestInterface::kOpPushChannel, _, in TEST_F() 293 _, nullptr, 0)) in TEST_F() [all …]
|
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/ |
D | Elementwise.cpp | 24 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = ANEURALNETWORKS_##op, \ 44 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = ANEURALNETWORKS_##op, \ 67 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = ANEURALNETWORKS_##op, \ 84 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = ANEURALNETWORKS_##op, \ 99 DEFINE_OPERATION_SIGNATURE(op##_##outType##_##ver){.opType = ANEURALNETWORKS_##op, \ 120 DEFINE_OPERATION_SIGNATURE(CAST_##outType##_##ver){.opType = ANEURALNETWORKS_CAST, \
|
/frameworks/base/libs/hwui/debug/ |
D | GlesErrorCheckWrapper.cpp | 57 #define API_ENTRY(x) GlesErrorCheckWrapper::x##_ 59 mBase.x##_(__VA_ARGS__); \ 63 auto ret = mBase.x##_(__VA_ARGS__); \
|