/art/libartservice/service/java/com/android/server/art/ |
D | AidlUtils.java | 48 int uid, int gid, boolean isOtherReadable, boolean isOtherExecutable) { in buildFsPermission() argument 50 fsPermission.uid = uid; in buildFsPermission() 58 public static FsPermission buildFsPermission(int uid, int gid, boolean isOtherReadable) { in buildFsPermission() argument 59 return buildFsPermission(uid, gid, isOtherReadable, false /* isOtherExecutable */); in buildFsPermission() 147 @NonNull WritableProfilePath finalPath, int uid, int gid, boolean isPublic) { in buildOutputProfile() argument 153 outputProfile.fsPermission = buildFsPermission(uid, gid, isPublic); in buildOutputProfile() 159 @NonNull String profileName, int uid, int gid, boolean isPublic) { in buildOutputProfileForPrimary() argument 162 uid, gid, isPublic); in buildOutputProfileForPrimary() 167 @NonNull String dexPath, int uid, int gid, boolean isPublic) { in buildOutputProfileForSecondary() argument 169 WritableProfilePath.forSecondary(buildSecondaryRefProfilePath(dexPath)), uid, gid, in buildOutputProfileForSecondary() [all …]
|
D | SecondaryDexopter.java | 97 int uid = getUid(dexInfo); in getPermissionSettings() local 102 FsPermission dirFsPermission = AidlUtils.buildFsPermission(uid /* uid */, uid /* gid */, in getPermissionSettings() 105 AidlUtils.buildFsPermission(uid /* uid */, uid /* gid */, canBePublic); in getPermissionSettings() 106 SeContext seContext = AidlUtils.buildSeContext(mPkgState.getSeInfo(), uid); in getPermissionSettings() 132 int uid = getUid(dexInfo); in buildOutputProfile() local 133 return AidlUtils.buildOutputProfileForSecondary(dexInfo.dexPath(), uid, uid, isPublic); in buildOutputProfile()
|
D | PrimaryDexUtils.java | 312 @NonNull PrimaryDexInfo dexInfo, int uid, int gid, boolean isPublic) { in buildOutputProfile() argument 315 pkgState.getPackageName(), profileName, uid, gid, isPublic); in buildOutputProfile()
|
D | ArtShellCommand.java | 754 final int uid = Binder.getCallingUid(); in enforceRootOrShell() local 755 if (uid != Process.ROOT_UID && uid != Process.SHELL_UID) { in enforceRootOrShell()
|
/art/libartbase/base/ |
D | socket_peer_is_trusted.cc | 39 if (cr.uid != 0 && cr.uid != shell->pw_uid) { in SocketPeerIsTrusted() 40 LOG(ERROR) << "untrusted uid " << cr.uid << " on other end of socket"; in SocketPeerIsTrusted()
|
/art/libartbase/base/metrics/ |
D | metrics_common.cc | 47 int32_t uid = kInvalidUserId; // Windows does not support getuid(); in CreateDefault() local 49 int32_t uid = static_cast<int32_t>(getuid()); in CreateDefault() 56 .uid = uid, in CreateDefault() 137 os_ << " uid: " << session_data->uid << "\n"; in FormatBeginReport() 195 metadata->InsertNewChildElement("uid")->SetText(session_data->uid); in FormatBeginReport()
|
D | metrics_test.cc | 389 .uid = 50, in TEST() 421 .uid = 15, in TEST() 495 .uid = 456, in TEST() 542 .uid = 345, in TEST()
|
D | metrics.h | 230 int32_t uid; member
|
/art/artd/ |
D | file_utils.cc | 230 if (fs_permission.uid < 0 && fs_permission.gid < 0) { in Chown() 232 } else if (fs_permission.uid < 0 || fs_permission.gid < 0) { in Chown() 234 fs_permission.uid, in Chown() 237 if (chown(path.c_str(), fs_permission.uid, fs_permission.gid) != 0) { in Chown()
|
D | artd_test.cc | 360 .uid = static_cast<int32_t>(st.st_uid), in SetUp() 367 .uid = static_cast<int32_t>(st.st_uid), in SetUp() 1185 output_artifacts_.permissionSettings.fileFsPermission.uid = 12345; in TEST_F() 1206 .uid = 123, .gid = 123, .isOtherReadable = false}; in TEST_F() 1221 .uid = 123, .gid = 456, .isOtherReadable = false}; in TEST_F() 1237 .uid = 12345, .gid = 12345, .isOtherReadable = false}; in TEST_F() 1247 .uid = -1, .gid = -1, .isOtherReadable = false}; in TEST_F() 1317 OutputProfile dst{.profilePath = src, .fsPermission = FsPermission{.uid = -1, .gid = -1}}; in TEST_F() 1352 OutputProfile dst{.profilePath = src, .fsPermission = FsPermission{.uid = -1, .gid = -1}}; in TEST_F() 1372 OutputProfile dst{.profilePath = src, .fsPermission = FsPermission{.uid = -1, .gid = -1}}; in TEST_F() [all …]
|
D | artd.cc | 276 se_context->uid, in Restorecon() 851 if ((fs_permission.uid > 0 && static_cast<uid_t>(fs_permission.uid) != dex_st.st_uid) || in dexopt() 857 fs_permission.uid, in dexopt() 890 NewFile::Create("{}.swap"_format(oat_path), FsPermission{.uid = -1, .gid = -1})); in dexopt()
|
D | file_utils_test.cc | 82 fs_permission_ = FsPermission{.uid = static_cast<int32_t>(st.st_uid), in SetUp()
|
/art/artd/binder/com/android/server/art/ |
D | FsPermission.aidl | 30 int uid;
|
D | OutputArtifacts.aidl | 44 int uid;
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 357 const int uid = getuid(); in isReadOnlyJavaDclChecked() local 364 return uid != 0 && uid != 1000 && uid != 2000; in isReadOnlyJavaDclChecked()
|
/art/compiler/optimizing/ |
D | reference_type_propagation_test.cc | 471 std::uniform_int_distribution<bool> uid(false, true); in TEST_P() local 485 return uid(g); in TEST_P()
|
/art/runtime/metrics/ |
D | statsd.cc | 379 session_data_.uid, in ReportCounter()
|
/art/build/boot/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 111 Landroid/system/StructUcred;->uid:I
|