/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/ |
D | DataUsageUtilsTest.java | 41 private static final int SUBSCRIPTION_ID = 1; field in DataUsageUtilsTest 87 when(subscriptionManager.getSubscriptionPlans(SUBSCRIPTION_ID)).thenReturn( in getPrimaryPlan_noSubscriptions_returnsNull() 90 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_noSubscriptions_returnsNull() 97 when(subscriptionManager.getSubscriptionPlans(SUBSCRIPTION_ID)).thenReturn( in getPrimaryPlan_dataLimitBytesIsZero_returnsNull() 101 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_dataLimitBytesIsZero_returnsNull() 109 when(subscriptionManager.getSubscriptionPlans(SUBSCRIPTION_ID)).thenReturn( in getPrimaryPlan_dataUsageBytesIsHuge_returnsNull() 114 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_dataUsageBytesIsHuge_returnsNull() 121 when(subscriptionManager.getSubscriptionPlans(SUBSCRIPTION_ID)).thenReturn( in getPrimaryPlan_cycleRuleIsNull_returnsNull() 127 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_cycleRuleIsNull_returnsNull() 135 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/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 336 smsRow.put(Telephony.Sms.SUBSCRIPTION_ID, subId); in createSmsRow() 366 mmsRow.put(Telephony.Mms.SUBSCRIPTION_ID, subId); in createMmsRow() 716 if (mSubId2Phone.get(modifiedValues.getAsInteger(Telephony.Sms.SUBSCRIPTION_ID)) in insert() 718 modifiedValues.put(Telephony.Sms.SUBSCRIPTION_ID, -1); in insert() 816 if (values.get(Telephony.Mms.SUBSCRIPTION_ID) != null) { in insert() 818 if (mSubId2Phone.get(modifiedValues.getAsInteger(Telephony.Sms.SUBSCRIPTION_ID)) in insert() 820 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 | 194 Telephony.Sms.SUBSCRIPTION_ID, 216 Telephony.Mms.SUBSCRIPTION_ID, 287 sDefaultValuesSms.put(Telephony.Sms.SUBSCRIPTION_ID, -1); in sDefaultValuesSms.put() argument 291 sDefaultValuesMms.put(Telephony.Mms.SUBSCRIPTION_ID, -1); in sDefaultValuesMms.put() argument 723 case Telephony.Sms.SUBSCRIPTION_ID: 820 values.put(Telephony.Sms.SUBSCRIPTION_ID, mPhone2subId.get(selfPhone)); 866 case Telephony.Mms.SUBSCRIPTION_ID: 920 mms.values.put(Telephony.Mms.SUBSCRIPTION_ID, mPhone2subId.get(selfPhone));
|
D | MmsSmsDatabaseHelper.java | 760 Mms.SUBSCRIPTION_ID + " INTEGER DEFAULT " in createMmsTables() 1148 PendingMessages.SUBSCRIPTION_ID + " INTEGER DEFAULT " + in createCommonTables() 1882 " ADD COLUMN " + Mms.SUBSCRIPTION_ID in upgradeDatabaseToVersion58() 1888 + " ADD COLUMN " + Sms.SUBSCRIPTION_ID in upgradeDatabaseToVersion58() 1891 +" ADD COLUMN " + Sms.SUBSCRIPTION_ID in upgradeDatabaseToVersion58() 2280 Mms.SUBSCRIPTION_ID + " INTEGER DEFAULT " in upgradePduTableToAutoIncrement()
|
D | TelephonyProvider.java | 61 import static android.provider.Telephony.Carriers.SUBSCRIPTION_ID; 325 SUBSCRIPTION_ID + " INTEGER DEFAULT " + in getStringForCarrierTableCreation() 1742 getIntValueFromCursor(cv, c, SUBSCRIPTION_ID); in copyApnValuesV17() 1780 getIntValueFromCursor(cv, c, SUBSCRIPTION_ID); in copyAllApnValues() 2101 if (!values.containsKey(SUBSCRIPTION_ID)) { in setDefaultValue() 2103 values.put(SUBSCRIPTION_ID, subId); in setDefaultValue()
|
D | MmsSmsProvider.java | 127 Mms.SUBSCRIPTION_ID };
|
/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()
|
D | MmsUtils.java | 868 values.put(Telephony.Sms.SUBSCRIPTION_ID, subId); in addMessageToUri()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ReceiveSmsMessageAction.java | 62 Integer subId = messageValues.getAsInteger(Sms.SUBSCRIPTION_ID); in executeAction()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | DownloadRequest.java | 163 values.put(Telephony.Mms.SUBSCRIPTION_ID, mSubId); in persistIfRequired()
|
D | SendRequest.java | 219 values.put(Telephony.Mms.SUBSCRIPTION_ID, mSubId); in persistIfRequired()
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
D | SmsReceiver.java | 216 messageValues.put(Sms.SUBSCRIPTION_ID, subId); in deliverSmsMessages()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduPersister.java | 1489 values.put(Mms.SUBSCRIPTION_ID, subId); in persist()
|