Searched refs:openLogTable (Results 1 - 1 of 1) sorted by relevance

/system/core/liblog/
H A Dfake_log_device.c114 static LogState *openLogTable[MAX_OPEN_LOGS]; variable
124 for (i = 0; i < sizeof(openLogTable); i++) {
125 if (openLogTable[i] == NULL) {
126 openLogTable[i] = calloc(1, sizeof(LogState));
127 openLogTable[i]->fakeFd = FAKE_FD_BASE + i;
128 return openLogTable[i];
140 return openLogTable[fd - FAKE_FD_BASE];
156 openLogTable[fd - FAKE_FD_BASE] = NULL;

Completed in 3 milliseconds