/external/chromium_org/chrome/browser/ui/app_list/search/people/ |
person.cc | 5 #include "chrome/browser/ui/app_list/search/people/person.h" 15 const char kKeyId[] = "person.id"; 16 const char kKeyNames[] = "person.names"; 18 const char kKeyEmails[] = "person.emails"; 20 const char kKeyInteractionRank[] = "person.sortKeys.interactionRank"; 21 const char kKeyImages[] = "person.images"; 23 const char kKeyOwnerId[] = "person.metadata.ownerId"; 67 scoped_ptr<Person> Person::Create(const base::DictionaryValue& dict) { 68 scoped_ptr<Person> person(new Person()) [all...] |
person.h | 19 // Person holds information about a search result retrieved from the People 21 struct Person { 22 // Parses the dictionary from the people search result and creates a person 24 static scoped_ptr<Person> Create(const base::DictionaryValue& dict); 26 Person(); 27 ~Person(); 29 scoped_ptr<Person> Duplicate(); 31 // This is a unique id for this person. In the case of a result with an 34 // unique for this person search result. 42 // you interact with the person [all...] |
people_provider_browsertest.cc | 37 "\"person\" : {" 43 "\"displayName\": \"first person\"" 46 "\"value\": \"first@person.com\"" 61 "\"person\" : {" 67 "\"displayName\": \"first person\"" 70 "\"value\": \"first@person.com\"" 81 "\"person\" : {" 87 "\"displayName\": \"second person\"" 90 "\"value\": \"second@person.com\"" 101 "\"person\" : { [all...] |
people_result.h | 19 struct Person; 23 PeopleResult(Profile* profile, scoped_ptr<Person> person); 46 scoped_ptr<Person> person_;
|
/external/protobuf/examples/ |
list_people.py | 10 for person in address_book.person: 11 print "Person ID:", person.id 12 print " Name:", person.name 13 if person.HasField('email'): 14 print " E-mail address:", person.email 16 for phone_number in person.phone: 17 if phone_number.type == addressbook_pb2.Person.MOBILE: 19 elif phone_number.type == addressbook_pb2.Person.HOME [all...] |
list_people.cc | 12 const tutorial::Person& person = address_book.person(i); local 14 cout << "Person ID: " << person.id() << endl; 15 cout << " Name: " << person.name() << endl; 16 if (person.has_email()) { 17 cout << " E-mail address: " << person.email() << endl; 20 for (int j = 0; j < person.phone_size(); j++) { 21 const tutorial::Person::PhoneNumber& phone_number = person.phone(j) [all...] |
AddPerson.java | 4 import com.example.tutorial.AddressBookProtos.Person; 14 // This function fills in a Person message based on user input. 15 static Person PromptForAddress(BufferedReader stdin, 17 Person.Builder person = Person.newBuilder(); local 19 stdout.print("Enter person ID: "); 20 person.setId(Integer.valueOf(stdin.readLine())); 23 person.setName(stdin.readLine()); 28 person.setEmail(email) [all...] |
ListPeople.java | 4 import com.example.tutorial.AddressBookProtos.Person; 12 for (Person person: addressBook.getPersonList()) { 13 System.out.println("Person ID: " + person.getId()); 14 System.out.println(" Name: " + person.getName()); 15 if (person.hasEmail()) { 16 System.out.println(" E-mail address: " + person.getEmail()); 19 for (Person.PhoneNumber phoneNumber : person.getPhoneList()) [all...] |
add_person.py | 8 # This function fills in a Person message based on user input. 9 def PromptForAddress(person): 10 person.id = int(raw_input("Enter person ID number: ")) 11 person.name = raw_input("Enter name: ") 15 person.email = email 22 phone_number = person.phone.add() 27 phone_number.type = addressbook_pb2.Person.MOBILE 29 phone_number.type = addressbook_pb2.Person.HOME 31 phone_number.type = addressbook_pb2.Person.WOR [all...] |
addressbook.proto | 8 message Person { 10 required int32 id = 2; // Unique ID number for this person. 29 repeated Person person = 1;
|
add_person.cc | 9 // This function fills in a Person message based on user input. 10 void PromptForAddress(tutorial::Person* person) { 11 cout << "Enter person ID number: "; 14 person->set_id(id); 18 getline(cin, *person->mutable_name()); 24 person->set_email(email); 35 tutorial::Person::PhoneNumber* phone_number = person->add_phone(); 42 phone_number->set_type(tutorial::Person::MOBILE) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SQLiteQueryBuilderTest.java | 68 new String[]{"person", "department", "division"}, 70 assertThat(sql, equalTo("SELECT person, department, division FROM table_name WHERE (id = 2 AND name = 'Chuck')")); 78 new String[]{"person", "department", "division"}, 79 null, "person", null, null, null); 80 assertThat(sql, equalTo("SELECT person, department, division FROM table_name GROUP BY person")); 88 new String[]{"person", "department", "division"}, 89 "(id = 2 AND name = 'Chuck')", "person", null, null, null); 90 assertThat(sql, equalTo("SELECT person, department, division FROM table_name WHERE (id = 2 AND name = 'Chuck') GROUP BY person")); [all...] |
/external/javassist/sample/reflect/ |
Main.java | 8 Since this program registers class Person as a reflective class
11 modifies Person.class when loading into the JVM so that the class
12 Person is changed into a reflective class and a Person object is
21 % java sample.reflect.Person Joe
26 cl.makeReflective("sample.reflect.Person",
30 cl.run("sample.reflect.Person", args);
|
Person.java | 10 public class Person {
17 public Person(String name, int birthYear) {
41 Person p = new Person(name, 1960);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
createAttributeNS03.java | 74 illegalQNames.add("person:{"); 75 illegalQNames.add("person:}"); 76 illegalQNames.add("person:~"); 77 illegalQNames.add("person:'"); 78 illegalQNames.add("person:!"); 79 illegalQNames.add("person:@"); 80 illegalQNames.add("person:#"); 81 illegalQNames.add("person:$"); 82 illegalQNames.add("person:%"); 83 illegalQNames.add("person:^") [all...] |
createElementNS03.java | 76 illegalQNames.add("person:{"); 77 illegalQNames.add("person:}"); 78 illegalQNames.add("person:~"); 79 illegalQNames.add("person:'"); 80 illegalQNames.add("person:!"); 81 illegalQNames.add("person:@"); 82 illegalQNames.add("person:#"); 83 illegalQNames.add("person:$"); 84 illegalQNames.add("person:%"); 85 illegalQNames.add("person:^") [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
CreateAttributeNS.java | 103 illegalQNames.add("person:{"); 104 illegalQNames.add("person:}"); 105 illegalQNames.add("person:~"); 106 illegalQNames.add("person:'"); 107 illegalQNames.add("person:!"); 108 illegalQNames.add("person:@"); 109 illegalQNames.add("person:#"); 110 illegalQNames.add("person:$"); 111 illegalQNames.add("person:%"); 112 illegalQNames.add("person:^") [all...] |
CreateElementNS.java | 121 illegalQNames.add("person:{"); 122 illegalQNames.add("person:}"); 123 illegalQNames.add("person:~"); 124 illegalQNames.add("person:'"); 125 illegalQNames.add("person:!"); 126 illegalQNames.add("person:@"); 127 illegalQNames.add("person:#"); 128 illegalQNames.add("person:$"); 129 illegalQNames.add("person:%"); 130 illegalQNames.add("person:^") [all...] |
/packages/providers/ContactsProvider/tests/assets/testUnsynced/ |
legacy_contacts.sql | 11 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0); 15 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NULL,person INTEGER REFERENCES people(_id),UNIQUE(person, name)); 24 CREATE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_id INTEGER REFERENCES groups(_id),group_sync_account STRING,group_sync_id STRING); 32 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NULL,label TEXT,person INTEGER REFERENCES people(_id)); 55 CREATE TABLE phones (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),type INTEGER NOT NULL,number TEXT,number_key TEXT,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0); 59 CREATE TABLE photos (_id INTEGER PRIMARY KEY AUTOINCREMENT,exists_on_server INTEGER NOT NULL DEFAULT 0,person INTEGER REFERENCES people(_id), local_version TEXT,data BLOB,sync_error TEXT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,UNIQUE(person) ); 74 CREATE INDEX contactMethodsPeopleIndex ON contact_methods (person); 75 CREATE INDEX extensionsIndex1 ON extensions (person, name) [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
selectC.test | 173 CREATE TABLE person ( 180 INSERT INTO person VALUES('meyers', 'jack', '2GAT123'); 181 INSERT INTO person VALUES('meyers', 'hill', 'V345FMP'); 182 INSERT INTO person VALUES('meyers', 'jim', '2GAT138'); 183 INSERT INTO person VALUES('smith', 'maggy', ''); 184 INSERT INTO person VALUES('smith', 'jose', 'JJZ109'); 185 INSERT INTO person VALUES('smith', 'jack', 'THX138'); 186 INSERT INTO person VALUES('lakeside', 'dave', '953OKG'); 187 INSERT INTO person VALUES('lakeside', 'amy', NULL); 188 INSERT INTO person VALUES('lake-apts', 'tom', NULL) [all...] |
/external/smack/src/org/xbill/DNS/ |
RPRecord.java | 8 * Responsible Person Record - lists the mail address of a responsible person 31 * @param mailbox The responsible person
|
/frameworks/base/docs/html/reference/com/google/android/gms/plus/model/people/ |
Person.html | 86 <title>Person | Android Developers</title> 698 <h1 itemprop="name">Person</h1> 722 <td colspan="1" class="jd-inheritance-class-cell">com.google.android.gms.plus.model.people.Person</td> 777 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/people/Person.AgeRange.html">Person.AgeRange</a></td> 778 <td class="jd-descrcol" width="100%">The age range of the person. </td> 789 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/people/Person.Cover.html">Person.Cover</a></td> 801 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/plus/model/people/Person.Gender.html">Person.Gender</a></td [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_rfc822.py | 133 'To: person@dom.ain (User J. Person)\n\n', 134 [('User J. Person', 'person@dom.ain')]) 139 'To: person@dom.ain ((User J. Person)), John Doe <foo@bar.com>\n\n', 140 [('User J. Person', 'person@dom.ain'), ('John Doe', 'foo@bar.com')]) 206 self.check('To: User J. Person <person@dom.ain>\n\n' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_rfc822.py | 133 'To: person@dom.ain (User J. Person)\n\n', 134 [('User J. Person', 'person@dom.ain')]) 139 'To: person@dom.ain ((User J. Person)), John Doe <foo@bar.com>\n\n', 140 [('User J. Person', 'person@dom.ain'), ('John Doe', 'foo@bar.com')]) 206 self.check('To: User J. Person <person@dom.ain>\n\n' [all...] |
/packages/providers/ContactsProvider/tests/assets/test1/ |
legacy_contacts.sql | 14 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0); 31 CREATE TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NULL,person INTEGER REFERENCES people(_id),UNIQUE(person, name)); 40 CREATE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_id INTEGER REFERENCES groups(_id),group_sync_account STRING,group_sync_id STRING); 51 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NULL,label TEXT,person INTEGER REFERENCES people(_id)); 78 CREATE TABLE phones (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),type INTEGER NOT NULL,number TEXT,number_key TEXT,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0); 89 CREATE TABLE photos (_id INTEGER PRIMARY KEY AUTOINCREMENT,exists_on_server INTEGER NOT NULL DEFAULT 0,person INTEGER REFERENCES people(_id), local_version TEXT,data BLOB,sync_error TEXT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,UNIQUE(person) ); 106 CREATE INDEX contactMethodsPeopleIndex ON contact_methods (person); 107 CREATE INDEX extensionsIndex1 ON extensions (person, name) [all...] |