/frameworks/base/core/jni/ |
H A D | android_server_Watchdog.cpp | 61 jniThrowException(env, "java/lang/IllegalArgumentException", "Null path"); 65 const char *path = env->GetStringUTFChars(pathStr, NULL); local 67 int outFd = open(path, O_WRONLY | O_APPEND | O_CREAT, 97 env->ReleaseStringUTFChars(pathStr, path);
|
H A D | android_app_backup_FullBackup.cpp | 79 * rootpath: prefix to be snipped from full path when encoding in tar 80 * path: absolute path to the file to be saved 94 String8 path(pathchars ? pathchars : ""); 108 if (path.length() < rootpath.length()) { 109 ALOGE("file path [%s] shorter than root path [%s]", 110 path.string(), rootpath.string()); 115 jint err = write_tarfile(packageName, domain, rootpath, path, &tarSize, writer); 117 //ALOGI("measured [%s] at %lld", path [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaScanner.cpp | 148 virtual status_t scanFile(const char* path, long long lastModified, argument 151 ALOGV("scanFile: path(%s), time(%lld), size(%lld) and isDir(%d)", 152 path, lastModified, fileSize, isDirectory); 155 if ((pathStr = mEnv->NewStringUTF(path)) == NULL) { 240 JNIEnv *env, jobject thiz, jstring path, jobject client) 249 if (path == NULL) { 254 const char *pathStr = env->GetStringUTFChars(path, NULL); 264 env->ReleaseStringUTFChars(path, pathStr); 269 JNIEnv *env, jobject thiz, jstring path, 281 if (path 239 android_media_MediaScanner_processDirectory( JNIEnv *env, jobject thiz, jstring path, jobject client) argument 268 android_media_MediaScanner_processFile( JNIEnv *env, jobject thiz, jstring path, jstring mimeType, jobject client) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | FileFinder.cpp | 80 void SystemFileFinder::checkAndAddFile(String8 path, const struct stat* stats, argument 86 String8 ext(path.getPathExtension()); 94 fileStore.add(path,stats->st_mtime);
|
/frameworks/base/tools/aapt/tests/ |
H A D | FileFinder_test.cpp | 27 String8 path("ApiDemos"); 41 DirectoryWalker* sdw = new StringDirectoryWalker(path,data); 57 bool findStatus = FileFinder::findFiles(path,exts, testStorage, sdw);
|
/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/ |
H A D | helloComputeNDK.cpp | 36 const char * path = env->GetStringUTFChars(pathObj, nullptr); local 38 rs->init(path); 39 env->ReleaseStringUTFChars(pathObj, path);
|
/frameworks/av/include/media/ |
H A D | MidiIoWrapper.h | 28 MidiIoWrapper(const char *path);
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | FileInput.h | 37 * Create a file input for the given path. 39 FileInput(String8 path); 44 * Open a file descriptor to the path given in the constructor. 61 * Close the file descriptor to the path given in the constructor.
|
H A D | FileOutput.h | 32 FileOutput(String8 path);
|
/frameworks/av/media/libeffects/lvm/wrapper/ |
H A D | Android.mk | 28 $(call include-path-for, audio-effects) 57 $(call include-path-for, audio-effects)
|
/frameworks/av/services/audiopolicy/engineconfigurable/ |
H A D | Android.mk | 34 $(call include-path-for, frameworks-av) \ 35 $(call include-path-for, audio-utils) \
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebIconDatabase.java | 53 * Open a the icon database and store the icons in the given path. 54 * @param path The directory path where the icon database will be stored. 56 public abstract void open(String path); argument
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | FileObserverTest.java | 40 public Observer(String path) { argument 41 super(path); 44 public void onEvent(int event, String path) { argument 50 map.put("path", path); 114 Log.i("FileObserverTest", "event: " + getEventString((Integer)map.get("event")) + " path: " + map.get("path"));
|
/frameworks/base/include/storage/ |
H A D | IMountServiceListener.h | 30 virtual void onStorageStateChanged(const String16& path,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | FreePathInterpolator.java | 32 * Path path = new Path(); 33 * path.lineTo(0.25f, 0.25f); 34 * path.moveTo(0.25f, 0.5f); 35 * path.lineTo(1f, 1f); 50 * @param path The <code>Path</code> to use to make the line representing the interpolator. 52 public FreePathInterpolator(Path path) { argument 53 initPath(path); 56 private void initPath(Path path) { argument 57 float[] pointComponents = path.approximate(PRECISION); 135 * @param y a value from (0,1) that is in this path [all...] |
/frameworks/base/tools/aapt2/io/ |
H A D | File.h | 49 * valid file system path (for example, it may contain a '@' sign to separate the files within 50 * a ZIP archive from the path to the containing ZIP archive. 71 virtual IFile* findFile(const StringPiece& path) = 0;
|
/frameworks/rs/ |
H A D | rsApiFileA3D.cpp | 96 RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path) { argument 97 if (path == nullptr) { 105 FILE *f = fopen(path, "rb"); 112 ALOGE("Could not open file %s", path);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | OMAConstructed.java | 58 public String getScalarValue(Iterator<String> path) throws OMAException { argument 59 if (!path.hasNext()) { 62 String tag = path.next(); 65 return child.getScalarValue(path); 72 public OMANode getListValue(Iterator<String> path) throws OMAException { argument 73 if (!path.hasNext()) { 76 String tag = path.next(); 86 } else if (path.hasNext()) { 87 return child.getListValue(path);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
H A D | OMAConstructed.java | 58 public String getScalarValue(Iterator<String> path) throws OMAException { argument 59 if (!path.hasNext()) { 62 String tag = path.next(); 65 return child.getScalarValue(path); 72 public OMANode getListValue(Iterator<String> path) throws OMAException { argument 73 if (!path.hasNext()) { 76 String tag = path.next(); 88 else if (path.hasNext()) { 89 return child.getListValue(path);
|
/frameworks/base/libs/hwui/ |
H A D | SkiaCanvasProxy.cpp | 65 SkPath path; local 67 path.moveTo(pts[i]); 68 path.lineTo(pts[i+1]); 69 this->drawPath(path, strokedPaint); 70 path.rewind(); 94 SkPath path; local 95 path.addRRect(roundRect); 96 mCanvas->drawPath(path, paint); 100 void SkiaCanvasProxy::onDrawPath(const SkPath& path, const SkPaint& paint) { argument 101 mCanvas->drawPath(path, pain 205 SkPath path; local 348 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& origPaint) argument 385 SkPath path; local 390 onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | Environment.java | 377 * Writing to this path requires the 390 * This path may change between platform versions, so applications should 582 * @return Returns the File path for the directory. Note that this directory 592 * Returns the path for android-specific data on the SD card. 601 * Generates the raw path to an application's data 610 * Generates the raw path to an application's media 619 * Generates the raw path to an application's OBB files 628 * Generates the path to an application's files. 637 * Generates the path to an application's cache. 653 * Unknown storage state, such as when a path is 754 getStorageState(File path) argument 768 getExternalStorageState(File path) argument 801 isExternalStorageRemovable(File path) argument 845 isExternalStorageEmulated(File path) argument 917 maybeTranslateEmulatedPathToInternal(File path) argument [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 158 DrmConstraints* DrmManager::getConstraints(int uniqueId, const String8* path, const int action) { argument 160 const String8 plugInId = getSupportedPlugInIdFromPath(uniqueId, *path); 163 return rDrmEngine.getConstraints(uniqueId, path, action); 168 DrmMetadata* DrmManager::getMetadata(int uniqueId, const String8* path) { argument 170 const String8 plugInId = getSupportedPlugInIdFromPath(uniqueId, *path); 173 return rDrmEngine.getMetadata(uniqueId, path); 178 bool DrmManager::canHandle(int uniqueId, const String8& path, const String8& mimeType) { argument 183 if (0 < path.length()) { 186 result = rDrmEngine.canHandle(uniqueId, path); 188 String8 extension = path 207 canHandle(int uniqueId, const String8& path) argument 244 getOriginalMimeType(int uniqueId, const String8& path, int fd) argument 254 getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument 264 checkRightsStatus(int uniqueId, const String8& path, int action) argument 296 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument 307 removeRights(int uniqueId, const String8& path) argument 552 getSupportedPlugInId( int uniqueId, const String8& path, const String8& mimeType) argument 580 getSupportedPlugInIdFromPath(int uniqueId, const String8& path) argument [all...] |
/frameworks/native/cmds/installd/ |
H A D | commands.cpp | 84 auto path = create_data_user_ce_package_path(uuid, userid, pkgname); local 85 if (fs_prepare_dir_strict(path.c_str(), target_mode, uid, uid) != 0) { 86 PLOG(ERROR) << "Failed to prepare " << path; 89 if (selinux_android_setfilecon(path.c_str(), pkgname, seinfo, uid) < 0) { 90 PLOG(ERROR) << "Failed to setfilecon " << path; 95 auto path = create_data_user_de_package_path(uuid, userid, pkgname); local 96 if (fs_prepare_dir_strict(path.c_str(), target_mode, uid, uid) == -1) { 97 PLOG(ERROR) << "Failed to prepare " << path; 101 if (selinux_android_setfilecon(path.c_str(), pkgname, seinfo, uid) < 0) { 102 PLOG(ERROR) << "Failed to setfilecon " << path; 258 auto path = create_data_user_ce_package_path(uuid, userid, pkgname, ce_data_inode) + suffix; local 264 auto path = create_data_user_de_package_path(uuid, userid, pkgname) + suffix; local 507 rm_dex(const char *path, const char *instruction_set) argument 529 add_app_data_size(std::string& path, int64_t *codesize, int64_t *datasize, int64_t *cachesize) argument 593 auto path = create_data_user_ce_package_path(uuid, userid, pkgname, ce_data_inode); local 597 auto path = create_data_user_de_package_path(uuid, userid, pkgname); local 610 auto path = create_data_user_ce_package_path(uuid, userid, pkgname); local 1244 get_location_from_path(const char* path) argument 1316 trim_extension(char* path) argument 1346 set_permissions_and_ownership(int fd, bool is_public, int uid, const char* path) argument 1615 mkinnerdirs(char* path, int basepos, mode_t mode, int uid, int gid, struct stat* statbuf) argument 1828 auto path = create_data_user_ce_package_path(uuid, userid, pkgName); local 1835 auto path = create_data_user_de_package_path(uuid, userid, pkgName); local [all...] |
/frameworks/av/media/img_utils/src/ |
H A D | FileInput.cpp | 24 FileInput::FileInput(String8 path) : mFp(NULL), mPath(path), mOpen(false) {} argument
|
H A D | FileOutput.cpp | 24 FileOutput::FileOutput(String8 path) : mFp(NULL), mPath(path), mOpen(false) {} argument
|