Searched defs:slotId (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardUpdateMonitorTest.java87 protected void handleSimStateChange(int subId, int slotId, argument
90 super.handleSimStateChange(subId, slotId, state);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIntentBroadcaster.java34 * for example broadcasts are always sticky, only the last intent for the slotId is rebroadcast,
58 + " for slotId " + pair.getKey());
89 public void broadcastStickyIntent(Intent intent, int slotId) { argument
92 + " for slotId " + slotId);
95 mRebroadcastIntents.put(slotId, intent);
H A DCellularNetworkService.java70 CellularNetworkServiceProvider(int slotId) { argument
71 super(slotId);
498 protected NetworkServiceProvider createNetworkServiceProvider(int slotId) { argument
499 if (DBG) log("Cellular network service created for slot " + slotId);
500 if (!SubscriptionManager.isValidSlotIndex(slotId)) {
501 loge("Tried to Cellular network service with invalid slotId " + slotId);
504 return new CellularNetworkServiceProvider(slotId);
H A DSubscriptionInfoUpdater.java171 public void updateInternalIccState(String simStatus, String reason, int slotId) { argument
173 + " slotId " + slotId);
176 sendMessage(obtainMessage(message, slotId, -1, reason));
214 Integer slotId = (Integer)ar.userObj;
218 mPhone[slotId].setNetworkSelectionModeAutomatic(null);
298 private void handleSimLocked(int slotId, String reason) { argument
299 if (mIccId[slotId] != null && mIccId[slotId].equals(ICCID_STRING_FOR_NO_SIM)) {
300 logd("SIM" + (slotId
351 handleSimLoaded(int slotId) argument
469 updateCarrierServices(int slotId, String simState) argument
476 handleSimAbsent(int slotId) argument
490 handleSimError(int slotId) argument
808 broadcastSimStateChanged(int slotId, String state, String reason) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
H A DTestImsService.java48 public MmTelFeature createMmTelFeature(int slotId) { argument
53 public RcsFeature createRcsFeature(int slotId) { argument
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DMockWeaverService.java35 public int write(int slotId, ArrayList<Byte> key, ArrayList<Byte> value) argument
37 if (slotId < 0 || slotId >= MAX_SLOTS) {
40 slots[slotId] = Pair.create((ArrayList<Byte>) key.clone(), (ArrayList<Byte>) value.clone());
45 public void read(int slotId, ArrayList<Byte> key, readCallback cb) throws RemoteException { argument
46 if (slotId < 0 || slotId >= MAX_SLOTS) {
51 if (key.equals(slots[slotId].first)) {
52 response.value.addAll(slots[slotId].second);
/frameworks/base/telephony/java/android/telephony/ims/compat/
H A DImsService.java92 public IImsMMTelFeature createEmergencyMMTelFeature(int slotId,
94 return createEmergencyMMTelFeatureInternal(slotId, c);
98 public IImsMMTelFeature createMMTelFeature(int slotId, IImsFeatureStatusCallback c) {
99 return createMMTelFeatureInternal(slotId, c);
103 public IImsRcsFeature createRcsFeature(int slotId, IImsFeatureStatusCallback c) {
104 return createRcsFeatureInternal(slotId, c);
108 public void removeImsFeature(int slotId, int featureType, IImsFeatureStatusCallback c)
110 ImsService.this.removeImsFeature(slotId, featureType, c);
130 public SparseArray<ImsFeature> getFeatures(int slotId) { argument
131 return mFeaturesBySlot.get(slotId);
134 createEmergencyMMTelFeatureInternal(int slotId, IImsFeatureStatusCallback c) argument
145 createMMTelFeatureInternal(int slotId, IImsFeatureStatusCallback c) argument
156 createRcsFeatureInternal(int slotId, IImsFeatureStatusCallback c) argument
167 setupFeature(ImsFeature f, int slotId, int featureType, IImsFeatureStatusCallback c) argument
177 addImsFeature(int slotId, int featureType, ImsFeature f) argument
190 removeImsFeature(int slotId, int featureType, IImsFeatureStatusCallback c) argument
217 onCreateEmergencyMMTelImsFeature(int slotId) argument
226 onCreateMMTelImsFeature(int slotId) argument
234 onCreateRcsFeature(int slotId) argument
[all...]
/frameworks/base/telephony/java/android/telephony/ims/stub/
H A DImsFeatureConfiguration.java43 public final int slotId; field in class:ImsFeatureConfiguration.FeatureSlotPair
45 * The feature that this slotId supports. Supported values are
52 * A mapping from slotId to IMS Feature type.
53 * @param slotId the SIM slot ID associated with this feature.
54 * @param featureType The feature that this slotId supports. Supported values are
58 public FeatureSlotPair(int slotId, @ImsFeature.FeatureType int featureType) { argument
59 this.slotId = slotId;
70 if (slotId != that.slotId) retur
109 addFeature(int slotId, @ImsFeature.FeatureType int featureType) argument
153 addFeature(int slotId, int feature) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
H A DImsServiceControllerStaticCompat.java69 protected MmTelInterfaceAdapter getInterface(int slotId, IImsFeatureStatusCallback c) argument
75 return new ImsServiceInterfaceAdapter(slotId, mImsServiceCompat.asBinder());
H A DImsServiceControllerCompat.java73 public void enableIms(int slotId) { argument
74 MmTelFeatureCompatAdapter adapter = mMmTelCompatAdapters.get(slotId);
76 Log.w(TAG, "enableIms: adapter null for slot :" + slotId);
90 public void disableIms(int slotId) { argument
91 MmTelFeatureCompatAdapter adapter = mMmTelCompatAdapters.get(slotId);
93 Log.w(TAG, "enableIms: adapter null for slot :" + slotId);
107 public IImsRegistration getRegistration(int slotId) throws RemoteException { argument
108 ImsRegistrationCompatAdapter adapter = mRegCompatAdapters.get(slotId);
110 Log.w(TAG, "getRegistration: Registration does not exist for slot " + slotId);
120 public IImsConfig getConfig(int slotId) throw argument
136 createImsFeature(int slotId, int featureType, IImsFeatureStatusCallback c) argument
151 removeImsFeature(int slotId, int featureType, IImsFeatureStatusCallback c) argument
171 getInterface(int slotId, IImsFeatureStatusCallback c) argument
181 createMMTelCompat(int slotId, IImsFeatureStatusCallback c) argument
195 createRcsFeature(int slotId, IImsFeatureStatusCallback c) argument
[all...]
H A DImsServiceInterfaceAdapter.java43 public ImsServiceInterfaceAdapter(int slotId, IBinder binder) { argument
44 super(slotId, binder);
H A DMmTelInterfaceAdapter.java43 public MmTelInterfaceAdapter(int slotId, IBinder binder) { argument
45 mSlotId = slotId;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
H A DTestImsServiceControllerAdapter.java49 public IImsMmTelFeature createMmTelFeature(int slotId, IImsFeatureStatusCallback c) { argument
50 return TestImsServiceControllerAdapter.this.createMMTelFeature(slotId);
54 public IImsRcsFeature createRcsFeature(int slotId, IImsFeatureStatusCallback c) { argument
55 return TestImsServiceControllerAdapter.this.createRcsFeature(slotId);
59 public void removeImsFeature(int slotId, int featureType, IImsFeatureStatusCallback c) argument
61 TestImsServiceControllerAdapter.this.removeImsFeature(slotId, featureType);
74 public IImsConfig getConfig(int slotId) throws RemoteException { argument
79 public IImsRegistration getRegistration(int slotId) throws RemoteException { argument
84 public void enableIms(int slotId) { argument
88 public void disableIms(int slotId) { argument
105 createMMTelFeature(int slotId) argument
110 createRcsFeature(int slotId) argument
[all...]
H A DImsResolverTest.java966 Set<String> features, int slotId) {
970 .map(f -> new ImsFeatureConfiguration.FeatureSlotPair(slotId,
965 convertToHashSet( Set<String> features, int slotId) argument
/frameworks/base/telephony/java/android/telephony/ims/
H A DImsService.java139 public IImsMmTelFeature createMmTelFeature(int slotId, IImsFeatureStatusCallback c) {
140 return createMmTelFeatureInternal(slotId, c);
144 public IImsRcsFeature createRcsFeature(int slotId, IImsFeatureStatusCallback c) {
145 return createRcsFeatureInternal(slotId, c);
149 public void removeImsFeature(int slotId, int featureType, IImsFeatureStatusCallback c) {
150 ImsService.this.removeImsFeature(slotId, featureType, c);
164 public IImsConfig getConfig(int slotId) {
165 ImsConfigImplBase c = ImsService.this.getConfig(slotId);
170 public IImsRegistration getRegistration(int slotId) {
171 ImsRegistrationImplBase r = ImsService.this.getRegistration(slotId);
202 getFeatures(int slotId) argument
206 createMmTelFeatureInternal(int slotId, IImsFeatureStatusCallback c) argument
218 createRcsFeatureInternal(int slotId, IImsFeatureStatusCallback c) argument
230 setupFeature(ImsFeature f, int slotId, int featureType, IImsFeatureStatusCallback c) argument
237 addImsFeature(int slotId, int featureType, ImsFeature f) argument
250 removeImsFeature(int slotId, int featureType, IImsFeatureStatusCallback c) argument
317 enableIms(int slotId) argument
324 disableIms(int slotId) argument
335 createMmTelFeature(int slotId) argument
347 createRcsFeature(int slotId) argument
358 getConfig(int slotId) argument
368 getRegistration(int slotId) argument
[all...]
/frameworks/base/telephony/java/android/telephony/ims/compat/feature/
H A DImsFeature.java103 public void setSlotId(int slotId) { argument
104 mSlotId = slotId;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DRilMessageDecoder.java59 int slotId) {
68 if (slotId != SubscriptionManager.INVALID_SIM_SLOT_INDEX && slotId < mSimCount) {
69 if (null == mInstance[slotId]) {
70 mInstance[slotId] = new RilMessageDecoder(caller, fh);
73 CatLog.d("RilMessageDecoder", "invaild slot id: " + slotId);
77 return mInstance[slotId];
58 getInstance(Handler caller, IccFileHandler fh, int slotId) argument
H A DCatService.java139 Context context, IccFileHandler fh, UiccProfile uiccProfile, int slotId) {
147 mSlotId = slotId;
148 mHandlerThread = new HandlerThread("Cat Telephony service" + slotId);
152 mMsgDecoder = RilMessageDecoder.getInstance(this, fh, slotId);
193 * @param slotId to know the index of card
197 Context context, UiccProfile uiccProfile, int slotId) {
220 if (sInstance[slotId] == null) {
226 sInstance[slotId] = new CatService(ci, ca, ir, context, fh, uiccProfile, slotId);
229 mIccRecords.unregisterForRecordsLoaded(sInstance[slotId]);
138 CatService(CommandsInterface ci, UiccCardApplication ca, IccRecords ir, Context context, IccFileHandler fh, UiccProfile uiccProfile, int slotId) argument
196 getInstance(CommandsInterface ci, Context context, UiccProfile uiccProfile, int slotId) argument
815 getInstance(int slotId) argument
[all...]
/frameworks/base/core/java/android/service/euicc/
H A DEuiccService.java232 * @param slotId ID of the SIM slot being queried. This is currently not populated but is here
238 public abstract String onGetEid(int slotId); argument
243 * @param slotId ID of the SIM slot to use for the operation. This is currently not populated
248 public abstract @OtaStatus int onGetOtaStatus(int slotId); argument
253 * @param slotId ID of the SIM slot to use for the operation. This is currently not populated
258 int slotId, OtaStatusChangedCallback statusChangedCallback);
263 * @param slotId ID of the SIM slot to use for the operation.
272 int slotId, DownloadableSubscription subscription, boolean forceDeactivateSim);
277 * @param slotId ID of the SIM slot to use for the operation. This is currently not populated
286 onGetDefaultDownloadableSubscriptionList(int slotId, boolea argument
257 onStartOtaIfNecessary( int slotId, OtaStatusChangedCallback statusChangedCallback) argument
271 onGetDownloadableSubscriptionMetadata( int slotId, DownloadableSubscription subscription, boolean forceDeactivateSim) argument
302 onDownloadSubscription(int slotId, DownloadableSubscription subscription, boolean switchAfterDownload, boolean forceDeactivateSim) argument
314 onGetEuiccProfileInfoList(int slotId) argument
323 onGetEuiccInfo(int slotId) argument
337 onDeleteSubscription(int slotId, String iccid) argument
353 onSwitchToSubscription(int slotId, @Nullable String iccid, boolean forceDeactivateSim) argument
366 onUpdateSubscriptionNickname(int slotId, String iccid, String nickname) argument
381 onEraseSubscriptions(int slotId) argument
396 onRetainSubscriptionsForFactoryReset(int slotId) argument
403 downloadSubscription(int slotId, DownloadableSubscription subscription, boolean switchAfterDownload, boolean forceDeactivateSim, IDownloadSubscriptionCallback callback) argument
421 getEid(int slotId, IGetEidCallback callback) argument
436 startOtaIfNecessary( int slotId, IOtaStatusChangedCallback statusChangedCallback) argument
456 getOtaStatus(int slotId, IGetOtaStatusCallback callback) argument
471 getDownloadableSubscriptionMetadata(int slotId, DownloadableSubscription subscription, boolean forceDeactivateSim, IGetDownloadableSubscriptionMetadataCallback callback) argument
491 getDefaultDownloadableSubscriptionList(int slotId, boolean forceDeactivateSim, IGetDefaultDownloadableSubscriptionListCallback callback) argument
509 getEuiccProfileInfoList(int slotId, IGetEuiccProfileInfoListCallback callback) argument
525 getEuiccInfo(int slotId, IGetEuiccInfoCallback callback) argument
541 deleteSubscription(int slotId, String iccid, IDeleteSubscriptionCallback callback) argument
557 switchToSubscription(int slotId, String iccid, boolean forceDeactivateSim, ISwitchToSubscriptionCallback callback) argument
575 updateSubscriptionNickname(int slotId, String iccid, String nickname, IUpdateSubscriptionNicknameCallback callback) argument
592 eraseSubscriptions(int slotId, IEraseSubscriptionsCallback callback) argument
607 retainSubscriptionsForFactoryReset(int slotId, IRetainSubscriptionsForFactoryResetCallback callback) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DNetworkService.java88 public NetworkServiceProvider(int slotId) { argument
89 mSlotId = slotId;
154 final int slotId = message.arg1;
157 NetworkServiceProvider serviceProvider = mServiceMap.get(slotId);
163 mServiceMap.put(slotId, createNetworkServiceProvider(slotId));
170 mServiceMap.remove(slotId);
223 * @param slotId SIM slot id the network service associated with.
226 protected abstract NetworkServiceProvider createNetworkServiceProvider(int slotId); argument
261 public void createNetworkServiceProvider(int slotId) { argument
267 removeNetworkServiceProvider(int slotId) argument
273 getNetworkRegistrationState( int slotId, int domain, INetworkServiceCallback callback) argument
280 registerForNetworkRegistrationStateChanged( int slotId, INetworkServiceCallback callback) argument
287 unregisterForNetworkRegistrationStateChanged( int slotId,INetworkServiceCallback callback) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DCellularDataService.java74 private CellularDataServiceProvider(int slotId) { argument
75 super(slotId);
225 public DataServiceProvider createDataServiceProvider(int slotId) { argument
226 log("Cellular data service created for slot " + slotId);
227 if (!SubscriptionManager.isValidSlotIndex(slotId)) {
228 loge("Tried to cellular data service with invalid slotId " + slotId);
231 return new CellularDataServiceProvider(slotId);
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardUpdateMonitorCallback.java121 * @param slotId
124 public void onSimStateChanged(int subId, int slotId, IccCardConstants.State simState) { } argument
/frameworks/base/telephony/java/android/telephony/data/
H A DDataService.java125 * @param slotId SIM slot id the data service provider associated with.
127 public DataServiceProvider(int slotId) { argument
128 mSlotId = slotId;
334 final int slotId = message.arg1;
335 DataServiceProvider serviceProvider = mServiceMap.get(slotId);
341 mServiceMap.put(slotId, serviceProvider);
347 mServiceMap.remove(slotId);
446 * @param slotId SIM slot id the data service associated with.
449 public abstract DataServiceProvider createDataServiceProvider(int slotId); argument
479 public void createDataServiceProvider(int slotId) { argument
485 removeDataServiceProvider(int slotId) argument
491 setupDataCall(int slotId, int accessNetworkType, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, IDataServiceCallback callback) argument
501 deactivateDataCall(int slotId, int cid, int reason, IDataServiceCallback callback) argument
509 setInitialAttachApn(int slotId, DataProfile dataProfile, boolean isRoaming, IDataServiceCallback callback) argument
517 setDataProfile(int slotId, List<DataProfile> dps, boolean isRoaming, IDataServiceCallback callback) argument
524 getDataCallList(int slotId, IDataServiceCallback callback) argument
534 registerForDataCallListChanged(int slotId, IDataServiceCallback callback) argument
544 unregisterForDataCallListChanged(int slotId, IDataServiceCallback callback) argument
[all...]
/frameworks/base/telephony/java/android/telephony/ims/feature/
H A DImsFeature.java360 public final void initialize(Context context, int slotId) { argument
362 mSlotId = slotId;
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DMmTelFeatureConnection.java267 public static MmTelFeatureConnection create(Context context , int slotId) { argument
268 MmTelFeatureConnection serviceProxy = new MmTelFeatureConnection(context, slotId);
278 IImsMmTelFeature binder = tm.getImsMmTelFeatureAndListen(slotId,
285 Rlog.w(TAG, "create: binder is null! Slot Id: " + slotId);
312 public void imsFeatureCreated(int slotId, int feature) throws RemoteException {
316 if(mSlotId != slotId) {
322 Log.i(TAG, "MmTel enabled on slotId: " + slotId);
329 Log.i(TAG, "Emergency calling enabled on slotId: " + slotId);
373 MmTelFeatureConnection(Context context, int slotId) argument
[all...]

Completed in 565 milliseconds

12