Home
last modified time | relevance | path

Searched refs:fileStatus (Results 1 – 2 of 2) sorted by relevance

/cts/common/device-side/util/jni/
Dandroid_cts_FileUtils.cpp49 jstring path, jobject fileStatus, jboolean statLinks) in android_cts_FileUtils_getFileStatus() argument
59 if (fileStatus != NULL) { in android_cts_FileUtils_getFileStatus()
60 env->SetIntField(fileStatus, gFileStatusDevFieldID, s.st_dev); in android_cts_FileUtils_getFileStatus()
61 env->SetIntField(fileStatus, gFileStatusInoFieldID, s.st_ino); in android_cts_FileUtils_getFileStatus()
62 env->SetIntField(fileStatus, gFileStatusModeFieldID, s.st_mode); in android_cts_FileUtils_getFileStatus()
63 env->SetIntField(fileStatus, gFileStatusNlinkFieldID, s.st_nlink); in android_cts_FileUtils_getFileStatus()
64 env->SetIntField(fileStatus, gFileStatusUidFieldID, s.st_uid); in android_cts_FileUtils_getFileStatus()
65 env->SetIntField(fileStatus, gFileStatusGidFieldID, s.st_gid); in android_cts_FileUtils_getFileStatus()
66 env->SetLongField(fileStatus, gFileStatusSizeFieldID, s.st_size); in android_cts_FileUtils_getFileStatus()
67 env->SetIntField(fileStatus, gFileStatusBlksizeFieldID, s.st_blksize); in android_cts_FileUtils_getFileStatus()
[all …]
/cts/tests/tests/permission/jni/
Dandroid_permission_cts_FileUtils.cpp53 jobject /* thiz */, jstring path, jobject fileStatus, jboolean statLinks) in android_permission_cts_FileUtils_getFileStatus() argument
64 if (fileStatus != NULL) { in android_permission_cts_FileUtils_getFileStatus()
65 env->SetIntField(fileStatus, gFileStatusDevFieldID, s.st_dev); in android_permission_cts_FileUtils_getFileStatus()
66 env->SetIntField(fileStatus, gFileStatusInoFieldID, s.st_ino); in android_permission_cts_FileUtils_getFileStatus()
67 env->SetIntField(fileStatus, gFileStatusModeFieldID, s.st_mode); in android_permission_cts_FileUtils_getFileStatus()
68 env->SetIntField(fileStatus, gFileStatusNlinkFieldID, s.st_nlink); in android_permission_cts_FileUtils_getFileStatus()
69 env->SetIntField(fileStatus, gFileStatusUidFieldID, s.st_uid); in android_permission_cts_FileUtils_getFileStatus()
70 env->SetIntField(fileStatus, gFileStatusGidFieldID, s.st_gid); in android_permission_cts_FileUtils_getFileStatus()
71 env->SetLongField(fileStatus, gFileStatusSizeFieldID, s.st_size); in android_permission_cts_FileUtils_getFileStatus()
72 env->SetIntField(fileStatus, gFileStatusBlksizeFieldID, s.st_blksize); in android_permission_cts_FileUtils_getFileStatus()
[all …]