Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DMediaScanner.cpp83 int pathLength = strlen(path); in processDirectory() local
84 if (pathLength >= PATH_MAX) { in processDirectory()
92 int pathRemaining = PATH_MAX - pathLength; in processDirectory()
94 if (pathLength > 0 && pathBuffer[pathLength - 1] != '/') { in processDirectory()
95 pathBuffer[pathLength] = '/'; in processDirectory()
96 pathBuffer[pathLength + 1] = 0; in processDirectory()
/frameworks/base/core/java/android/app/servertransaction/
DTransactionExecutorHelper.java168 for (int i = 0, shortestPath = Integer.MAX_VALUE, pathLength; i < finalStates.length; i++) { in getClosestOfStates()
170 pathLength = mLifecycleSequence.size(); in getClosestOfStates()
172 pathLength += DESTRUCTION_PENALTY; in getClosestOfStates()
174 if (shortestPath > pathLength) { in getClosestOfStates()
175 shortestPath = pathLength; in getClosestOfStates()