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

1 23 4 5 6 7 8 91011>>

  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DcTesterDeactivateAll.java 27 import com.android.internal.telephony.Phone;
38 private Phone mPhone;
68 DcTesterDeactivateAll(Phone phone, DcController dcc, Handler handler) {
69 mPhone = phone;
81 phone.getContext().registerReceiver(sIntentReceiver, filter, null, handler);
DcTesterFailBringUpAll.java 27 import com.android.internal.telephony.Phone;
44 private Phone mPhone;
77 DcTesterFailBringUpAll(Phone phone, Handler handler) {
78 mPhone = phone;
91 phone.getContext().registerReceiver(mIntentReceiver, filter, null, handler);
  /packages/services/Telephony/src/com/android/phone/settings/
VoicemailRingtonePreference.java 1 package com.android.phone.settings;
12 import com.android.internal.telephony.Phone;
13 import com.android.phone.common.util.SettingsUtil;
25 private Phone mPhone;
42 public void init(Phone phone) {
43 mPhone = phone;
46 VoicemailNotificationSettingsUtil.getRingtoneUri(phone);
  /frameworks/base/telecomm/java/android/telecom/
InCallService.java 42 * phone calls. Telecom binds to this service while there exists a live (active or incoming) call,
44 * first be set as the default phone app (See {@link TelecomManager#getDefaultDialerPackage()})
90 mPhone = new Phone(new InCallAdapter((IInCallAdapter) msg.obj));
202 private Phone.Listener mPhoneListener = new Phone.Listener() {
205 public void onAudioStateChanged(Phone phone, AudioState audioState) {
209 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) {
215 public void onBringToForeground(Phone phone, boolean showDialpad)
    [all...]
Phone.java 37 public final class Phone {
43 * @param phone The {@code Phone} calling this method.
46 * @deprecated Use {@link #onCallAudioStateChanged(Phone, CallAudioState)} instead.
49 public void onAudioStateChanged(Phone phone, AudioState audioState) { }
54 * @param phone The {@code Phone} calling this method.
57 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) {
    [all...]
  /packages/apps/EmergencyInfo/tests/src/com/android/emergency/
ContactTestUtils.java 31 /** Deletes contacts that match the given name and phone number. */
34 String phone) {
36 Uri.encode(phone));
60 * Creates a new contact with the given name and phone number. Returns the
61 * ContactsContract.CommonDataKinds.Phone.CONTENT_URI corresponding to the new contact.
73 ContactsContract.CommonDataKinds.Phone.TYPE_MOBILE);
93 ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE);
94 values.put(ContactsContract.CommonDataKinds.Phone.NUMBER, phoneNumber);
95 values.put(ContactsContract.CommonDataKinds.Phone.TYPE, type);
96 values.put(ContactsContract.CommonDataKinds.Phone.LABEL, "Mobile")
    [all...]
  /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
TestDataFactory.java 23 import android.provider.ContactsContract.CommonDataKinds.Phone;
60 Phone.CONTACT_ID,
61 Phone.DISPLAY_NAME_PRIMARY,
62 Phone.PHOTO_THUMBNAIL_URI,
63 Phone.NUMBER,
64 Phone.TYPE,
65 Phone.LABEL,
66 Phone.LOOKUP_KEY,
67 Phone._ID,
68 Phone.SORT_KEY_PRIMARY
    [all...]
  /packages/services/Telephony/src/com/android/phone/
CdmaSubscriptionListPreference.java 17 package com.android.phone;
30 import com.android.internal.telephony.Phone;
45 private Phone mPhone;
87 statusCdmaSubscriptionMode = Phone.CDMA_SUBSCRIPTION_NV;
90 statusCdmaSubscriptionMode = Phone.CDMA_SUBSCRIPTION_RUIM_SIM;
93 statusCdmaSubscriptionMode = Phone.PREFERRED_CDMA_SUBSCRIPTION;
  /external/opencv3/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/
Direct3DInterop.h 37 public ref class Direct3DInterop sealed : public Windows::Phone::Input::Interop::IDrawingSurfaceManipulationHandler
42 Windows::Phone::Graphics::Interop::IDrawingSurfaceContentProvider^ CreateContentProvider();
45 virtual void SetManipulationHost(Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^ manipulationHost);
63 void OnPointerPressed(Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^ sender, Windows::UI::Core::PointerEventArgs^ args);
64 void OnPointerMoved(Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^ sender, Windows::UI::Core::PointerEventArgs^ args);
65 void OnPointerReleased(Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^ sender, Windows::UI::Core::PointerEventArgs^ args);
87 Windows::Phone::Media::Capture::AudioVideoCaptureDevice ^pAudioVideoCaptureDevice;
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
PhoneNumberListAdapter.java 26 import android.provider.ContactsContract.CommonDataKinds.Phone;
56 * A cursor adapter for the {@link Phone#CONTENT_ITEM_TYPE} and
59 * By default this adapter just handles phone numbers. When {@link #setUseCallableUri(boolean)} is
61 * API instead of {@link Phone}.
100 Phone._ID, // 0
101 Phone.TYPE, // 1
102 Phone.LABEL, // 2
103 Phone.NUMBER, // 3
104 Phone.CONTACT_ID, // 4
105 Phone.LOOKUP_KEY, //
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
GoogleAccountType.java 23 import android.provider.ContactsContract.CommonDataKinds.Phone;
87 kind.typeColumn = Phone.TYPE;
89 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE));
90 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK));
91 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME));
92 kind.typeList.add(buildPhoneType(Phone.TYPE_MAIN));
93 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_WORK).setSecondary(true));
94 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_HOME).setSecondary(true));
95 kind.typeList.add(buildPhoneType(Phone.TYPE_PAGER).setSecondary(true));
96 kind.typeList.add(buildPhoneType(Phone.TYPE_OTHER))
    [all...]
SamsungAccountType.java 29 import android.provider.ContactsContract.CommonDataKinds.Phone;
132 kind.typeColumn = Phone.TYPE;
134 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE));
135 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME));
136 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK));
137 kind.typeList.add(buildPhoneType(Phone.TYPE_MAIN));
138 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_WORK).setSecondary(true));
139 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_HOME).setSecondary(true));
140 kind.typeList.add(buildPhoneType(Phone.TYPE_PAGER).setSecondary(true));
141 kind.typeList.add(buildPhoneType(Phone.TYPE_RADIO).setSecondary(true))
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_DataTest.java 33 import android.provider.ContactsContract.CommonDataKinds.Phone;
151 cv2.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
152 cv2.put(Phone.DATA, "510-123-5769");
153 cv2.put(Phone.TYPE, Phone.TYPE_HOME);
179 cv6.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
180 cv6.put(Phone.DATA, "518-354-1111");
181 cv6.put(Phone.TYPE, Phone.TYPE_HOME);
446 rawContact.newDataRow(Phone.CONTENT_ITEM_TYPE
    [all...]
ContactsContract_FrequentsStrequentsTest.java 29 import android.provider.ContactsContract.CommonDataKinds.Phone;
123 Phone.NUMBER,
124 Phone.TYPE,
125 Phone.LABEL,
126 Phone.IS_SUPER_PRIMARY,
127 Phone.CONTACT_ID,
286 // Construct a uri for phone only favorites.
290 // Only the contacts with phone numbers are returned, in alphabetical order. Filtering
308 // Construct a uri for phone only favorites.
312 // Only the contacts with phone numbers are returned, in frequency ranking order
    [all...]
  /packages/services/Telephony/src/com/android/services/telephony/
EmergencyCallHelper.java 30 import com.android.internal.telephony.Phone;
65 Phone phone = (Phone) args.arg1;
70 startSequenceInternal(phone, callback);
87 private Phone mPhone; // The phone that will attempt to place the call.
110 public void startTurnOnRadioSequence(Phone phone, Callback callback) {
114 args.arg1 = phone;
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
CellBroadcastHandler.java 36 private CellBroadcastHandler(Context context, Phone phone) {
37 this("CellBroadcastHandler", context, phone);
40 protected CellBroadcastHandler(String debugTag, Context context, Phone phone) {
41 super(debugTag, context, phone);
49 public static CellBroadcastHandler makeCellBroadcastHandler(Context context, Phone phone) {
50 CellBroadcastHandler handler = new CellBroadcastHandler(context, phone);
CallManager.java 45 * and control calls. It implements Phone interface.
92 // list of registered phones, which are Phone objs
93 private final ArrayList<Phone> mPhones;
108 private final HashMap<Phone, CallManagerHandler> mHandlerMap = new HashMap<>();
110 // default phone as the first phone registered, which is Phone obj
111 private Phone mDefaultPhone;
190 mPhones = new ArrayList<Phone>();
206 * Returns all the registered phone objects
338 Phone phone = null; local
351 Phone phone = null; local
1874 Phone phone = getPhone(subId); local
1951 Phone phone = getPhone(subId); local
1989 Phone phone = getPhone(subId); local
    [all...]
TelephonyComponentFactory.java 51 public GsmCdmaCallTracker makeGsmCdmaCallTracker(GsmCdmaPhone phone) {
52 return new GsmCdmaCallTracker(phone);
55 public SmsStorageMonitor makeSmsStorageMonitor(Phone phone) {
56 return new SmsStorageMonitor(phone);
63 public ServiceStateTracker makeServiceStateTracker(GsmCdmaPhone phone, CommandsInterface ci) {
64 return new ServiceStateTracker(phone, ci);
67 public DcTracker makeDcTracker(Phone phone) {
68 return new DcTracker(phone);
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
GoogleSource.java 38 import android.provider.ContactsContract.CommonDataKinds.Phone;
87 kind.typeColumn = Phone.TYPE;
89 kind.typeList.add(buildPhoneType(Phone.TYPE_HOME));
90 kind.typeList.add(buildPhoneType(Phone.TYPE_MOBILE));
91 kind.typeList.add(buildPhoneType(Phone.TYPE_WORK));
92 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_WORK).setSecondary(true));
93 kind.typeList.add(buildPhoneType(Phone.TYPE_FAX_HOME).setSecondary(true));
94 kind.typeList.add(buildPhoneType(Phone.TYPE_PAGER).setSecondary(true));
95 kind.typeList.add(buildPhoneType(Phone.TYPE_OTHER));
96 kind.typeList.add(buildPhoneType(Phone.TYPE_CUSTOM).setSecondary(true).setCustomColumn
    [all...]
  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/pbap/
ContactCursorFilterTest.java 30 ContactsContract.CommonDataKinds.Phone.CONTACT_ID,
31 ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME});
66 MatrixCursor mc = new MatrixCursor(new String[]{ContactsContract.CommonDataKinds.Phone
67 .CONTACT_ID, ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME});
103 MatrixCursor mc = new MatrixCursor(new String[]{ContactsContract.CommonDataKinds.Phone
104 .CONTACT_ID, ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME});
128 MatrixCursor mc = new MatrixCursor(new String[]{ContactsContract.CommonDataKinds.Phone
129 .CONTACT_ID, ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME});
157 int index = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.CONTACT_ID);
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/
VCardImporterTests.java 25 import android.provider.ContactsContract.CommonDataKinds.Phone;
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
ContactUtil.java 26 import android.provider.ContactsContract.CommonDataKinds.Phone;
46 * Utility class including logic to list, filter, and lookup phone and emails in CP2.
52 * Index of different columns in phone or email queries. All queries below should confirm to
80 public static final String SORT_KEY = Phone.SORT_KEY_PRIMARY;
83 Phone.CONTACT_ID, // 0
84 Phone.DISPLAY_NAME_PRIMARY, // 1
85 Phone.PHOTO_THUMBNAIL_URI, // 2
86 Phone.NUMBER, // 3
87 Phone.TYPE, // 4
88 Phone.LABEL, //
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
FrequentContactsCursorBuilder.java 20 import android.provider.ContactsContract.CommonDataKinds.Phone;
32 * cursor to fill in contact details such as phone numbers and strip away invalid contacts.
83 // such as phone number and type. In order for the records to be usable by Bugle, we
102 // (multiple phone numbers etc.) and store that in an array list. Since the all
103 // contacts list only contains phone contacts, this step will ensure that we filter
151 // Perform secondary sorting on the phone type. Always place
155 if (phoneTypeLhs == Phone.TYPE_MOBILE &&
156 phoneTypeRhs == Phone.TYPE_MOBILE) {
158 } else if (phoneTypeLhs == Phone.TYPE_MOBILE) {
160 } else if (phoneTypeRhs == Phone.TYPE_MOBILE)
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
PhonebookPullRequest.java 19 import android.provider.ContactsContract.CommonDataKinds.Phone;
64 int phoneTypeIndex = c.getColumnIndex(Phone.TYPE);
65 int phoneNumberIndex = c.getColumnIndex(Phone.NUMBER);
75 } else if (mimeType.equals(Phone.CONTENT_ITEM_TYPE)) {
76 PhonebookEntry.Phone p = new PhonebookEntry.Phone();
147 // Populate the phone number(s) if any.
148 for (PhonebookEntry.Phone p : e.phones) {
151 .withValue(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE)
152 .withValue(Phone.NUMBER, p.number
    [all...]
  /frameworks/opt/vcard/java/com/android/vcard/
VCardUtils.java 19 import android.provider.ContactsContract.CommonDataKinds.Phone;
132 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_CAR, VCardConstants.PARAM_TYPE_CAR);
133 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CAR, Phone.TYPE_CAR);
134 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_PAGER, VCardConstants.PARAM_TYPE_PAGER);
135 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_PAGER, Phone.TYPE_PAGER);
136 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_ISDN, VCardConstants.PARAM_TYPE_ISDN);
137 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_ISDN, Phone.TYPE_ISDN);
139 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_HOME, Phone.TYPE_HOME);
140 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_WORK, Phone.TYPE_WORK);
141 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CELL, Phone.TYPE_MOBILE)
    [all...]

Completed in 382 milliseconds

1 23 4 5 6 7 8 91011>>