OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ContactMethods
(Results
1 - 24
of
24
) sorted by null
/cts/tests/tests/provider/src/android/provider/cts/contacts/
Contacts_ContactMethodsTest.java
21
import android.provider.Contacts.
ContactMethods
;
32
int protocol =
ContactMethods
.PROTOCOL_AIM;
33
String encodedString =
ContactMethods
.encodePredefinedImProtocol(protocol);
35
assertEquals(protocol,
ContactMethods
.decodeImProtocol(encodedString));
37
protocol =
ContactMethods
.PROTOCOL_QQ;
38
encodedString =
ContactMethods
.encodePredefinedImProtocol(protocol);
40
assertEquals(protocol,
ContactMethods
.decodeImProtocol(encodedString));
43
encodedString =
ContactMethods
.encodeCustomImProtocol(protocolString);
45
assertEquals(protocolString,
ContactMethods
.decodeImProtocol(encodedString));
48
ContactMethods
.decodeImProtocol("wrong format")
[
all
...]
ContactsTest.java
32
import android.provider.Contacts.
ContactMethods
;
552
ContactMethods
._ID,
ContactMethods
.PERSON_ID,
ContactMethods
.KIND,
553
ContactMethods
.DATA,
ContactMethods
.AUX_DATA,
ContactMethods
.TYPE,
554
ContactMethods
.LABEL,
ContactMethods
.ISPRIMARY};
579
value.put(
ContactMethods
.PERSON_ID, peopleId)
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/list/
LegacyPostalAddressListAdapter.java
23
import android.provider.Contacts.
ContactMethods
;
30
* A cursor adapter for the
ContactMethods
.CONTENT_TYPE content type.
36
ContactMethods
._ID, // 0
37
ContactMethods
.TYPE, // 1
38
ContactMethods
.LABEL, // 2
39
ContactMethods
.DATA, // 3
60
loader.setUri(
ContactMethods
.CONTENT_URI);
63
loader.setSelection(
ContactMethods
.KIND + "=" + android.provider.Contacts.KIND_POSTAL);
74
return ContentUris.withAppendedId(
ContactMethods
.CONTENT_URI, id);
ContactsIntentResolver.java
23
import android.provider.Contacts.
ContactMethods
;
98
} else if (
ContactMethods
.CONTENT_POSTAL_TYPE.equals(resolvedType)) {
132
} else if (
ContactMethods
.CONTENT_POSTAL_ITEM_TYPE.equals(type)) {
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
LegacyContactsProviderTest.java
29
import android.provider.Contacts.
ContactMethods
;
255
values.put(
ContactMethods
.PERSON_ID, personId);
256
values.put(
ContactMethods
.KIND, Contacts.KIND_EMAIL);
257
values.put(
ContactMethods
.TYPE,
ContactMethods
.TYPE_HOME);
258
values.put(
ContactMethods
.DATA, "foo@acme.com");
259
values.put(
ContactMethods
.ISPRIMARY, 1);
260
Uri emailUri1 = mResolver.insert(
ContactMethods
.CONTENT_URI, values);
262
assertEquals(
ContactMethods
.CONTENT_EMAIL_ITEM_TYPE, mResolver.getType(emailUri1));
264
assertStoredValues(
ContactMethods
.CONTENT_URI
[
all
...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
LegacyApiSupport.java
33
import android.provider.Contacts.
ContactMethods
;
85
private static final int
CONTACTMETHODS
= 8;
321
matcher.addURI(authority, "contact_methods",
CONTACTMETHODS
);
389
sContactMethodProjectionMap.put(
ContactMethods
._ID,
ContactMethods
._ID);
390
sContactMethodProjectionMap.put(
ContactMethods
.PERSON_ID,
ContactMethods
.PERSON_ID);
391
sContactMethodProjectionMap.put(
ContactMethods
.KIND,
ContactMethods
.KIND);
392
sContactMethodProjectionMap.put(
ContactMethods
.ISPRIMARY, ContactMethods.ISPRIMARY)
[
all
...]
/frameworks/base/core/java/android/provider/
Contacts.java
64
* Signifies an email address row that is stored in the
ContactMethods
table
70
* Signifies a postal address row that is stored in the
ContactMethods
table
76
* Signifies an IM address row that is stored in the
ContactMethods
table
381
* at least one E-mail or IM {@link
ContactMethods
} that match the
678
*
ContactMethods
.
682
public static final class
ContactMethods
687
private
ContactMethods
() {}
[
all
...]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
AllIntentsActivity.java
29
import android.provider.Contacts.
ContactMethods
;
173
intent.setType(
ContactMethods
.CONTENT_POSTAL_TYPE);
231
intent.setType(
ContactMethods
.CONTENT_POSTAL_ITEM_TYPE);
/packages/apps/Contacts/src/com/android/contacts/model/
RawContactModifier.java
[
all
...]
/external/robolectric/v1/lib/main/
android.jar
/prebuilts/sdk/12/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/21/
android.jar
/prebuilts/sdk/25/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/tools/common/api-versions/android-1/
android.jar
/prebuilts/tools/common/api-versions/android-2/
android.jar
/prebuilts/tools/common/api-versions/android-3/
android.jar
/prebuilts/tools/common/m2/repository/com/google/android/android/4.0.1.2/
android-4.0.1.2.jar
/prebuilts/tools/common/m2/repository/com/google/android/android/4.1.1.4/
android-4.1.1.4.jar
Completed in 400 milliseconds