Home
last modified time | relevance | path

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

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DTelephonyManagerFacade.java129 @RpcOptional @RpcParameter(name = "subId") Integer subId) { in telephonyFactoryReset()
130 if (subId == null) { in telephonyFactoryReset()
131 subId = SubscriptionManager.getDefaultVoiceSubscriptionId(); in telephonyFactoryReset()
133 mTelephonyManager.factoryReset(subId); in telephonyFactoryReset()
146 @RpcParameter(name = "subId") Integer subId) { in telephonySetPreferredNetworkTypesForSubscription()
151 subId, networkPreferenceInt); in telephonySetPreferredNetworkTypesForSubscription()
163 @RpcParameter(name = "subId") Integer subId) { in telephonySetNetworkSelectionModeAutomaticForSubscription()
175 @RpcParameter(name = "subId") Integer subId) { in telephonyGetPreferredNetworkTypesForSubscription()
176 int networkPreferenceInt = mTelephonyManager.getPreferredNetworkType(subId); in telephonyGetPreferredNetworkTypesForSubscription()
188 @RpcParameter(name = "subId") Integer subId) { in telephonyGetCurrentVoiceNetworkTypeForSubscription()
[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 …]
DSubscriptionManagerFacade.java60 Integer subId) { in subscriptionSetDefaultDataSubId()
61 mSubscriptionManager.setDefaultDataSubId(subId); in subscriptionSetDefaultDataSubId()
72 Integer subId) { in subscriptionSetDefaultVoiceSubId()
73 mSubscriptionManager.setDefaultVoiceSubId(subId); in subscriptionSetDefaultVoiceSubId()
84 Integer subId) { in subscriptionSetDefaultSmsSubId()
85 mSubscriptionManager.setDefaultSmsSubId(subId); in subscriptionSetDefaultSmsSubId()
101 Integer subId) { in subscriptionGetSubInfoForSubscriber()
102 return mSubscriptionManager.getActiveSubscriptionInfo(subId); in subscriptionGetSubInfoForSubscriber()
107 @RpcParameter(name = "subId") Integer subId, in subscriptionSetAlwaysAllowMmsData()
109 return mSubscriptionManager.setAlwaysAllowMmsData(subId, alwaysAllow); in subscriptionSetAlwaysAllowMmsData()
[all …]
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.java552 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in onReceive() local
573 event.putInt("subscriptionId", subId); in onReceive()
/external/ims/rcs/rcsmanager/src/java/com/android/ims/
DRcsManager.java254 public static RcsManager getInstance(Context context, int subId) { in getInstance() argument
256 if (sRcsManagerInstances.containsKey(subId)){ in getInstance()
257 return sRcsManagerInstances.get(subId); in getInstance()
260 RcsManager mgr = new RcsManager(context, subId); in getInstance()
261 sRcsManagerInstances.put(subId, mgr); in getInstance()
267 private RcsManager(Context context, int subId) { in RcsManager() argument
269 mSubId = subId; in RcsManager()
339 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.java358 @RpcOptional @RpcParameter(name = "subId") Integer subId) { in getMobileDataUsageInfo()
359 if (subId == null) { in getMobileDataUsageInfo()
360 subId = SubscriptionManager.getDefaultDataSubscriptionId(); in getMobileDataUsageInfo()
362 String subscriberId = mTelephonyManager.getSubscriberId(subId); in getMobileDataUsageInfo()
373 @RpcOptional @RpcParameter(name = "subId") Integer subId) { in getMobileDataUsageInfoForUid()
374 if (subId == null) { in getMobileDataUsageInfoForUid()
375 subId = SubscriptionManager.getDefaultDataSubscriptionId(); in getMobileDataUsageInfoForUid()
377 String subscriberId = mTelephonyManager.getSubscriberId(subId); in getMobileDataUsageInfoForUid()
DConnectivityManagerFacade.java939 String subId = allPolicies[i].template.getSubscriberId(); in connectivitySetDataWarningLimit() local
940 if (subId != null && subId.equals(subscriberId)) { in connectivitySetDataWarningLimit()
955 String subId = allPolicies[i].template.getSubscriberId(); in connectivitySetDataUsageLimit() local
956 if (subId != null && subId.equals(subscriberId)) { in connectivitySetDataUsageLimit()
971 String subId = allPolicies[i].template.getSubscriberId(); in connectivityGetDataUsageLimit() local
972 if (subId != null && subId.equals(subscriberId)) return allPolicies[i].limitBytes; in connectivityGetDataUsageLimit()
984 String subId = allPolicies[i].template.getSubscriberId(); in connectivityGetDataWarningLimit() local
985 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/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DCapabilityPolling.java807 int subId = SubscriptionManager.getDefaultDataSubscriptionId(); in getLine1Number() local
808 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in getLine1Number()
809 subId = DEFAULT_SUBSCRIPTION; in getLine1Number()
811 mdn = telephony.getLine1Number(subId); in getLine1Number()
837 int subId = SubscriptionManager.getDefaultDataSubscriptionId(); in getSubscriberId() local
838 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in getSubscriberId()
839 subId = DEFAULT_SUBSCRIPTION; in getSubscriberId()
841 subscriberId = telephony.getSubscriberId(subId); in getSubscriberId()
/external/python/pyasn1/pyasn1/codec/ber/
Ddecoder.py320 subId = head[index]
322 if subId < 128:
323 oid += (subId,)
324 elif subId > 128:
326 nextSubId = subId
327 subId = 0
329 subId = (subId << 7) + (nextSubId & 0x7F)
336 oid += ((subId << 7) + nextSubId,)
337 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()