Home
last modified time | relevance | path

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

12

/device/google/cuttlefish_common/common/libs/fs/
Dgce_fs.cpp40 int gce_fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { in gce_fs_prepare_dir() argument
57 if (((sb.st_mode & ALL_PERMS) == mode) && (sb.st_uid == uid) && (sb.st_gid == gid)) { in gce_fs_prepare_dir()
77 if (GCE_TEMP_FAILURE_RETRY(chown(path, uid, gid)) == -1) { in gce_fs_prepare_dir()
78 LOG(ERROR) << "Failed to chown(" << path << ", " << uid << ", " << gid in gce_fs_prepare_dir()
Dgce_fs.h44 extern int gce_fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid);
/device/generic/goldfish/gatekeeper/
DSoftGateKeeper.h111 virtual bool GetFailureRecord(uint32_t uid, secure_id_t user_id, failure_record_t *record, in GetFailureRecord() argument
113 failure_record_t *stored = &failure_map_[uid]; in GetFailureRecord()
123 virtual bool ClearFailureRecord(uint32_t uid, secure_id_t user_id, bool /* secure */) { in ClearFailureRecord() argument
124 failure_record_t *stored = &failure_map_[uid]; in ClearFailureRecord()
131 virtual bool WriteFailureRecord(uint32_t uid, failure_record_t *record, bool /* secure */) { in WriteFailureRecord() argument
132 failure_map_[uid] = *record; in WriteFailureRecord()
DSoftGateKeeperDevice.cpp21 int SoftGateKeeperDevice::enroll(uint32_t uid, in enroll() argument
54 EnrollRequest request(uid, &current_password_handle_buffer, &desired_password_buffer, in enroll()
76 int SoftGateKeeperDevice::verify(uint32_t uid, in verify() argument
93 VerifyRequest request(uid, challenge, &password_handle_buffer, &provided_password_buffer); in verify()
Dmodule.cpp38 static int enroll(const struct gatekeeper_device *dev __unused, uint32_t uid, in enroll() argument
51 return s_gatekeeper->enroll(uid, in enroll()
58 static int verify(const struct gatekeeper_device *dev __unused, uint32_t uid, uint64_t challenge, in verify() argument
65 return s_gatekeeper->verify(uid, challenge, in verify()
DSoftGateKeeperDevice.h47 int enroll(uint32_t uid,
66 int verify(uint32_t uid, uint64_t challenge,
/device/google/cuttlefish_common/guest/hals/gatekeeper/
DSoftGateKeeper.h111 virtual bool GetFailureRecord(uint32_t uid, secure_id_t user_id, failure_record_t *record, in GetFailureRecord() argument
113 failure_record_t *stored = &failure_map_[uid]; in GetFailureRecord()
123 virtual bool ClearFailureRecord(uint32_t uid, secure_id_t user_id, bool /* secure */) { in ClearFailureRecord() argument
124 failure_record_t *stored = &failure_map_[uid]; in ClearFailureRecord()
131 virtual bool WriteFailureRecord(uint32_t uid, failure_record_t *record, bool /* secure */) { in WriteFailureRecord() argument
132 failure_map_[uid] = *record; in WriteFailureRecord()
DSoftGateKeeperDevice.cpp21 int SoftGateKeeperDevice::enroll(uint32_t uid, in enroll() argument
54 EnrollRequest request(uid, &current_password_handle_buffer, &desired_password_buffer, in enroll()
76 int SoftGateKeeperDevice::verify(uint32_t uid, in verify() argument
93 VerifyRequest request(uid, challenge, &password_handle_buffer, &provided_password_buffer); in verify()
Dmodule.cpp38 static int enroll(const struct gatekeeper_device *dev __unused, uint32_t uid, in enroll() argument
51 return s_gatekeeper->enroll(uid, in enroll()
58 static int verify(const struct gatekeeper_device *dev __unused, uint32_t uid, uint64_t challenge, in verify() argument
65 return s_gatekeeper->verify(uid, challenge, in verify()
DSoftGateKeeperDevice.h47 int enroll(uint32_t uid,
66 int verify(uint32_t uid, uint64_t challenge,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
Dcvslock.py176 uid = st[stat.ST_UID]
178 pwent = pwd.getpwuid(uid)
181 user = "uid %d" % uid
210 uid = self.readers_exist()
211 if not uid:
214 self.sleep(uid)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dpwdmodule.c106 unsigned int uid; in pwd_getpwuid() local
108 if (!PyArg_ParseTuple(args, "I:getpwuid", &uid)) in pwd_getpwuid()
110 if ((p = getpwuid(uid)) == NULL) { in pwd_getpwuid()
112 "getpwuid(): uid not found: %d", uid); in pwd_getpwuid()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Darchive_util.py88 uid = _get_uid(owner)
95 if uid is not None:
96 tarinfo.uid = uid
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dmimetools.py144 uid = repr(os.getuid())
146 uid = '1'
151 _prefix = hostid + '.' + uid + '.' + pid
Dshutil.py373 uid = _get_uid(owner)
380 if uid is not None:
381 tarinfo.uid = uid
/device/google/wahoo/
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
/device/google/fuchsia/bioniccompat/include/compat/
Dpwd.h42 int getpwuid_r(uid_t uid __UNUSED, passwd* pwd __UNUSED, char *buf __UNUSED, in getpwuid_r()
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
DStubFunctions.c23 getpwuid (uid_t uid) in getpwuid() argument
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/dp/
Dcdn_dp.h26 uint8_t uid[CDN_DP_HDCP_UID_LEN]; member
/device/linaro/hikey/
Dinit.common.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/bonito/
Dinit.hardware.usb.rc45 mount functionfs adb /dev/usb-ffs/adb rmode=0770,fmode=0660,uid=2000,gid=2000,no_disconnect=1
48 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
49 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dshutil.py378 uid = _get_uid(owner)
385 if uid is not None:
386 tarinfo.uid = uid
/device/google/crosshatch/
Dinit.hardware.usb.rc45 mount functionfs adb /dev/usb-ffs/adb rmode=0770,fmode=0660,uid=2000,gid=2000,no_disconnect=1
48 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
49 mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
/device/ti/beagle_x15/
Dinit.beagle_x15board.usb.rc20 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000
22 mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
/device/google/marlin/
Dinit.common.usb.rc20 mount functionfs adb /dev/usb-ffs/adb noatime uid=2000,gid=2000,no_disconnect=1
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

12