/external/autotest/client/common_lib/cros/ |
D | enrollment.py | 19 def RemoraEnrollment(browser, user_id, password): argument 27 user_id, password, enterprise_enroll=True, 31 def EnterpriseEnrollment(browser, user_id, password, auto_login=False): argument 39 browser.oobe.NavigateGaiaLogin(user_id, password, 43 browser.oobe.NavigateGaiaLogin(user_id, password) 48 def EnterpriseFakeEnrollment(browser, user_id, password, gaia_id, argument 58 browser.oobe.NavigateFakeLogin(user_id, password, gaia_id, 63 browser.oobe.EnterpriseWebviewVisible(user_id), timeout=30) 66 browser.oobe.NavigateFakeLogin(user_id, password, gaia_id) 80 def KioskEnrollment(browser, user_id, password, gaia_id): argument [all …]
|
/external/ltp/testcases/kernel/syscalls/lchown/ |
D | lchown01.c | 55 uid_t user_id; member 87 uid_t user_id = test_cases[i].user_id; in main() local 96 TEST(LCHOWN(cleanup, SFILE, user_id, group_id)); in main() 111 if ((int)user_id == -1) { in main() 113 user_id = in main() 114 test_cases[i - 1].user_id; in main() 116 user_id = geteuid(); in main() 131 if ((stat_buf.st_uid != user_id) || in main() 136 user_id, group_id); in main()
|
D | lchown02.c | 109 uid_t user_id; in main() local 117 user_id = geteuid(); in main() 118 UID16_CHECK(user_id, lchown, cleanup); in main() 134 TEST(LCHOWN(cleanup, file_name, user_id, group_id)); in main()
|
/external/python/oauth2client/tests/contrib/ |
D | test_xsrfutil.py | 125 key = token = user_id = None 126 self.assertFalse(xsrfutil.validate_token(key, token, user_id)) 129 key = user_id = None 131 self.assertFalse(xsrfutil.validate_token(key, token, user_id)) 134 key = user_id = None 136 self.assertFalse(xsrfutil.validate_token(key, token, user_id)) 142 key = user_id = None 146 self.assertFalse(xsrfutil.validate_token(key, token, user_id)) 153 key = user_id = None 155 self.assertFalse(xsrfutil.validate_token(key, token, user_id, [all …]
|
/external/ltp/testcases/kernel/fs/fs_perms/ |
D | fs_perms.c | 69 int user_id, int group_id) in testsetup() argument 98 if (chown(file_name, user_id, group_id)) in testsetup() 106 static int testfperm(const char *file_name, int flag, int user_id, in testfperm() argument 118 if (setuid(user_id)) in testfperm() 120 "Could not setuid to %d.", user_id); in testfperm() 182 uid_t fuser_id, user_id; in main() local 202 user_id = str_to_l(argv[4], "tester uid", 10); in main() 213 res2 = testfperm(TEST_FILE_NAME2, 1, user_id, group_id, fperm); in main() 221 res1 = testfperm(TEST_FILE_NAME1, 0, user_id, group_id, fperm); in main() 225 fperm[0], fmode, fuser_id, fgroup_id, user_id, group_id); in main()
|
/external/cronet/components/metrics/ |
D | reporting_service_unittest.cc | 30 explicit TestLog(const std::string& log) : log(log), user_id(absl::nullopt) {} in TestLog() 31 TestLog(const std::string& log, uint64_t user_id) in TestLog() 32 : log(log), user_id(user_id) {} in TestLog() 37 const absl::optional<uint64_t> user_id; member 58 return logs_.front().user_id; in staged_log_user_id() 170 uint64_t user_id = 12345; in TEST_F() local 173 service.AddLog(TestLog("log1", user_id)); in TEST_F() 174 service.AddLog(TestLog("log2", user_id)); in TEST_F() 176 client_.AllowMetricUploadForUserId(user_id); in TEST_F()
|
D | unsent_log_store.cc | 77 auto user_id = log->log_metadata.user_id; in WriteLogEntry() local 78 if (user_id.has_value()) { in WriteLogEntry() 80 EncodeToBase64(base::NumberToString(user_id.value()))); in WriteLogEntry() 231 return list_[staged_log_index_]->log_metadata.user_id; in staged_log_user_id() 473 uint64_t user_id; in ReadLogsFromPrefList() local 476 if (base::StringToUint64(DecodeFromBase64(*user_id_str), &user_id)) in ReadLogsFromPrefList() 477 info->log_metadata.user_id = user_id; in ReadLogsFromPrefList()
|
/external/cronet/components/metrics/test/ |
D | test_metrics_service_client.cc | 37 bool TestMetricsServiceClient::ShouldUploadMetricsForUserId(uint64_t user_id) { in ShouldUploadMetricsForUserId() argument 38 return base::Contains(allowed_user_ids_, user_id); in ShouldUploadMetricsForUserId() 113 void TestMetricsServiceClient::AllowMetricUploadForUserId(uint64_t user_id) { in AllowMetricUploadForUserId() argument 114 allowed_user_ids_.insert(user_id); in AllowMetricUploadForUserId() 117 void TestMetricsServiceClient::RemoveMetricUploadForUserId(uint64_t user_id) { in RemoveMetricUploadForUserId() argument 118 allowed_user_ids_.erase(user_id); in RemoveMetricUploadForUserId()
|
D | test_metrics_service_client.h | 40 bool ShouldUploadMetricsForUserId(uint64_t user_id) override; 64 void AllowMetricUploadForUserId(uint64_t user_id); 65 void RemoveMetricUploadForUserId(uint64_t user_id);
|
/external/selinux/secilc/docs/ |
D | cil_user_statements.md | 12 (user user_id) 28 <td align="left"><p><code>user_id</code></p></td> 52 (userrole user_id role_id) 68 <td align="left"><p><code>user_id</code></p></td> 138 (userattributeset userattribute_id (user_id ... | expr ...)) 158 <td align="left"><p><code>user_id</code></p></td> 160 <p>Note that there must be at least one <code>user_id</code> or <code>expr</code> parameter declare… 165 <p><code> (and (user_id ...) (user_id ...))</code></p> 166 <p><code> (or (user_id ...) (user_id ...))</code></p> 167 <p><code> (xor (user_id ...) (user_id ...))</code></p> [all …]
|
D | cil_constraint_statements.md | 37 <p><code> (op u1 user_id | (user_id ...))</code></p> 38 <p><code> (op u2 user_id | (user_id ...))</code></p> 49 <p><code> user_id : A single user or userattribute identifier.</code></p> 128 <p><code> (op u1 user_id)</code></p> 129 <p><code> (op u2 user_id)</code></p> 130 <p><code> (op u3 user_id)</code></p> 144 <p><code> user_id : A single user or userattribute identifier.</code></p> 207 <p><code> (op u1 user_id)</code></p> 208 <p><code> (op u2 user_id)</code></p> 219 <p><code> user_id : A single user or userattribute identifier.</code></p> [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_thread_registry.cc | 20 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0), in ThreadContextBase() 43 user_id = 0; in SetDead() 52 user_id = 0; in SetJoined() 71 user_id = _user_id; in SetCreated() 121 u32 ThreadRegistry::CreateThread(uptr user_id, bool detached, u32 parent_tid, in CreateThread() argument 152 tctx->SetCreated(user_id, total_threads_++, detached, in CreateThread() 209 void ThreadRegistry::SetThreadNameByUserId(uptr user_id, const char *name) { in SetThreadNameByUserId() argument 213 if (tctx != 0 && tctx->user_id == user_id && in SetThreadNameByUserId()
|
D | sanitizer_thread_registry.h | 43 uptr user_id; // Some opaque user thread id (e.g. pthread_t). variable 96 u32 CreateThread(uptr user_id, bool detached, u32 parent_tid, void *arg); 114 void SetThreadNameByUserId(uptr user_id, const char *name);
|
/external/ltp/testcases/kernel/syscalls/getresgid/ |
D | getresgid02.c | 141 struct passwd *user_id; /* passwd struct for test user */ in setup() local 153 if ((user_id = getpwnam(LTPUSER)) == NULL) { in setup() 158 pe_gid = user_id->pw_gid; in setup() 161 ps_gid = user_id->pw_gid; in setup()
|
D | getresgid03.c | 144 struct passwd *user_id; /* passwd struct for test user */ in setup() local 159 if ((user_id = getpwnam("nobody")) == NULL) { in setup() 165 pe_gid = user_id->pw_gid; in setup()
|
/external/ltp/testcases/kernel/syscalls/getresuid/ |
D | getresuid02.c | 138 struct passwd *user_id; /* passwd struct for test user */ in setup() local 150 if ((user_id = getpwnam(LTPUSER)) == NULL) { in setup() 155 pe_uid = user_id->pw_uid; in setup() 158 ps_uid = user_id->pw_uid; in setup()
|
D | getresuid03.c | 139 struct passwd *user_id; /* passwd struct for test user */ in setup() local 154 if ((user_id = getpwnam("nobody")) == NULL) { in setup() 160 pe_uid = user_id->pw_uid; in setup()
|
/external/python/oauth2client/oauth2client/contrib/ |
D | xsrfutil.py | 38 def generate_token(key, user_id, action_id='', when=None): argument 53 digester.update(_helpers._to_bytes(str(user_id), encoding='utf-8')) 66 def validate_token(key, token, user_id, action_id="", current_time=None): argument 97 expected_token = generate_token(key, user_id, action_id=action_id,
|
/external/autotest/utils/frozen_chromite/third_party/oauth2client/ |
D | xsrfutil.py | 39 def generate_token(key, user_id, action_id='', when=None): argument 54 digester.update(_to_bytes(str(user_id), encoding='utf-8')) 67 def validate_token(key, token, user_id, action_id="", current_time=None): argument 98 expected_token = generate_token(key, user_id, action_id=action_id,
|
/external/perfetto/src/trace_processor/metrics/sql/android/ |
D | android_multiuser_populator.sql | 87 process.uid / 100000 AS user_id, 105 user_id, 107 process_name || ":" || (CASE WHEN user_id = 0 THEN "system" ELSE "secondary" END) AS identifier, 127 'user_id', user_id,
|
/external/ltp/testcases/kernel/syscalls/lstat/ |
D | lstat01.c | 26 static uid_t user_id; variable 40 stat_buf.st_uid != user_id || in run() 58 user_id = getuid(); in setup()
|
/external/ltp/testcases/kernel/syscalls/fstat/ |
D | fstat02.c | 24 static uid_t user_id; variable 31 TST_EXP_EQ_LU(stat_buf.st_uid, user_id); in run() 40 user_id = getuid(); in setup()
|
/external/ltp/testcases/kernel/syscalls/stat/ |
D | stat01.c | 26 static uid_t user_id; variable 45 TST_EXP_EQ_LU(stat_buf.st_uid, user_id); in verify_stat() 66 user_id = getuid(); in setup()
|
/external/autotest/database/ |
D | schema_129.sql | 80 `user_id` int(11) DEFAULT NULL, 82 UNIQUE KEY `acl_groups_users_both_ids` (`aclgroup_id`,`user_id`), 83 KEY `acl_groups_users_user_id` (`user_id`), 85 …CONSTRAINT `acl_groups_users_user_id_fk` FOREIGN KEY (`user_id`) REFERENCES `afe_users` (`id`) ON … 903 `user_id` int(11) NOT NULL, 906 UNIQUE KEY `user_id` (`user_id`,`group_id`), 907 KEY `auth_user_groups_6340c63c` (`user_id`), 909 CONSTRAINT `user_id_refs_id_40c41112` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`), 923 `user_id` int(11) NOT NULL, 926 UNIQUE KEY `user_id` (`user_id`,`permission_id`), [all …]
|
/external/ltp/testcases/realtime/func/async_handler/ |
D | async_handler_jk.c | 139 int user_id; // User thread - that fires the event in main() local 150 user_id = in main() 155 join_thread(user_id); in main()
|