Searched refs:constraintSourceType (Results 1 – 1 of 1) sorted by relevance
/base/account/os_account/interfaces/kits/napi/osaccount/src/ |
D | napi_os_account.cpp | 110 napi_value constraintSourceType = nullptr; in OsAccountInit() local 111 napi_create_object(env, &constraintSourceType); in OsAccountInit() 112 SetEnumProperty(env, constraintSourceType, CONSTRAINT_NOT_EXIST, "CONSTRAINT_NOT_EXIST"); in OsAccountInit() 113 SetEnumProperty(env, constraintSourceType, CONSTRAINT_TYPE_BASE, "CONSTRAINT_TYPE_BASE"); in OsAccountInit() 114 …SetEnumProperty(env, constraintSourceType, CONSTRAINT_TYPE_DEVICE_OWNER, "CONSTRAINT_TYPE_DEVICE_O… in OsAccountInit() 115 …SetEnumProperty(env, constraintSourceType, CONSTRAINT_TYPE_PROFILE_OWNER, "CONSTRAINT_TYPE_PROFILE… in OsAccountInit() 119 DECLARE_NAPI_PROPERTY("ConstraintSourceType", constraintSourceType), in OsAccountInit()
|