Home
last modified time | relevance | path

Searched refs:TOKEN_INVALID (Results 1 – 24 of 24) sorted by relevance

/base/powermgr/power_manager/utils/permission/src/
Dpermission.cpp42 case ATokenTypeEnum::TOKEN_INVALID: in IsHap()
68 case ATokenTypeEnum::TOKEN_INVALID: in IsSystem()
99 case ATokenTypeEnum::TOKEN_INVALID: in IsPermissionGranted()
/base/notification/common_event_service/test/mock/
Dmock_accesstoken_kit.cpp27 return ATokenTypeEnum::TOKEN_INVALID; in GetTokenTypeFlag()
/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/
Daccess_token.h30 TOKEN_INVALID = -1, enumerator
/base/request/request/services/service/rust/src/c_wrapper/source/
Dc_check_permission.cpp27 if (tokenType == TOKEN_INVALID) { in RequestCheckPermission()
/base/powermgr/power_manager/test/unittest/src/mock/
Dmock_accesstoken_kit.cpp22 ATokenTypeEnum g_mockGetTokenTypeFlagRet = ATokenTypeEnum::TOKEN_INVALID;
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
Dmock_accesstoken_kit.cpp25 ATokenTypeEnum g_mockGetTokenTypeFlagRet = ATokenTypeEnum::TOKEN_INVALID;
/base/msdp/device_status/utils/common/include/
Dproto.h53 TOKEN_INVALID = -1, enumerator
/base/msdp/device_status/utils/ipc/include/
Dstream_session.h75 int32_t tokenType_ { TokenType::TOKEN_INVALID };
/base/security/access_token/interfaces/innerkits/accesstoken/include/
Daccess_token.h85 TOKEN_INVALID = -1, enumerator
/base/sensors/sensor/utils/ipc/include/
Dstream_session.h70 int32_t tokenType_ { ATokenTypeEnum::TOKEN_INVALID };
/base/powermgr/power_manager/test/unittest/src/
Dpower_mgr_util_test.cpp81 MockAccesstokenKit::MockSetTokenTypeFlag(ATokenTypeEnum::TOKEN_INVALID);
126 MockAccesstokenKit::MockSetTokenTypeFlag(ATokenTypeEnum::TOKEN_INVALID);
/base/security/access_token/interfaces/innerkits/accesstoken/src/
Daccesstoken_kit.cpp98 return TOKEN_INVALID; in GetTokenType()
108 return TOKEN_INVALID; in GetTokenTypeFlag()
120 return TOKEN_INVALID; in GetTokenType()
131 return TOKEN_INVALID; in GetTokenTypeFlag()
Daccesstoken_manager_client.cpp289 return TOKEN_INVALID; in GetTokenType()
/base/account/os_account/interfaces/innerkits/domain_account/native/include/
Ddomain_account_common.h44 TOKEN_INVALID, enumerator
/base/print/print_fwk/services/src/
Dprint_service_helper.cpp39 if (tokenType == TOKEN_INVALID) { in CheckPermission()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
Daccesstoken_id_manager.cpp45 return TOKEN_INVALID; in GetTokenIdType()
Daccesstoken_remote_token_manager.cpp52 if ((tokeType <= TOKEN_INVALID) || (tokeType >= TOKEN_TYPE_BUTT)) { in MapRemoteDeviceTokenToLocal()
/base/startup/init/device_info/
Ddevice_info_stub.cpp116 if (tokenType == TOKEN_INVALID) { in CheckPermission()
/base/location/frameworks/location_common/common/source/
Dcommon_utils.cpp46 if (tokenType == Security::AccessToken::ATokenTypeEnum::TOKEN_INVALID) { in CheckPermission()
305 tokenType == Security::AccessToken::ATokenTypeEnum::TOKEN_INVALID) { in CheckSystemPermission()
/base/startup/init/test/unittest/deviceinfo/
DDeviceInfoUnittest.cpp127 g_tokenType = OHOS::Security::AccessToken::TOKEN_INVALID;
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/accesstoken_mock_test/
Daccesstoken_kit_test.cpp119 ASSERT_EQ(TOKEN_INVALID, AccessTokenKit::GetTokenType(tokenId));
/base/account/os_account/services/accountmgr/src/domain_account/
Dinner_domain_account_manager.cpp301 …NotifyDomainAccountEvent(userId, DomainAccountEvent::TOKEN_INVALID, DomainAccountStatus::LOGOUT, i… in UpdateAccountToken()
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Daccesstoken_kit_test.cpp1290 ASSERT_EQ(TOKEN_INVALID, ret);
2784 ASSERT_EQ(ret, TOKEN_INVALID);
/base/account/os_account/frameworks/domain_account/test/moduletest/src/
Ddomain_account_client_module_test.cpp1334 EXPECT_EQ(data.event, DomainAccountEvent::TOKEN_INVALID); in OnStatusChanged()