Searched refs:stat (Results 51 - 75 of 107) sorted by relevance

12345

/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java415 StructStat stat = Libcore.os.lstat(filePath);
416 if (OsConstants.S_ISLNK(stat.st_mode)) {
419 } else if (OsConstants.S_ISDIR(stat.st_mode)) {
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
H A DFwdLockGlue.c23 #include <sys/stat.h>
/frameworks/av/media/libstagefright/
H A DFileSource.cpp22 #include <sys/stat.h>
H A DStagefrightMediaScanner.cpp22 #include <sys/stat.h>
H A DAMRWriter.cpp27 #include <sys/stat.h>
/frameworks/base/core/jni/
H A Dandroid_net_TrafficStats.cpp22 #include <sys/stat.h>
H A Dcom_android_internal_content_NativeLibraryHelper.cpp33 #include <sys/stat.h>
104 ALOGV("Couldn't stat %s, copying: %s\n", filePath, strerror(errno));
203 struct stat st;
H A Dandroid_hardware_SerialPort.cpp27 #include <sys/stat.h>
H A Dandroid_hardware_UsbDeviceConnection.cpp29 #include <sys/stat.h>
H A Dcom_android_internal_net_NetworkStatsFactory.cpp20 #include <sys/stat.h>
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
H A Daccessorychat.c23 #include <sys/stat.h>
/frameworks/base/services/jni/
H A Dcom_android_server_UsbDeviceManager.cpp27 #include <sys/stat.h>
H A Dcom_android_server_UsbHostManager.cpp30 #include <sys/stat.h>
/frameworks/base/tools/aapt/
H A DStringPool.h19 #include <sys/stat.h>
/frameworks/native/cmds/installd/
H A Dinstalld.h24 #include <sys/stat.h>
H A Dutils.c316 struct stat s;
334 if (stat(basepath, &s) >= 0) {
592 struct stat s;
593 if (stat(pathBase, &s) >= 0) {
596 ALOGW("Unable to stat cache file %s; deleting\n", pathBase);
/frameworks/native/cmds/rawbu/
H A Dbackup.cpp15 #include <sys/stat.h>
38 static struct stat statBuffer;
126 fprintf(stderr, "warning -- stat() error on '%s': %s\n",
236 static int write_header(FILE* fh, int type, const char* path, const struct stat* st)
310 fprintf(stderr, "stat() error on '%s': %s\n",
438 static int read_header(FILE* fh, int* type, char** path, struct stat* st)
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.cpp25 #include <sys/stat.h>
303 struct stat statBuf;
305 ALOGE("error stat'ing cache file: %s (%d)", strerror(errno), errno);
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp28 #include <sys/stat.h>
295 struct stat st;
297 err = stat(realFilename, &st);
352 struct stat st;
354 err = stat(file, &st);
746 struct stat st;
795 err = stat(filename.string(), &st);
1330 fprintf(stderr, "stat '%s' failed: %s\n", filename, strerror(errno));
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java247 final StructStatFs stat = Libcore.os.statfs(path);
248 final long totalSize = stat.f_blocks * stat.f_bsize;
249 final long availSize = stat.f_bavail * stat.f_bsize;
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp22 #include <sys/stat.h>
/frameworks/av/media/mtp/
H A DMtpServer.cpp21 #include <sys/stat.h>
24 #include <sys/stat.h>
1031 struct stat statbuf;
1032 if (stat(path, &statbuf) == 0) {
1040 ALOGE("deletePath stat failed for %s: %s", path, strerror(errno));
/frameworks/compile/libbcc/bcinfo/Wrap/
H A Dbitcode_wrapperer.cpp23 #include <sys/stat.h>
/frameworks/native/libs/gui/
H A DSurfaceControl.cpp22 #include <sys/stat.h>
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java501 final StructStat stat;
504 stat = Libcore.os.lstat(path);
511 if (!S_ISDIR(stat.st_mode)) {
515 sb.append((stat.st_mode & S_IFMT));
518 if (stat.st_uid != uid) {
522 sb.append(stat.st_uid);
525 if (stat.st_gid != gid) {
529 sb.append(stat.st_gid);
532 if ((stat.st_mode & ~S_IFMT) != perms) {
536 sb.append(Integer.toOctalString(stat
[all...]

Completed in 580 milliseconds

12345