HomeSort by relevance Sort by last modified time
    Searched refs:Phone (Results 26 - 50 of 325) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
SqlInjectionDetectionTest.java 26 import android.provider.ContactsContract.CommonDataKinds.Phone;
43 private static final String[] PHONE_ID_PROJECTION = new String[] { Phone._ID };
49 assertQueryValid(Phone.CONTENT_URI, PHONE_ID_PROJECTION,
50 Phone.NUMBER + "='555-123-4567'", null);
57 assertQueryThrows(IllegalArgumentException.class, Phone.CONTENT_URI,
65 assertQueryThrows(SQLiteException.class, Phone.CONTENT_URI, PHONE_ID_PROJECTION,
73 assertQueryThrows(SQLiteException.class, Phone.CONTENT_URI,
85 assertQueryValid(Phone.CONTENT_URI,
88 final Cursor c = mResolver.query(Phone.CONTENT_URI, PHONE_ID_PROJECTION, null, null, null);
  /development/samples/BusinessCard/src/com/example/android/businesscard/
ContactAccessorSdk5.java 24 import android.provider.ContactsContract.CommonDataKinds.Phone;
36 * one and the phone number from the other.
74 // Load the phone number (if any).
75 cursor = contentResolver.query(Phone.CONTENT_URI,
76 new String[]{Phone.NUMBER},
77 Phone.CONTACT_ID + "=" + contactId, null, Phone.IS_SUPER_PRIMARY + " DESC");
  /packages/apps/Dialer/tests/src/com/android/dialer/interactions/
PhoneNumberInteractionTest.java 25 import android.provider.ContactsContract.CommonDataKinds.Phone;
95 .returnRow(1, "123", 0, null, null, Phone.TYPE_HOME, null,
96 Phone.CONTENT_ITEM_TYPE, 13);
114 .returnRow(1, "987", 0, null, null, Phone.TYPE_HOME, null,
115 Phone.CONTENT_ITEM_TYPE, 1);
133 .returnRow(1, "123", 0, null, null, Phone.TYPE_HOME, null,
134 Phone.CONTENT_ITEM_TYPE, 13)
135 .returnRow(2, "456", 1, null, null, Phone.TYPE_HOME, null,
136 Phone.CONTENT_ITEM_TYPE, 13);
174 .returnRow(1, "123", 0, null, null, Phone.TYPE_HOME, null
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
FallbackSource.java 33 import android.provider.ContactsContract.CommonDataKinds.Phone;
86 return new EditType(type, Phone.getTypeLabelResource(type));
179 DataKind kind = getKindForMimetype(Phone.CONTENT_ITEM_TYPE);
181 kind = addKind(new DataKind(Phone.CONTENT_ITEM_TYPE, R.string.phoneLabelsGroup,
186 kind.actionBody = new SimpleInflater(Phone.NUMBER);
190 kind.typeColumn = Phone.TYPE;
192 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME));
193 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE));
194 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK));
195 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_WORK).setSecondary(true))
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/util/
DevicePolicyUtils.java 25 import android.provider.ContactsContract.CommonDataKinds.Phone;
52 return isBluetoothWorkContactSharingDisabled(context) ? Phone.CONTENT_URI
53 : Phone.ENTERPRISE_CONTENT_URI;
  /packages/services/Telephony/src/com/android/services/telephony/
TelephonyGlobals.java 21 import com.android.internal.telephony.Phone;
32 * app - running as the default user. {@link com.android.phone.PhoneApp} determines whether or not
42 // For supporting MSIM phone, change Phone and TtyManager as 1 to 1
63 Phone[] phones = PhoneFactory.getPhones();
64 for (Phone phone : phones) {
65 mTtyManagers.add(new TtyManager(mContext, phone));
TtyManager.java 29 import com.android.internal.telephony.Phone;
36 private final Phone mPhone;
73 TtyManager(Context context, Phone phone) {
74 mPhone = phone;
134 return Phone.TTY_MODE_FULL;
136 return Phone.TTY_MODE_OFF;
142 case Phone.TTY_MODE_FULL:
144 case Phone.TTY_MODE_VCO:
146 case Phone.TTY_MODE_HCO
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
ContactTileLoaderFactory.java 24 import android.provider.ContactsContract.CommonDataKinds.Phone;
49 // contact id for strequent items, we thus have to use Phone.contact_id instead.
67 * and status data and the addition of phone number and label.
76 Phone.NUMBER, // ..........................................5
77 Phone.TYPE, // ............................................6
78 Phone.LABEL, // ...........................................7
79 Phone.IS_SUPER_PRIMARY, //.................................8
81 Phone.CONTACT_ID, //.......................................10
  /external/guice/examples/src/example/xml/
Main.java 31 final URL xmlUrl = Main.class.getResource("phone.xml");
40 Phone phone = injector.getInstance(Phone.class); local
42 if (phone.getContacts() == null) {
  /packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/
ImsFrameworkApp.java 32 import com.android.internal.telephony.Phone;
74 Log.d(TAG, "- state: " + intent.getBooleanExtra(Phone.STATE_KEY, false));
77 Log.d(TAG, "- apnName: " + intent.getStringExtra(Phone.DATA_APN_KEY));
78 Log.d(TAG, "- apnType: " + intent.getStringExtra(Phone.DATA_APN_TYPE_KEY));
79 Log.d(TAG, "- state: " + intent.getStringExtra(Phone.STATE_KEY));
80 Log.d(TAG, "- reason: " + intent.getStringExtra(Phone.STATE_CHANGE_REASON_KEY));
82 intent.getBooleanExtra(Phone.NETWORK_UNAVAILABLE_KEY, false));
87 Log.d(TAG, "- phoneName: " + intent.getStringExtra(Phone.PHONE_NAME_KEY));
90 Log.d(TAG, "- reason: " + intent.getStringExtra(Phone.STATE_CHANGE_REASON_KEY));
97 Log.d(TAG, "- phoneName: " + intent.getStringExtra(Phone.PHONE_NAME_KEY))
131 Phone phone = PhoneFactory.getDefaultPhone(); local
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
MmiCode.java 48 * @return Phone associated with the MMI/USSD message
50 public Phone getPhone();
PhoneSubInfoController.java 46 private final Phone[] mPhone;
50 public PhoneSubInfoController(Context context, Phone[] phone) {
51 mPhone = phone;
71 final Phone phone = mPhone[phoneId]; local
72 if (phone != null) {
73 phone.getContext().enforceCallingOrSelfPermission(
76 return phone.getDeviceId();
78 loge("getDeviceIdForPhone phone " + phoneId + " is null")
84 Phone phone = getPhone(subId); local
97 Phone phone = getPhone(subId); local
114 Phone phone = getPhone(subId); local
131 Phone phone = getPhone(subId); local
151 Phone phone = getPhone(subId); local
168 Phone phone = getPhone(subId); local
186 Phone phone = getPhone(subId); local
203 Phone phone = getPhone(subId); local
220 Phone phone = getPhone(subId); local
240 Phone phone = getPhone(subId); local
257 Phone phone = getPhone(subId); local
308 Phone phone = getPhone(getDefaultSubscription()); local
320 Phone phone = getPhone(getDefaultSubscription()); local
332 Phone phone = getPhone(getDefaultSubscription()); local
344 Phone phone = getPhone(getDefaultSubscription()); local
356 Phone phone = getPhone(getDefaultSubscription()); local
368 Phone phone = getPhone(getDefaultSubscription()); local
381 Phone phone = getPhone(subId); local
413 Phone phone = getPhone(subId); local
    [all...]
DefaultPhoneNotifier.java 35 import com.android.internal.telephony.Phone;
56 public void notifyPhoneState(Phone sender) {
75 public void notifyServiceState(Phone sender) {
96 public void notifySignalStrength(Phone sender) {
115 public void notifyMessageWaitingChanged(Phone sender) {
130 public void notifyCallForwardingChanged(Phone sender) {
143 public void notifyDataActivity(Phone sender) {
156 public void notifyDataConnection(Phone sender, String reason, String apnType,
161 private void doNotifyDataConnection(Phone sender, String reason, String apnType,
201 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
PhoneDataItem.java 22 import android.provider.ContactsContract.CommonDataKinds.Phone;
28 * Represents a phone data item, wrapping the columns in
29 * {@link ContactsContract.CommonDataKinds.Phone}.
40 return getContentValues().getAsString(Phone.NUMBER);
44 * Returns the normalized phone number in E164 format.
47 return getContentValues().getAsString(Phone.NORMALIZED_NUMBER);
55 return getContentValues().getAsString(Phone.LABEL);
68 * Returns the formatted phone number (if already computed using {@link
69 * #computeFormattedPhoneNumber}). Otherwise this method returns the unformatted phone number.
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
Constants.java 20 import android.provider.ContactsContract.CommonDataKinds.Phone;
29 * Specific MIME-type for {@link Phone#CONTENT_ITEM_TYPE} entries that
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
ValuesDeltaTests.java 22 import android.provider.ContactsContract.CommonDataKinds.Phone;
46 after.put(Phone.NUMBER, TEST_PHONE_NUMBER_2);
66 before.put(Phone.NUMBER, TEST_PHONE_NUMBER_1);
78 before.put(Phone.NUMBER, TEST_PHONE_NUMBER_1);
81 values.put(Phone.NUMBER, TEST_PHONE_NUMBER_2);
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
ContactDisplayUtilTests.java 19 import static android.provider.ContactsContract.CommonDataKinds.Phone;
49 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_CUSTOM));
50 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_ASSISTANT));
54 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_HOME));
55 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_FAX_WORK));
56 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_MOBILE));
57 assertFalse(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_OTHER));
61 final CharSequence smsResult = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_CUSTOM,
65 final CharSequence callResult = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_CUSTOM,
71 CharSequence result = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_HOME, ""
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
PhonebookEntry.java 79 public static class Phone {
85 if (!(o instanceof Phone)) {
89 Phone p = (Phone) o;
102 sb.append(" Phone: { number: ");
120 phones = new ArrayList<Phone>();
125 phones = new ArrayList<Phone>();
140 Phone phone = new Phone(); local
    [all...]
  /packages/services/Telephony/src/com/android/phone/settings/
VoicemailNotificationSettingsUtil.java 17 package com.android.phone.settings;
27 import com.android.internal.telephony.Phone;
28 import com.android.phone.R;
48 public static void setVibrationEnabled(Phone phone, boolean isEnabled) {
49 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(phone.getContext());
51 editor.putBoolean(getVoicemailVibrationSharedPrefsKey(phone), isEnabled);
55 public static boolean isVibrationEnabled(Phone phone) {
56 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(phone.getContext())
    [all...]
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
RawContactModifierTests.java 28 import android.provider.ContactsContract.CommonDataKinds.Phone;
99 // Phone allows maximum 2 home, 1 work, and unlimited other, with
102 Phone.CONTENT_ITEM_TYPE, -1, 10, true);
105 phoneKind.typeColumn = Phone.TYPE;
107 phoneKind.typeList.add(new EditType(Phone.TYPE_HOME, -1).setSpecificMax(2));
108 phoneKind.typeList.add(new EditType(Phone.TYPE_WORK, -1).setSpecificMax(1));
109 phoneKind.typeList.add(new EditType(Phone.TYPE_FAX_WORK, -1).setSecondary(true));
110 phoneKind.typeList.add(new EditType(Phone.TYPE_OTHER, -1));
113 phoneKind.fieldList.add(new EditField(Phone.NUMBER, -1, -1));
114 phoneKind.fieldList.add(new EditField(Phone.LABEL, -1, -1))
    [all...]
RawContactDeltaTests.java 24 import android.provider.ContactsContract.CommonDataKinds.Phone;
72 final ContentValues phone = new ContentValues(); local
73 phone.put(Data._ID, phoneId);
74 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
75 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_1);
76 phone.put(Phone.TYPE, Phone.TYPE_HOME)
105 final ContentValues phone = new ContentValues(); local
181 final ContentValues phone = new ContentValues(); local
224 final ContentValues phone = new ContentValues(); local
358 final ContentValues phone = new ContentValues(); local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
ExpandableList2.java 26 import android.provider.ContactsContract.CommonDataKinds.Phone;
43 Phone._ID,
44 Phone.NUMBER
89 // Return a cursor that points to this contact's phone numbers
96 PHONE_NUMBER_PROJECTION, Phone.MIMETYPE + "=?",
97 new String[] { Phone.CONTENT_ITEM_TYPE }, null);
117 new String[] { Phone.NUMBER }, // Number for child layouts
  /external/opencv3/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/
Direct3DInterop.h 29 public ref class Direct3DInterop sealed : public Windows::Phone::Input::Interop::IDrawingSurfaceManipulationHandler
34 Windows::Phone::Graphics::Interop::IDrawingSurfaceContentProvider^ CreateContentProvider();
37 virtual void SetManipulationHost(Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^ manipulationHost);
54 void OnPointerPressed(Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^ sender, Windows::UI::Core::PointerEventArgs^ args);
55 void OnPointerMoved(Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^ sender, Windows::UI::Core::PointerEventArgs^ args);
56 void OnPointerReleased(Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^ sender, Windows::UI::Core::PointerEventArgs^ args);
Direct3DContentProvider.h 5 #include <Windows.Phone.Graphics.Interop.h>
12 ABI::Windows::Phone::Graphics::Interop::IDrawingSurfaceContentProvider,
  /external/opencv3/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/
Direct3DContentProvider.h 5 #include <Windows.Phone.Graphics.Interop.h>
12 ABI::Windows::Phone::Graphics::Interop::IDrawingSurfaceContentProvider,

Completed in 598 milliseconds

12 3 4 5 6 7 8 91011>>