Home
last modified time | relevance | path

Searched refs:slotId (Results 1 – 25 of 74) sorted by relevance

123

/frameworks/base/telephony/java/android/telephony/ims/
DImsService.java140 public IImsMmTelFeature createMmTelFeature(int slotId, IImsFeatureStatusCallback c) {
141 return createMmTelFeatureInternal(slotId, c);
145 public IImsRcsFeature createRcsFeature(int slotId, IImsFeatureStatusCallback c) {
146 return createRcsFeatureInternal(slotId, c);
150 public void removeImsFeature(int slotId, int featureType, IImsFeatureStatusCallback c) {
151 ImsService.this.removeImsFeature(slotId, featureType, c);
165 public IImsConfig getConfig(int slotId) {
166 ImsConfigImplBase c = ImsService.this.getConfig(slotId);
171 public IImsRegistration getRegistration(int slotId) {
172 ImsRegistrationImplBase r = ImsService.this.getRegistration(slotId);
[all …]
/frameworks/base/telephony/java/android/telephony/ims/compat/
DImsService.java94 public IImsMMTelFeature createEmergencyMMTelFeature(int slotId,
96 return createEmergencyMMTelFeatureInternal(slotId, c);
100 public IImsMMTelFeature createMMTelFeature(int slotId, IImsFeatureStatusCallback c) {
101 return createMMTelFeatureInternal(slotId, c);
105 public IImsRcsFeature createRcsFeature(int slotId, IImsFeatureStatusCallback c) {
106 return createRcsFeatureInternal(slotId, c);
110 public void removeImsFeature(int slotId, int featureType, IImsFeatureStatusCallback c)
112 ImsService.this.removeImsFeature(slotId, featureType, c);
136 public SparseArray<ImsFeature> getFeatures(int slotId) { in getFeatures() argument
137 return mFeaturesBySlot.get(slotId); in getFeatures()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsServiceControllerCompat.java73 public final void enableIms(int slotId) { in enableIms() argument
74 MmTelFeatureCompatAdapter adapter = mMmTelCompatAdapters.get(slotId); in enableIms()
76 Log.w(TAG, "enableIms: adapter null for slot :" + slotId); in enableIms()
90 public final void disableIms(int slotId) { in disableIms() argument
91 MmTelFeatureCompatAdapter adapter = mMmTelCompatAdapters.get(slotId); in disableIms()
93 Log.w(TAG, "enableIms: adapter null for slot :" + slotId); in disableIms()
107 public final IImsRegistration getRegistration(int slotId) { in getRegistration() argument
108 ImsRegistrationCompatAdapter adapter = mRegCompatAdapters.get(slotId); in getRegistration()
110 Log.w(TAG, "getRegistration: Registration does not exist for slot " + slotId); in getRegistration()
120 public final IImsConfig getConfig(int slotId) { in getConfig() argument
[all …]
DImsResolver.java129 public final int slotId; field in ImsResolver.OverrideConfig
134 slotId = slotIndex; in OverrideConfig()
240 int slotId = intent.getIntExtra(CarrierConfigManager.EXTRA_SLOT_INDEX,
243 if (slotId == SubscriptionManager.INVALID_SIM_SLOT_INDEX) {
250 int slotSimState = mTelephonyManagerProxy.getSimState(mContext, slotId);
255 Log.i(TAG, "Received CCC for slot " + slotId + " and sim state "
260 Log.i(TAG, "Received Carrier Config Changed for SlotId: " + slotId);
262 mHandler.obtainMessage(HANDLER_CONFIG_CHANGED, slotId).sendToTarget();
286 int getSubId(int slotId); in getSubId() argument
301 int getSimState(Context context, int slotId); in getSimState() argument
[all …]
DImsServiceController.java163 void imsServiceFeatureCreated(int slotId, int feature, ImsServiceController controller); in imsServiceFeatureCreated() argument
167 void imsServiceFeatureRemoved(int slotId, int feature, ImsServiceController controller); in imsServiceFeatureRemoved() argument
238 public int slotId; field in ImsServiceController.ImsFeatureContainer
242 ImsFeatureContainer(int slotId, int featureType, IInterface binder) { in ImsFeatureContainer() argument
243 this.slotId = slotId; in ImsFeatureContainer()
260 if (slotId != that.slotId) return false; in equals()
267 int result = slotId; in hashCode()
294 ImsFeatureStatusCallback(int slotId, int featureType) { in ImsFeatureStatusCallback() argument
295 mSlotId = slotId; in ImsFeatureStatusCallback()
417 if (!features.contains(new ImsFeatureConfiguration.FeatureSlotPair(feature.slotId, in sanitizeFeatureConfig()
[all …]
/frameworks/base/telephony/java/android/service/euicc/
DEuiccService.java437 public abstract String onGetEid(int slotId); in onGetEid() argument
446 public abstract @OtaStatus int onGetOtaStatus(int slotId); in onGetOtaStatus() argument
455 int slotId, OtaStatusChangedCallback statusChangedCallback); in onStartOtaIfNecessary() argument
469 int slotId, DownloadableSubscription subscription, boolean forceDeactivateSim); in onGetDownloadableSubscriptionMetadata() argument
482 onGetDefaultDownloadableSubscriptionList(int slotId, boolean forceDeactivateSim); in onGetDefaultDownloadableSubscriptionList() argument
506 public DownloadSubscriptionResult onDownloadSubscription(int slotId, in onDownloadSubscription() argument
530 @Deprecated public @Result int onDownloadSubscription(int slotId, in onDownloadSubscription() argument
544 public abstract @NonNull GetEuiccProfileInfoListResult onGetEuiccProfileInfoList(int slotId); in onGetEuiccProfileInfoList() argument
553 public abstract @NonNull EuiccInfo onGetEuiccInfo(int slotId); in onGetEuiccInfo() argument
567 public abstract @Result int onDeleteSubscription(int slotId, String iccid); in onDeleteSubscription() argument
[all …]
DIEuiccService.aidl38 void downloadSubscription(int slotId, in DownloadableSubscription subscription, in downloadSubscription() argument
41 void getDownloadableSubscriptionMetadata(int slotId, in DownloadableSubscription subscription, in getDownloadableSubscriptionMetadata() argument
43 void getEid(int slotId, in IGetEidCallback callback); in getEid() argument
44 void getOtaStatus(int slotId, in IGetOtaStatusCallback callback); in getOtaStatus() argument
45 void startOtaIfNecessary(int slotId, in IOtaStatusChangedCallback statusChangedCallback); in startOtaIfNecessary() argument
46 void getEuiccProfileInfoList(int slotId, in IGetEuiccProfileInfoListCallback callback); in getEuiccProfileInfoList() argument
47 void getDefaultDownloadableSubscriptionList(int slotId, boolean forceDeactivateSim, in getDefaultDownloadableSubscriptionList() argument
49 void getEuiccInfo(int slotId, in IGetEuiccInfoCallback callback); in getEuiccInfo() argument
50 void deleteSubscription(int slotId, String iccid, in IDeleteSubscriptionCallback callback); in deleteSubscription() argument
51 void switchToSubscription(int slotId, String iccid, boolean forceDeactivateSim, in switchToSubscription() argument
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DTestImsServiceControllerAdapter.java49 public IImsMmTelFeature createMmTelFeature(int slotId, IImsFeatureStatusCallback c) { in createMmTelFeature() argument
50 return TestImsServiceControllerAdapter.this.createMMTelFeature(slotId); in createMmTelFeature()
54 public IImsRcsFeature createRcsFeature(int slotId, IImsFeatureStatusCallback c) { in createRcsFeature() argument
55 return TestImsServiceControllerAdapter.this.createRcsFeature(slotId); in createRcsFeature()
59 public void removeImsFeature(int slotId, int featureType, IImsFeatureStatusCallback c) in removeImsFeature() argument
61 TestImsServiceControllerAdapter.this.removeImsFeature(slotId, featureType); in removeImsFeature()
74 public IImsConfig getConfig(int slotId) throws RemoteException { in getConfig() argument
79 public IImsRegistration getRegistration(int slotId) throws RemoteException { in getRegistration() argument
84 public void enableIms(int slotId) { in enableIms() argument
88 public void disableIms(int slotId) { in disableIms() argument
[all …]
DFeatureConnectionTest.java64 TestFeatureConnection(Context context, int slotId) { in TestFeatureConnection() argument
65 super(context, slotId); in TestFeatureConnection()
77 protected void handleImsFeatureCreatedCallback(int slotId, int feature) { in handleImsFeatureCreatedCallback() argument
82 protected void handleImsFeatureRemovedCallback(int slotId, int feature) { in handleImsFeatureRemovedCallback() argument
87 protected void handleImsStatusChangedCallback(int slotId, int feature, int status) { in handleImsStatusChangedCallback() argument
/frameworks/base/telephony/java/android/telephony/data/
DIDataService.aidl28 void createDataServiceProvider(int slotId); in createDataServiceProvider() argument
29 void removeDataServiceProvider(int slotId); in removeDataServiceProvider() argument
30 void setupDataCall(int slotId, int accessNetwork, in DataProfile dataProfile, boolean isRoaming, in setupDataCall() argument
33 void deactivateDataCall(int slotId, int cid, int reason, IDataServiceCallback callback); in deactivateDataCall() argument
34 void setInitialAttachApn(int slotId, in DataProfile dataProfile, boolean isRoaming, in setInitialAttachApn() argument
36 void setDataProfile(int slotId, in List<DataProfile> dps, boolean isRoaming, in setDataProfile() argument
38 void requestDataCallList(int slotId, IDataServiceCallback callback); in requestDataCallList() argument
39 void registerForDataCallListChanged(int slotId, IDataServiceCallback callback); in registerForDataCallListChanged() argument
40 void unregisterForDataCallListChanged(int slotId, IDataServiceCallback callback); in unregisterForDataCallListChanged() argument
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsFeatureConfiguration.java46 public final int slotId; field in ImsFeatureConfiguration.FeatureSlotPair
61 public FeatureSlotPair(int slotId, @ImsFeature.FeatureType int featureType) { in FeatureSlotPair() argument
62 this.slotId = slotId; in FeatureSlotPair()
73 if (slotId != that.slotId) return false; in equals()
79 int result = slotId; in hashCode()
87 return "{s=" + slotId + ", f=" + ImsFeature.FEATURE_LOG_MAP.get(featureType) + "}"; in toString()
113 public Builder addFeature(int slotId, @ImsFeature.FeatureType int featureType) { in addFeature() argument
114 mConfig.addFeature(slotId, featureType); in addFeature()
157 void addFeature(int slotId, int feature) { in addFeature() argument
158 mFeatures.add(new FeatureSlotPair(slotId, feature)); in addFeature()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/
DRcsFeatureConnection.java113 public static @NonNull RcsFeatureConnection create(Context context , int slotId, in create() argument
116 RcsFeatureConnection serviceProxy = new RcsFeatureConnection(context, slotId, callback); in create()
132 IImsRcsFeature binder = tm.getImsRcsFeatureAndListen(slotId, serviceProxy.getListener()); in create()
139 Rlog.i(TAG, "create: binder is null! Slot Id: " + slotId); in create()
149 private RcsFeatureConnection(Context context, int slotId, IFeatureUpdate callback) { in RcsFeatureConnection() argument
150 super(context, slotId); in RcsFeatureConnection()
180 public void handleImsFeatureCreatedCallback(int slotId, int feature) { in handleImsFeatureCreatedCallback() argument
181 logi("IMS feature created: slotId= " + slotId + ", feature=" + feature); in handleImsFeatureCreatedCallback()
182 if (!isUpdateForThisFeatureAndSlot(slotId, feature)) { in handleImsFeatureCreatedCallback()
187 logi("RCS enabled on slotId: " + slotId); in handleImsFeatureCreatedCallback()
[all …]
DFeatureConnection.java73 public FeatureConnection(Context context, int slotId) { in FeatureConnection() argument
74 mSlotId = slotId; in FeatureConnection()
162 public void imsFeatureCreated(int slotId, int feature) {
164 handleImsFeatureCreatedCallback(slotId, feature);
168 public void imsFeatureRemoved(int slotId, int feature) {
170 handleImsFeatureRemovedCallback(slotId, feature);
174 public void imsStatusChanged(int slotId, int feature, int status) {
176 handleImsStatusChangedCallback(slotId, feature, status);
271 protected abstract void handleImsFeatureCreatedCallback(int slotId, int feature); in handleImsFeatureCreatedCallback() argument
279 protected abstract void handleImsFeatureRemovedCallback(int slotId, int feature); in handleImsFeatureRemovedCallback() argument
[all …]
DMmTelFeatureConnection.java204 public static @NonNull MmTelFeatureConnection create(Context context , int slotId) { in create() argument
205 MmTelFeatureConnection serviceProxy = new MmTelFeatureConnection(context, slotId); in create()
214 Rlog.w(TAG + " [" + slotId + "]", "create: TelephonyManager is null!"); in create()
220 IImsMmTelFeature binder = tm.getImsMmTelFeatureAndListen(slotId, in create()
227 Rlog.w(TAG + " [" + slotId + "]", "create: binder is null!"); in create()
232 public MmTelFeatureConnection(Context context, int slotId) { in MmTelFeatureConnection() argument
233 super(context, slotId); in MmTelFeatureConnection()
279 protected void handleImsFeatureCreatedCallback(int slotId, int feature) { in handleImsFeatureCreatedCallback() argument
283 if(mSlotId != slotId) { in handleImsFeatureCreatedCallback()
304 protected void handleImsFeatureRemovedCallback(int slotId, int feature) { in handleImsFeatureRemovedCallback() argument
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockWeaverService.java35 public int write(int slotId, ArrayList<Byte> key, ArrayList<Byte> value) in write() argument
37 if (slotId < 0 || slotId >= MAX_SLOTS) { in write()
40 slots[slotId] = Pair.create((ArrayList<Byte>) key.clone(), (ArrayList<Byte>) value.clone()); in write()
45 public void read(int slotId, ArrayList<Byte> key, readCallback cb) throws RemoteException { in read() argument
46 if (slotId < 0 || slotId >= MAX_SLOTS) { in read()
51 if (key.equals(slots[slotId].first)) { in read()
52 response.value.addAll(slots[slotId].second); in read()
/frameworks/base/telephony/java/android/telephony/ims/aidl/
DIImsServiceController.aidl34 IImsMmTelFeature createMmTelFeature(int slotId, in IImsFeatureStatusCallback c); in createMmTelFeature() argument
35 IImsRcsFeature createRcsFeature(int slotId, in IImsFeatureStatusCallback c); in createRcsFeature() argument
39 void removeImsFeature(int slotId, int featureType, in IImsFeatureStatusCallback c); in removeImsFeature() argument
40 IImsConfig getConfig(int slotId); in getConfig() argument
41 IImsRegistration getRegistration(int slotId); in getRegistration() argument
42 oneway void enableIms(int slotId); in enableIms() argument
43 oneway void disableIms(int slotId); in disableIms() argument
/frameworks/base/telephony/java/android/telephony/
DINetworkService.aidl26 void createNetworkServiceProvider(int slotId); in createNetworkServiceProvider() argument
27 void removeNetworkServiceProvider(int slotId); in removeNetworkServiceProvider() argument
28 void requestNetworkRegistrationInfo(int slotId, int domain, INetworkServiceCallback callback); in requestNetworkRegistrationInfo() argument
29 void registerForNetworkRegistrationInfoChanged(int slotId, INetworkServiceCallback callback); in registerForNetworkRegistrationInfoChanged() argument
30 void unregisterForNetworkRegistrationInfoChanged(int slotId, INetworkServiceCallback callback); in unregisterForNetworkRegistrationInfoChanged() argument
DICellBroadcastService.aidl31 oneway void handleGsmCellBroadcastSms(int slotId, in byte[] message); in handleGsmCellBroadcastSms() argument
34 oneway void handleCdmaCellBroadcastSms(int slotId, in byte[] bearerData, int serviceCategory); in handleCdmaCellBroadcastSms() argument
37 oneway void handleCdmaScpMessage(int slotId, in List<CdmaSmsCbProgramData> programData, in handleCdmaScpMessage() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccController.java268 public int getPhoneIdFromSlotId(int slotId) { in getPhoneIdFromSlotId() argument
270 if (mPhoneIdToSlotId[i] == slotId) { in getPhoneIdFromSlotId()
313 public UiccCard getUiccCardForSlot(int slotId) { in getUiccCardForSlot() argument
315 UiccSlot uiccSlot = getUiccSlot(slotId); in getUiccCardForSlot()
375 public UiccSlot getUiccSlot(int slotId) { in getUiccSlot() argument
377 if (isValidSlotIndex(slotId)) { in getUiccSlot()
378 return mUiccSlots[slotId]; in getUiccSlot()
391 int slotId = getSlotIdFromPhoneId(phoneId); in getUiccSlotForPhone() local
392 if (isValidSlotIndex(slotId)) { in getUiccSlotForPhone()
393 return mUiccSlots[slotId]; in getUiccSlotForPhone()
[all …]
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsServiceController.aidl28 IImsMMTelFeature createEmergencyMMTelFeature(int slotId, in IImsFeatureStatusCallback c); in createEmergencyMMTelFeature() argument
29 IImsMMTelFeature createMMTelFeature(int slotId, in IImsFeatureStatusCallback c); in createMMTelFeature() argument
30 IImsRcsFeature createRcsFeature(int slotId, in IImsFeatureStatusCallback c); in createRcsFeature() argument
31 void removeImsFeature(int slotId, int featureType, in IImsFeatureStatusCallback c); in removeImsFeature() argument
DIImsServiceFeatureCallback.aidl25 void imsFeatureCreated(int slotId, int feature); in imsFeatureCreated() argument
26 void imsFeatureRemoved(int slotId, int feature); in imsFeatureRemoved() argument
27 void imsStatusChanged(int slotId, int feature, int status); in imsStatusChanged() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DRilMessageDecoder.java64 int slotId) { in getInstance() argument
73 if (slotId != SubscriptionManager.INVALID_SIM_SLOT_INDEX && slotId < mSimCount) { in getInstance()
74 if (null == mInstance[slotId]) { in getInstance()
75 mInstance[slotId] = new RilMessageDecoder(caller, fh); in getInstance()
78 CatLog.d("RilMessageDecoder", "invaild slot id: " + slotId); in getInstance()
82 return mInstance[slotId]; in getInstance()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcNetworkAgent.java403 public int slotId; field in DcNetworkAgent.DcKeepaliveTracker.KeepaliveRecord
406 KeepaliveRecord(int slotId, int status) { in KeepaliveRecord() argument
407 this.slotId = slotId; in KeepaliveRecord()
414 int getHandleForSlot(int slotId) { in getHandleForSlot() argument
417 if (kr.slotId == slotId) return mKeepalives.keyAt(i); in getHandleForSlot()
475 kr.slotId, SocketKeepalive.ERROR_HARDWARE_ERROR); in handleKeepaliveStatus()
480 DcNetworkAgent.this.sendSocketKeepaliveEvent(kr.slotId, in handleKeepaliveStatus()
489 kr.slotId, SocketKeepalive.SUCCESS); in handleKeepaliveStatus()
503 kr.slotId, SocketKeepalive.SUCCESS); in handleKeepaliveStatus()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierKeyDownloadMgrTest.java245 int slotId = mPhone.getPhoneId(); in testDownloadComplete() local
246 editor.putString("CARRIER_KEY_DM_MCC_MNC" + slotId, mccMnc); in testDownloadComplete()
271 int slotId = mPhone.getPhoneId(); in testCarrierConfigChanged() local
272 PersistableBundle bundle = carrierConfigManager.getConfigForSubId(slotId); in testCarrierConfigChanged()
282 String mccMnc = preferences.getString("CARRIER_KEY_DM_MCC_MNC" + slotId, null); in testCarrierConfigChanged()
295 int slotId = mPhone.getPhoneId(); in testAlarmRenewal() local
296 PersistableBundle bundle = carrierConfigManager.getConfigForSubId(slotId); in testAlarmRenewal()
302 + slotId); in testAlarmRenewal()
306 String mccMnc = preferences.getString("CARRIER_KEY_DM_MCC_MNC" + slotId, null); in testAlarmRenewal()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java137 int slotId = mPhone.getPhoneId();
138 if (action.equals(INTENT_KEY_RENEWAL_ALARM_PREFIX + slotId)) {
142 if (slotId == intent.getIntExtra(PhoneConstants.PHONE_KEY,
148 if (slotId == intent.getIntExtra(PhoneConstants.PHONE_KEY,
211 int slotId = mPhone.getPhoneId(); in cleanupRenewalAlarms() local
212 Intent intent = new Intent(INTENT_KEY_RENEWAL_ALARM_PREFIX + slotId); in cleanupRenewalAlarms()
267 int slotId = mPhone.getPhoneId(); in resetRenewalAlarm() local
272 Intent intent = new Intent(INTENT_KEY_RENEWAL_ALARM_PREFIX + slotId); in resetRenewalAlarm()
283 int slotId = mPhone.getPhoneId(); in getMccMncSetFromPref() local
285 return preferences.getString(MCC_MNC_PREF_TAG + slotId, null); in getMccMncSetFromPref()
[all …]

123