Home
last modified time | relevance | path

Searched refs:OsAccount_ErrCode (Results 1 - 4 of 4) sorted by relevance

/base/account/os_account/interfaces/kits/capi/osaccount/src/
H A Dos_account.cpp24 OsAccount_ErrCode OH_OsAccount_GetName(char *buffer, size_t buffer_size) in OH_OsAccount_GetName()
28 return OsAccount_ErrCode::OS_ACCOUNT_ERR_INVALID_PARAMETER; in OH_OsAccount_GetName()
34 return OsAccount_ErrCode::OS_ACCOUNT_ERR_INTERNAL_ERROR; in OH_OsAccount_GetName()
40 return OsAccount_ErrCode::OS_ACCOUNT_ERR_INVALID_PARAMETER; in OH_OsAccount_GetName()
45 return OsAccount_ErrCode::OS_ACCOUNT_ERR_INTERNAL_ERROR; in OH_OsAccount_GetName()
48 return OsAccount_ErrCode::OS_ACCOUNT_ERR_OK; in OH_OsAccount_GetName()
/base/account/os_account/interfaces/kits/capi/osaccount/include/
H A Dos_account_common.h44 typedef enum OsAccount_ErrCode { enum
53 } OsAccount_ErrCode; typedef
H A Dos_account.h54 OsAccount_ErrCode OH_OsAccount_GetName(char *buffer, size_t buffer_size);
/base/account/os_account/interfaces/kits/capi/test/unittest/osaccount/
H A Dos_account_ndk_test.cpp68 EXPECT_EQ(OH_OsAccount_GetName(nullptr, MAX_NAME_LENGTH), OsAccount_ErrCode::OS_ACCOUNT_ERR_INVALID_PARAMETER); in HWTEST_F()
69 EXPECT_EQ(OH_OsAccount_GetName(str, 0), OsAccount_ErrCode::OS_ACCOUNT_ERR_INVALID_PARAMETER); in HWTEST_F()
70 EXPECT_EQ(OH_OsAccount_GetName(str, MAX_NAME_LENGTH), OsAccount_ErrCode::OS_ACCOUNT_ERR_OK); in HWTEST_F()

Completed in 3 milliseconds