Home
last modified time | relevance | path

Searched refs:Telephony (Results 1 – 25 of 74) sorted by relevance

123

/frameworks/opt/telephony/src/java/android/telephony/
DCellBroadcastMessage.java25 import android.provider.Telephony;
134 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.GEOGRAPHICAL_SCOPE)); in createFromCursor()
136 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.SERIAL_NUMBER)); in createFromCursor()
138 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.SERVICE_CATEGORY)); in createFromCursor()
140 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.LANGUAGE_CODE)); in createFromCursor()
142 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.MESSAGE_BODY)); in createFromCursor()
144 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.MESSAGE_FORMAT)); in createFromCursor()
146 cursor.getColumnIndexOrThrow(Telephony.CellBroadcasts.MESSAGE_PRIORITY)); in createFromCursor()
149 int plmnColumn = cursor.getColumnIndex(Telephony.CellBroadcasts.PLMN); in createFromCursor()
157 int lacColumn = cursor.getColumnIndex(Telephony.CellBroadcasts.LAC); in createFromCursor()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DRcsMessageQueryHelper.java18 import static android.provider.Telephony.RcsColumns.CONTENT_AND_AUTHORITY;
19 import static android.provider.Telephony.RcsColumns.Rcs1To1ThreadColumns.RCS_1_TO_1_THREAD_URI_PART;
20 import static android.provider.Telephony.RcsColumns.RcsFileTransferColumns.CONTENT_TYPE_COLUMN;
21 import static android.provider.Telephony.RcsColumns.RcsFileTransferColumns.CONTENT_URI_COLUMN;
22 import static android.provider.Telephony.RcsColumns.RcsFileTransferColumns.DURATION_MILLIS_COLUMN;
23 import static android.provider.Telephony.RcsColumns.RcsFileTransferColumns.FILE_SIZE_COLUMN;
24 import static android.provider.Telephony.RcsColumns.RcsFileTransferColumns.FILE_TRANSFER_URI;
25 import static android.provider.Telephony.RcsColumns.RcsFileTransferColumns.FILE_TRANSFER_URI_PART;
26 import static android.provider.Telephony.RcsColumns.RcsFileTransferColumns.HEIGHT_COLUMN;
27 import static android.provider.Telephony.RcsColumns.RcsFileTransferColumns.PREVIEW_TYPE_COLUMN;
[all …]
DRcsEventQueryHelper.java18 import static android.provider.Telephony.RcsColumns.RcsEventTypes.ICON_CHANGED_EVENT_TYPE;
19 import static android.provider.Telephony.RcsColumns.RcsEventTypes.NAME_CHANGED_EVENT_TYPE;
20 import static android.provider.Telephony.RcsColumns.RcsEventTypes.PARTICIPANT_ALIAS_CHANGED_EVENT_T…
21 import static android.provider.Telephony.RcsColumns.RcsEventTypes.PARTICIPANT_JOINED_EVENT_TYPE;
22 import static android.provider.Telephony.RcsColumns.RcsEventTypes.PARTICIPANT_LEFT_EVENT_TYPE;
23 import static android.provider.Telephony.RcsColumns.RcsGroupThreadColumns.RCS_GROUP_THREAD_URI;
24 import static android.provider.Telephony.RcsColumns.RcsParticipantColumns.RCS_PARTICIPANT_URI;
25 import static android.provider.Telephony.RcsColumns.RcsParticipantEventColumns.ALIAS_CHANGE_EVENT_U…
26 import static android.provider.Telephony.RcsColumns.RcsParticipantEventColumns.NEW_ALIAS_COLUMN;
27 import static android.provider.Telephony.RcsColumns.RcsThreadColumns.RCS_THREAD_ID_COLUMN;
[all …]
DRcsMessageStoreController.java19 import static android.provider.Telephony.RcsColumns.Rcs1To1ThreadColumns.FALLBACK_THREAD_ID_COLUMN;
20 import static android.provider.Telephony.RcsColumns.Rcs1To1ThreadColumns.RCS_1_TO_1_THREAD_URI;
21 import static android.provider.Telephony.RcsColumns.RcsEventTypes.ICON_CHANGED_EVENT_TYPE;
22 import static android.provider.Telephony.RcsColumns.RcsEventTypes.NAME_CHANGED_EVENT_TYPE;
23 import static android.provider.Telephony.RcsColumns.RcsEventTypes.PARTICIPANT_JOINED_EVENT_TYPE;
24 import static android.provider.Telephony.RcsColumns.RcsEventTypes.PARTICIPANT_LEFT_EVENT_TYPE;
25 import static android.provider.Telephony.RcsColumns.RcsFileTransferColumns.CONTENT_TYPE_COLUMN;
26 import static android.provider.Telephony.RcsColumns.RcsFileTransferColumns.CONTENT_URI_COLUMN;
27 import static android.provider.Telephony.RcsColumns.RcsFileTransferColumns.DURATION_MILLIS_COLUMN;
28 import static android.provider.Telephony.RcsColumns.RcsFileTransferColumns.FILE_SIZE_COLUMN;
[all …]
DRcsThreadQueryHelper.java18 import static android.provider.Telephony.RcsColumns.Rcs1To1ThreadColumns.RCS_1_TO_1_THREAD_URI;
19 import static android.provider.Telephony.RcsColumns.RcsGroupThreadColumns.GROUP_ICON_COLUMN;
20 import static android.provider.Telephony.RcsColumns.RcsGroupThreadColumns.GROUP_NAME_COLUMN;
21 import static android.provider.Telephony.RcsColumns.RcsGroupThreadColumns.RCS_GROUP_THREAD_URI;
22 import static android.provider.Telephony.RcsColumns.RcsParticipantColumns.RCS_PARTICIPANT_ID_COLUMN;
23 import static android.provider.Telephony.RcsColumns.RcsParticipantColumns.RCS_PARTICIPANT_URI_PART;
24 import static android.provider.Telephony.RcsColumns.RcsThreadColumns.RCS_THREAD_ID_COLUMN;
25 import static android.provider.Telephony.RcsColumns.RcsThreadColumns.RCS_THREAD_URI;
26 import static android.provider.Telephony.RcsColumns.RcsUnifiedThreadColumns.THREAD_TYPE_1_TO_1;
27 import static android.provider.Telephony.RcsColumns.RcsUnifiedThreadColumns.THREAD_TYPE_COLUMN;
[all …]
DRcsParticipantQueryHelper.java18 import static android.provider.Telephony.RcsColumns.RcsParticipantColumns.RCS_PARTICIPANT_ID_COLUMN;
19 import static android.provider.Telephony.RcsColumns.RcsParticipantColumns.RCS_PARTICIPANT_URI;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierInfoManager.java26 import android.provider.Telephony;
79 String[] columns = {Telephony.CarrierColumns.PUBLIC_KEY, in getCarrierInfoForImsiEncryption()
80 Telephony.CarrierColumns.EXPIRATION_TIME, in getCarrierInfoForImsiEncryption()
81 Telephony.CarrierColumns.KEY_IDENTIFIER}; in getCarrierInfoForImsiEncryption()
82 findCursor = mContentResolver.query(Telephony.CarrierColumns.CONTENT_URI, columns, in getCarrierInfoForImsiEncryption()
122 contentValues.put(Telephony.CarrierColumns.MCC, imsiEncryptionInfo.getMcc()); in updateOrInsertCarrierKey()
123 contentValues.put(Telephony.CarrierColumns.MNC, imsiEncryptionInfo.getMnc()); in updateOrInsertCarrierKey()
124 contentValues.put(Telephony.CarrierColumns.KEY_TYPE, in updateOrInsertCarrierKey()
126 contentValues.put(Telephony.CarrierColumns.KEY_IDENTIFIER, in updateOrInsertCarrierKey()
128 contentValues.put(Telephony.CarrierColumns.PUBLIC_KEY, keyBytes); in updateOrInsertCarrierKey()
[all …]
DWapPushOverSms.java45 import android.provider.Telephony;
46 import android.provider.Telephony.Sms.Intents;
484 Telephony.Mms.Inbox.CONTENT_URI, in writeInboxMessage()
494 values.put(Telephony.Mms.THREAD_ID, threadId); in writeInboxMessage()
528 Telephony.Mms.Inbox.CONTENT_URI, in writeInboxMessage()
553 Telephony.Mms.MESSAGE_ID + "=? AND " + Telephony.Mms.MESSAGE_TYPE + "=?";
572 Telephony.Mms.CONTENT_URI, in getDeliveryOrReadReportThreadId()
573 new String[]{ Telephony.Mms.THREAD_ID }, in getDeliveryOrReadReportThreadId()
594 Telephony.Mms.MESSAGE_TYPE + "=? AND " + Telephony.Mms.CONTENT_LOCATION + " =?";
607 Telephony.Mms.CONTENT_URI, in isDuplicateNotification()
[all …]
DInboundSmsHandler.java55 import android.provider.Telephony;
56 import android.provider.Telephony.Sms.Intents;
187 protected static final Uri sRawUri = Uri.withAppendedPath(Telephony.Sms.CONTENT_URI, "raw");
189 Uri.withAppendedPath(Telephony.Sms.CONTENT_URI, "raw/permanentDelete");
1618 final SmsMessage[] messages = Telephony.Sms.Intents.getMessagesFromIntent(intent); in writeInboxMessage()
1633 return mContext.getContentResolver().insert(Telephony.Sms.Inbox.CONTENT_URI, values); in writeInboxMessage()
1651 values.put(Telephony.Sms.Inbox.ADDRESS, sms.getDisplayOriginatingAddress()); in parseSmsMessage()
1652 values.put(Telephony.Sms.Inbox.BODY, buildMessageBodyFromPdus(msgs)); in parseSmsMessage()
1653 values.put(Telephony.Sms.Inbox.DATE_SENT, sms.getTimestampMillis()); in parseSmsMessage()
1654 values.put(Telephony.Sms.Inbox.DATE, System.currentTimeMillis()); in parseSmsMessage()
[all …]
DCarrierResolver.java18 import static android.provider.Telephony.CarrierId;
29 import android.provider.Telephony;
69 Telephony.Carriers.CONTENT_URI, "preferapn");
344 Uri.withAppendedPath(Telephony.Carriers.CONTENT_URI, "preferapn/subId/" in getPreferApn()
345 + mPhone.getSubId()), /* projection */ new String[]{Telephony.Carriers.APN}, in getPreferApn()
354 Telephony.Carriers.APN)); in getPreferApn()
371 Uri.withAppendedPath(Telephony.Carriers.CONTENT_URI, in isPreferApnUserEdited()
373 /* projection */ new String[]{Telephony.Carriers.EDITED_STATUS}, in isPreferApnUserEdited()
374 /* selection */ Telephony.Carriers.APN + "=?", in isPreferApnUserEdited()
378 Telephony.Carriers.EDITED_STATUS)) == Telephony.Carriers.USER_EDITED; in isPreferApnUserEdited()
[all …]
DCellBroadcastHandler.java30 import android.provider.Telephony;
108 intent = new Intent(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION); in handleBroadcastSms()
144 intent = new Intent(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION); in handleBroadcastSms()
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java27 import android.provider.Telephony;
28 import android.provider.Telephony.Carriers;
738 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.TYPE))); in makeApnSetting()
740 cursor.getColumnIndexOrThrow(Telephony.Carriers.NETWORK_TYPE_BITMASK)); in makeApnSetting()
743 Telephony.Carriers.BEARER_BITMASK)); in makeApnSetting()
749 cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers._ID)), in makeApnSetting()
750 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.NUMERIC)), in makeApnSetting()
751 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.NAME)), in makeApnSetting()
752 cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.APN)), in makeApnSetting()
754 cursor.getColumnIndexOrThrow(Telephony.Carriers.PROXY)), in makeApnSetting()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DRcsMessageStoreControllerTest.java19 import static android.provider.Telephony.RcsColumns.Rcs1To1ThreadColumns.FALLBACK_THREAD_ID_COLUMN;
20 import static android.provider.Telephony.RcsColumns.RcsGroupThreadColumns.GROUP_ICON_COLUMN;
21 import static android.provider.Telephony.RcsColumns.RcsGroupThreadColumns.GROUP_NAME_COLUMN;
22 import static android.provider.Telephony.RcsColumns.RcsGroupThreadColumns.OWNER_PARTICIPANT_COLUMN;
32 import android.provider.Telephony;
33 import android.provider.Telephony.RcsColumns.RcsParticipantColumns;
99 new String[]{Telephony.CanonicalAddressesColumns._ID}); in testCreateRcsParticipant()
/frameworks/base/telephony/java/android/telephony/ims/
DRcsEventQueryParams.java19 import static android.provider.Telephony.RcsColumns.RcsEventTypes.ICON_CHANGED_EVENT_TYPE;
20 import static android.provider.Telephony.RcsColumns.RcsEventTypes.NAME_CHANGED_EVENT_TYPE;
21 import static android.provider.Telephony.RcsColumns.RcsEventTypes.PARTICIPANT_ALIAS_CHANGED_EVENT_T…
22 import static android.provider.Telephony.RcsColumns.RcsEventTypes.PARTICIPANT_JOINED_EVENT_TYPE;
23 import static android.provider.Telephony.RcsColumns.RcsEventTypes.PARTICIPANT_LEFT_EVENT_TYPE;
DRcsThread.java19 import static android.provider.Telephony.RcsColumns.RcsUnifiedThreadColumns.THREAD_TYPE_1_TO_1;
20 import static android.provider.Telephony.RcsColumns.RcsUnifiedThreadColumns.THREAD_TYPE_GROUP;
DRcsMessageQueryResult.java19 import static android.provider.Telephony.RcsColumns.RcsUnifiedMessageColumns.MESSAGE_TYPE_INCOMING;
DRcsThreadQueryResult.java19 import static android.provider.Telephony.RcsColumns.RcsUnifiedThreadColumns.THREAD_TYPE_1_TO_1;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java63 import android.provider.Telephony;
129 Telephony.Carriers.CONTENT_URI + "/preferapn");
204 if (uri.compareTo(Telephony.Carriers.CONTENT_URI) == 0 in query()
206 Telephony.Carriers.CONTENT_URI, "filtered").toString()) in query()
208 Telephony.Carriers.SIM_APN_URI, "filtered").toString())) { in query()
213 new String[]{Telephony.Carriers._ID, Telephony.Carriers.NUMERIC, in query()
214 Telephony.Carriers.NAME, Telephony.Carriers.APN, in query()
215 Telephony.Carriers.PROXY, Telephony.Carriers.PORT, in query()
216 Telephony.Carriers.MMSC, Telephony.Carriers.MMSPROXY, in query()
217 Telephony.Carriers.MMSPORT, Telephony.Carriers.USER, in query()
[all …]
/frameworks/base/services/core/java/com/android/server/updates/
DApnDbInstallReceiver.java24 import android.provider.Telephony;
28 private static final Uri UPDATE_APN_DB = Uri.withAppendedPath(Telephony.Carriers.CONTENT_URI,
DCarrierIdInstallReceiver.java24 import android.provider.Telephony;
35 resolver.update(Uri.withAppendedPath(Telephony.CarrierId.All.CONTENT_URI, in postInstall()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandlerTest.java40 import android.provider.Telephony;
126 assertEquals(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION, in testBroadcastSms()
130 assertEquals(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION, in testBroadcastSms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWapPushOverSmsTest.java36 import android.provider.Telephony;
97 assertEquals(Telephony.Sms.Intents.WAP_PUSH_DELIVER_ACTION, intent.getAction()); in testDispatchWapPdu()
140 assertEquals(Telephony.Sms.Intents.RESULT_SMS_HANDLED, in testDispatchWapPduFromBlockedNumber_noIntentsDispatched()
DSmsStorageMonitorTest.java22 import android.provider.Telephony;
83 assertEquals(Telephony.Sms.Intents.SIM_FULL_ACTION, in testEventIccFull()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java42 import android.provider.Telephony;
155 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); in setUp()
203 assertEquals(Telephony.Sms.Intents.SMS_DELIVER_ACTION, in testNewSms()
211 assertEquals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION, in testNewSms()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsMessageBase.java27 import android.provider.Telephony;
380 mIsEmail = Telephony.Mms.isEmailAddress(mEmailFrom); in extractEmailAddressFromMessageBody()

123