Home
last modified time | relevance | path

Searched refs:contacts (Results 1 - 7 of 7) sorted by relevance

/third_party/json/tests/src/
H A Dunit-udt.cpp132 j = json{{"name", cb.m_book_name}, {"contacts", cb.m_contacts}}; in to_json()
222 cb.m_contacts = j["contacts"].get<std::vector<contact>>(); in from_json()
254 R"({"name":"C++", "contacts" : [{"person" : {"age":23, "name":"theo", "country":"France"}, "address":"Paris"}, {"person" : {"age":42, "country":"中华人民共和国", "name":"王芳"}, "address":"Paris"}]})"_json);
261 R"({"name":"C++", "contacts" : [{"person" : {"age":23, "name":"theo", "country":"France"}, "address":"Paris"}, {"person" : {"age":42, "country":"中华人民共和国", "name":"王芳"}, "address":"Paris"}]})"_json;
266 const auto contacts = variable
267 big_json["contacts"].get<std::vector<udt::contact>>();
268 const auto contact_json = big_json["contacts"].at(0);
283 CHECK(contacts == book.m_contacts);
293 json person_json = big_json["contacts"][0]["person"];
306 const std::vector<udt::contact> contacts variable
[all...]
/third_party/libphonenumber/java/demoapp/app/src/main/java/com/google/phonenumbers/demoapp/main/
H A DMainActivity.java17 import com.google.phonenumbers.demoapp.contacts.ContactsPermissionManagement;
18 import com.google.phonenumbers.demoapp.contacts.ContactsRead;
69 // Return of the permission result is not about the requested contacts permission in onRequestPermissionsResult()
148 * Called when the start button is clicked. If contacts permissions are granted, starts reading
149 * the contacts. If permissions are not granted, handle that appropriately based on the current
178 * Starts the process of reading the contacts, formatting the numbers and starting a {@link
202 /** Shows a Snackbar informing that no contacts exist. */
216 * Shows a text explaining that the app needs contacts permission to work, and a button to grant
221 * Shows a text explaining that the app does not have contacts permission, and a button to go to
/third_party/libphonenumber/java/demoapp/app/src/main/java/com/google/phonenumbers/demoapp/contacts/
H A DContactsWrite.java1 package com.google.phonenumbers.demoapp.contacts;
12 /** Handles everything related to writing the device contacts. */
18 * Attempts to update all phone numbers in param {@code phoneNumbers} in the device's contacts.
H A DContactsRead.java1 package com.google.phonenumbers.demoapp.contacts;
12 /** Handles everything related to reading the device contacts. */
18 * Reads all phone numbers in the device's contacts and return them as a list of {@link
20 * app has no permission to read contacts or an error occurred while doing so
23 * @return ArrayList of all phone numbers in the device's contacts, also empty if the app has no
24 * permission to read contacts or an error occurred while doing so
34 // Only query for contacts with phone number(s). in getAllPhoneNumbersSorted()
43 // ID to identify the phone number entry in the contacts (can be used to update in contacts). in getAllPhoneNumbersSorted()
H A DContactsPermissionManagement.java1 package com.google.phonenumbers.demoapp.contacts;
16 * Handles everything related to the contacts permissions ({@link permission#READ_CONTACTS} and
23 private static final String SHARED_PREFS_NAME = "contacts-permission-management";
49 * Returns whether the contacts permissions ({@link permission#READ_CONTACTS} and {@link
53 * @return boolean whether contacts permissions are granted
/third_party/libphonenumber/java/demoapp/app/src/main/java/com/google/phonenumbers/demoapp/result/
H A DFormattableFragment.java13 import com.google.phonenumbers.demoapp.contacts.ContactsWrite;
52 * Attempts to update the selected contacts and shows success or error based on the outcome.
97 /** Shows a Snackbar informing that the selected contacts were successfully written. */
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dextensionmetadocgenerator.py392 contacts = self.contact.split(',')
393 for contact in contacts:

Completed in 5 milliseconds