Home
last modified time | relevance | path

Searched refs:subId (Results 1 – 23 of 23) sorted by relevance

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DTelephonyManagerFacade.java133 @RpcOptional @RpcParameter(name = "subId") Integer subId) { in telephonyFactoryReset()
134 if (subId == null) { in telephonyFactoryReset()
135 subId = SubscriptionManager.getDefaultVoiceSubscriptionId(); in telephonyFactoryReset()
137 mTelephonyManager.factoryReset(subId); in telephonyFactoryReset()
146 @RpcOptional @RpcParameter(name = "subId") Integer subId) { in telephonyResetSettings()
147 if (subId == null) { in telephonyResetSettings()
148 subId = SubscriptionManager.getDefaultVoiceSubscriptionId(); in telephonyResetSettings()
150 mTelephonyManager.createForSubscriptionId(subId).resetSettings(); in telephonyResetSettings()
163 @RpcParameter(name = "subId") Integer subId) { in telephonySetPreferredNetworkTypesForSubscription()
168 subId, networkPreferenceInt); in telephonySetPreferredNetworkTypesForSubscription()
[all …]
DTelephonyStateListeners.java56 public CallStateChangeListener(EventFacade ef, int subId) { in CallStateChangeListener() argument
59 subscriptionId = subId; in CallStateChangeListener()
62 public CallStateChangeListener(EventFacade ef, int subId, Looper looper) { in CallStateChangeListener() argument
65 subscriptionId = subId; in CallStateChangeListener()
121 public DataConnectionRealTimeInfoChangeListener(EventFacade ef, int subId) { in DataConnectionRealTimeInfoChangeListener() argument
124 subscriptionId = subId; in DataConnectionRealTimeInfoChangeListener()
127 public DataConnectionRealTimeInfoChangeListener(EventFacade ef, int subId, Looper looper) { in DataConnectionRealTimeInfoChangeListener() argument
130 subscriptionId = subId; in DataConnectionRealTimeInfoChangeListener()
158 public DataConnectionStateChangeListener(EventFacade ef, TelephonyManager tm, int subId) { in DataConnectionStateChangeListener() argument
162 subscriptionId = subId; in DataConnectionStateChangeListener()
[all …]
DImsMmTelManagerFacade.java52 @RpcParameter(name = "subId") Integer subId) { in imsMmTelIsAdvancedCallingEnabled()
53 return ImsMmTelManager.createForSubscriptionId(subId).isAdvancedCallingSettingEnabled(); in imsMmTelIsAdvancedCallingEnabled()
64 @RpcParameter(name = "subId") Integer subId, in imsMmTelSetAdvancedCallingEnabled()
66 ImsMmTelManager.createForSubscriptionId(subId).setAdvancedCallingSettingEnabled(isEnabled); in imsMmTelSetAdvancedCallingEnabled()
76 @RpcParameter(name = "subId") Integer subId) { in imsMmTelIsVoWiFiRoamingSettingEnabled()
77 return ImsMmTelManager.createForSubscriptionId(subId).isVoWiFiRoamingSettingEnabled(); in imsMmTelIsVoWiFiRoamingSettingEnabled()
88 @RpcParameter(name = "subId") Integer subId, in imsMmTelSetVoWiFiRoamingSettingEnabled()
90 ImsMmTelManager.createForSubscriptionId(subId).setVoWiFiRoamingSettingEnabled(isEnabled); in imsMmTelSetVoWiFiRoamingSettingEnabled()
99 public boolean imsMmTelIsVoWiFiSettingEnabled(@RpcParameter(name = "subId") Integer subId) { in imsMmTelIsVoWiFiSettingEnabled()
100 return ImsMmTelManager.createForSubscriptionId(subId).isVoWiFiSettingEnabled(); in imsMmTelIsVoWiFiSettingEnabled()
[all …]
DSubscriptionManagerFacade.java60 Integer subId) { in subscriptionSetDefaultDataSubId()
61 mSubscriptionManager.setDefaultDataSubId(subId); in subscriptionSetDefaultDataSubId()
77 Integer subId) { in subscriptionSetDefaultVoiceSubId()
78 mSubscriptionManager.setDefaultVoiceSubscriptionId(subId); in subscriptionSetDefaultVoiceSubId()
89 Integer subId) { in subscriptionSetDefaultSmsSubId()
90 mSubscriptionManager.setDefaultSmsSubId(subId); in subscriptionSetDefaultSmsSubId()
110 Integer subId) { in subscriptionGetSubInfoForSubscriber()
111 return mSubscriptionManager.getActiveSubscriptionInfo(subId); in subscriptionGetSubInfoForSubscriber()
117 @RpcParameter(name = "subId") Integer subId) { in subscriptionSetDataRoaming()
120 SubscriptionManager.DATA_ROAMING_ENABLE, subId); in subscriptionSetDataRoaming()
[all …]
DProvisioningManagerFacade.java46 @RpcParameter(name = "subId") Integer subId, in provisioningGetProvisioningStatusForCapability()
85 return ProvisioningManager.createForSubscriptionId(subId) in provisioningGetProvisioningStatusForCapability()
98 @RpcParameter(name = "subId") Integer subId, in provisioningSetProvisioningIntValue()
128 return ProvisioningManager.createForSubscriptionId(subId) in provisioningSetProvisioningIntValue()
DTelecomManagerFacade.java176 Integer subId) throws Exception { in telecomSetUserSelectedOutgoingPhoneAccountBySubId()
184 if (subId == mTelephonyManager.getSubIdForPhoneAccount(phoneAccount)) { in telecomSetUserSelectedOutgoingPhoneAccountBySubId()
187 "Set default Outgoing Phone Account for subscription(%s)", subId)); in telecomSetUserSelectedOutgoingPhoneAccountBySubId()
193 subId)); in telecomSetUserSelectedOutgoingPhoneAccountBySubId()
196 subId)); in telecomSetUserSelectedOutgoingPhoneAccountBySubId()
256 Integer subId, in toggleCallWaitingForSubscription()
DSmsFacade.java556 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in onReceive() local
577 event.putInt("subscriptionId", subId); in onReceive()
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DRcsSettingUtils.java64 public static boolean isVoLteProvisioned(int subId) { in isVoLteProvisioned() argument
67 ProvisioningManager manager = ProvisioningManager.createForSubscriptionId(subId); in isVoLteProvisioned()
79 public static boolean isVowifiProvisioned(int subId) { in isVowifiProvisioned() argument
82 ProvisioningManager manager = ProvisioningManager.createForSubscriptionId(subId); in isVowifiProvisioned()
94 public static boolean isLvcProvisioned(int subId) { in isLvcProvisioned() argument
97 ProvisioningManager manager = ProvisioningManager.createForSubscriptionId(subId); in isLvcProvisioned()
109 public static boolean isEabProvisioned(Context context, int subId) { in isEabProvisioned() argument
111 if (subId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in isEabProvisioned()
118 PersistableBundle config = configManager.getConfigForSubId(subId); in isEabProvisioned()
126 ProvisioningManager manager = ProvisioningManager.createForSubscriptionId(subId); in isEabProvisioned()
[all …]
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DPresenceSetting.java63 public static long getCapabilityPollInterval(int subId) { in getCapabilityPollInterval() argument
66 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in getCapabilityPollInterval()
70 ProvisioningManager pm = ProvisioningManager.createForSubscriptionId(subId); in getCapabilityPollInterval()
84 public static long getCapabilityCacheExpiration(int subId) { in getCapabilityCacheExpiration() argument
87 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in getCapabilityCacheExpiration()
91 ProvisioningManager pm = ProvisioningManager.createForSubscriptionId(subId); in getCapabilityCacheExpiration()
105 public static int getPublishTimer(int subId) { in getPublishTimer() argument
108 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in getPublishTimer()
112 ProvisioningManager pm = ProvisioningManager.createForSubscriptionId(subId); in getPublishTimer()
125 public static int getPublishTimerExtended(int subId) { in getPublishTimerExtended() argument
[all …]
DSharedPrefUtil.java124 public static void saveLastUsedSubscriptionId(Context context, int subId) { in saveLastUsedSubscriptionId() argument
127 lastUsedSubIdPref.putInt(LAST_USED_SUB_ID, subId).commit(); in saveLastUsedSubscriptionId()
DCapabilityPolling.java811 int subId = PresenceSetting.getDefaultSubscriptionId(); in getLine1Number() local
812 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in getLine1Number()
816 telephony = telephony.createForSubscriptionId(subId); in getLine1Number()
838 int subId = PresenceSetting.getDefaultSubscriptionId(); in getSubscriberId() local
839 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in getSubscriberId()
842 telephony.createForSubscriptionId(subId); in getSubscriberId()
DPollingTask.java65 public PollingTask(int type, List<Contacts.Item> list, int subId) { in PollingTask() argument
68 mSubId = subId; in PollingTask()
/external/ims/rcs/rcsmanager/src/java/com/android/ims/
DRcsManager.java120 public static RcsManager getInstance(Context context, int subId) { in getInstance() argument
122 if (sRcsManagerInstances.containsKey(subId)){ in getInstance()
123 return sRcsManagerInstances.get(subId); in getInstance()
126 RcsManager mgr = new RcsManager(context, subId); in getInstance()
127 sRcsManagerInstances.put(subId, mgr); in getInstance()
133 private RcsManager(Context context, int subId) { in RcsManager() argument
135 mSubId = subId; in RcsManager()
205 private static String getRcsServiceName(int subId) { in getRcsServiceName() argument
/external/lzma/CPP/7zip/
DIDecl.h18 #define DECL_INTERFACE_SUB(i, base, groupId, subId) \ argument
23 0, 0, 0, (groupId), 0, (subId), 0, 0); \
26 #define DECL_INTERFACE(i, groupId, subId) DECL_INTERFACE_SUB(i, IUnknown, groupId, subId) argument
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCarrierConfigManager.java21 protected PersistableBundle getConfigForSubId(int subId) { in getConfigForSubId() argument
22 PersistableBundle persistableBundle = bundles.get(subId); in getConfigForSubId()
33 public void setConfigForSubId(int subId, PersistableBundle config) { in setConfigForSubId() argument
34 bundles.put(subId, config); in setConfigForSubId()
DShadowTelephonyManager.java252 protected String getSimCountryIso(int subId) { in getSimCountryIso() argument
253 return simCountryIsoMap.get(subId); in getSimCountryIso()
261 public void setSimCountryIso(int subId, String simCountryIso) { in setSimCountryIso() argument
262 simCountryIsoMap.put(subId, simCountryIso); in setSimCountryIso()
569 protected TelephonyManager createForSubscriptionId(int subId) {
570 return subscriptionIdsToTelephonyManagers.get(subId);
609 protected int getCurrentPhoneType(int subId) {
610 return currentPhoneTypes.get(subId, TelephonyManager.PHONE_TYPE_NONE);
614 public void setCurrentPhoneType(int subId, int phoneType) {
615 currentPhoneTypes.put(subId, phoneType);
DShadowSubscriptionManager.java109 protected SubscriptionInfo getActiveSubscriptionInfo(int subId) { in getActiveSubscriptionInfo() argument
114 if (info.getSubscriptionId() == subId) { in getActiveSubscriptionInfo()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DSettingsFacade.java359 @RpcOptional @RpcParameter(name = "subId") Integer subId) { in getMobileDataUsageInfo()
360 if (subId == null) { in getMobileDataUsageInfo()
361 subId = SubscriptionManager.getDefaultDataSubscriptionId(); in getMobileDataUsageInfo()
363 String subscriberId = mTelephonyManager.getSubscriberId(subId); in getMobileDataUsageInfo()
374 @RpcOptional @RpcParameter(name = "subId") Integer subId) { in getMobileDataUsageInfoForUid()
375 if (subId == null) { in getMobileDataUsageInfoForUid()
376 subId = SubscriptionManager.getDefaultDataSubscriptionId(); in getMobileDataUsageInfoForUid()
378 String subscriberId = mTelephonyManager.getSubscriberId(subId); in getMobileDataUsageInfoForUid()
DConnectivityManagerFacade.java808 String subId = allPolicies[i].template.getSubscriberId(); in connectivitySetDataWarningLimit() local
809 if (subId != null && subId.equals(subscriberId)) { in connectivitySetDataWarningLimit()
824 String subId = allPolicies[i].template.getSubscriberId(); in connectivitySetDataUsageLimit() local
825 if (subId != null && subId.equals(subscriberId)) { in connectivitySetDataUsageLimit()
840 String subId = allPolicies[i].template.getSubscriberId(); in connectivityGetDataUsageLimit() local
841 if (subId != null && subId.equals(subscriberId)) return allPolicies[i].limitBytes; in connectivityGetDataUsageLimit()
853 String subId = allPolicies[i].template.getSubscriberId(); in connectivityGetDataWarningLimit() local
854 if (subId != null && subId.equals(subscriberId)) return allPolicies[i].warningBytes; in connectivityGetDataWarningLimit()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTelephonyManagerTest.java371 int subId = 2; in shouldGetSimIosWhenSetUsingSlotNumber() local
372 shadowTelephonyManager.setSimCountryIso(subId, expectedSimIso); in shouldGetSimIosWhenSetUsingSlotNumber()
374 assertThat(telephonyManager.getSimCountryIso(subId)).isEqualTo(expectedSimIso); in shouldGetSimIosWhenSetUsingSlotNumber()
389 int subId = 1; in shouldGetCurrentPhoneTypeGivenSubId() local
391 shadowTelephonyManager.setCurrentPhoneType(subId, expectedPhoneType); in shouldGetCurrentPhoneTypeGivenSubId()
393 assertThat(telephonyManager.getCurrentPhoneType(subId)).isEqualTo(expectedPhoneType); in shouldGetCurrentPhoneTypeGivenSubId()
DShadowSmsManagerTest.java27 final int subId = 101; in getForSubscriptionId() local
29 smsManager = SmsManager.getSmsManagerForSubscriptionId(subId); in getForSubscriptionId()
30 assertThat(smsManager.getSubscriptionId()).isEqualTo(subId); in getForSubscriptionId()
/external/python/pyasn1/pyasn1/codec/ber/
Ddecoder.py337 subId = head[index]
339 if subId < 128:
340 oid += (subId,)
341 elif subId > 128:
343 nextSubId = subId
344 subId = 0
346 subId = (subId << 7) + (nextSubId & 0x7F)
353 oid += ((subId << 7) + nextSubId,)
354 elif subId == 128:
/external/icu/icu4c/source/tools/genrb/
Dwrtxml.cpp703 char* subId = NULL; in array_write_xml() local
707 subId = getID(sid, c, subId); in array_write_xml()
709 res_write_xml(current, subId, language, FALSE, status); in array_write_xml()
710 uprv_free(subId); in array_write_xml()
711 subId = NULL; in array_write_xml()