/external/lzma/CPP/7zip/ |
IDecl.h | 18 #define DECL_INTERFACE_SUB(i, base, groupId, subId) \
23 0, 0, 0, (groupId), 0, (subId), 0, 0); \
26 #define DECL_INTERFACE(i, groupId, subId) DECL_INTERFACE_SUB(i, IUnknown, groupId, subId)
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
TelephonyStateListeners.java | 55 public CallStateChangeListener(EventFacade ef, int subId) { 56 super(subId); 58 subscriptionId = subId; 61 public CallStateChangeListener(EventFacade ef, int subId, Looper looper) { 62 super(subId, looper); 64 subscriptionId = subId; 120 public DataConnectionRealTimeInfoChangeListener(EventFacade ef, int subId) { 121 super(subId); 123 subscriptionId = subId; 126 public DataConnectionRealTimeInfoChangeListener(EventFacade ef, int subId, Looper looper) [all...] |
SubscriptionManagerFacade.java | 59 @RpcParameter(name = "subId") 60 Integer subId) { 61 mSubscriptionManager.setDefaultDataSubId(subId); 71 @RpcParameter(name = "subId") 72 Integer subId) { 73 mSubscriptionManager.setDefaultVoiceSubId(subId); 83 @RpcParameter(name = "subId") 84 Integer subId) { 85 mSubscriptionManager.setDefaultSmsSubId(subId); 100 @RpcParameter(name = "subId") [all...] |
TelephonyManagerFacade.java | 121 * @param subId the subriber id to be reset, use default id if not provided. 125 @RpcOptional @RpcParameter(name = "subId") Integer subId) { 126 if (subId == null) { 127 subId = SubscriptionManager.getDefaultVoiceSubscriptionId(); 129 mTelephonyManager.factoryReset(subId); 142 @RpcParameter(name = "subId") Integer subId) { 147 subId, networkPreferenceInt); 155 * @param subId the subriber id to be set [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
UiccSmsController.java | 51 private Phone getPhone(int subId) { 52 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); 61 updateMessageOnIccEfForSubscriber(int subId, String callingPackage, int index, int status, 63 IccSmsInterfaceManager iccSmsIntMgr = getIccSmsInterfaceManager(subId); 68 " for Subscription: " + subId); 74 public boolean copyMessageToIccEfForSubscriber(int subId, String callingPackage, int status, 76 IccSmsInterfaceManager iccSmsIntMgr = getIccSmsInterfaceManager(subId); 81 " for Subscription: " + subId); 87 public List<SmsRawData> getAllMessagesFromIccEfForSubscriber(int subId, String callingPackage) 89 IccSmsInterfaceManager iccSmsIntMgr = getIccSmsInterfaceManager(subId); [all...] |
DefaultPhoneNotifier.java | 51 int subId = sender.getSubId(); 59 mRegistry.notifyCallStateForPhoneId(phoneId, subId, 72 int subId = sender.getSubId(); 75 + " sender=" + sender + " phondId=" + phoneId + " subId=" + subId); 82 mRegistry.notifyServiceStateForPhoneId(phoneId, subId, ss); 92 int subId = sender.getSubId(); 100 mRegistry.notifySignalStrengthForPhoneId(phoneId, subId, 111 int subId = sender.getSubId(); 115 mRegistry.notifyMessageWaitingChangedForPhoneId(phoneId, subId, [all...] |
PhoneSubInfoController.java | 82 public String getNaiForSubscriber(int subId, String callingPackage) { 83 Phone phone = getPhone(subId); 90 loge("getNai phone is null for Subscription:" + subId); 95 public String getImeiForSubscriber(int subId, String callingPackage) { 96 Phone phone = getPhone(subId); 103 loge("getDeviceId phone is null for Subscription:" + subId); 108 public ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int subId, int keyType, 110 Phone phone = getPhone(subId); 117 loge("getCarrierInfoForImsiEncryption phone is null for Subscription:" + subId); 122 public void setCarrierInfoForImsiEncryption(int subId, String callingPackage [all...] |
UiccPhoneBookController.java | 53 updateAdnRecordsInEfBySearchForSubscriber(int subId, int efid, String oldTag, 57 getIccPhoneBookInterfaceManager(subId); 63 " null for Subscription:"+subId); 78 updateAdnRecordsInEfByIndexForSubscriber(int subId, int efid, String newTag, 81 getIccPhoneBookInterfaceManager(subId); 87 " null for Subscription:"+subId); 99 getAdnRecordsSizeForSubscriber(int subId, int efid) throws android.os.RemoteException { 101 getIccPhoneBookInterfaceManager(subId); 106 " null for Subscription:"+subId); 117 public List<AdnRecord> getAdnRecordsInEfForSubscriber(int subId, int efid [all...] |
SubscriptionController.java | 71 * Any setters which take subId, slotIndex or phoneId as a parameter will throw an exception if the 349 * @param subId The subscription ID 352 private String getSubscriptionCountryIso(int subId) { 353 final int phoneId = getPhoneId(subId); 428 * Get the active SubscriptionInfo with the subId key 429 * @param subId The unique SubscriptionInfo key in database 434 public SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage) { 446 if (si.getSubscriptionId() == subId) { 448 logd("[getActiveSubscriptionInfo]+ subId=" + subId + " subInfo=" + si) [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
ITelephonyRegistry.aidl | 37 void listenForSubscriber(in int subId, String pkg, IPhoneStateListener callback, int events, 40 void notifyCallStateForPhoneId(in int phoneId, in int subId, int state, String incomingNumber); 41 void notifyServiceStateForPhoneId(in int phoneId, in int subId, in ServiceState state); 42 void notifySignalStrengthForPhoneId(in int phoneId, in int subId, 44 void notifyMessageWaitingChangedForPhoneId(in int phoneId, in int subId, in boolean mwi); 46 void notifyCallForwardingChangedForSubscriber(in int subId, boolean cfi); 48 void notifyDataActivityForSubscriber(in int subId, int state); 52 void notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, 56 void notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType); 58 void notifyCellLocationForSubscriber(in int subId, in Bundle cellLocation) [all...] |
IPhoneSubInfo.aidl | 35 String getNaiForSubscriber(int subId, String callingPackage); 46 String getImeiForSubscriber(int subId, String callingPackage); 55 * Retrieves the software version number of a subId for the device, e.g., IMEI/SV 58 String getDeviceSvnUsingSubId(int subId, String callingPackage); 66 * Retrieves the unique subscriber ID of a given subId, e.g., IMSI for GSM phones. 68 String getSubscriberIdForSubscriber(int subId, String callingPackage); 76 * Retrieves the Group Identifier Level1 for GSM phones of a subId. 78 String getGroupIdLevel1ForSubscriber(int subId, String callingPackage); 86 * Retrieves the serial number of a given subId. 88 String getIccSerialNumberForSubscriber(int subId, String callingPackage) [all...] |
ITelephony.aidl | 81 * End call on particular subId or go to the Home screen 82 * @param subId user preferred subId. 85 boolean endCallForSubscriber(int subId); 105 * Answer the currently-ringing call on particular subId . 119 void answerRingingCallForSubscriber(int subId); 142 * Check if a particular subId has an active or holding call 144 * @param subId user preferred subId. 148 boolean isOffhookForSubscriber(int subId, String callingPackage) [all...] |
ISub.aidl | 39 * Get the active SubscriptionInfo with the subId key 40 * @param subId The unique SubscriptionInfo key in database 44 SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage); 122 * @param subId the unique SubscriptionInfo index in database 125 int setIconTint(int tint, int subId); 130 * @param subId the unique SubscriptionInfo index in database 133 int setDisplayName(String displayName, int subId); 138 * @param subId the unique SubscriptionInfo index in database 142 int setDisplayNameUsingSrc(String displayName, int subId, long nameSource); 145 * Set phone number by subId [all...] |
/packages/services/Telephony/src/com/android/phone/vvm/ |
PhoneAccountHandleConverter.java | 28 * Utility to convert between PhoneAccountHandle and subId, which is a common operation in OMTP 38 public static PhoneAccountHandle fromSubId(int subId) { 39 if (!SubscriptionManager.isValidSubscriptionId(subId)) { 40 VvmLog.e(TAG, "invalid subId " + subId); 45 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); 47 VvmLog.e(TAG, "Unable to find Phone for subId " + subId);
|
/frameworks/base/telephony/java/android/telephony/mbms/vendor/ |
IMbmsStreamingService.aidl | 29 int initialize(IMbmsStreamingSessionCallback callback, int subId); 31 int requestUpdateStreamingServices(int subId, in List<String> serviceClasses); 33 int startStreaming(int subId, String serviceId, 36 Uri getPlaybackUri(int subId, String serviceId); 38 void stopStreaming(int subId, String serviceId); 40 void dispose(int subId);
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
BugleCarrierConfigValuesLoader.java | 57 public Bundle get(int subId) { 58 subId = PhoneUtils.getDefault().getEffectiveSubId(subId); 62 values = mValuesCache.get(subId); 65 mValuesCache.put(subId, values); 66 loadSource = loadLocked(subId, values); 71 + " from " + loadSource + " for subId=" + subId); 88 * @param subId which SIM to load for 92 private String loadLocked(final int subId, final Bundle values) [all...] |
/packages/apps/Messaging/src/android/support/v7/mms/ |
DefaultCarrierConfigValuesLoader.java | 50 public Bundle get(int subId) { 51 subId = Utils.getEffectiveSubscriptionId(subId); 55 values = mValuesCache.get(subId); 58 mValuesCache.put(subId, values); 59 loadLocked(subId, values); 69 private void loadLocked(final int subId, final Bundle values) { 71 loadFromResources(subId, values); 74 loadFromSystem(subId, values); 81 * @param subId which SIM to load fo [all...] |
Utils.java | 66 * @param subId the subscription ID of the SmsManager 67 * @return the SmsManager for the input subId 69 static SmsManager getSmsManager(final int subId) { 71 return SmsManager.getSmsManagerForSubscriptionId(subId); 80 * @param subId input subscription ID 83 static int getEffectiveSubscriptionId(int subId) { 85 if (subId == MmsManager.DEFAULT_SUB_ID) { 86 subId = SmsManager.getDefaultSmsSubscriptionId(); 89 if (subId < 0) { 90 subId = MmsManager.DEFAULT_SUB_ID [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
SubscriptionControllerMock.java | 79 public void setDefaultDataSubId(int subId) { 80 if (subId == DEFAULT_SUBSCRIPTION_ID) { 84 mDefaultDataSubId.set(subId); 85 broadcastDefaultDataSubIdChanged(subId); 88 private void broadcastDefaultDataSubIdChanged(int subId) { 92 intent.putExtra(PhoneConstants.SUBSCRIPTION_KEY, subId); 112 public SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage) { 153 public int setIconTint(int tint, int subId) { 157 public int setDisplayName(String displayName, int subId) { 161 public int setDisplayNameUsingSrc(String displayName, int subId, long nameSource) [all...] |
/packages/apps/Messaging/src/com/android/messaging/ |
FactoryImpl.java | 70 // Cached subId->instance for L_MR1 and beyond 159 public BuglePrefs getSubscriptionPrefs(int subId) { 160 subId = PhoneUtils.getDefault().getEffectiveSubId(subId); 161 BugleSubscriptionPrefs pref = mSubscriptionPrefs.get(subId); 164 if ((pref = mSubscriptionPrefs.get(subId)) == null) { 165 pref = new BugleSubscriptionPrefs(getApplicationContext(), subId); 166 mSubscriptionPrefs.put(subId, pref); 199 public PhoneUtils getPhoneUtils(int subId) { 201 if (subId == ParticipantData.DEFAULT_SELF_SUB_ID) [all...] |
/frameworks/base/services/core/java/com/android/server/ |
TelephonyRegistry.java | 75 * a subId changes from to a dummy value when a SIM is removed and thus won't 76 * compare properly. Because SubscriptionManager.getPhoneId(int subId) handles 100 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 120 + " callerUserId=" + callerUserId + " subId=" + subId + " phoneId=" + phoneId 239 if(r.subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { 461 public void listenForSubscriber(int subId, String pkgForDebug, IPhoneStateListener callback, 463 listen(pkgForDebug, callback, events, notifyNow, subId); 467 boolean notifyNow, int subId) { 471 + " notifyNow=" + notifyNow + " subId=" + subId + " myUserId= [all...] |
/packages/services/Telephony/src/com/android/phone/ |
PhoneInterfaceManager.java | 246 public Integer subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 252 public MainThreadRequest(Object argument, Integer subId) { 254 if (subId != null) { 255 this.subId = subId; 302 if (!isUssdApiAllowed(request.subId)) { 368 int answer_subId = request.subId; 374 int end_subId = request.subId; [all...] |
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
CarrierActionUtils.java | 101 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, 103 logd("onDisableAllMeteredApns subId: " + subId); 105 telephonyMgr.carrierActionSetMeteredApnsEnabled(subId, !ENABLE); 109 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, 111 logd("onEnableAllMeteredApns subId: " + subId); 113 telephonyMgr.carrierActionSetMeteredApnsEnabled(subId, ENABLE); 133 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, 135 logd("onRegisterDefaultNetworkAvail subId: " + subId) [all...] |
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/ |
CellBroadcastTest.java | 60 void carrierConfigSetStringArray(int subId, String key, String[] values) { 61 if (mBundles.get(subId) == null) { 62 mBundles.put(subId, new PersistableBundle()); 64 mBundles.get(subId).putStringArray(key, values); 65 doReturn(mBundles.get(subId)).when(mCarrierConfigManager).getConfigForSubId(eq(subId));
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
ServiceStateProvider.java | 111 public ServiceState getServiceState(int subId) { 112 return mServiceStates.get(subId); 123 // Parse the subId 124 int subId = 0; 126 subId = Integer.parseInt(uri.getLastPathSegment()); 128 Log.e(TAG, "insert: no subId provided in uri"); 131 Log.d(TAG, "subId=" + subId); 134 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { 135 subId = getDefaultSubId() [all...] |