Home
last modified time | relevance | path

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

/frameworks/av/media/module/libmediatranscoding/tests/
DTranscodingSessionController_tests.cpp51 #define CLIENT(n) (kClientId + (n)) macro
321 CLIENT(0), UID(0)); in SetUp()
323 CLIENT(1), UID(1)); in SetUp()
325 CLIENT(2), UID(2)); in SetUp()
327 CLIENT(3), UID(3)); in SetUp()
434 mController->submit(CLIENT(0), SESSION(0), UID(0), UID(0), mOfflineRequest, mClientCallback0); in TEST_F()
435 EXPECT_EQ(mTranscoder->popEvent(), TestTranscoder::Start(CLIENT(0), 0)); in TEST_F()
439 mController->submit(CLIENT(0), SESSION(1), UID(0), UID(0), mRealtimeRequest, mClientCallback0); in TEST_F()
440 EXPECT_EQ(mTranscoder->popEvent(), TestTranscoder::Pause(CLIENT(0), SESSION(0))); in TEST_F()
441 EXPECT_EQ(mTranscoder->popEvent(), TestTranscoder::Start(CLIENT(0), SESSION(1))); in TEST_F()
[all …]
/frameworks/av/media/module/service.mediatranscoding/tests/
Dmediatranscodingservice_real_tests.cpp66 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Failed(CLIENT(1), 0)); in TEST_F()
81 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Start(CLIENT(1), 0)); in TEST_F()
82 EXPECT_EQ(mClient1->pop(kSessionWithPaddingUs), EventTracker::Finished(CLIENT(1), 0)); in TEST_F()
97 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Start(CLIENT(1), 0)); in TEST_F()
98 EXPECT_EQ(mClient1->pop(kSessionWithPaddingUs), EventTracker::Finished(CLIENT(1), 0)); in TEST_F()
113 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Start(CLIENT(1), 0)); in TEST_F()
114 EXPECT_EQ(mClient1->pop(kSessionWithPaddingUs), EventTracker::Finished(CLIENT(1), 0)); in TEST_F()
139 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Start(CLIENT(1), 0)); in TEST_F()
149 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Start(CLIENT(1), 1)); in TEST_F()
150 EXPECT_EQ(mClient1->pop(kSessionWithPaddingUs), EventTracker::Finished(CLIENT(1), 1)); in TEST_F()
[all …]
Dmediatranscodingservice_simulated_tests.cpp83 EXPECT_EQ(mClient3->pop(kPaddingUs), EventTracker::Start(CLIENT(3), i)); in testPacerHelper()
84 EXPECT_EQ(mClient3->pop(kSessionWithPaddingUs), EventTracker::Finished(CLIENT(3), i)); in testPacerHelper()
87 EXPECT_EQ(mClient3->pop(kPaddingUs), EventTracker::Failed(CLIENT(3), i)); in testPacerHelper()
202 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Start(CLIENT(1), 0)); in TEST_F()
203 EXPECT_EQ(mClient1->pop(kSessionWithPaddingUs), EventTracker::Finished(CLIENT(1), 0)); in TEST_F()
204 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Start(CLIENT(1), 1)); in TEST_F()
243 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Start(CLIENT(1), 0)); in TEST_F()
244 EXPECT_EQ(mClient1->pop(kSessionWithPaddingUs), EventTracker::Finished(CLIENT(1), 0)); in TEST_F()
245 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Start(CLIENT(1), 1)); in TEST_F()
317 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Start(CLIENT(1), 0)); in TEST_F()
[all …]
Dmediatranscodingservice_resource_tests.cpp157 EXPECT_EQ(mClient1->pop(kPaddingUs), EventTracker::Start(CLIENT(1), 0)); in TEST_F()
169 EXPECT_TRUE(mClient1->waitForSpecificEventAndPop(EventTracker::Finished(CLIENT(1), 0), &events, in TEST_F()
185 EXPECT_EQ(event, EventTracker::Pause(CLIENT(1), 0)); in TEST_F()
187 EXPECT_EQ(event, EventTracker::Resume(CLIENT(1), 0)); in TEST_F()
189 EXPECT_EQ(event, EventTracker::Finished(CLIENT(1), 0)); in TEST_F()
191 EXPECT_TRUE(event == EventTracker::Pause(CLIENT(1), 0) || in TEST_F()
192 event == EventTracker::Resume(CLIENT(1), 0)); in TEST_F()
DMediaTranscodingServiceTestHelper.h66 #define CLIENT(n) (kClientId + (n)) macro
/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioUniqueIdUse.aidl31 CLIENT = 7, // client-side players and recorders enumConstant
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp1223 aidl::android::hardware::graphics::composer3::Composition::CLIENT>, in TEST_F()
1258 aidl::android::hardware::graphics::composer3::Composition::CLIENT>, in TEST_F()
1293 aidl::android::hardware::graphics::composer3::Composition::CLIENT>, in TEST_F()
1328 aidl::android::hardware::graphics::composer3::Composition::CLIENT>, in TEST_F()
1346 aidl::android::hardware::graphics::composer3::Composition::CLIENT>, in TEST_F()
1354 aidl::android::hardware::graphics::composer3::Composition::CLIENT>, in TEST_F()
1375 aidl::android::hardware::graphics::composer3::Composition::CLIENT>, in TEST_F()
1386 aidl::android::hardware::graphics::composer3::Composition::CLIENT>, in TEST_F()
1423 aidl::android::hardware::graphics::composer3::Composition::CLIENT>, in TEST_F()
1461 aidl::android::hardware::graphics::composer3::Composition::CLIENT>, in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DPredictor.cpp43 aidl::android::hardware::graphics::composer3::Composition::CLIENT && in getApproximateMatch()
45 aidl::android::hardware::graphics::composer3::Composition::CLIENT) { in getApproximateMatch()
95 aidl::android::hardware::graphics::composer3::Composition::CLIENT); in fromString()
132 case aidl::android::hardware::graphics::composer3::Composition::CLIENT: in to_string()
DPlanner.cpp196 ? aidl::android::hardware::graphics::composer3::Composition::CLIENT in reportFinalPlan()
DFlattener.cpp228 aidl::android::hardware::graphics::composer3::Composition::CLIENT; in calculateDisplayCost()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp601 case Composition::CLIENT: in writeOutputIndependentPerFrameStateToHWC()
720 requestedCompositionType = Composition::CLIENT; in writeCompositionTypeToHWC()
772 return !state.hwc || state.hwc->hwcCompositionType == Composition::CLIENT; in requiresClientComposition()
784 case Composition::CLIENT: in detectDisallowedCompositionTypeChange()
790 result = (to == Composition::CLIENT); in detectDisallowedCompositionTypeChange()
797 result = (to == Composition::CLIENT || to == Composition::DEVICE); in detectDisallowedCompositionTypeChange()
/frameworks/native/libs/binder/
DRpcSession.cpp229 ConnectionUse::CLIENT, &connection); in getRootObject()
237 ConnectionUse::CLIENT, &connection); in getRemoteMaxThreads()
273 : ConnectionUse::CLIENT, in transact()
302 ConnectionUse::CLIENT, &connection); in readId()
526 ConnectionUse::CLIENT, &connection); in setupClient()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp1096 expectSetCompositionTypeCall(Composition::CLIENT); in TEST_F()
1109 expectSetCompositionTypeCall(Composition::CLIENT); in TEST_F()
1236 mOutputLayer.editState().hwc->hwcCompositionType = Composition::CLIENT; in TEST_F()
1242 expectSetCompositionTypeCall(Composition::CLIENT); in TEST_F()
1285 expectSetCompositionTypeCall(Composition::CLIENT); in TEST_F()
1517 mOutputLayer.editState().hwc->hwcCompositionType = Composition::CLIENT; in TEST_F()
1561 mOutputLayer.applyDeviceCompositionTypeChange(Composition::CLIENT); in TEST_F()
1564 EXPECT_EQ(Composition::CLIENT, mOutputLayer.getState().hwc->hwcCompositionType); in TEST_F()
DDisplayTest.cpp207 {{nullptr, Composition::CLIENT}},
754 EXPECT_CALL(*mLayer1.outputLayer, applyDeviceCompositionTypeChange(Composition::CLIENT)) in TEST_F()
760 {&mLayer1.hwc2Layer, Composition::CLIENT}, in TEST_F()
/frameworks/base/core/java/com/android/internal/inputmethod/
DImeTracingPerfettoImpl.java92 os.start(InputMethodClientsTraceProto.CLIENT); in triggerClientDump()
/frameworks/native/libs/binder/include/binder/
DRpcSession.h318 CLIENT, enumerator
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHal.h111 case aidl::android::hardware::graphics::composer3::Composition::CLIENT: in to_string()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp738 case media::AudioUniqueIdUse::CLIENT: in aidl2legacy_AudioUniqueIdUse_audio_unique_id_use_t()
762 return media::AudioUniqueIdUse::CLIENT; in legacy2aidl_audio_unique_id_use_t_AudioUniqueIdUse()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DLayerState.h399 composer3::Composition::CLIENT
/frameworks/av/services/camera/libcameraservice/
DCameraService.h1003 template<class CALLBACK, class CLIENT>
1010 /*out*/sp<CLIENT>& device);
DCameraService.cpp2413 template<class CALLBACK, class CLIENT>
2419 const std::string& originalCameraId, /*out*/sp<CLIENT>& device) { in connectHelper()
2448 sp<CLIENT> client = nullptr; in connectHelper()
2509 device = static_cast<CLIENT*>(clientTmp.get()); in connectHelper()
2538 client = static_cast<CLIENT*>(tmp.get()); in connectHelper()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DPredictorTest.cpp563 planTwo.addLayerType(Composition::CLIENT); in TEST_F()
DLayerStateTest.cpp306 EXPECT_EQ(Composition::CLIENT, mLayerState->getCompositionType()); in TEST_F()
/frameworks/native/services/surfaceflinger/
DLayer.cpp752 return aidl::android::hardware::graphics::composer3::Composition::CLIENT; in getCompositionType()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java4555 proto.write(InputMethodClientsTraceProto.CLIENT, protoDump); in startProtoDump()