Searched defs:path (Results 126 - 150 of 269) sorted by relevance

1234567891011

/frameworks/base/graphics/java/android/graphics/
H A DTypeface.java145 * @param path The file name of the font data in the assets directory
148 public static Typeface createFromAsset(AssetManager mgr, String path) { argument
149 return new Typeface(nativeCreateFromAsset(mgr, path));
155 * @param path The path to the font data.
158 public static Typeface createFromFile(File path) { argument
159 return new Typeface(nativeCreateFromFile(path.getAbsolutePath()));
165 * @param path The full path to the font data.
168 public static Typeface createFromFile(String path) { argument
226 nativeCreateFromAsset(AssetManager mgr, String path) argument
227 nativeCreateFromFile(String path) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaExtractor.java116 * Sets the data source (file-path or http URL) to use.
118 * @param path the path of the file, or the http URL
121 public final void setDataSource(String path, Map<String, String> headers) { argument
136 setDataSource(path, keys, values);
140 String path, String[] keys, String[] values);
143 * Sets the data source (file-path or http URL) to use.
145 * @param path the path of the file, or the http URL of the stream
147 * <p>When <code>path</cod
139 setDataSource( String path, String[] keys, String[] values) argument
154 setDataSource(String path) argument
[all...]
H A DMediaMetadataRetriever.java58 * @param path The path of the input media file.
59 * @throws IllegalArgumentException If the path is invalid.
61 public void setDataSource(String path) throws IllegalArgumentException { argument
64 is = new FileInputStream(path);
H A DSoundPool.java147 * Load the sound from the specified path.
149 * @param path the path to the audio file
154 public int load(String path, int priority) argument
157 if (path.startsWith("http:"))
158 return _load(path, priority);
160 // try local path
163 File f = new File(path);
170 Log.e(TAG, "error loading " + path);
/frameworks/base/media/jni/
H A Dandroid_media_MediaScanner.cpp100 virtual status_t scanFile(const char* path, long long lastModified, argument
103 ALOGV("scanFile: path(%s), time(%lld), size(%lld) and isDir(%d)",
104 path, lastModified, fileSize, isDirectory);
107 if ((pathStr = mEnv->NewStringUTF(path)) == NULL) {
195 JNIEnv *env, jobject thiz, jstring path, jobject client)
204 if (path == NULL) {
209 const char *pathStr = env->GetStringUTFChars(path, NULL);
219 env->ReleaseStringUTFChars(path, pathStr);
224 JNIEnv *env, jobject thiz, jstring path,
236 if (path
194 android_media_MediaScanner_processDirectory( JNIEnv *env, jobject thiz, jstring path, jobject client) argument
223 android_media_MediaScanner_processFile( JNIEnv *env, jobject thiz, jstring path, jstring mimeType, jobject client) argument
[all...]
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool.cpp42 android_media_SoundPool_load_URL(JNIEnv *env, jobject thiz, jstring path, jint priority) argument
46 if (path == NULL) {
50 const char* s = env->GetStringUTFChars(path, NULL);
52 env->ReleaseStringUTFChars(path, s);
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java98 * @return Returns the new cache path where the resource has been copied into
228 public long calculateDirectorySize(String path) throws RemoteException {
231 final File directory = new File(path);
233 return MeasurementUtils.measureDirectory(path);
240 public long[] getFileSystemStats(String path) {
244 final StructStatFs stat = Libcore.os.statfs(path);
254 public void clearDirectory(String path) throws RemoteException {
257 final File directory = new File(path);
304 void eraseFiles(File path) { argument
305 if (path
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardMultiUserAvatar.java112 protected String rewriteIconPath(String path) { argument
114 return path.replace("system", "data");
116 return path;
/frameworks/base/services/java/com/android/server/
H A DDropBoxManagerService.java134 * @param path to store drop box entries in
136 public DropBoxManagerService(final Context context, File path) { argument
137 mDropBoxDir = path;
/frameworks/base/services/java/com/android/server/am/
H A DProcessList.java223 private void writeFile(String path, String data) { argument
226 fos = new FileOutputStream(path);
229 Slog.w(ActivityManagerService.TAG, "Unable to write " + path);
/frameworks/base/services/java/com/android/server/usb/
H A DUsbService.java236 public void setMassStorageBackingFile(String path) { argument
239 mDeviceManager.setMassStorageBackingFile(path);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMountServiceTests.java62 private String path; field in class:MountServiceTests.ObbObserver
68 public void onObbStateChange(String path, int state) { argument
69 Log.d(TAG, "Received message. path=" + path + ", state=" + state);
71 this.path = path;
80 return path;
89 this.path = null;
224 assertTrue("OBB mounted path should be a directory",
241 assertNull("OBB's mounted path shoul
[all...]
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOSyncRS.java160 public void loadA3DFile(String path) { argument
161 FileA3D model = FileA3D.createFromFile(mRS, path);
163 initTextAllocation(path);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppRS.java118 void loadModel(String path) { argument
121 mSceneManager.loadModel(path, mLoadedCallback);
/frameworks/base/tools/aapt/
H A DPackage.cpp436 const char* path = pathName.string(); local
437 if (strcasecmp(path + pos, str) == 0) {
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.c430 char path[MAXPATH]; local
489 sprintf(path, "%s%s%s", drive, dir, f.ff_name);
490 s = path;
/frameworks/compile/mclinker/include/mcld/Support/
H A DFileHandle.h101 const sys::fs::Path& path() const function in class:mcld::FileHandle
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DVariableSpeed.java175 public void setDataSource(String path) { argument
176 checkNotNull(path, "path");
177 innerSetDataSource(new MediaPlayerDataSource(path));
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.c421 char path[PATH_MAX], tmp_path[PATH_MAX]; local
427 strlcpy(path, use_outfile, sizeof(path));
432 strlcat(path, date, sizeof(path));
435 strlcpy(screenshot_path, path, sizeof(screenshot_path));
438 strlcat(path, ".txt", sizeof(path));
439 if (do_compress) strlcat(path, ".gz", sizeof(path));
[all...]
/frameworks/rs/
H A DrsFileA3D.cpp455 RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path) { argument
456 if (path == NULL) {
464 FILE *f = fopen(path, "rb");
471 ALOGE("Could not open file %s", path);
/frameworks/wilhelm/tests/examples/
H A DslesTestRecBuffQueue.cpp141 /* Play an audio path by opening a file descriptor on that path */
142 void TestRecToBuffQueue( SLObjectItf sl, const char* path, SLAint64 durationInSeconds) argument
144 gFp = fopen(path, "w");
H A DslesTestSendToPresetReverb.cpp72 /* Play an audio path and feed a global reverb */
73 void TestSendToPresetReverb( SLObjectItf sl, const char* path, int preset, SLmillibel directLevel, argument
172 locatorUri.URI = (SLchar *) path;
178 int fd = open(path, O_RDONLY);
180 perror(path);
335 fprintf(stdout, "Plays the sound file designated by the given path, ");
340 fprintf(stdout, "unless the --always-on option is specified before the path.\n");
362 fprintf(stdout, "Usage: \t%s [--always-on] [--fd] [--loop] path preset directLevel "
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp163 void TestPlayUri( SLObjectItf sl, const char* path) argument
227 uri.URI = (SLchar*) path;
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestGetPositionUri.cpp127 void TestGetPositionUri( SLObjectItf sl, const char* path) argument
183 uri.URI = (SLchar*) path;
324 fprintf(stdout, "Usage: %s path \n\t%s url\n", argv[0], argv[0]);
H A DslesTestLoopUri.cpp122 void TestLoopUri( SLObjectItf sl, const char* path) argument
170 uri.URI = (SLchar*) path;
299 fprintf(stdout, "Usage: \n\t%s path \n\t%s url\n", argv[0], argv[0]);

Completed in 430 milliseconds

1234567891011