/aosp_15_r20/packages/services/Telephony/ecc/input/ |
D | eccdata.txt | 5 phone_number: "110" 9 phone_number: "116" 13 phone_number: "118" 21 phone_number: "999" 25 phone_number: "998" 29 phone_number: "997" 37 phone_number: "119" 42 phone_number: "020112" 50 phone_number: "911" 60 phone_number: "911" [all …]
|
/aosp_15_r20/cts/tests/tests/simphonebookprovider/src/android/provider/cts/simphonebook/ |
H A D | SimPhonebookContract_SimRecordsTest.java | 70 public static final String PHONE_REQUIRED_MESSAGE = SimRecords.PHONE_NUMBER + " is required."; 89 SimRecords.PHONE_NUMBER in queryAdn_nullProjection_returnsCursorWithAllSupportedColumns() 104 SimRecords.NAME, SimRecords.PHONE_NUMBER in queryAdn_nonNullProjection_returnsCursorWithProvidedProjection() 136 SimRecords.PHONE_NUMBER in queryAdn_nonEmpty_returnsAdnRecordsFromSim() 173 projection = new String[]{SimRecords.NAME, SimRecords.PHONE_NUMBER}; in query_itemUri_returnsCursorWithCorrectItem() 211 values.put(SimRecords.PHONE_NUMBER, "8005550101"); in insertAdn_addsRecordAndReturnsValidUri() 221 SimRecords.PHONE_NUMBER in insertAdn_addsRecordAndReturnsValidUri() argument 236 values.put(SimRecords.PHONE_NUMBER, "8005550102"); in updateAdn_existingRecord_updatesRecordAndReturns1() 243 SimRecords.PHONE_NUMBER in updateAdn_existingRecord_updatesRecordAndReturns1() argument 259 values.put(SimRecords.PHONE_NUMBER, "8005550102"); in updateAdn_unusedIndex_updatesRecordAndReturns1() [all …]
|
H A D | SimPhonebookContract_SimRecordsMultiSimTest.java | 84 SimRecords.PHONE_NUMBER in queryAdn_returnsCursorWithRecordsFromCorrectSim() 110 values.put(SimRecords.PHONE_NUMBER, "5550101"); in insertAdn_returnsUriForCorrectSim() 113 values.put(SimRecords.PHONE_NUMBER, "5550102"); in insertAdn_returnsUriForCorrectSim() 118 SimRecords.PHONE_NUMBER in insertAdn_returnsUriForCorrectSim() 134 values.put(SimRecords.PHONE_NUMBER, "5550102"); in updateAdn_updatesCorrectRecord() 140 values.put(SimRecords.PHONE_NUMBER, "5550103"); in updateAdn_updatesCorrectRecord() 146 {SimRecords.SUBSCRIPTION_ID, SimRecords.NAME, SimRecords.PHONE_NUMBER}; in updateAdn_updatesCorrectRecord() 190 values.put(SimRecords.PHONE_NUMBER, phoneNumber); in insertAdn()
|
/aosp_15_r20/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/ |
D | bt_contacts_utils.py | 84 for phone_number in tel_regex.findall(current_vcard[0]): 86 PhoneNumber(phone_number[0], phone_number[1])) 138 def __init__(self, phone_type, phone_number): argument 140 # remove non digits from phone_number 141 self.phone_number = re.sub(r"\D", "", str(phone_number)) 145 self.phone_number == other.phone_number) 148 return hash(self.phone_type) ^ hash(self.phone_number) 191 str(phone.phone_type), phone.phone_number)) 199 def add_phone_number(self, phone_number): argument 200 if phone_number not in self.phone_numbers: [all …]
|
/aosp_15_r20/packages/services/Telephony/tests/src/com/android/phone/ |
D | SimPhonebookProviderTest.java | 299 SimRecords.PHONE_NUMBER in query_adnRecords_returnsCursorWithMatchingProjection() argument 301 assertThat(cursor).hasColumnNames(SimRecords.PHONE_NUMBER); in query_adnRecords_returnsCursorWithMatchingProjection() 306 SimRecords.PHONE_NUMBER, SimRecords.PHONE_NUMBER in query_adnRecords_returnsCursorWithMatchingProjection() argument 308 assertThat(cursor).hasColumnNames(SimRecords.PHONE_NUMBER, SimRecords.PHONE_NUMBER); in query_adnRecords_returnsCursorWithMatchingProjection() 396 SimRecords.PHONE_NUMBER in query_simRecords_singleSim_returnsDataForCorrectEf() 437 SimRecords.PHONE_NUMBER in query_adnRecords_returnsAdnData() 477 SimRecords.PHONE_NUMBER in query_fdnRecords_returnsFdnData() 514 SimRecords.PHONE_NUMBER in query_sdnRecords_returnsSdnData() 550 values.put(SimRecords.PHONE_NUMBER, "123"); in insert_nonExistentSim_throwsCorrectException() 562 values.put(SimRecords.PHONE_NUMBER, "123"); in update_nonExistentSim_throwsCorrectException() [all …]
|
/aosp_15_r20/packages/providers/ContactsKeysProvider/tests/src/com/android/providers/contactkeys/ |
D | E2eeContactKeysDatabaseHelperTest.java | 44 private static final String PHONE_NUMBER = "(555) 555-1234"; field in E2eeContactKeysDatabaseHelperTest 78 OWNER_PACKAGE_NAME, TIME_UPDATED, DISPLAY_NAME, PHONE_NUMBER, EMAIL_ADDRESS); in testInsertAndGetContactKey() 86 PHONE_NUMBER, EMAIL_ADDRESS); in testInsertAndGetContactKey() 107 OWNER_PACKAGE_NAME, TIME_UPDATED, DISPLAY_NAME, PHONE_NUMBER, EMAIL_ADDRESS); in testUpdateContactKey() 117 OWNER_PACKAGE_NAME, timeUpdated, DISPLAY_NAME, PHONE_NUMBER, EMAIL_ADDRESS); in testUpdateContactKey() 124 DISPLAY_NAME, PHONE_NUMBER, EMAIL_ADDRESS); in testUpdateContactKey() 131 OWNER_PACKAGE_NAME, TIME_UPDATED, DISPLAY_NAME, PHONE_NUMBER, EMAIL_ADDRESS); in testRemoveContactKey() 146 OWNER_PACKAGE_NAME, TIME_UPDATED, DISPLAY_NAME, PHONE_NUMBER, EMAIL_ADDRESS); in testUpdateLocalVerificationStateContactKey() 158 PHONE_NUMBER, EMAIL_ADDRESS); in testUpdateLocalVerificationStateContactKey() 165 OWNER_PACKAGE_NAME, TIME_UPDATED, DISPLAY_NAME, PHONE_NUMBER, EMAIL_ADDRESS); in testUpdateRemoteVerificationStateContactKey() [all …]
|
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
H A D | ConversationStoreTest.java | 50 private static final String PHONE_NUMBER = "+1234567890"; field in ConversationStoreTest 92 PHONE_NUMBER, null); in testUpdateConversation() 99 SHORTCUT_ID, newLocusId, CONTACT_URI, PHONE_NUMBER, NOTIFICATION_CHANNEL_ID); in testUpdateConversation() 133 PHONE_NUMBER, NOTIFICATION_CHANNEL_ID); in testGetConversationByLocusId() 146 PHONE_NUMBER, NOTIFICATION_CHANNEL_ID); in testGetConversationByContactUri() 159 PHONE_NUMBER, NOTIFICATION_CHANNEL_ID); in testGetConversationByPhoneNumber() 161 ConversationInfo out = mConversationStore.getConversationByPhoneNumber(PHONE_NUMBER); in testGetConversationByPhoneNumber() 166 assertNull(mConversationStore.getConversationByPhoneNumber(PHONE_NUMBER)); in testGetConversationByPhoneNumber() 172 PHONE_NUMBER, NOTIFICATION_CHANNEL_ID); in testGetConversationByNotificationChannelId() 188 PHONE_NUMBER, NOTIFICATION_CHANNEL_ID); in testDataPersistenceAndRestoration() [all …]
|
H A D | PackageDataTest.java | 46 private static final String PHONE_NUMBER = "+1234567890"; field in PackageDataTest 69 .setContactPhoneNumber(PHONE_NUMBER) in setUp() 103 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_CALL, PHONE_NUMBER).addEvent(mE3); in testGetEventHistoryDefaultDialerAndSmsApp() 104 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_SMS, PHONE_NUMBER).addEvent(mE4); in testGetEventHistoryDefaultDialerAndSmsApp() 121 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_CALL, PHONE_NUMBER).addEvent(mE3); in testGetEventHistoryNotDefaultDialerOrSmsApp() 122 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_SMS, PHONE_NUMBER).addEvent(mE4); in testGetEventHistoryNotDefaultDialerOrSmsApp() 141 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_CALL, PHONE_NUMBER).addEvent(mE3); in testDeleteConversationData() 142 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_SMS, PHONE_NUMBER).addEvent(mE4); in testDeleteConversationData() 164 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_CALL, PHONE_NUMBER).addEvent(mE3); in testPruneOrphanEvents() 165 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_SMS, PHONE_NUMBER).addEvent(mE4); in testPruneOrphanEvents()
|
H A D | ConversationInfoTest.java | 46 private static final String PHONE_NUMBER = "+1234567890"; field in ConversationInfoTest 59 .setContactPhoneNumber(PHONE_NUMBER) in testBuild() 80 assertEquals(PHONE_NUMBER, conversationInfo.getContactPhoneNumber()); in testBuild() 135 .setContactPhoneNumber(PHONE_NUMBER) in testBuildFromAnotherConversationInfo() 159 assertEquals(PHONE_NUMBER, destination.getContactPhoneNumber()); in testBuildFromAnotherConversationInfo() 184 .setContactPhoneNumber(PHONE_NUMBER) in testBuildFromAnotherConversation_identicalConversation() 205 assertEquals(PHONE_NUMBER, destination.getContactPhoneNumber()); in testBuildFromAnotherConversation_identicalConversation() 233 .setContactPhoneNumber(PHONE_NUMBER) in testBuildFromBackupPayload() 257 assertEquals(PHONE_NUMBER, conversationInfoFromBackup.getContactPhoneNumber()); in testBuildFromBackupPayload() 285 .setContactPhoneNumber(PHONE_NUMBER) in testBuildFromProtoPayload() [all …]
|
H A D | ContactsQueryHelperTest.java | 50 private static final String PHONE_NUMBER = "+1234567890"; field in ContactsQueryHelperTest 122 mPhoneCursor.addRow(new String[] { PHONE_NUMBER }); in testQueryWithUri() 126 assertEquals(PHONE_NUMBER, mHelper.getPhoneNumber()); in testQueryWithUri() 154 mPhoneCursor.addRow(new String[] { PHONE_NUMBER }); in testQueryWithPhoneNumber() 155 String contactUri = "tel:" + PHONE_NUMBER; in testQueryWithPhoneNumber() 158 assertEquals(PHONE_NUMBER, mHelper.getPhoneNumber()); in testQueryWithPhoneNumber() 165 String contactUri = "tel:" + PHONE_NUMBER; in testQueryWithPhoneNumber_otherExceptionReturnsFalse() 196 mPhoneCursor.addRow(new String[] { PHONE_NUMBER }); in testQueryWithUnsupportedScheme()
|
/aosp_15_r20/external/google-cloud-java/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ |
H A D | ExcludeInfoTypes.java | 80 * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and 100 * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and 121 * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and 141 * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and 161 * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and 586 * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and 609 * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and 632 * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and 655 * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and 684 * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/ |
D | _modem.py | 28 for phone_number in self.active_calls: 29 …self.socket.sendall(b'REM0\r\nAT+REMOTECALL=6,0,0,"' + str(phone_number).encode("utf-8") + b'",0\r… 32 def call(self, phone_number): argument 33 self.active_calls.append(phone_number) 34 …self.socket.sendall(b'REM0\r\nAT+REMOTECALL=4,0,0,"' + str(phone_number).encode("utf-8") + b'",129… 36 def answer_outgoing_call(self, phone_number): argument 37 self.active_calls.append(phone_number) 38 …self.socket.sendall(b'REM0\r\nAT+REMOTECALL=0,0,0,"' + str(phone_number).encode("utf-8") + b'",129…
|
/aosp_15_r20/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/ |
D | EabUtil.java | 45 * [PHONE_NUMBER], [RAW_CONTACT_ID], [CONTACT_ID], [DATA_ID] 51 new String[]{ContactColumns.PHONE_NUMBER, in getContactFromEab() argument 55 ContactColumns.PHONE_NUMBER + "=?", in getContactFromEab() argument 59 ContactColumns.PHONE_NUMBER))); in getContactFromEab() 81 * [PHONE_NUMBER], [RAW_PRESENCE_ID], [PRESENCE_TIMESTAMP], [RAW_OPTION_ID], [OPTION_TIMESTAMP] 87 new String[]{ContactColumns.PHONE_NUMBER, in getCapabilityFromEab() argument 92 ContactColumns.PHONE_NUMBER + "=?", in getCapabilityFromEab() argument 96 ContactColumns.PHONE_NUMBER))); in getCapabilityFromEab() 148 EabProvider.ContactColumns.PHONE_NUMBER + "=?", in getEabContactId()
|
/aosp_15_r20/packages/modules/Bluetooth/system/blueberry/tests/pbap/ |
D | bluetooth_pbap_test.py | 128 phone_number=None): argument 135 phone_number=phone_number) 336 # Checks if phone_number is provided in the support dimensions. 337 phone.phone_number = phone.dimensions.get('phone_number') 338 if not phone.phone_number: 339 raise signals.TestError(f'Please add "phone_number" to support ' 353 phone_number=secondary_phone.phone_number) 367 secondary_phone.sl4a.telecomCallNumber(primary_phone.phone_number)
|
/aosp_15_r20/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/homescreen/audio/ |
D | InCallModelTest.java | 55 private static final String PHONE_NUMBER = "01234567"; field in InCallModelTest 103 mInCallModel.updateModelWithPhoneNumber(PHONE_NUMBER, Call.STATE_ACTIVE); in updateModelWithPhoneNumber_active_setsPhoneNumberAndSubtitle() 109 ApplicationProvider.getApplicationContext(), PHONE_NUMBER); in updateModelWithPhoneNumber_active_setsPhoneNumberAndSubtitle() 116 mInCallModel.updateModelWithPhoneNumber(PHONE_NUMBER, Call.STATE_DIALING); in updateModelWithPhoneNumber_dialing_setsPhoneNumberAndSubtitle() 122 ApplicationProvider.getApplicationContext(), PHONE_NUMBER); in updateModelWithPhoneNumber_dialing_setsPhoneNumberAndSubtitle() 129 TelecomUtils.PhoneNumberInfo phoneInfo = new TelecomUtils.PhoneNumberInfo(PHONE_NUMBER, in updateModelWithContact_active_noAvatarUri_setsContactNameAndInitialsIcon() 145 TelecomUtils.PhoneNumberInfo phoneInfo = new TelecomUtils.PhoneNumberInfo(PHONE_NUMBER, in updateModelWithContact_active_invalidAvatarUri_setsContactNameAndInitialsIcon() 160 TelecomUtils.PhoneNumberInfo phoneInfo = new TelecomUtils.PhoneNumberInfo(PHONE_NUMBER, in updateModelWithContact_dialing_setsCardContent()
|
/aosp_15_r20/external/grpc-grpc/tools/distrib/python/xds_protos/google/type/ |
H A D | phone_number_pb2.py | 3 # source: google/type/phone_number.proto 16 …phone_number.proto\x12\x0bgoogle.type\"\xab\x01\n\x0bPhoneNumber\x12\x15\n\x0b\x65\x31\x36\x34_num… 23 …oneNumberProtoP\001ZDgoogle.golang.org/genproto/googleapis/type/phone_number;phone_number\370\001\…
|
/aosp_15_r20/external/google-cloud-java/java-document-ai/proto-google-cloud-document-ai-v1beta2/src/main/java/com/google/cloud/documentai/v1beta2/ |
H A D | KeyValuePairHint.java | 131 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 148 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 165 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 183 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 704 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 721 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 738 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 756 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 774 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 799 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, [all …]
|
/aosp_15_r20/external/google-cloud-java/java-document-ai/proto-google-cloud-document-ai-v1beta1/src/main/java/com/google/cloud/documentai/v1beta1/ |
H A D | KeyValuePairHint.java | 131 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 148 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 165 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 183 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 704 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 721 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 738 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 756 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 774 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, 799 * ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, [all …]
|
/aosp_15_r20/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/ |
D | EabProviderTest.java | 67 data.put(EabProvider.ContactColumns.PHONE_NUMBER, "123456"); in testQueryContactInfo() 84 data.put(EabProvider.ContactColumns.PHONE_NUMBER, "123456"); in testContactIsUnique() 88 data.put(EabProvider.ContactColumns.PHONE_NUMBER, "123456"); in testContactIsUnique() 232 data.put(EabProvider.ContactColumns.PHONE_NUMBER, "123456"); in testQueryByAllDataURI() 266 data.put(EabProvider.ContactColumns.PHONE_NUMBER, "123456"); in testQueryBySubIdAndPhoneNumber() 287 data.put(EabProvider.ContactColumns.PHONE_NUMBER, "654321"); in testQueryBySubIdAndPhoneNumber() 325 insertData.put(EabProvider.ContactColumns.PHONE_NUMBER, "123456"); in testBulkInsert() 330 insertData.put(EabProvider.ContactColumns.PHONE_NUMBER, "1234567"); in testBulkInsert()
|
/aosp_15_r20/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
H A D | IntentForwarderActivityTest.java | 133 public static final String PHONE_NUMBER = "123-456-789"; field in IntentForwarderActivityTest 413 .setData(Uri.fromParts("tel", PHONE_NUMBER, null)); in shouldSkipDisclosure_callIntent_actionViewTel() 426 .setData(Uri.fromParts("sms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_sms() 439 .setData(Uri.fromParts("smsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_smsto() 452 .setData(Uri.fromParts("mms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_mms() 465 .setData(Uri.fromParts("mmsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_mmsto() 479 .setData(Uri.fromParts("sms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewSms() 493 .setData(Uri.fromParts("smsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewSmsto() 507 .setData(Uri.fromParts("mms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewMms() 521 .setData(Uri.fromParts("mmsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewMmsto() [all …]
|
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/assets/ |
D | eccdata_input.txt | 5 phone_number: "54321" 17 phone_number: "888" 31 phone_number: "654321" 43 phone_number: "7654321" 55 phone_number: "4321"
|
/aosp_15_r20/packages/providers/ContactsKeysProvider/src/com/android/providers/contactkeys/ |
D | E2eeContactKeysDatabaseHelper.java | 61 + E2eeContactKeys.PHONE_NUMBER + " TEXT, " in onCreate() 101 + E2eeContactKeys.PHONE_NUMBER + "," in getAllContactKeys() argument 119 String number = c.getString(c.getColumnIndexOrThrow(E2eeContactKeys.PHONE_NUMBER)); in getAllContactKeys() 146 + E2eeContactKeys.PHONE_NUMBER + "," in getContactKeysForOwnerPackageName() argument 163 String number = c.getString(c.getColumnIndexOrThrow(E2eeContactKeys.PHONE_NUMBER)); in getContactKeysForOwnerPackageName() 188 + E2eeContactKeys.PHONE_NUMBER + "," in getContactKey() argument 203 String number = c.getString(c.getColumnIndexOrThrow(E2eeContactKeys.PHONE_NUMBER)); in getContactKey() 285 + E2eeContactKeys.PHONE_NUMBER + ", " in updateOrInsertContactKey() argument 297 + E2eeContactKeys.PHONE_NUMBER + " = ?, " in updateOrInsertContactKey()
|
/aosp_15_r20/external/protobuf/examples/ |
H A D | list_people.py | 18 for phone_number in person.phones: 19 if phone_number.type == addressbook_pb2.Person.MOBILE: 21 elif phone_number.type == addressbook_pb2.Person.HOME: 23 elif phone_number.type == addressbook_pb2.Person.WORK: 25 print(phone_number.number)
|
/aosp_15_r20/external/cronet/third_party/protobuf/examples/ |
H A D | list_people.py | 18 for phone_number in person.phones: 19 if phone_number.type == addressbook_pb2.Person.MOBILE: 21 elif phone_number.type == addressbook_pb2.Person.HOME: 23 elif phone_number.type == addressbook_pb2.Person.WORK: 25 print(phone_number.number)
|
H A D | add_person.py | 28 phone_number = person.phones.add() 29 phone_number.number = number 33 phone_number.type = addressbook_pb2.Person.MOBILE 35 phone_number.type = addressbook_pb2.Person.HOME 37 phone_number.type = addressbook_pb2.Person.WORK
|