Home
last modified time | relevance | path

Searched refs:workMonitor (Results 1 – 5 of 5) sorted by relevance

/system/chre/chpp/platform/linux/include/chpp/platform/
Dplatform_work_monitor.h29 static inline void chppWorkMonitorInit(struct ChppWorkMonitor *workMonitor) { in chppWorkMonitorInit() argument
30 workMonitor->numPreProcessCalls = 0; in chppWorkMonitorInit()
31 workMonitor->numPostProcessCalls = 0; in chppWorkMonitorInit()
34 static inline void chppWorkMonitorDeinit(struct ChppWorkMonitor *workMonitor) { in chppWorkMonitorDeinit() argument
35 UNUSED_VAR(workMonitor); in chppWorkMonitorDeinit()
39 struct ChppWorkMonitor *workMonitor) { in chppWorkMonitorPreProcess() argument
40 ++workMonitor->numPreProcessCalls; in chppWorkMonitorPreProcess()
44 struct ChppWorkMonitor *workMonitor) { in chppWorkMonitorPostProcess() argument
45 ++workMonitor->numPostProcessCalls; in chppWorkMonitorPostProcess()
/system/chre/chpp/include/chpp/
Dwork_monitor.h43 static void chppWorkMonitorInit(struct ChppWorkMonitor *workMonitor);
50 static void chppWorkMonitorDeinit(struct ChppWorkMonitor *workMonitor);
59 static void chppWorkMonitorPreProcess(struct ChppWorkMonitor *workMonitor);
67 static void chppWorkMonitorPostProcess(struct ChppWorkMonitor *workMonitor);
Dtransport.h427 struct ChppWorkMonitor workMonitor; // Monitor used for the transport thread member
/system/chre/chpp/
Dtransport.c1401 chppWorkMonitorInit(&transportContext->workMonitor); in chppTransportInit()
1440 chppWorkMonitorDeinit(&transportContext->workMonitor); in chppTransportDeinit()
1646 chppWorkMonitorPreProcess(&context->workMonitor); in chppWorkThreadHandleSignal()
1668 chppWorkMonitorPostProcess(&context->workMonitor); in chppWorkThreadHandleSignal()
/system/chre/chpp/test/
Dtransport_test.cpp1134 EXPECT_EQ(mTransportContext.workMonitor.numPreProcessCalls, 2); in TEST_F()
1135 EXPECT_EQ(mTransportContext.workMonitor.numPostProcessCalls, 2); in TEST_F()