Home
last modified time | relevance | path

Searched refs:typeId (Results 1 - 10 of 10) sorted by relevance

/applications/standard/contacts_data/contacts/include/
H A Dresult_convert.h48 void ConvertEmail(napi_env env, napi_value napiObject, int &typeId,
50 void ConvertName(napi_env env, napi_value napiObject, int &typeId,
52 void ConvertUri(napi_env env, napi_value napiObject, int &typeId,
54 void ConvertEvent(napi_env env, napi_value napiObject, int &typeId,
56 void ConvertGroup(napi_env env, napi_value napiObject, int &typeId,
58 void ConvertImAddress(napi_env env, napi_value napiObject, int &typeId,
60 void ConvertPhoneNumber(napi_env env, napi_value napiObject, int &typeId,
62 void ConvertPostalAddress(napi_env env, napi_value napiObject, int &typeId,
64 void ConvertRelation(napi_env env, napi_value napiObject, int &typeId,
66 void ConvertSipAddress(napi_env env, napi_value napiObject, int &typeId,
[all...]
H A Dcontacts_build.h51 Contacts &contacts, int typeId, std::vector<DataShare::DataShareValuesBucket> &valueContactData);
54 void TypeSwitchSplit(int typeId, Contacts &contacts,
/applications/standard/contacts_data/dataBusiness/contacts/src/
H A Dcontacts_type.cpp33 int64_t ContactsType::Insert(std::shared_ptr<OHOS::NativeRdb::RdbStore> rdbStore, std::string typeValue, int typeId) in Insert() argument
38 if (typeId != RDB_OBJECT_EMPTY) { in Insert()
39 values.PutInt(ContentTypeColumns::ID, typeId); in Insert()
78 int typeId = i + 1; in PrepopulateCommonTypes() local
79 Insert(rdbStore, typeValue, typeId); in PrepopulateCommonTypes()
101 int typeId = RDB_EXECUTE_FAIL; in LookupTypeId() local
102 resultSet->GetInt(columnIndex, typeId); in LookupTypeId()
104 return typeId; in LookupTypeId()
107 std::string ContactsType::GetTypeText(std::shared_ptr<OHOS::NativeRdb::RdbStore> rdbStore, int typeId) in GetTypeText() argument
116 selectionArgs.push_back(std::to_string(typeId)); in GetTypeText()
[all...]
H A Dcontacts_database.cpp244 int typeId = RDB_EXECUTE_FAIL; in InsertContactData() local
246 int retCode = GetTypeText(contactDataValues, typeId, rawContactId, typeText); in InsertContactData()
251 if (typeId <= 0) { in InsertContactData()
252 HILOG_ERROR("InsertContactData typeId is required %{public}d", typeId); in InsertContactData()
257 contactDataValues.PutInt(ContactDataColumns::TYPE_ID, typeId); in InsertContactData()
280 OHOS::NativeRdb::ValuesBucket &contactDataValues, int &typeId, int &rawContactId, std::string &typeText) in GetTypeText()
293 typeId = contactsType.LookupTypeId(store_, typeText); in GetTypeText()
294 if (typeId == RDB_EXECUTE_FAIL) { in GetTypeText()
296 typeId in GetTypeText()
279 GetTypeText( OHOS::NativeRdb::ValuesBucket &contactDataValues, int &typeId, int &rawContactId, std::string &typeText) GetTypeText() argument
965 int typeId = 0; QueryContactDataRawContactId() local
1345 int typeId = contactsType.LookupTypeId(store_, typeText); GetTypeId() local
[all...]
/applications/standard/contacts_data/contacts/src/
H A Dresult_convert.cpp128 std::string typeId = "type_id"; in ConvertContactObject() local
130 resultSet->GetColumnIndex(typeId, columnIndexType); in ConvertContactObject()
351 napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) in ConvertEmail()
353 if (typeId == EMAIL) { in ConvertEmail()
384 napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) in ConvertName()
386 if (typeId == NAME) { in ConvertName()
432 napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) in ConvertUri()
434 if (typeId == PHOTO) { in ConvertUri()
448 napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) in ConvertEvent()
450 if (typeId in ConvertEvent()
350 ConvertEmail( napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) ConvertEmail() argument
383 ConvertName( napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) ConvertName() argument
431 ConvertUri( napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) ConvertUri() argument
447 ConvertEvent( napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) ConvertEvent() argument
476 ConvertGroup( napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) ConvertGroup() argument
500 ConvertImAddress( napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) ConvertImAddress() argument
529 ConvertPhoneNumber( napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) ConvertPhoneNumber() argument
558 ConvertPostalAddress( napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) ConvertPostalAddress() argument
608 ConvertRelation( napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) ConvertRelation() argument
637 ConvertSipAddress( napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) ConvertSipAddress() argument
666 ConvertWebsite( napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) ConvertWebsite() argument
695 ConvertNickName( napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) ConvertNickName() argument
711 ConvertNote( napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) ConvertNote() argument
727 ConvertOrganization( napi_env env, napi_value napiObject, int &typeId, std::shared_ptr<DataShare::DataShareResultSet> &resultSet) ConvertOrganization() argument
[all...]
H A Dcontacts_build.cpp95 Contacts &contact, int typeId, std::vector<DataShare::DataShareValuesBucket> &valueContactData) in BuildValueContactDataByType()
97 switch (typeId) { in BuildValueContactDataByType()
120 TypeSwitchSplit(typeId, contact, valueContactData); in BuildValueContactDataByType()
126 int typeId, Contacts &contact, std::vector<DataShare::DataShareValuesBucket> &valueContactData) in TypeSwitchSplit()
128 switch (typeId) { in TypeSwitchSplit()
94 BuildValueContactDataByType( Contacts &contact, int typeId, std::vector<DataShare::DataShareValuesBucket> &valueContactData) BuildValueContactDataByType() argument
125 TypeSwitchSplit( int typeId, Contacts &contact, std::vector<DataShare::DataShareValuesBucket> &valueContactData) TypeSwitchSplit() argument
/applications/standard/contacts_data/ability/common/utils/include/
H A Dmerge_utils.h34 std::shared_ptr<OHOS::NativeRdb::RdbStore> store, int rawId, int typeId);
36 std::shared_ptr<OHOS::NativeRdb::RdbStore> store, std::set<int> &rawIds, int typeId);
38 std::shared_ptr<OHOS::NativeRdb::RdbStore> store, std::set<int> rawIds, int typeId);
/applications/standard/contacts_data/ability/common/utils/src/
H A Dmerge_utils.cpp32 std::shared_ptr<OHOS::NativeRdb::RdbStore> store, int rawId, int typeId) in QueryRawContactByType()
60 return QueryDataExecute(store, rawIds, typeId); in QueryRawContactByType()
64 std::shared_ptr<OHOS::NativeRdb::RdbStore> store, std::set<int> rawIds, int typeId) in QueryDataExecute()
88 selectionArgs.push_back(std::to_string(typeId)); in QueryDataExecute()
31 QueryRawContactByType( std::shared_ptr<OHOS::NativeRdb::RdbStore> store, int rawId, int typeId) QueryRawContactByType() argument
63 QueryDataExecute( std::shared_ptr<OHOS::NativeRdb::RdbStore> store, std::set<int> rawIds, int typeId) QueryDataExecute() argument
/applications/standard/contacts_data/dataBusiness/contacts/include/
H A Dcontacts_type.h30 int64_t Insert(std::shared_ptr<OHOS::NativeRdb::RdbStore> rdbStore, std::string typeValue, int typeId);
33 std::string GetTypeText(std::shared_ptr<OHOS::NativeRdb::RdbStore> rdbStore, int typeId);
H A Dcontacts_database.h96 OHOS::NativeRdb::ValuesBucket &contactDataValues, int &typeId, int &rawContactId, std::string &typeText);

Completed in 8 milliseconds