Home
last modified time | relevance | path

Searched refs:PHONE_NUMBER_LENGTH (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_datashare_helper.cpp57 constexpr const unsigned int PHONE_NUMBER_LENGTH = 7; variable
141 if (phoneNumber.size() >= PHONE_NUMBER_LENGTH) { in QueryContact()
143 phoneNumber.substr(phoneNumber.size() - PHONE_NUMBER_LENGTH, phoneNumber.size())); in QueryContact()
165 …if ((phoneNumber.size() >= PHONE_NUMBER_LENGTH && resultSet->GoToRow(resultId) == DataShare::E_OK)… in QueryContact()
166 … (phoneNumber.size() < PHONE_NUMBER_LENGTH && resultSet->GoToFirstRow() == DataShare::E_OK)) { in QueryContact()