Lines Matching refs:ftokenid
64 unsigned long long ftokenid;
177 GetfTokenid(&(tinfo->ftokenid));
199 GetfTokenid(&(tinfo->ftokenid));
202 if (ftokenidGet == 0 && tinfo->tokenid == tokenSet && tinfo->ftokenid == ftokenSet && tinfo->ftokenid != 0) {
203 tinfo->ftokenid = INVAL_TOKEN;
224 * @tc.desc: Test init value of tokenid and ftokenid
225 * @tc.desc: tokenid equals to the father(hdcd) and ftokenid equals to 0
261 * @tc.desc: Test setting of ftokenid
262 * @tc.desc: ftokenid equals to the setting value
278 * @tc.desc: Test each child thread tokenid equals to father process while ftokenid not equals
279 * @tc.desc: The ftokenid of each child thread equals to 0
295 tinfo.ftokenid = INVAL_TOKEN;
313 ASSERT_NE(tinfo.ftokenid, ftokenSet);
314 ASSERT_EQ(0, tinfo.ftokenid);
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
337 tinfo.ftokenid = INVAL_TOKEN;
355 ASSERT_NE(tinfo.ftokenid, ftokenSet);
356 ASSERT_NE(0, tinfo.ftokenid);
403 * @tc.desc: using nullptr instead of the address of ftokenid to ioctl
423 * @tc.desc: using nullptr instead of the address of ftokenid to ioctl
522 * @tc.desc: Test ACCESS_TOKEN_OTHER_GRPID can not set ftokenid
523 * @tc.desc: ftokenid can not set by groups without grpid 3020
552 * @tc.desc: Test ACCESS_TOKEN_OTHER_GRPID can not get ftokenid
553 * @tc.desc: ftokenid can not get by groups without grpid 3020
582 * @tc.desc: Test ACCESS_TOKEN_OTHER_GRPID and ACCESS_TOKEN_GRPID can set ftokenid
583 * @tc.desc: ftokenid can set by groups with grpid 3020
612 * @tc.desc: Test ACCESS_TOKEN_OTHER_GRPID and ACCESS_TOKEN_GRPID can set ftokenid
613 * @tc.desc: ftokenid can set by groups with grpid 3020