HomeSort by relevance Sort by last modified time
    Searched refs:subId (Results 26 - 50 of 95) sorted by null

12 3 4

  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
CallManager.java 253 * get Phone object corresponds to subId
256 private Phone getPhone(int subId) {
259 if (phone.getSubId() == subId && !(phone instanceof ImsPhone)) {
287 * Get current coarse-grained voice call state on a subId.
292 public PhoneConstants.State getState(int subId) {
296 if (phone.getSubId() == subId) {
343 * @return the Phone service state corresponds to subId
345 public int getServiceState(int subId) {
349 if (phone.getSubId() == subId) {
388 public Phone getPhoneInCall(int subId) {
    [all...]
PhoneFactory.java 264 public static void setDefaultSubscription(int subId) {
265 SystemProperties.set(PROPERTY_DEFAULT_SUBSCRIPTION, Integer.toString(subId));
266 int phoneId = SubscriptionController.getInstance().getPhoneId(subId);
286 Rlog.d(LOG_TAG, "setDefaultSubscription : " + subId
314 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
317 subId = Settings.Global.getInt(sContext.getContentResolver(),
323 return subId;
376 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
379 subId = Settings.Global.getInt(sContext.getContentResolver(),
385 return subId;
    [all...]
SubscriptionInfoUpdater.java 163 public void setDisplayNameForNewSub(String newSubName, int subId, int newNameSource) {
164 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(subId);
169 logd("[setDisplayNameForNewSub] subId = " + subInfo.getSubscriptionId()
181 logd("SUB" + (subId + 1) + " SubInfo not created yet");
301 int subId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID;
304 subId = subIds[0];
307 if (SubscriptionManager.isValidSubscriptionId(subId)) {
310 if (subId == SubscriptionController.getInstance().getDefaultSubId()) {
313 SubscriptionController.getInstance().setMccMnc(operator,subId);
318 String msisdn = tm.getLine1NumberForSubscriber(subId);
    [all...]
PhoneNotifier.java 65 public void notifyOemHookRawEventForSubscriber(int subId, byte[] rawData);
  /packages/services/Mms/src/com/android/mms/service/
MmsConfigManager.java 119 * @param subId Subscription id of the desired MmsConfig
125 public MmsConfig getMmsConfigBySubId(int subId) {
128 mmsConfig = mSubIdConfigMap.get(subId);
130 Log.i(TAG, "getMmsConfigBySubId -- for sub: " + subId + " mmsConfig: " + mmsConfig);
137 * file via the ResourceManager. With single-SIM devices, there will be a single subId.
166 int subId = sub.getSubscriptionId();
167 newConfigMap.put(subId, new MmsConfig(subContext, subId));
MmsRequest.java 86 public MmsRequest(RequestManager requestManager, int subId, String creator,
89 mSubId = subId;
115 private static boolean isMobileDataEnabled(final Context context, final int subId) {
118 return telephonyManager.getDataEnabled(subId);
121 private static boolean isDataNetworkAvailable(final Context context, final int subId) {
122 return !inAirplaneMode(context) && isMobileDataEnabled(context, subId);
MmsService.java 139 private MmsNetworkManager getNetworkManager(int subId) {
141 MmsNetworkManager manager = mNetworkManagerCache.get(subId);
143 manager = new MmsNetworkManager(this, subId);
144 mNetworkManagerCache.put(subId, manager);
156 private int checkSubId(int subId) {
157 if (!SubscriptionManager.isValidSubscriptionId(subId)) {
158 throw new RuntimeException("Invalid subId " + subId);
160 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) {
163 return subId;
    [all...]
MmsConfig.java 189 * @param subId Subscription id of the mcc/mnc in the context
191 public MmsConfig(Context context, int subId) {
192 mSubId = subId;
207 * @return subId the subId associated with this MmsConfig
524 private static String getLine1(Context context, int subId) {
527 return telephonyManager.getLine1NumberForSubscriber(subId);
530 private static String getLine1NoCountryCode(Context context, int subId) {
535 subId,
536 telephonyManager.getLine1NumberForSubscriber(subId));
    [all...]
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
TelephonyProvider.java 106 s_urlMatcher.addURI("telephony", "carriers/subId/*", URL_TELEPHONY_USING_SUBID);
107 s_urlMatcher.addURI("telephony", "carriers/current/subId/*", URL_CURRENT_USING_SUBID);
108 s_urlMatcher.addURI("telephony", "carriers/restore/subId/*", URL_RESTOREAPN_USING_SUBID);
109 s_urlMatcher.addURI("telephony", "carriers/preferapn/subId/*", URL_PREFERAPN_USING_SUBID);
110 s_urlMatcher.addURI("telephony", "carriers/preferapn_no_update/subId/*",
617 int subId = SubscriptionManager.getDefaultSubId();
619 values.put(Telephony.Carriers.SUBSCRIPTION_ID, subId);
655 private void setPreferredApnId(Long id, int subId) {
657 PREF_FILE + subId, Context.MODE_PRIVATE);
663 private long getPreferredApnId(int subId) {
    [all...]
  /external/lzma/CPP/7zip/Compress/
BranchCoder.h 36 #define MyClassA(Name, id, subId) \
40 #define MyClassB(Name, id, subId, ADD_ITEMS, ADD_INIT) \
  /external/smack/src/org/jivesoftware/smackx/pubsub/provider/
SubscriptionProvider.java 33 String subId = parser.getAttributeValue(null, "subid");
49 return new Subscription(jid, nodeId, subId, (state == null ? null : Subscription.State.valueOf(state)), isRequired);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
SignalClusterView.java 162 int subId) {
163 PhoneState state = getOrInflateState(subId);
192 private PhoneState getOrInflateState(int subId) {
194 if (state.mSubId == subId) {
198 return inflatePhoneState(subId);
201 private PhoneState inflatePhoneState(int subId) {
202 PhoneState state = new PhoneState(subId, mContext);
328 public PhoneState(int subId, Context context) {
332 mSubId = subId;
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardUpdateMonitor.java 290 cb.onSimStateChanged(data.subId, data.slotId, data.simState);
455 + " slotId: " + args.slotId + " subid: " + args.subId);
457 mHandler.obtainMessage(MSG_SIM_STATE_CHANGE, args.subId, args.slotId, args.simState)
523 public int subId;
528 subId = id;
538 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY,
572 return new SimData(state, slotId, subId);
576 return "SimData{state=" + simState + ",slotId=" + slotId + ",subId=" + subId + "}"
    [all...]
KeyguardSimPinView.java 59 public void onSimStateChanged(int subId, int slotId, State simState) {
60 if (DEBUG) Log.v(TAG, "onSimStateChanged(subId=" + subId + ",state=" + simState + ")");
170 protected CheckSimPin(String pin, int subId) {
172 mSubId = subId;
181 Log.v(TAG, "call supplyPinReportResultForSubscriber(subid=" + mSubId + ")");
KeyguardUpdateMonitorCallback.java 123 public void onSimStateChanged(int subId, int slotId, IccCardConstants.State simState) { }
  /external/srec/tools/grxmlcompile/
grph.h 68 int getSubGraphIndex (int subId);
  /frameworks/base/telephony/java/com/android/internal/telephony/
CallerInfoAsyncQuery.java 84 public int subId;
284 mCallerInfo = new CallerInfo().markAsVoiceMail(cw.subId);
391 int subId = SubscriptionManager.getDefaultSubId();
392 return startQuery(token, context, number, listener, cookie, subId);
407 OnQueryCompleteListener listener, Object cookie, int subId) {
435 cw.subId = subId;
440 } else if (PhoneNumberUtils.isVoiceMailNumber(subId, number)) {
CallerInfo.java 304 int subId = SubscriptionManager.getDefaultSubId();
305 return getCallerInfo(context, number, subId);
313 * @param subId the subscription for checking for if voice mail number or not
319 public static CallerInfo getCallerInfo(Context context, String number, int subId) {
330 } else if (PhoneNumberUtils.isVoiceMailNumber(subId, number)) {
421 int subId = SubscriptionManager.getDefaultSubId();
422 return markAsVoiceMail(subId);
426 /* package */ CallerInfo markAsVoiceMail(int subId) {
430 String voiceMailLabel = TelephonyManager.getDefault().getVoiceMailAlphaTag(subId);
  /packages/apps/Settings/src/com/android/settings/sim/
SimDialogActivity.java 100 final int subId = sir.getSubscriptionId();
102 subscriptionIdToPhoneAccountHandle(subId);
103 setDefaultDataSubId(context, subId);
104 setDefaultSmsSubId(context, subId);
123 private static void setDefaultDataSubId(final Context context, final int subId) {
125 subscriptionManager.setDefaultDataSubId(subId);
129 private static void setDefaultSmsSubId(final Context context, final int subId) {
131 subscriptionManager.setDefaultSmsSubId(subId);
139 private PhoneAccountHandle subscriptionIdToPhoneAccountHandle(final int subId) {
151 && Integer.parseInt(phoneAccountId) == subId){
    [all...]
  /frameworks/base/telephony/java/android/telephony/
PhoneStateListener.java 255 * own non-null Looper use PhoneStateListener(int subId, Looper looper) below.
258 public PhoneStateListener(int subId) {
259 this(subId, Looper.myLooper());
267 public PhoneStateListener(int subId, Looper looper) {
268 if (DBG) log("ctor: subId=" + subId + " looper=" + looper);
269 mSubId = subId;
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
HeadsetPhoneState.java 122 int subId = SubscriptionManager.getDefaultSubId();
124 if (SubscriptionManager.isValidSubscriptionId(subId)) {
125 mPhoneStateListener = getPhoneStateListener(subId);
230 private PhoneStateListener getPhoneStateListener(int subId) {
231 PhoneStateListener mPhoneStateListener = new PhoneStateListener(subId) {
  /packages/services/Telecomm/src/com/android/server/telecom/
RespondViaSmsManager.java 148 int subId = phoneAccountRegistrar.getSubscriptionIdForPhoneAccount(
151 textMessage, subId);
185 int subId) {
195 if (SubscriptionManager.isValidSubscriptionId(subId)) {
196 intent.putExtra(PhoneConstants.SUBSCRIPTION_KEY, subId);
  /frameworks/base/services/core/java/com/android/server/
MmsServiceBroker.java 223 public void sendMessage(int subId, String callingPkg, Uri contentUri,
235 getServiceGuarded().sendMessage(subId, callingPkg, contentUri, locationUrl,
240 public void downloadMessage(int subId, String callingPkg, String locationUrl,
254 getServiceGuarded().downloadMessage(subId, callingPkg, locationUrl, contentUri,
259 public Bundle getCarrierConfigValues(int subId) throws RemoteException {
261 return getServiceGuarded().getCarrierConfigValues(subId);
361 public void sendStoredMessage(int subId, String callingPkg, Uri messageUri,
369 getServiceGuarded().sendStoredMessage(subId, callingPkg, messageUri, configOverrides,
  /packages/services/Telephony/src/com/android/phone/
GsmUmtsOptions.java 46 final int subId) {
49 mSubId = subId;
  /frameworks/opt/telephony/src/java/android/provider/
Telephony.java 356 * @param subId the subscription which the message belongs to
360 public static Uri addMessageToUri(int subId, ContentResolver resolver,
363 return addMessageToUri(subId, resolver, uri, address, body, subject,
402 * @param subId the subscription which the message belongs to
406 public static Uri addMessageToUri(int subId, ContentResolver resolver,
410 Rlog.v(TAG,"Telephony addMessageToUri sub id: " + subId);
412 values.put(SUBSCRIPTION_ID, subId);
538 * @param subId the subscription which the message belongs to
542 public static Uri addMessage(int subId, ContentResolver resolver,
544 return addMessageToUri(subId, resolver, CONTENT_URI, address, body
    [all...]

Completed in 578 milliseconds

12 3 4