Home
last modified time | relevance | path

Searched refs:SUBSCRIPTION_ID (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataUsageUtilsTest.java40 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 …]
DDataUsageEntryPreferenceControllerTest.java58 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/
DConversationsPerDeviceFetchManager.java20 import static android.provider.Telephony.TextBasedSmsColumns.SUBSCRIPTION_ID;
64 SUBSCRIPTION_ID, THREAD_ID,
99 /* selection= */ SUBSCRIPTION_ID + "=" + accountId, in getCursor()
DNewMessageLiveData.java61 + Telephony.TextBasedSmsColumns.SUBSCRIPTION_ID
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientContent.java233 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/
DApnDatabase.java86 Telephony.Carriers.SUBSCRIPTION_ID + " INTEGER DEFAULT " +
101 Telephony.Carriers.SUBSCRIPTION_ID // 11
139 Telephony.Carriers.SUBSCRIPTION_ID,
DDatabaseMessages.java118 Sms.SUBSCRIPTION_ID, in getProjection()
307 Mms.SUBSCRIPTION_ID, in getProjection()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
DCursorUtils.java24 import static android.provider.Telephony.TextBasedSmsColumns.SUBSCRIPTION_ID;
55 _ID, TYPE, DATE, READ, CONTENT_TYPE, BODY, ADDRESS, THREAD_ID, SUBSCRIPTION_ID, MESSAGE_BOX
DSmsUtils.java44 int subscriptionIdIndex = cursor.getColumnIndex(Sms.SUBSCRIPTION_ID); in parseSms()
DMmsUtils.java68 message.mSubscriptionId = cursor.getInt(cursor.getColumnIndex(Sms.SUBSCRIPTION_ID)); in parseMms()
/packages/services/Telephony/tests/src/com/android/phone/
DSimPhonebookProviderTest.java145 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/
DTelephonyBackupAgentTest.java348 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()
DSmsProviderTest.java165 values.put(Telephony.Sms.SUBSCRIPTION_ID, 1); in testInsertUri()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java206 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));
DMmsSmsDatabaseHelper.java753 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()
DTelephonyProvider.java61 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/
DSimPhonebookProvider.java82 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/
DCellBroadcastProvider.java100 CellBroadcasts.SUBSCRIPTION_ID,
344 + CellBroadcasts.SUBSCRIPTION_ID + " INTEGER," in getStringForCellBroadcastTableCreation()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastDatabaseHelperTest.java108 + CellBroadcasts.SUBSCRIPTION_ID + " INTEGER," in onCreate()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DReceiveSmsMessageAction.java63 Integer subId = messageValues.getAsInteger(Sms.SUBSCRIPTION_ID); in executeAction()
/packages/services/Mms/src/com/android/mms/service/
DDownloadRequest.java169 values.put(Telephony.Mms.SUBSCRIPTION_ID, mSubId); in persistIfRequired()
DSendRequest.java246 values.put(Telephony.Mms.SUBSCRIPTION_ID, mSubId); in persistIfRequired()
/packages/apps/Messaging/src/com/android/messaging/receiver/
DSmsReceiver.java217 messageValues.put(Sms.SUBSCRIPTION_ID, subId); in deliverSmsMessages()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java470 cv.put(Telephony.Sms.Inbox.SUBSCRIPTION_ID, message.getSubscriptionId()); in writeMessageToSmsInbox()
DCellBroadcastListActivity.java158 Telephony.CellBroadcasts.SUBSCRIPTION_ID,

12