/device/google/cuttlefish/host/commands/secure_env/ |
D | tpm_gatekeeper.cpp | 155 uint32_t uid, in GetFailureRecordImpl() argument 158 std::string key = std::to_string(uid); in GetFailureRecordImpl() 169 LOG(DEBUG) << "User id mismatch for " << uid; in GetFailureRecordImpl() 178 uint32_t uid, in GetFailureRecord() argument 183 auto result = GetFailureRecordImpl(storage, uid, secure_user_id, record); in GetFailureRecord() 193 uint32_t uid, in WriteFailureRecordImpl() argument 195 std::string key = std::to_string(uid); in WriteFailureRecordImpl() 202 uint32_t uid, gatekeeper::secure_id_t secure_user_id, bool secure) { in ClearFailureRecord() argument 205 auto result = WriteFailureRecordImpl(storage, uid, &record); in ClearFailureRecord() 214 uint32_t uid, gatekeeper::failure_record_t *record, bool secure) { in WriteFailureRecord() argument [all …]
|
D | soft_gatekeeper.h | 108 virtual bool GetFailureRecord(uint32_t uid, secure_id_t user_id, failure_record_t* record, in GetFailureRecord() argument 110 failure_record_t* stored = &failure_map_[uid]; in GetFailureRecord() 120 virtual bool ClearFailureRecord(uint32_t uid, secure_id_t user_id, bool /* secure */) { in ClearFailureRecord() argument 121 failure_record_t* stored = &failure_map_[uid]; in ClearFailureRecord() 128 virtual bool WriteFailureRecord(uint32_t uid, failure_record_t* record, bool /* secure */) { in WriteFailureRecord() argument 129 failure_map_[uid] = *record; in WriteFailureRecord()
|
D | tpm_gatekeeper.h | 70 uint32_t uid, 76 uint32_t uid, gatekeeper::secure_id_t user_id, bool secure) override; 79 uint32_t uid, gatekeeper::failure_record_t *record, bool secure) override;
|
/device/google/cuttlefish/common/libs/utils/ |
D | proc_file_utils.cpp | 75 unsigned uid = 0; in OwnerUids() local 76 CF_EXPECT(android::base::ParseUint(matches[i], &uid)); in OwnerUids() 77 uids.push_back(uid); in OwnerUids() 146 Result<std::vector<pid_t>> CollectPids(const uid_t uid) { in CollectPids() argument 160 if (owner_uid_result.ok() && owner_uid_result->real_ == uid) { in CollectPids() 213 const uid_t uid) { in CollectPidsByExecName() argument 215 auto input_pids = CF_EXPECT(CollectPids(uid)); in CollectPidsByExecName() 219 if (!owner_uids_result.ok() || owner_uids_result->real_ != uid) { in CollectPidsByExecName() 220 LOG(VERBOSE) << "Process #" << pid << " does not belong to " << uid; in CollectPidsByExecName() 231 const uid_t uid) { in CollectPidsByExecPath() argument [all …]
|
D | proc_file_utils.h | 48 Result<std::vector<pid_t>> CollectPids(const uid_t uid = getuid()); 57 const uid_t uid = getuid()); 66 const uid_t uid = getuid()); 73 const uid_t uid = getuid());
|
D | unix_sockets_test.cpp | 137 credentials_in.uid = getuid(); in TEST() 153 ASSERT_EQ(credentials_in.uid, credentials_out->uid); in TEST() 167 credentials_in.uid = getuid() + 1; in TEST() 196 ASSERT_EQ(getuid(), credentials_out->uid); in TEST()
|
D | users.cpp | 100 auto uid = getuid(); in SystemWideUserHome() local 106 const auto entry = getpwuid(uid); in SystemWideUserHome() 112 return CF_ERRNO("Failed to find the home directory using " << uid); in SystemWideUserHome()
|
/device/google/cuttlefish/guest/hals/gatekeeper/remote/ |
D | remote_gatekeeper.cpp | 69 RemoteGateKeeperDevice::enroll(int32_t uid, const std::vector<uint8_t>& currentPasswordHandle, in enroll() argument 90 EnrollRequest request(uid, vec2sized_buffer(currentPasswordHandle), in enroll() 118 int32_t uid, int64_t challenge, const std::vector<uint8_t>& enrolledPasswordHandle, in verify() argument 137 VerifyRequest request(uid, challenge, vec2sized_buffer(enrolledPasswordHandle), in verify()
|
D | remote_gatekeeper.h | 53 int32_t uid, const std::vector<uint8_t>& currentPasswordHandle, 71 int32_t uid, int64_t challenge, 78 ::ndk::ScopedAStatus deleteUser(int32_t uid) override;
|
/device/generic/goldfish/slim/FakeSystemApp/src/com/android/fakesystemapp/systemui/ |
D | SlimMediaProjectionPermissionActivity.java | 72 mUid = aInfo.uid; in onCreate() 146 private Intent getMediaProjectionIntent(int uid, String packageName) in getMediaProjectionIntent() argument 148 IMediaProjection projection = mService.createProjection(uid, packageName, in getMediaProjectionIntent()
|
/device/amlogic/yukawa/ |
D | init.yukawa.usb.rc | 22 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 23 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 24 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
|
D | init.recovery.hardware.rc | 19 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 20 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
|
/device/linaro/dragonboard/ |
D | init.common.usb.rc | 24 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 27 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 28 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
|
/device/linaro/hikey/hikey/ |
D | init.hikey.usb.rc | 25 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 28 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 29 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
|
/device/linaro/hikey/hikey960/ |
D | init.hikey960.usb.rc | 25 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 28 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 29 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
|
/device/google/redbull/ |
D | init.hardware.usb.rc | 46 mount functionfs adb /dev/usb-ffs/adb rmode=0770,fmode=0660,uid=2000,gid=2000,no_disconnect=1 49 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 50 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
|
D | fstab.hardware | 10 …odem /vendor/firmware_mnt vfat ro,shortname=lower,uid=0,gid=1000,dmask=22…
|
/device/google/coral/ |
D | init.hardware.usb.rc | 46 mount functionfs adb /dev/usb-ffs/adb rmode=0770,fmode=0660,uid=2000,gid=2000,no_disconnect=1 49 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 50 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
|
D | fstab.hardware | 9 …odem /vendor/firmware_mnt vfat ro,shortname=lower,uid=0,gid=1000,dmask=22…
|
/device/google/sunfish/ |
D | init.hardware.usb.rc | 47 mount functionfs adb /dev/usb-ffs/adb rmode=0770,fmode=0660,uid=2000,gid=2000,no_disconnect=1 50 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 51 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
|
D | fstab.hardware | 9 …odem /vendor/firmware_mnt vfat ro,shortname=lower,uid=0,gid=1000,dmask=22…
|
/device/google/coral-sepolicy/vendor/qcom/common/ |
D | rmt_storage.te | 13 # TODO(b/121989672): remove setting uid, gid, r/w block device permission
|
/device/google/gs201/usb/usb/ |
D | Usb.cpp | 1228 uid_t uid = AIBinder_getCallingUid(); in handleShellCommand() local 1229 if (uid != AID_ROOT && uid != AID_SHELL) { in handleShellCommand()
|
/device/google/gs201-sepolicy/whitechapel_pro/ |
D | cbd.te | 10 # Allow cbd to set gid/uid from too to radio
|
/device/google/zumapro/conf/ |
D | init.zumapro.usb.rc | 21 mount functionfs adb /dev/usb-ffs/adb rmode=0770,fmode=0660,uid=2000,gid=2000,no_disconnect=1 22 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1 23 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
|