/applications/standard/contacts_data/contacts/include/ |
H A D | result_convert.h | 48 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 D | contacts_build.h | 51 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 D | contacts_type.cpp | 33 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 D | contacts_database.cpp | 244 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 D | result_convert.cpp | 128 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 D | contacts_build.cpp | 95 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 D | merge_utils.h | 34 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 D | merge_utils.cpp | 32 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 D | contacts_type.h | 30 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 D | contacts_database.h | 96 OHOS::NativeRdb::ValuesBucket &contactDataValues, int &typeId, int &rawContactId, std::string &typeText);
|