Home | History | Annotate | Download | only in porting

Lines Matching full:contacts

93 For example, to start the Contacts application you can use
94 > adb shell am start -n com.google.android.contacts/.ContactsActivity
115 <p>Each instrumentation test case is similar to an Android application with the distinction that it starts another application. For example, have a look in the <code>tests/Contacts</code> directory. </p>
118 <li> Tests are located in <code>tests/Contacts/src/com/google/android/contactstests</code>. </li>
119 <li> The Instrumentation Test Runner is located at <code>tests/Contacts/src/com/google/android/contactstests/functional/ContactsInstrumentationTestRunner.java</code>.</li>
406 <p> You can find the test case below at <code>device/tests/Contacts.</code></p>
414 values.put(Contacts.People.NAME, name);
415 values.put(Contacts.People.STARRED, star);
418 Uri uri = mActivity.getContentResolver().insert(Contacts.People.CONTENT_URI, values);
419 phoneUri = Uri.withAppendedPath(uri, Contacts.People.Phones.CONTENT_DIRECTORY);
422 values.put(Contacts.Phones.TYPE, phoneType);
423 values.put(Contacts.Phones.NUMBER, number);
424 values.put(Contacts.Phones.LABEL, label);
431 values.put(ContactMethods.KIND, Contacts.KIND_EMAIL);
455 Uri uri = Uri.parse("content://contacts/people/1");