Searched refs:path (Results 276 - 300 of 443) sorted by relevance

<<1112131415161718

/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
H A DFBOTestRS.java159 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 DSimpleModelRS.java158 public void loadA3DFile(String path) { argument
159 FileA3D model = FileA3D.createFromFile(mRS, path);
161 initTextAllocation(path);
/frameworks/compile/libbcc/tests/
H A Dtest.py97 adb(["shell", "mkdir", os.path.join(root, d)])
99 adb(["push", os.path.join(root, f), os.path.join("/system/bin/bccdata", root, f)])
166 """Take a path that's correct on the x86 and convert to a path
/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/wilhelm/tests/examples/
H A DslesTestBassBoostPath.cpp49 /* Play an audio path by opening a file descriptor on that path */
50 void TestBassBoostPathFromFD(SLObjectItf sl, const char* path, int16_t boostStrength, bool alwaysOn) argument
119 int fd = open(path, O_RDONLY);
128 locatorUri.URI = (SLchar *) path;
256 fprintf(stdout, "Plays the sound file designated by the given path, ");
261 fprintf(stdout, "unless the --always-on option is specified before the path.\n");
271 fprintf(stdout, "Usage: \t%s [--always-on] path bass_boost_strength\n", programName);
H A DslesTestPlayFdPath.cpp49 /* Play an audio path by opening a file descriptor on that path */
50 void TestPlayPathFromFD( SLObjectItf sl, const char* path, SLAint64 offset, SLAint64 size) argument
111 int fd = open(path, O_RDONLY);
113 perror(path);
198 fprintf(stdout, "Plays the sound file designated by the given path, ");
203 fprintf(stdout, "Usage: \t%s path offsetInBytes [sizeInBytes]\n", argv[0]);
H A DslesTestVirtualizerPath.cpp49 /* Play an audio path by opening a file descriptor on that path */
50 void TestVirtualizerPathFromFD( SLObjectItf sl, const char* path, int16_t virtStrength, argument
120 int fd = open(path, O_RDONLY);
129 locatorUri.URI = (SLchar *) path;
258 fprintf(stdout, "Plays the sound file designated by the given path, ");
263 fprintf(stdout, "unless the --always-on option is specified before the path.\n");
273 fprintf(stdout, "Usage: \t%s [--always-on] path virtualization_strength\n", programName);
H A DslesTestEqFdPath.cpp49 /* Play an audio path by opening a file descriptor on that path */
50 void TestEQPathFromFD( SLObjectItf sl, const char* path
124 int fd = open(path, O_RDONLY);
133 locatorUri.URI = (SLchar *) path;
285 fprintf(stdout, "Plays the sound file designated by the given path, ");
290 fprintf(stdout, "unless the --always-on option is specified before the path.\n");
305 fprintf(stdout, "Usage: \t%s [--always-on] path offsetInBytes [sizeInBytes]\n",
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java614 public void setAuxiliaryOutputFile(String path) argument
634 * Sets the path of the output file to be produced. Call this after
637 * @param path The pathname to use.
641 public void setOutputFile(String path) throws IllegalStateException argument
644 mPath = path;
H A DMiniThumbFile.java104 String path = randomAccessFilePath(MINI_THUMB_DATA_FILE_VERSION);
105 File directory = new File(path).getParentFile();
112 File f = new File(path);
H A DMediaPlayer.java904 * Sets the data source (file-path or http/rtsp URL) to use.
906 * @param path the path of the file, or the http/rtsp URL of the stream you want to play
909 * <p>When <code>path</code> refers to a local file, the file may actually be opened by a
911 * should be an absolute path (as any other process runs with unspecified current working
916 public void setDataSource(String path) argument
918 setDataSource(path, null, null);
922 * Sets the data source (file-path or http/rtsp URL) to use.
924 * @param path the path o
929 setDataSource(String path, Map<String, String> headers) argument
949 setDataSource(String path, String[] keys, String[] values) argument
962 _setDataSource( String path, String[] keys, String[] values) argument
1699 addTimedTextSource(String path, String mimeType) argument
[all...]
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DObjectViewer.java65 public void setScanPath(String path) { argument
66 mPath = path;
75 public void onScanCompleted(String path, Uri uri) { argument
/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/av/media/libmedia/
H A DIMediaRecorder.cpp158 status_t setOutputFile(const char* path) argument
160 ALOGV("setOutputFile(%s)", path);
163 data.writeCString(path);
383 const char* path = data.readCString(); local
384 reply->writeInt32(setOutputFile(path));
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp418 char path[256]; local
426 else if (sscanf(l, " %c %d %d %s", &pathType, &count, &pause, path) == 4) {
427 //LOGD("> type=%c, count=%d, pause=%d, path=%s", pathType, count, pause, path);
432 part.path = path;
446 const String8 path(entryName.getPathDir());
450 if (path == animation.parts[j].path) {
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeResources.java608 String path = value.getSecond().getValue();
610 if (path != null) {
612 File f = new File(path);
618 if (path.toLowerCase().endsWith(NinePatch.EXTENSION_9PATCH)) {
642 String path = value.string.toString();
644 File f = new File(path);
650 if (path.toLowerCase().endsWith(NinePatch.EXTENSION_9PATCH)) {
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp96 virtual MtpObjectHandle beginSendObject(const char* path,
103 virtual void endSendObject(const char* path,
220 MtpObjectHandle MyMtpDatabase::beginSendObject(const char* path, argument
227 jstring pathStr = env->NewStringUTF(path);
238 void MyMtpDatabase::endSendObject(const char* path, MtpObjectHandle handle, argument
241 jstring pathStr = env->NewStringUTF(path);
755 MtpString path; local
759 MtpResponseCode result = getObjectFilePath(handle, path, length, format);
799 strncpy(ImageInfo.FileName, (const char *)path, PATH_MAX);
800 if (ReadJpegFile((const char*)path, READ_METADAT
817 MtpString path; local
[all...]
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java435 public boolean clipPath(Path path) { argument
437 path.computeBounds(mPathBounds, true);
443 public boolean clipPath(Path path, Region.Op op) { argument
445 path.computeBounds(mPathBounds, true);
525 public boolean quickReject(Path path, EdgeType type) { argument
526 path.computeBounds(mPathBounds, true);
998 public void drawPath(Path path, Paint paint) { argument
1001 if (path.isSimplePath) {
1002 if (path.rects != null) {
1003 nDrawRects(mRenderer, path
1013 nDrawPath(int renderer, int path, int paint) argument
1229 drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, float vOffset, Paint paint) argument
1244 nDrawTextOnPath(int renderer, char[] text, int index, int count, int path, float hOffset, float vOffset, int bidiFlags, int nativePaint) argument
1248 drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) argument
1260 nDrawTextOnPath(int renderer, String text, int start, int end, int path, float hOffset, float vOffset, int bidiFlags, int nativePaint) argument
[all...]
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp413 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) {
417 ->canHandle(uniqueId, Utility::getStringValue(env, path),
579 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) {
583 ->getDrmObjectType(uniqueId, Utility::getStringValue(env, path),
590 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jobject fileDescriptor) {
600 Utility::getStringValue(env, path), fd);
606 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) {
610 ->checkRightsStatus(uniqueId, Utility::getStringValue(env, path), action);
616 JNIEnv* env, jobject thiz, jint uniqueId, jstring path) {
619 ->removeRights(uniqueId, Utility::getStringValue(env, path));
412 android_drm_DrmManagerClient_canHandle( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument
578 android_drm_DrmManagerClient_getDrmObjectType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument
589 android_drm_DrmManagerClient_getOriginalMimeType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jobject fileDescriptor) argument
605 android_drm_DrmManagerClient_checkRightsStatus( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) argument
615 android_drm_DrmManagerClient_removeRights( JNIEnv* env, jobject thiz, jint uniqueId, jstring path) argument
[all...]
/frameworks/base/services/input/
H A DEventHub.cpp160 EventHub::Device::Device(int fd, int32_t id, const String8& path, argument
163 fd(fd), id(id), path(path), identifier(identifier),
632 if (device->path == devicePath) {
667 device->id, device->path.string());
689 device->id, device->path.string());
771 device->path.string(),
815 device->path.string(), event->when, time, now);
818 ALOGV("Event time is ok but failed the fast path and required "
1190 ALOGV("Dropping device: id=%d, path
[all...]
/frameworks/av/media/libstagefright/wifi-display/sink/
H A DWifiDisplaySink.cpp60 const char *url, AString *host, int32_t *port, AString *path,
64 path->clear();
76 path->setTo("/");
79 path->setTo(slashPos);
129 AString path, user, pass; local
132 &mRTSPHost, &sourcePort, &path, &user, &pass)
59 ParseURL( const char *url, AString *host, int32_t *port, AString *path, AString *user, AString *pass) argument
/frameworks/base/core/java/android/gesture/
H A DGestureOverlayView.java288 final Path path = mCurrentGesture.toPath();
290 path.computeBounds(bounds, true);
292 // TODO: The path should also be scaled to fit inside this view
294 mPath.addPath(path, -bounds.left + (getWidth() - bounds.width()) / 2.0f,
306 public Path getGesturePath(Path path) { argument
307 path.set(mPath);
308 return path;
/frameworks/base/core/jni/
H A DAndroid.mk159 $(call include-path-for, bluedroid) \
160 $(call include-path-for, libhardware)/hardware \
161 $(call include-path-for, libhardware_legacy)/hardware_legacy \
/frameworks/base/libs/hwui/
H A DResourceCache.cpp321 SkPath* path = (SkPath*) resource; local
323 Caches::getInstance().pathCache.removeDeferred(path);
325 delete path;
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectReader.cpp199 << pInput.path();
216 << pInput.path()
224 << pInput.path()

Completed in 465 milliseconds

<<1112131415161718