Searched refs:constraintSourceType (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/base/account/os_account/interfaces/kits/napi/osaccount/src/ |
H A D | napi_os_account.cpp | 124 napi_value constraintSourceType = nullptr; in OsAccountInit() local 125 napi_create_object(env, &constraintSourceType); in OsAccountInit() 126 SetEnumProperty(env, constraintSourceType, CONSTRAINT_NOT_EXIST, "CONSTRAINT_NOT_EXIST"); in OsAccountInit() 127 SetEnumProperty(env, constraintSourceType, CONSTRAINT_TYPE_BASE, "CONSTRAINT_TYPE_BASE"); in OsAccountInit() 128 …SetEnumProperty(env, constraintSourceType, CONSTRAINT_TYPE_DEVICE_OWNER, "CONSTRAINT_TYPE_DEVICE_O… in OsAccountInit() 129 …SetEnumProperty(env, constraintSourceType, CONSTRAINT_TYPE_PROFILE_OWNER, "CONSTRAINT_TYPE_PROFILE… in OsAccountInit() 139 DECLARE_NAPI_PROPERTY("ConstraintSourceType", constraintSourceType), in OsAccountInit()
|