Home
last modified time | relevance | path

Searched refs:uid (Results 1 – 25 of 121) sorted by relevance

12345

/device/google/cuttlefish/host/commands/secure_env/
Dtpm_gatekeeper.cpp155 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 …]
Dsoft_gatekeeper.h108 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()
Dtpm_gatekeeper.h70 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/
Dproc_file_utils.cpp75 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 …]
Dproc_file_utils.h48 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());
Dunix_sockets_test.cpp137 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()
Dusers.cpp100 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/
Dremote_gatekeeper.cpp69 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()
Dremote_gatekeeper.h53 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/
DSlimMediaProjectionPermissionActivity.java72 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/
Dinit.yukawa.usb.rc22 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
Dinit.recovery.hardware.rc19 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/
Dinit.common.usb.rc24 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/
Dinit.hikey.usb.rc25 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/
Dinit.hikey960.usb.rc25 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/
Dinit.hardware.usb.rc46 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
Dfstab.hardware10 …odem /vendor/firmware_mnt vfat ro,shortname=lower,uid=0,gid=1000,dmask=22…
/device/google/coral/
Dinit.hardware.usb.rc46 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
Dfstab.hardware9 …odem /vendor/firmware_mnt vfat ro,shortname=lower,uid=0,gid=1000,dmask=22…
/device/google/sunfish/
Dinit.hardware.usb.rc47 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
Dfstab.hardware9 …odem /vendor/firmware_mnt vfat ro,shortname=lower,uid=0,gid=1000,dmask=22…
/device/google/coral-sepolicy/vendor/qcom/common/
Drmt_storage.te13 # TODO(b/121989672): remove setting uid, gid, r/w block device permission
/device/google/gs201/usb/usb/
DUsb.cpp1228 uid_t uid = AIBinder_getCallingUid(); in handleShellCommand() local
1229 if (uid != AID_ROOT && uid != AID_SHELL) { in handleShellCommand()
/device/google/gs201-sepolicy/whitechapel_pro/
Dcbd.te10 # Allow cbd to set gid/uid from too to radio
/device/google/zumapro/conf/
Dinit.zumapro.usb.rc21 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

12345