Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DMediaScanner.cpp87 char* pathBuffer = (char *)malloc(PATH_MAX + 1); in processDirectory() local
88 if (!pathBuffer) { in processDirectory()
93 strcpy(pathBuffer, path); in processDirectory()
94 if (pathLength > 0 && pathBuffer[pathLength - 1] != '/') { in processDirectory()
95 pathBuffer[pathLength] = '/'; in processDirectory()
96 pathBuffer[pathLength + 1] = 0; in processDirectory()
102 MediaScanResult result = doProcessDirectory(pathBuffer, pathRemaining, client, false); in processDirectory()
104 free(pathBuffer); in processDirectory()