Lines Matching refs:path
153 * path: the location of the file system object
156 * Exception: NullPointerException is thrown if either path or context strign are NULL
163 ScopedUtfChars path(env, pathStr);
164 if (path.c_str() == NULL) {
175 int ret = setfilecon(path.c_str(), tmp);
177 ALOGV("setFileCon(%s, %s) => %d", path.c_str(), context.c_str(), ret);
183 * Purpose: retrieves the context associated with the given path in the file system
185 * path: given path in the file system
189 * Exceptions: NullPointerException if the path object is null
196 ScopedUtfChars path(env, pathStr);
197 if (path.c_str() == NULL) {
202 int ret = getfilecon(path.c_str(), &tmp);
210 ALOGV("getFileCon(%s) => %s", path.c_str(), context.get());