/frameworks/base/core/java/android/app/backup/ |
H A D | FullBackup.java | 61 String linkdomain, String rootpath, String path, BackupDataOutput output); 89 * to a location that is writeable by the caller, preferably using an absolute path. 60 backupToTar(String packageName, String domain, String linkdomain, String rootpath, String path, BackupDataOutput output) argument
|
/frameworks/base/core/java/android/gesture/ |
H A D | Gesture.java | 129 public Path toPath(Path path) { argument 130 if (path == null) path = new Path(); 136 path.addPath(strokes.get(i).getPath()); 139 return path; 146 public Path toPath(Path path, int width, int height, int edge, int numSample) { argument 147 if (path == null) path = new Path(); 153 path.addPath(strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample)); 156 return path; [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | PerfMeasurement.java | 134 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/net/ |
H A D | WebAddress.java | 65 /* path */ "(\\/?[^#]*)?" + 175 public void setPath(String path) { argument 176 mPath = path;
|
/frameworks/base/core/java/android/os/ |
H A D | FileObserver.java | 88 public int startWatching(String path, int mask, FileObserver observer) { argument 89 int wfd = startWatching(m_fd, path, mask); 105 public void onEvent(int wfd, int mask, String path) { argument 122 observer.onEvent(mask, path); 131 private native int startWatching(int fd, String path, int mask); argument 148 * Equivalent to FileObserver(path, FileObserver.ALL_EVENTS). 150 public FileObserver(String path) { argument 151 this(path, ALL_EVENTS); 159 * @param path The file or directory to monitor 162 public FileObserver(String path, in argument 209 onEvent(int event, String path) argument [all...] |
H A D | SELinux.java | 68 * @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 " +
|
/frameworks/base/core/java/android/view/animation/ |
H A D | PathInterpolator.java | 39 * Path path = new Path(); 40 * path.lineTo(0.25f, 0.25f); 41 * path.moveTo(0.25f, 0.5f); 42 * path.lineTo(1f, 1f); 58 * @param path The <code>Path</code> to use to make the line representing the interpolator. 60 public PathInterpolator(Path path) { argument 61 initPath(path); 110 Path path = PathParser.createPathFromPathData(pathData); 111 if (path == null) { 112 throw new InflateException("The path i 157 initPath(Path path) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | Plugin.java | 62 String path, 66 mPath = path; 138 public void setPath(String path) { argument 139 mPath = path; 61 Plugin(String name, String path, String fileName, String description) argument
|
/frameworks/base/core/java/com/android/internal/net/ |
H A D | NetworkStatsFactory.java | 344 NetworkStats stats, String path, int limitUid, String[] limitIfaces, int limitTag); 343 nativeReadNetworkStatsDetail( NetworkStats stats, String path, int limitUid, String[] limitIfaces, int limitTag) argument
|
/frameworks/base/core/java/com/android/server/backup/ |
H A D | SystemBackupAgent.java | 145 int type, String domain, String path, long mode, long mtime) 147 Slog.i(TAG, "Restoring file domain=" + domain + " path=" + path); 155 if (path.equals(WALLPAPER_INFO_FILENAME)) { 158 } else if (path.equals(WALLPAPER_IMAGE_FILENAME)) { 166 Slog.w(TAG, "Skipping unrecognized system file: [ " + domain + " : " + path + " ]"); 144 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | FontFamily.cpp | 57 static jboolean FontFamily_addFont(JNIEnv* env, jobject clazz, jlong familyPtr, jstring path) { argument 58 NPE_CHECK_RETURN_ZERO(env, path); 59 ScopedUtfChars str(env, path); 70 jstring path, jint weight, jboolean isItalic) { 71 NPE_CHECK_RETURN_ZERO(env, path); 72 ScopedUtfChars str(env, path); 69 FontFamily_addFontWeightStyle(JNIEnv* env, jobject clazz, jlong familyPtr, jstring path, jint weight, jboolean isItalic) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | PathMeasure.java | 24 * of a path, and/or to find the position and tangent along it, call 27 * Note that once a path is associated with the measure object, it is 28 * undefined if the path is subsequently modified and the the measure object 29 * is used. If the path is modified, you must call setPath with the path. 37 * Create a PathMeasure object associated with the specified path object 39 * path's length, and the position and tangent of any position along the 40 * path. 42 * Note that once a path is associated with the measure object, it is 43 * undefined if the path i 50 PathMeasure(Path path, boolean forceClosed) argument 60 setPath(Path path, boolean forceClosed) argument [all...] |
/frameworks/base/include/androidfw/ |
H A D | Asset.h | 114 * path, it might be a colon-separated list of identifiers. 128 void setAssetSource(const String8& path) { mAssetSource = path; } argument
|
H A D | AssetDir.h | 80 FileInfo(const String8& path) // useful for e.g. svect.indexOf argument 81 : mFileName(path), mFileType(kFileTypeUnknown) 109 void set(const String8& path, FileType type) { argument 110 mFileName = path; 115 void setFileName(const String8& path) { mFileName = path; } argument 121 void setSourceName(const String8& path) { mSourceName = path; } argument
|
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | hid.c | 134 char path[100]; local 136 snprintf(path, sizeof(path), "/dev/%s", name); 137 int fd = open(path, O_RDWR);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaScannerConnection.java | 50 public void scanCompleted(String path, Uri uri) { 53 client.onScanCompleted(path, uri); 66 * @param path the path to the file that has been scanned. 70 public void onScanCompleted(String path, Uri uri); argument 88 * @param path the path to the file that has been scanned. 92 public void onScanCompleted(String path, Uri uri); argument 159 * @param path the path t 163 scanFile(String path, String mimeType) argument 198 onScanCompleted(String path, Uri uri) argument [all...] |
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyGroup.java | 282 private static String nameFromPath(String path) { argument 283 // extract name from full path 285 int lastSlash = path.lastIndexOf('/'); 289 int end = path.length(); 293 return path.substring(start, end); 368 // special case - need to extract file name from full path 383 // if title and name fail, extract name from full path
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | ObjectViewer.java | 66 public void setScanPath(String path) { argument 67 mPath = path; 76 public void onScanCompleted(String path, Uri uri) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | StorageNotification.java | 75 public void onStorageStateChanged(final String path, argument 80 onStorageStateChangedAsync(path, oldState, newState); 123 private void onStorageStateChangedAsync(String path, String oldState, String newState) { argument 125 "Media {%s} state changed from {%s} -> {%s}", path, oldState, newState));
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | FileA3D.java | 224 * @param path location of the file to load 228 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { argument 230 long fileId = rs.nFileA3DCreateFromAsset(mgr, path); 233 throw new RSRuntimeException("Unable to create a3d file from asset " + path); 245 * @param path location of the file to load 249 static public FileA3D createFromFile(RenderScript rs, String path) { argument 250 long fileId = rs.nFileA3DCreateFromFile(path); 253 throw new RSRuntimeException("Unable to create a3d file from " + path); 265 * @param path location of the file to load 269 static public FileA3D createFromFile(RenderScript rs, File path) { argument [all...] |
H A D | Font.java | 159 static public Font createFromFile(RenderScript rs, Resources res, String path, float pointSize) { argument 162 long fontId = rs.nFontCreateFromFile(path, pointSize, dpi); 165 throw new RSRuntimeException("Unable to create font from file " + path); 175 static public Font createFromFile(RenderScript rs, Resources res, File path, float pointSize) { argument 176 return createFromFile(rs, res, path.getAbsolutePath(), pointSize); 182 static public Font createFromAsset(RenderScript rs, Resources res, String path, float pointSize) { argument 187 long fontId = rs.nFontCreateFromAsset(mgr, path, pointSize, dpi); 189 throw new RSRuntimeException("Unable to create font from asset " + path);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | PersistentDataBlockService.java | 319 private native long nativeGetBlockDeviceSize(String path); argument 320 private native int nativeWipe(String path); argument
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | RoutingControlAction.java | 36 * <li> New CEC device at the tail of the active routing path 37 * <li> Removed CEC device from the active routing path 45 // latest routing path to set the new active source. 60 // true if <Give Power Status> should be sent once the new active routing path is determined. 71 // The latest routing path. Updated by each <Routing Information> from CEC switches. 74 RoutingControlAction(HdmiCecLocalDevice localDevice, int path, boolean queryDevicePowerStatus, argument 78 mCurrentRoutingPath = path; 101 // If the routing path doesn't belong to the currently active one, we should
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
H A D | FBOTestRS.java | 159 public void loadA3DFile(String path) { argument 160 FileA3D model = FileA3D.createFromFile(mRS, path); 162 initTextAllocation(path);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | SimpleModelRS.java | 158 public void loadA3DFile(String path) { argument 159 FileA3D model = FileA3D.createFromFile(mRS, path); 161 initTextAllocation(path);
|