Searched refs:path (Results 201 - 225 of 670) sorted by relevance

1234567891011>>

/frameworks/av/services/audioflinger/
H A DAndroid.mk38 $(call include-path-for, audio-effects) \
39 $(call include-path-for, audio-utils)
98 $(call include-path-for, audio-utils)
128 $(call include-path-for, audio-utils)
/frameworks/base/core/java/android/os/
H A DSELinux.java61 * @param path representing the path of file object to relabel.
65 public static final native boolean setFileContext(String path, String context); argument
69 * @param path the pathname of the file object.
72 public static final native String getFileContext(String path); argument
139 * @param file The File object representing the path to be relabeled.
147 Slog.e(TAG, "Error getting canonical path. Restorecon failed for " +
154 * Recursively restores all files under the given path to their default
165 Slog.e(TAG, "Error getting canonical path. Restorecon failed for " +
/frameworks/base/core/java/com/android/internal/app/
H A DIMediaContainerService.aidl32 long[] getFileSystemStats(String path);
/frameworks/base/core/java/com/android/internal/backup/
H A DIObbBackupService.aidl43 long fileSize, int type, in String path, long mode, long mtime,
/frameworks/base/core/jni/
H A Dandroid_os_SELinux.cpp136 * path: the location of the file system object
139 * Exception: NullPointerException is thrown if either path or context strign are NULL
146 ScopedUtfChars path(env, pathStr);
147 if (path.c_str() == NULL) {
158 int ret = setfilecon(path.c_str(), tmp);
160 ALOGV("setFileCon(%s, %s) => %d", path.c_str(), context.c_str(), ret);
166 * Purpose: retrieves the context associated with the given path in the file system
168 * path: given path in the file system
172 * Exceptions: NullPointerException if the path objec
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmInfo.java39 // DRM scheme such as account id, path or multiple path's
66 * @param path The trigger data.
69 public DrmInfo(int infoType, String path, String mimeType) { argument
73 mData = DrmUtils.readBytes(path);
75 // As the given path is invalid,
/frameworks/base/tools/aapt2/io/
H A DFileSystem.h60 * Adds a file located at path. Returns the IFile representation of that file.
62 IFile* insertFile(const StringPiece& path);
63 IFile* findFile(const StringPiece& path) override;
H A DZipArchive.h64 static std::unique_ptr<ZipFileCollection> create(const StringPiece& path,
67 io::IFile* findFile(const StringPiece& path) override;
H A DZipArchive.cpp76 std::unique_ptr<ZipFileCollection> ZipFileCollection::create(const StringPiece& path, argument
83 int32_t result = OpenArchive(path.data(), &collection->mHandle);
110 std::string nestedPath = path.toString() + "@" + zipEntryPath;
123 IFile* ZipFileCollection::findFile(const StringPiece& path) { argument
124 auto iter = mFiles.find(path.toString());
/frameworks/compile/mclinker/lib/Support/Windows/
H A DFileSystem.inc45 fs::Path file_filter(pDir.path());
60 std::string path(FindFileData.cFileName);
61 fs::PathCache::entry_type* entry = pDir.m_Cache.insert(path, exist);
63 entry->setValue(path);
/frameworks/native/libs/input/
H A DKeyboard.cpp108 String8 path(getPath(deviceIdentifier, name,
110 if (path.isEmpty()) {
114 status_t status = KeyLayoutMap::load(path, &keyLayoutMap);
119 keyLayoutFile.setTo(path);
125 String8 path(getPath(deviceIdentifier, name,
127 if (path.isEmpty()) {
131 status_t status = KeyCharacterMap::load(path,
137 keyCharacterMapFile.setTo(path);
/frameworks/rs/
H A Drun_rs_cts.sh12 $CTS_TRADEFED run commandAndExit cts --output-file-path $TMP_PATH -p android.renderscript
/frameworks/wilhelm/tests/
H A DAndroid.mk9 LOCAL_C_INCLUDES := $(call include-path-for, wilhelm)
/frameworks/base/core/java/android/content/res/
H A DResourcesKey.java80 public boolean isPathReferenced(String path) { argument
81 if (mResDir != null && mResDir.startsWith(path)) {
84 return anyStartsWith(mSplitResDirs, path) || anyStartsWith(mOverlayDirs, path)
85 || anyStartsWith(mLibDirs, path);
/frameworks/base/core/java/com/android/internal/os/
H A DSamplingProfilerIntegration.java175 String path = SNAPSHOT_DIR + "/" + name + "-" + startMillis + ".snapshot";
179 outputStream = new BufferedOutputStream(new FileOutputStream(path));
187 Log.e(TAG, "Error writing snapshot to " + path, e);
194 new File(path).setReadable(true, false);
197 Log.i(TAG, "Wrote snapshot " + path + " in " + elapsed + "ms.");
/frameworks/base/core/java/com/android/server/backup/
H A DSystemBackupAgent.java138 int type, String domain, String path, long mode, long mtime)
140 Slog.i(TAG, "Restoring file domain=" + domain + " path=" + path);
148 if (path.equals(WALLPAPER_INFO_FILENAME)) {
151 } else if (path.equals(WALLPAPER_IMAGE_FILENAME)) {
159 Slog.w(TAG, "Skipping unrecognized system file: [ " + domain + " : " + path + " ]");
137 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
/frameworks/compile/mclinker/lib/Support/
H A DPath.cpp90 // first path is a/,second path is /b
93 llvm::StringRef path(pPath.native());
94 m_PathName.append(path.begin() + 1, path.end());
97 // first path is a,second path is b
109 Path path(pPath);
110 this->append(path);
130 // On Windows platform, path ca
[all...]
/frameworks/compile/slang/tests/
H A Dtest.py31 if not os.path.isfile(actual):
35 if not os.path.isfile(expect):
217 if os.path.isdir(arg):
228 if os.path.isdir(f) and (f[0:2] == 'F_' or f[0:2] == 'P_'):
233 if os.path.isdir(f):
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java75 // docId format: root:path/to/file
93 public File path; field in class:ExternalStorageProvider.RootInfo
214 root.path = volume.getInternalPathForUser(userId);
216 root.docId = getDocIdForFile(root.path);
244 root.path = new File(
247 root.docId = getDocIdForFile(root.path);
276 String path = file.getAbsolutePath();
278 // Find the most-specific root path
284 final String rootPath = mRoots.valueAt(i).path.getAbsolutePath();
285 if (path
758 onEvent(int event, String path) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp55 DrmMetadata* DrmPassthruPlugIn::onGetMetadata(int uniqueId, const String8* path) { argument
60 int uniqueId, const String8* path, int action) {
160 bool DrmPassthruPlugIn::onCanHandle(int uniqueId, const String8& path) { argument
161 ALOGV("DrmPassthruPlugIn::canHandle: %s ", path.string());
162 String8 extension = path.getPathExtension();
167 String8 DrmPassthruPlugIn::onGetOriginalMimeType(int uniqueId, const String8& path, int fd) { argument
173 int uniqueId, const String8& path, const String8& mimeType) {
178 int DrmPassthruPlugIn::onCheckRightsStatus(int uniqueId, const String8& path, int action) { argument
196 bool DrmPassthruPlugIn::onValidateAction(int uniqueId, const String8& path, argument
202 status_t DrmPassthruPlugIn::onRemoveRights(int uniqueId, const String8& path) { argument
59 onGetConstraints( int uniqueId, const String8* path, int action) argument
172 onGetDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument
[all...]
/frameworks/native/opengl/tests/hwc/
H A DAndroid.mk26 $(call include-path-for, opengl-tests-includes) \
56 $(call include-path-for, opengl-tests-includes) \
86 $(call include-path-for, opengl-tests-includes) \
116 $(call include-path-for, opengl-tests-includes) \
146 $(call include-path-for, opengl-tests-includes) \
/frameworks/base/core/java/com/android/internal/content/
H A DNativeLibraryHelper.java104 final String path = codePaths.get(i);
105 apkHandles[i] = nativeOpenApk(path);
111 throw new IOException("Unable to open APK: " + path);
149 private static native long nativeOpenApk(String path); argument
264 private static void createNativeLibrarySubdir(File path) throws IOException { argument
265 if (!path.isDirectory()) {
266 path.delete();
268 if (!path.mkdir()) {
269 throw new IOException("Cannot create " + path.getPath());
273 Os.chmod(path
[all...]
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java76 * @param packagePath absolute path to the package to be copied. Can be
83 * @return Returns the new cache path where the resource has been copied
121 * @param packagePath absolute path to the package to be copied. Can be
147 * @param packagePath absolute path to the package to be copied. Can be
207 public long calculateDirectorySize(String path) throws RemoteException {
210 final File dir = Environment.maybeTranslateEmulatedPathToInternal(new File(path));
220 public long[] getFileSystemStats(String path) {
224 final StructStatVfs stat = Os.statvfs(path);
234 public void clearDirectory(String path) throws RemoteException {
237 final File directory = new File(path);
296 eraseFiles(File path) argument
[all...]
/frameworks/base/cmds/idmap/
H A Dinspect.cpp101 printe("failed to read next path: buffer not initialized\n");
105 printe("failed to read next path: end of buffer reached at pos=0x%08x\n", pos_);
169 char path[PATH_LENGTH]; local
203 err = buf.nextPath(path);
208 print_path("", "base path", "%s", path);
210 if (!am.addAssetPath(String8(path), NULL)) {
211 printe("failed to add '%s' as asset path\n", path);
215 err = buf.nextPath(path);
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DRegion.java107 * Set the region to the area described by the path and clip.
109 * that is identical to the pixels that would be drawn by the path
112 public boolean setPath(Path path, Region clip) { argument
113 return nativeSetPath(mNativeRegion, path.ni(), clip.mNativeRegion);
154 * the path will also be empty.
157 Path path = new Path();
158 nativeGetBoundaryPath(mNativeRegion, path.ni());
159 return path;
163 * Set the path to the boundary of the region. If the region is empty, the
164 * path wil
166 getBoundaryPath(Path path) argument
[all...]

Completed in 2186 milliseconds

1234567891011>>