Searched defs:path (Results 201 - 225 of 269) sorted by relevance

1234567891011

/frameworks/base/services/java/com/android/server/usb/
H A DUsbDeviceManager.java797 public void setMassStorageBackingFile(String path) { argument
798 if (path == null) path = "";
800 FileUtils.stringToFile(MASS_STORAGE_FILE_PATH, path);
/frameworks/base/tools/aidl/
H A Daidl.cpp679 // create the path to the destination folder based on the
728 check_outputFilePath(const string& path) { argument
729 size_t len = path.length();
731 if (path[i] == OS_PATH_SEPARATOR) {
732 string p = path.substr(0, i);
733 if (access(path.data(), F_OK) != 0) {
/frameworks/rs/
H A Drs_hal.h254 } path; member in struct:android::renderscript::__anon1555
/frameworks/support/renderscript/v8/rs_support/
H A Drs_hal.h253 } path; member in struct:android::renderscript::__anon1584
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp413 /* Decode an audio path by opening a file descriptor on that path */
414 void TestDecToBuffQueue( SLObjectItf sl, const char *path, int fd) argument
421 perror(path);
427 fprintf(stderr, "%s: not an ordinary file\n", path);
434 perror(path);
442 size_t len = strlen((const char *) path);
447 memcpy(outputPath, path, len + 1);
851 perror(path);
/frameworks/av/media/mtp/
H A DMtpServer.cpp274 void MtpServer::addEditObject(MtpObjectHandle handle, MtpString& path, argument
276 ObjectEdit* edit = new ObjectEdit(handle, path, size, format, fd);
817 MtpString path; local
826 path = storage->getPath();
831 int result = mDatabase->getObjectFilePath(parent, path, length, format);
865 if (path[path.size() - 1] != '/')
866 path += "/";
867 path += (const char *)name;
881 ALOGD("path
983 deleteRecursive(const char* path) argument
1029 deletePath(const char* path) argument
1180 MtpString path; local
[all...]
/frameworks/base/cmds/installd/
H A Dcommands.c47 ALOGE("cannot create package path\n");
52 ALOGE("cannot create package lib symlink origin path\n");
57 ALOGE("cannot create package lib symlink dest path\n");
156 ALOGE("cannot create package path\n");
204 ALOGE("cannot create package lib symlink origin path\n");
208 ALOGE("cannot create package lib symlink dest path\n");
318 /* Create the full path to the package's data dir */
382 snprintf(tmpdir, sizeof(tmpdir), "%s%s", android_data_dir.path,
409 strcpy(tmpdir, android_media_dir.path);
461 int rm_dex(const char *path) argument
486 char path[PKG_PATH_MAX]; local
598 create_cache_path(char path[PKG_PATH_MAX], const char *src) argument
800 mkinnerdirs(char* path, int basepos, mode_t mode, int uid, int gid, struct stat* statbuf) argument
[all...]
H A Dutils.c21 int create_pkg_path_in_dir(char path[PKG_PATH_MAX], argument
41 char *dst = path;
44 if (append_and_increment(&dst, dir->path, &dst_size) < 0
47 ALOGE("Error building APK path");
55 * Create the package path name for a given package name with a postfix for
58 int create_pkg_path(char path[PKG_PATH_MAX], argument
79 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 0
81 ALOGE("Error building prefix for APK path");
88 ALOGW("Error appending UID to APK path");
94 dir.path
104 create_persona_path(char path[PKG_PATH_MAX], uid_t persona) argument
144 create_persona_media_path(char path[PATH_MAX], userid_t userid) argument
151 create_move_path(char path[PKG_PATH_MAX], const char* pkgname, const char* leaf, uid_t persona) argument
671 create_dir_path(char path[PATH_MAX], cache_dir_t* dir) argument
688 delete_cache_dir(char path[PATH_MAX], cache_dir_t* dir) argument
730 char path[PATH_MAX]; local
799 validate_system_app_path(const char* path) argument
822 const char* path = getenv(var); local
837 get_path_from_string(dir_rec_t* rec, const char* path) argument
906 validate_apk_path(const char *path) argument
997 char path[PATH_MAX]; local
[all...]
/frameworks/base/core/java/android/app/
H A DApplicationThreadNative.java408 String path = data.readString();
411 profilerControl(start, path, fd, profileType);
473 String path = data.readString();
476 dumpHeap(managed, path, fd);
1032 public void profilerControl(boolean start, String path, argument
1038 data.writeString(path);
1091 public void dumpHeap(boolean managed, String path, argument
1096 data.writeString(path);
/frameworks/base/core/java/android/content/
H A DIntentFilter.java41 * and/or path) in an Intent. It also includes a "priority" value which is
61 * itself divided into three attributes: type, scheme, authority, and path.
71 * To specify a path, you also must specify both one or more authorities and
86 * <strong>data scheme+authority+path</strong> if specified) must match.
118 * Intent's data path <em>and</em> both a scheme and authority in the filter
133 private static final String PATH_STR = "path";
208 * authority, and path.
764 * Add a new Intent data path to match against. The filter must
767 * path to be considered. If any paths are
772 * <p>The path give
789 addDataPath(String path, int type) argument
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabase.java254 private SQLiteDatabase(String path, int openFlags, CursorFactory cursorFactory, argument
258 mConfigurationLocked = new SQLiteDatabaseConfiguration(path, openFlags);
661 * @param path to database file to open and/or create
668 public static SQLiteDatabase openDatabase(String path, CursorFactory factory, int flags) { argument
669 return openDatabase(path, factory, flags, null);
682 * @param path to database file to open and/or create
691 public static SQLiteDatabase openDatabase(String path, CursorFactory factory, int flags, argument
693 SQLiteDatabase db = new SQLiteDatabase(path, flags, factory, errorHandler);
706 * Equivalent to openDatabase(path, factory, CREATE_IF_NECESSARY).
708 public static SQLiteDatabase openOrCreateDatabase(String path, CursorFactor argument
715 openOrCreateDatabase(String path, CursorFactory factory, DatabaseErrorHandler errorHandler) argument
[all...]
/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/java/android/net/
H A DUri.java99 and a path component that begins with two slash characters. The
105 <scheme>://<authority><path>?<query>
256 * Gets the decoded path.
258 * @return the decoded path, or null if this is not a hierarchical URI
264 * Gets the encoded path.
266 * @return the encoded path, or null if this is not a hierarchical URI
306 * Gets the decoded path segments.
308 * @return decoded path segments, each without a leading or trailing '/'
313 * Gets the decoded last segment in the path.
315 * @return the decoded last segment or null if the path i
585 private PathPart path; field in class:Uri.StringUri
1137 private final PathPart path; field in class:Uri.HierarchicalUri
1141 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument
1319 private PathPart path; field in class:Uri.Builder
1383 path(PathPart path) argument
1399 path(String path) argument
1410 encodedPath(String path) argument
[all...]
/frameworks/base/core/java/android/os/
H A DProcess.java951 public static final native void readProcLines(String path, argument
955 public static final native int[] getPids(String path, int[] lastArray); argument
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp81 const String8 path; member in struct:android::SQLiteConnection
86 SQLiteConnection(sqlite3* db, int openFlags, const String8& path, const String8& label) : argument
87 db(db), openFlags(openFlags), path(path), label(label), canceled(false) { }
123 String8 path(pathChars);
131 int err = sqlite3_open_v2(path.string(), &db, sqliteFlags, NULL);
161 SQLiteConnection* connection = new SQLiteConnection(db, openFlags, path, label);
H A Dandroid_util_Process.cpp936 char path[PATH_MAX]; local
938 snprintf(path, sizeof(path), "/proc/%d/cmdline", pid);
940 int fd = open(path, O_RDONLY);
/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/libs/hwui/
H A DFontRenderer.cpp600 uint32_t startIndex, uint32_t len, int numGlyphs, SkPath* path,
608 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, path, hOffset, vOffset);
599 renderTextOnPath(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, SkPath* path, float hOffset, float vOffset, Rect* bounds) argument
/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;
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp137 const char *path, const KeyedVector<String8, String8> *headers) {
138 return mImpl->setDataSource(path, headers);
650 const char *path = env->GetStringUTFChars(pathObj, NULL); local
652 if (path == NULL) {
656 status_t err = extractor->setDataSource(path, &headers);
658 env->ReleaseStringUTFChars(pathObj, path);
659 path = NULL;
136 setDataSource( const char *path, const KeyedVector<String8, String8> *headers) argument
H A Dandroid_media_MediaPlayer.cpp180 JNIEnv *env, jobject thiz, jstring path,
189 if (path == NULL) {
194 const char *tmp = env->GetStringUTFChars(path, NULL);
198 ALOGV("setDataSource: path %s", tmp);
201 env->ReleaseStringUTFChars(path, tmp);
179 android_media_MediaPlayer_setDataSourceAndHeaders( JNIEnv *env, jobject thiz, jstring path, jobjectArray keys, jobjectArray values) argument
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/av/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp168 status_t PreviewPlayer::setDataSource(const char *path) { argument
170 return setDataSource_l(path);
173 status_t PreviewPlayer::setDataSource_l(const char *path) { argument
176 mUri = path;
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp1553 char *path = strndup((char *)pCmdData, cmdSize); local
1554 gPcmDumpFh = fopen((char *)path, "wb");
1556 ALOGV("PREPROC_CMD_DUAL_MIC_PCM_DUMP_START: path %s gPcmDumpFh %p",
1557 path, gPcmDumpFh);
1559 free(path);
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp234 status_t StagefrightRecorder::setOutputFile(const char *path) { argument

Completed in 3807 milliseconds

1234567891011