Lines Matching defs:tokenid
67 unsigned long long tokenid;
180 GetTokenid(&(tinfo->tokenid));
202 GetTokenid(&(tinfo->tokenid));
205 /* Indicate that the tokenid setting of each child thread does not met requirements. */
206 if (ftokenidGet == 0 && tinfo->tokenid == tokenSet && tinfo->ftokenid == ftokenSet && tinfo->ftokenid != 0) {
228 * @tc.desc: Test init value of tokenid and ftokenid
229 * @tc.desc: tokenid equals to the father(hdcd) and ftokenid equals to 0
248 * @tc.desc: Test setting of tokenid
249 * @tc.desc: tokenid equals to the setting value
282 * @tc.desc: Test each child thread tokenid equals to father process while ftokenid not equals
298 tinfo.tokenid = INVAL_TOKEN;
316 ASSERT_EQ(tinfo.tokenid, tokenSet);
324 * @tc.desc: Test each child thread tokenid and ftokenid is indepent
325 * @tc.desc: The tokenid and ftokenid of each child thread not equal to father process
340 tinfo.tokenid = INVAL_TOKEN;
358 ASSERT_NE(tinfo.tokenid, tokenSet);
367 * @tc.desc: using nullptr instead of the address of tokenid to ioctl
387 * @tc.desc: using nullptr instead of the address of tokenid to ioctl
470 * @tc.desc: Test ACCESS_TOKEN_OTHER_UID can not set tokenid
471 * @tc.desc: tokenid can be only set by uid 3020
498 * @tc.desc: Test ACCESS_TOKEN_OTHER_UID can get tokenid
499 * @tc.desc: tokenid can get not only by uid 3020