Lines Matching refs:tokenid
63 unsigned long long tokenid;
176 GetTokenid(&(tinfo->tokenid));
198 GetTokenid(&(tinfo->tokenid));
201 /* Indicate that the tokenid setting of each child thread does not met requirements. */
202 if (ftokenidGet == 0 && tinfo->tokenid == tokenSet && tinfo->ftokenid == ftokenSet && tinfo->ftokenid != 0) {
224 * @tc.desc: Test init value of tokenid and ftokenid
225 * @tc.desc: tokenid equals to the father(hdcd) and ftokenid equals to 0
244 * @tc.desc: Test setting of tokenid
245 * @tc.desc: tokenid equals to the setting value
278 * @tc.desc: Test each child thread tokenid equals to father process while ftokenid not equals
294 tinfo.tokenid = INVAL_TOKEN;
312 ASSERT_EQ(tinfo.tokenid, tokenSet);
320 * @tc.desc: Test each child thread tokenid and ftokenid is independent
321 * @tc.desc: The tokenid and ftokenid of each child thread not equal to father process
336 tinfo.tokenid = INVAL_TOKEN;
354 ASSERT_NE(tinfo.tokenid, tokenSet);
363 * @tc.desc: using nullptr instead of the address of tokenid to ioctl
383 * @tc.desc: using nullptr instead of the address of tokenid to ioctl
466 * @tc.desc: Test ACCESS_TOKEN_OTHER_UID can not set tokenid
467 * @tc.desc: tokenid can be only set by uid 3020
494 * @tc.desc: Test ACCESS_TOKEN_OTHER_UID can get tokenid
495 * @tc.desc: tokenid can get not only by uid 3020