Home
last modified time | relevance | path

Searched refs:_ (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/frameworks/wilhelm/src/ut/
DOpenSLESUT.c41 #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/base/services/incremental/test/
DIncrementalServiceTest.cpp37 using testing::_;
65 ON_CALL(*this, mountIncFs(_, _, _, _, _)) in mountIncFsFails()
70 ON_CALL(*this, mountIncFs(_, _, _, _, _)) in mountIncFsInvalidControlParcel()
74 ON_CALL(*this, mountIncFs(_, _, _, _, _)) in mountIncFsSuccess()
78 ON_CALL(*this, bindMount(_, _)) in bindMountFails()
83 ON_CALL(*this, bindMount(_, _)).WillByDefault(Return(binder::Status::ok())); in bindMountSuccess()
86 ON_CALL(*this, setIncFsMountOptions(_, _, _, _)) in setIncFsMountOptionsFails()
91 ON_CALL(*this, setIncFsMountOptions(_, _, _, _)) in setIncFsMountOptionsSuccess()
132 ON_CALL(*this, start(_)).WillByDefault(Invoke(this, &MockDataLoader::startOk)); in MockDataLoader()
133 ON_CALL(*this, stop(_)).WillByDefault(Invoke(this, &MockDataLoader::stopOk)); in MockDataLoader()
[all …]
/frameworks/native/libs/vr/libpdx_uds/
Dipc_helper_tests.cpp8 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/
Dmphtogen.c50 #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/native/services/surfaceflinger/CompositionEngine/tests/planner/
DFlattenerTest.cpp39 using testing::_;
173 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)) in expectAllLayersFlattened()
425 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)) in TEST_F()
449 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)) in TEST_F()
502 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)) in TEST_F()
517 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)) in TEST_F()
547 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)) in TEST_F()
603 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)) in TEST_F()
615 EXPECT_CALL(mRenderEngine, drawLayers(_, _, _, _, _)).Times(0); in TEST_F()
648 EXPECT_CALL(*mTestLayers[2]->layerFE, prepareClientCompositionList(_)) in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DAidlPowerHalWrapperTest.cpp62 ON_CALL(*mMockHal.get(), getHintSessionPreferredRate(_)).WillByDefault(Return(Status::ok())); in SetUp()
109 ON_CALL(*mMockHal.get(), getHintSessionPreferredRate(_)) in TEST_F()
119 EXPECT_CALL(*mMockHal.get(), createHintSession(_, _, threadIds, _, _)) in TEST_F()
129 EXPECT_CALL(*mMockHal.get(), createHintSession(_, _, threadIds, _, _)) in TEST_F()
137 EXPECT_CALL(*mMockHal.get(), createHintSession(_, _, threadIds, _, _)) in TEST_F()
144 EXPECT_CALL(*mMockHal.get(), createHintSession(_, _, threadIds, _, _)).Times(0); in TEST_F()
155 EXPECT_CALL(*mMockHal.get(), createHintSession(_, _, threadIds, _, _)) in TEST_F()
183 EXPECT_CALL(*mMockHal.get(), createHintSession(_, _, threadIds, _, _)) in TEST_F()
199 EXPECT_CALL(*mMockHal.get(), createHintSession(_, _, threadIds, _, _)) in TEST_F()
236 EXPECT_CALL(*mMockHal.get(), createHintSession(_, _, threadIds, _, _)) in TEST_F()
[all …]
DSurfaceFlinger_PowerHintTest.cpp107 EXPECT_CALL(*eventThread, registerDisplayEventConnection(_)); in setupScheduler()
108 EXPECT_CALL(*eventThread, createEventConnection(_, _)) in setupScheduler()
112 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler()
113 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler()
120 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
123 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
135 EXPECT_CALL(*mPowerAdvisor, setTargetWorkDuration(_)).Times(1); in TEST_F()
142 EXPECT_CALL(*mComposer, presentOrValidateDisplay(HWC_DISPLAY, _, _, _, _, _)) in TEST_F()
158 EXPECT_CALL(*mPowerAdvisor, setTargetWorkDuration(_)).Times(0); in TEST_F()
165 EXPECT_CALL(*mComposer, presentOrValidateDisplay(HWC_DISPLAY, _, _, _, _, _)) in TEST_F()
DDisplayTransactionTestHelpers.h62 using testing::_;
293 EXPECT_CALL(*test->mNativeWindow, query(NATIVE_WINDOW_WIDTH, _))
295 EXPECT_CALL(*test->mNativeWindow, query(NATIVE_WINDOW_HEIGHT, _))
314 EXPECT_CALL(*test->mNativeWindow, query(NATIVE_WINDOW_WIDTH, _))
316 EXPECT_CALL(*test->mNativeWindow, query(NATIVE_WINDOW_HEIGHT, _))
329 EXPECT_CALL(*test->mConsumer, consumerConnect(_, false)).WillOnce(Return(NO_ERROR));
330 EXPECT_CALL(*test->mConsumer, setConsumerName(_)).WillRepeatedly(Return(NO_ERROR));
335 EXPECT_CALL(*test->mConsumer, setMaxAcquiredBufferCount(_))
377 EXPECT_CALL(*test->mComposer, getDisplayCapabilities(HWC_DISPLAY_ID, _))
405 EXPECT_CALL(*test->mComposer, getDisplayConfigs(HWC_DISPLAY_ID, _))
[all …]
DLayerTestUtils.cpp23 using testing::_;
54 EXPECT_CALL(*eventThread, registerDisplayEventConnection(_)); in setupScheduler()
55 EXPECT_CALL(*eventThread, createEventConnection(_, _)) in setupScheduler()
59 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler()
60 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler()
67 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
70 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
DSurfaceFlinger_DisplayModeSwitching.cpp85 EXPECT_CALL(*eventThread, registerDisplayEventConnection(_)); in setupScheduler()
86 EXPECT_CALL(*eventThread, createEventConnection(_, _)) in setupScheduler()
90 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler()
91 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler()
98 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
102 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
126 hal::HWConfigId(kModeId90.value()), _, _)) in TEST_F()
163 hal::HWConfigId(kModeId90.value()), _, _)) in TEST_F()
189 hal::HWConfigId(kModeId90.value()), _, _)) in TEST_F()
202 hal::HWConfigId(kModeId120.value()), _, _)) in TEST_F()
[all …]
DDispSyncSourceTest.cpp187 EXPECT_CALL(*mVSyncDispatch, registerCallback(_, mName)).WillOnce(Return(mFakeToken)); in TEST_F()
198 EXPECT_CALL(*mVSyncDispatch, registerCallback(_, mName)).Times(1); in TEST_F()
199 EXPECT_CALL(*mVSyncDispatch, cancel(_)).Times(1); in TEST_F()
200 EXPECT_CALL(*mVSyncDispatch, unregisterCallback(_)).Times(1); in TEST_F()
212 EXPECT_CALL(*mVSyncDispatch, registerCallback(_, mName)).Times(1); in TEST_F()
214 schedule(_, Truly([&](auto timings) { in TEST_F()
219 EXPECT_CALL(*mVSyncDispatch, cancel(_)).Times(1); in TEST_F()
220 EXPECT_CALL(*mVSyncDispatch, unregisterCallback(_)).Times(1); in TEST_F()
239 EXPECT_CALL(*mVSyncDispatch, registerCallback(_, mName)).Times(1); in TEST_F()
241 schedule(_, Truly([&](auto timings) { in TEST_F()
[all …]
DSurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp44 EXPECT_CALL(*test->mComposer, getColorModes(Display::HWC_DISPLAY_ID, _)) in setupComposerCallExpectations()
48 getRenderIntents(Display::HWC_DISPLAY_ID, ColorMode::DISPLAY_P3, _)) in setupComposerCallExpectations()
66 EXPECT_CALL(*test->mComposer, getHdrCapabilities(_, _, _, _, _)) in setupComposerCallExpectations()
84 EXPECT_CALL(*test->mComposer, getHdrCapabilities(Display::HWC_DISPLAY_ID, _, _, _, _)) in setupComposerCallExpectations()
99 EXPECT_CALL(*test->mComposer, getHdrCapabilities(Display::HWC_DISPLAY_ID, _, _, _, _)) in setupComposerCallExpectations()
114 EXPECT_CALL(*test->mComposer, getHdrCapabilities(Display::HWC_DISPLAY_ID, _, _, _, _)) in setupComposerCallExpectations()
DVSyncDispatchTimerQueueTest.cpp44 ON_CALL(*this, nextAnticipatedVSyncTimeFrom(_))
46 ON_CALL(*this, addVsyncTimestamp(_)).WillByDefault(Return(true));
72 ON_CALL(*this, alarmAt(_, _)) in ControllableClock()
235 EXPECT_CALL(mMockClock, alarmAt(_, 900)); in TEST_F()
252 EXPECT_CALL(mMockClock, alarmAt(_, 900)); in TEST_F()
270 EXPECT_CALL(mMockClock, alarmAt(_, 1050)); in TEST_F()
286 EXPECT_CALL(mMockClock, alarmAt(_, mPeriod)); in TEST_F()
298 EXPECT_CALL(mMockClock, alarmAt(_, 900)); in TEST_F()
311 EXPECT_CALL(mMockClock, alarmAt(_, 900)); in TEST_F()
325 EXPECT_CALL(mMockClock, alarmAt(_, 900)); in TEST_F()
[all …]
DSchedulerTest.cpp36 using testing::_;
80 EXPECT_CALL(*mEventThread, registerDisplayEventConnection(_)).WillOnce(Return(0)); in SchedulerTest()
86 EXPECT_CALL(*mEventThread, createEventConnection(_, _)) in SchedulerTest()
106 EXPECT_CALL(*mEventThread, onHotplugReceived(_, _)).Times(0); in TEST_F()
116 EXPECT_CALL(*mEventThread, dump(_)).Times(0); in TEST_F()
168 EXPECT_CALL(mSchedulerCallback, requestDisplayMode(_, _)).Times(0); in TEST_F()
188 EXPECT_CALL(*mEventThread, onModeChanged(_)).Times(0); in TEST_F()
203 EXPECT_CALL(*mEventThread, onModeChanged(_)).Times(0); in TEST_F()
235 EXPECT_CALL(mSchedulerCallback, requestDisplayMode(Is120Hz(), _)).Times(1); in TEST_F()
239 EXPECT_CALL(mSchedulerCallback, requestDisplayMode(_, _)).Times(0); in TEST_F()
DTransactionFrameTracerTest.cpp36 using testing::_;
75 EXPECT_CALL(*eventThread, registerDisplayEventConnection(_)); in setupScheduler()
76 EXPECT_CALL(*eventThread, createEventConnection(_, _)) in setupScheduler()
80 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler()
81 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler()
88 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
91 EXPECT_CALL(*vsyncTracker, nextAnticipatedVSyncTimeFrom(_)).WillRepeatedly(Return(0)); in setupScheduler()
133 traceFence(layerId, bufferId, frameNumber, _, in BLASTTransactionSendsFrameTracerEvents()
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c199 #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 …]
Dreverb.c38 #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/
DMakeJavaSymbols.sed7 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/
Dandroid_GenericMediaPlayer.cpp65 #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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarBoundsProvider.kt47 View.OnLayoutChangeListener { _, _, _, _, _, _, _, _, _ -> in <lambda>() method
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperAidlTest.cpp146 EXPECT_CALL(*mMockHal.get(), getCapabilities(_)) in TEST_F()
150 EXPECT_CALL(*mMockHal.get(), on(Eq(10), _)) in TEST_F()
153 EXPECT_CALL(*mMockHal.get(), on(Eq(100), _)) in TEST_F()
157 EXPECT_CALL(*mMockHal.get(), on(Eq(1000), _)) in TEST_F()
180 EXPECT_CALL(*mMockHal.get(), getCapabilities(_)) in TEST_F()
184 EXPECT_CALL(*mMockHal.get(), on(Eq(10), _)) in TEST_F()
187 EXPECT_CALL(*mMockScheduler.get(), schedule(_, Eq(10ms))) in TEST_F()
190 EXPECT_CALL(*mMockHal.get(), on(Eq(11), _)) in TEST_F()
193 EXPECT_CALL(*mMockHal.get(), on(Eq(12), _)) in TEST_F()
319 EXPECT_CALL(*mMockHal.get(), getCapabilities(_)) in TEST_F()
[all …]
/frameworks/compile/slang/
Dslang_rs_export_type.cpp62 #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/
Dhandlers.c41 #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/base/core/tests/coretests/src/android/hardware/input/
DInputDeviceBatteryListenerTest.kt154 val callback1 = InputManager.InputDeviceBatteryListener { _, _, _ -> callbackCount1++ } in <lambda>() method
155 val callback2 = InputManager.InputDeviceBatteryListener { _, _, _ -> callbackCount2++ } in <lambda>() method
209 val callback1 = InputManager.InputDeviceBatteryListener { _, _, _ -> callbackCount1++ } in <lambda>() method
210 val callback2 = InputManager.InputDeviceBatteryListener { _, _, _ -> callbackCount2++ } in <lambda>() method
/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp36 using testing::_;
70 ON_CALL(*access, canAdd(_, _)).WillByDefault(Return(true)); in getPermissiveServiceManager()
71 ON_CALL(*access, canFind(_, _)).WillByDefault(Return(true)); in getPermissiveServiceManager()
72 ON_CALL(*access, canList(_)).WillByDefault(Return(true)); in getPermissiveServiceManager()
121 EXPECT_CALL(*access, canAdd(_, _)).Times(0); in TEST()
162 EXPECT_CALL(*access, canAdd(_, _)).WillOnce(Return(false)); in TEST()
194 EXPECT_CALL(*access, canAdd(_, _)).WillOnce(Return(true)); in TEST()
195 EXPECT_CALL(*access, canFind(_, _)).WillOnce(Return(false)); in TEST()
218 EXPECT_CALL(*access, canAdd(_, _)).WillOnce(Return(true)); in TEST()
219 EXPECT_CALL(*access, canFind(_, _)).WillOnce(Return(true)); in TEST()
[all …]

12345678910>>...13