/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/ |
D | DataUsageUtilsTest.java | 40 private static final int SUBSCRIPTION_ID = 1; field in DataUsageUtilsTest 86 when(subscriptionManager.getSubscriptionPlans(SUBSCRIPTION_ID)).thenReturn( in getPrimaryPlan_noSubscriptions_returnsNull() 89 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_noSubscriptions_returnsNull() 96 when(subscriptionManager.getSubscriptionPlans(SUBSCRIPTION_ID)).thenReturn( in getPrimaryPlan_dataLimitBytesIsZero_returnsNull() 100 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_dataLimitBytesIsZero_returnsNull() 108 when(subscriptionManager.getSubscriptionPlans(SUBSCRIPTION_ID)).thenReturn( in getPrimaryPlan_dataUsageBytesIsHuge_returnsNull() 113 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_dataUsageBytesIsHuge_returnsNull() 120 when(subscriptionManager.getSubscriptionPlans(SUBSCRIPTION_ID)).thenReturn( in getPrimaryPlan_cycleRuleIsNull_returnsNull() 126 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_cycleRuleIsNull_returnsNull() 134 when(subscriptionManager.getSubscriptionPlans(SUBSCRIPTION_ID)).thenReturn( in getPrimaryPlan_cycleRuleIsValid_returnsSubscriptionPlan() [all …]
|
D | DataUsageEntryPreferenceControllerTest.java | 58 private static final int SUBSCRIPTION_ID = 1; field in DataUsageEntryPreferenceControllerTest 123 ShadowSubscriptionManager.setDefaultSubscriptionId(SUBSCRIPTION_ID); in refreshUi_noPrimaryPlan_noSummarySet() 132 ShadowSubscriptionManager.setDefaultSubscriptionId(SUBSCRIPTION_ID); in refreshUi_hasPrimaryPlan_setsSummary()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/ |
D | ConversationsPerDeviceFetchManager.java | 20 import static android.provider.Telephony.TextBasedSmsColumns.SUBSCRIPTION_ID; 64 SUBSCRIPTION_ID, THREAD_ID, 99 /* selection= */ SUBSCRIPTION_ID + "=" + accountId, in getCursor()
|
D | NewMessageLiveData.java | 61 + Telephony.TextBasedSmsColumns.SUBSCRIPTION_ID
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MapClientContent.java | 233 values.put(Sms.SUBSCRIPTION_ID, mSubscriptionId); in storeSms() 324 values.put(Mms.SUBSCRIPTION_ID, mSubscriptionId); in storeMms() 357 values.put(Mms.SUBSCRIPTION_ID, mSubscriptionId); in storeMms() 436 resolver.delete(Sms.CONTENT_URI, Sms.SUBSCRIPTION_ID + " =? ", in clearMessages() 438 resolver.delete(Mms.CONTENT_URI, Mms.SUBSCRIPTION_ID + " =? ", in clearMessages()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | ApnDatabase.java | 86 Telephony.Carriers.SUBSCRIPTION_ID + " INTEGER DEFAULT " + 101 Telephony.Carriers.SUBSCRIPTION_ID // 11 139 Telephony.Carriers.SUBSCRIPTION_ID,
|
D | DatabaseMessages.java | 118 Sms.SUBSCRIPTION_ID, in getProjection() 307 Mms.SUBSCRIPTION_ID, in getProjection()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/ |
D | CursorUtils.java | 24 import static android.provider.Telephony.TextBasedSmsColumns.SUBSCRIPTION_ID; 55 _ID, TYPE, DATE, READ, CONTENT_TYPE, BODY, ADDRESS, THREAD_ID, SUBSCRIPTION_ID, MESSAGE_BOX
|
D | SmsUtils.java | 44 int subscriptionIdIndex = cursor.getColumnIndex(Sms.SUBSCRIPTION_ID); in parseSms()
|
D | MmsUtils.java | 68 message.mSubscriptionId = cursor.getInt(cursor.getColumnIndex(Sms.SUBSCRIPTION_ID)); in parseMms()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | SimPhonebookProviderTest.java | 145 ElementaryFiles.SUBSCRIPTION_ID, ElementaryFiles.SUBSCRIPTION_ID in query_entityFiles_returnsCursorWithCorrectProjection() argument 147 assertThat(cursor).hasColumnNames(ElementaryFiles.SUBSCRIPTION_ID, in query_entityFiles_returnsCursorWithCorrectProjection() 148 ElementaryFiles.SUBSCRIPTION_ID); in query_entityFiles_returnsCursorWithCorrectProjection() 194 ElementaryFiles.SLOT_INDEX, ElementaryFiles.SUBSCRIPTION_ID, in query_entityFiles_multiSim_returnsCursorWithRowForEachSimEf() 321 SimRecords.SUBSCRIPTION_ID, in query_simRecords_singleSim_returnsDataForCorrectEf() 362 SimRecords.SUBSCRIPTION_ID, in query_adnRecords_returnsAdnData() 402 SimRecords.SUBSCRIPTION_ID, in query_fdnRecords_returnsFdnData() 439 SimRecords.SUBSCRIPTION_ID, in query_sdnRecords_returnsSdnData() 535 SimRecords.SUBSCRIPTION_ID, SimRecords.ELEMENTARY_FILE_TYPE, in query_itemUri_returnsCorrectRow()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 348 smsRow.put(Telephony.Sms.SUBSCRIPTION_ID, subId); in createSmsRow() 378 mmsRow.put(Telephony.Mms.SUBSCRIPTION_ID, subId); in createMmsRow() 806 if (mSubId2Phone.get(modifiedValues.getAsInteger(Telephony.Sms.SUBSCRIPTION_ID)) in insert() 808 modifiedValues.put(Telephony.Sms.SUBSCRIPTION_ID, -1); in insert() 906 if (values.get(Telephony.Mms.SUBSCRIPTION_ID) != null) { in insert() 908 if (mSubId2Phone.get(modifiedValues.getAsInteger(Telephony.Sms.SUBSCRIPTION_ID)) in insert() 910 modifiedValues.put(Telephony.Sms.SUBSCRIPTION_ID, -1); in insert()
|
D | SmsProviderTest.java | 165 values.put(Telephony.Sms.SUBSCRIPTION_ID, 1); in testInsertUri()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyBackupAgent.java | 206 Telephony.Sms.SUBSCRIPTION_ID, 228 Telephony.Mms.SUBSCRIPTION_ID, 299 sDefaultValuesSms.put(Telephony.Sms.SUBSCRIPTION_ID, -1); in sDefaultValuesSms.put() argument 303 sDefaultValuesMms.put(Telephony.Mms.SUBSCRIPTION_ID, -1); in sDefaultValuesMms.put() argument 847 case Telephony.Sms.SUBSCRIPTION_ID: 963 values.put(Telephony.Sms.SUBSCRIPTION_ID, mPhone2subId.get(selfPhone)); 1012 case Telephony.Mms.SUBSCRIPTION_ID: 1071 mms.values.put(Telephony.Mms.SUBSCRIPTION_ID, mPhone2subId.get(selfPhone));
|
D | MmsSmsDatabaseHelper.java | 753 Mms.SUBSCRIPTION_ID + " INTEGER DEFAULT " in createMmsTables() 1141 PendingMessages.SUBSCRIPTION_ID + " INTEGER DEFAULT " + in createCommonTables() 1866 " ADD COLUMN " + Mms.SUBSCRIPTION_ID in upgradeDatabaseToVersion58() 1872 + " ADD COLUMN " + Sms.SUBSCRIPTION_ID in upgradeDatabaseToVersion58() 1875 +" ADD COLUMN " + Sms.SUBSCRIPTION_ID in upgradeDatabaseToVersion58() 2264 Mms.SUBSCRIPTION_ID + " INTEGER DEFAULT " in upgradePduTableToAutoIncrement()
|
D | TelephonyProvider.java | 61 import static android.provider.Telephony.Carriers.SUBSCRIPTION_ID; 474 SUBSCRIPTION_ID + " INTEGER DEFAULT " + in getStringForCarrierTableCreation() 674 if (!values.containsKey(SUBSCRIPTION_ID)) { in setDefaultValue() 676 values.put(SUBSCRIPTION_ID, subId); in setDefaultValue() 2076 getIntValueFromCursor(cv, c, SUBSCRIPTION_ID); in copyApnValuesV17() 2114 getIntValueFromCursor(cv, c, SUBSCRIPTION_ID); in copyAllApnValues()
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimPhonebookProvider.java | 82 ElementaryFiles.SUBSCRIPTION_ID, 91 SimRecords.SUBSCRIPTION_ID, 334 .add(ElementaryFiles.SUBSCRIPTION_ID, subscriptionInfo.getSubscriptionId()) in addEfToCursor() 376 case SimRecords.SUBSCRIPTION_ID: in querySimRecords() 421 .add(SimRecords.SUBSCRIPTION_ID, args.subscriptionId) in querySimRecordsItem()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastProvider.java | 100 CellBroadcasts.SUBSCRIPTION_ID, 344 + CellBroadcasts.SUBSCRIPTION_ID + " INTEGER," in getStringForCellBroadcastTableCreation()
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CellBroadcastDatabaseHelperTest.java | 108 + CellBroadcasts.SUBSCRIPTION_ID + " INTEGER," in onCreate()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ReceiveSmsMessageAction.java | 63 Integer subId = messageValues.getAsInteger(Sms.SUBSCRIPTION_ID); in executeAction()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | DownloadRequest.java | 169 values.put(Telephony.Mms.SUBSCRIPTION_ID, mSubId); in persistIfRequired()
|
D | SendRequest.java | 246 values.put(Telephony.Mms.SUBSCRIPTION_ID, mSubId); in persistIfRequired()
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
D | SmsReceiver.java | 217 messageValues.put(Sms.SUBSCRIPTION_ID, subId); in deliverSmsMessages()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastContentProvider.java | 470 cv.put(Telephony.Sms.Inbox.SUBSCRIPTION_ID, message.getSubscriptionId()); in writeMessageToSmsInbox()
|
D | CellBroadcastListActivity.java | 158 Telephony.CellBroadcasts.SUBSCRIPTION_ID,
|