Searched refs:path (Results 176 - 200 of 535) sorted by relevance

1234567891011>>

/frameworks/av/media/libeffects/loudness/
H A DAndroid.mk21 $(call include-path-for, audio-effects) \
/frameworks/base/core/java/android/app/
H A DIBackupAgent.aidl111 * @param domain Name of the file's semantic domain to which the 'path' argument is a
112 * relative path. e.g. FullBackup.DATABASE_TREE_TOKEN.
113 * @param path Relative path of the file within its semantic domain.
124 int type, String domain, String path, long mode, long mtime,
/frameworks/base/core/java/android/os/
H A DSELinux.java68 * @param path representing the path of file object to relabel.
72 public static final native boolean setFileContext(String path, String context); argument
76 * @param path the pathname of the file object.
79 public static final native String getFileContext(String path); argument
167 * @param file The File object representing the path to be relabeled.
175 Slog.e(TAG, "Error getting canonical path. Restorecon failed for " +
182 * Recursively restores all files under the given path to their default
193 Slog.e(TAG, "Error getting canonical path. Restorecon failed for " +
H A DFileUtils.java74 public static int setPermissions(File path, int mode, int uid, int gid) { argument
75 return setPermissions(path.getAbsolutePath(), mode, uid, gid);
79 * Set owner and mode of of given path.
86 public static int setPermissions(String path, int mode, int uid, int gid) { argument
88 Os.chmod(path, mode);
90 Slog.w(TAG, "Failed to chmod(" + path + "): " + e);
96 Os.chown(path, uid, gid);
98 Slog.w(TAG, "Failed to chown(" + path + "): " + e);
135 * Return owning UID of given path, otherwise -1.
137 public static int getUid(String path) { argument
490 rewriteAfterRename(File beforeDir, File afterDir, String path) argument
[all...]
/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/drm/java/android/drm/
H A DDrmInfo.java38 // DRM scheme such as account id, path or multiple path's
65 * @param path The trigger data.
68 public DrmInfo(int infoType, String path, String mimeType) { argument
72 mData = DrmUtils.readBytes(path);
74 // As the given path is invalid,
/frameworks/compile/mclinker/lib/Support/Windows/
H A DFileSystem.inc44 fs::Path file_filter(pDir.path());
59 std::string path(FindFileData.cFileName);
60 fs::PathCache::entry_type* entry = pDir.m_Cache.insert(path, exist);
62 entry->setValue(path);
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DSingleThreadedMediaPlayerProxy.java57 public synchronized void setDataSource(String path) throws IllegalStateException, IOException { argument
58 mDelegate.setDataSource(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/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/compile/slang/tests/
H A Dtest.py31 if not os.path.isfile(actual):
35 if not os.path.isfile(expect):
203 if os.path.isdir(arg):
214 if os.path.isdir(f) and (f[0:2] == 'F_' or f[0:2] == 'P_'):
218 if os.path.isdir(f):
/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.mk25 $(call include-path-for, opengl-tests-includes)
55 $(call include-path-for, opengl-tests-includes)
87 $(call include-path-for, opengl-tests-includes)
117 $(call include-path-for, opengl-tests-includes)
147 $(call include-path-for, opengl-tests-includes)
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java66 // docId format: root:path/to/file
149 final File path = volume.getPathFile();
150 mIdToPath.put(rootId, path);
166 root.docId = getDocIdForFile(path);
189 String path = file.getAbsolutePath();
191 // Find the most-specific root path
196 if (path.startsWith(rootPath) && (mostSpecific == null
204 throw new FileNotFoundException("Failed to find root that contains " + path);
207 // Start at first char of path under root
209 if (rootPath.equals(path)) {
594 onEvent(int event, String path) argument
[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/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DMain.java150 public boolean accept(File path) {
151 return path.isDirectory() && (path.getName().startsWith("linux-") || path.getName()
174 public boolean accept(File path) {
176 return path.isDirectory() && path.getName().startsWith("sdk");
191 public boolean accept(File path) {
192 return path.isDirectory() && path
[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...]
/frameworks/av/media/mtp/
H A DMtpServer.h81 ObjectEdit(MtpObjectHandle handle, const char* path, uint64_t size, argument
83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) {
114 void addEditObject(MtpObjectHandle handle, MtpString& path,
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DPerfMeasurement.java134 public void dumpPerformanceData(String path) { argument
135 try (BufferedWriter dump = new BufferedWriter(new FileWriter(path))) {
147 Log.e(TAG, "Error writing data dump to " + path + ":" + e);
/frameworks/base/core/java/android/transition/
H A DPatternPathMotion.java141 Path path = new Path();
142 mPatternPath.transform(mTempMatrix, path);
143 return path;
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/
H A Dgradlew115 APP_HOME=`cygpath --path --mixed "$APP_HOME"`
116 CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
137 eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
/frameworks/compile/mclinker/include/mcld/Support/
H A DDirectory.h46 /// constructor - a directory whose path is pPath
72 /// path - the path of the directory
73 const Path& path() const function in class:mcld::sys::fs::Directory
135 Path* path();
136 const Path* path() const;
/frameworks/opt/net/wifi/service/
H A DAndroid.mk32 $(call include-path-for, libhardware_legacy)/hardware_legacy
41 # set correct hal library path
72 $(call include-path-for, libhardware)/hardware \
73 $(call include-path-for, libhardware_legacy)/hardware_legacy \
103 $(call include-path-for, libhardware)/hardware \
104 $(call include-path-for, libhardware_legacy)/hardware_legacy \

Completed in 6390 milliseconds

1234567891011>>