/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsService.java | 232 public IImsMmTelFeature createMmTelFeature(int slotId, int subId) { 233 MmTelFeature f = (MmTelFeature) getImsFeature(slotId, ImsFeature.FEATURE_MMTEL); 235 return executeMethodAsyncForResult(() -> createMmTelFeatureInternal(slotId, subId), 243 public IImsMmTelFeature createEmergencyOnlyMmTelFeature(int slotId) { 244 MmTelFeature f = (MmTelFeature) getImsFeature(slotId, ImsFeature.FEATURE_MMTEL); 247 slotId), "createEmergencyOnlyMmTelFeature"); 254 public IImsRcsFeature createRcsFeature(int slotId, int subId) { 255 RcsFeature f = (RcsFeature) getImsFeature(slotId, ImsFeature.FEATURE_RCS); 258 createRcsFeatureInternal(slotId, subId), "createRcsFeature"); 265 public void addFeatureStatusCallback(int slotId, int featureType, [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/compat/ |
D | ImsService.java | 94 public IImsMMTelFeature createEmergencyMMTelFeature(int slotId) { 95 return createEmergencyMMTelFeatureInternal(slotId); 99 public IImsMMTelFeature createMMTelFeature(int slotId) { 100 return createMMTelFeatureInternal(slotId); 104 public IImsRcsFeature createRcsFeature(int slotId) { 105 return createRcsFeatureInternal(slotId); 109 public void removeImsFeature(int slotId, int featureType) { 110 ImsService.this.removeImsFeature(slotId, featureType); 114 public void addFeatureStatusCallback(int slotId, int featureType, 116 addImsFeatureStatusCallback(slotId, featureType, c); [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | PinStorage.java | 165 int slotId = intent.getIntExtra(CarrierConfigManager.EXTRA_SLOT_INDEX, -1); 166 sendMessage(obtainMessage(CARRIER_CONFIG_CHANGED_EVENT, slotId, 0)); 169 int slotId = intent.getIntExtra(PhoneConstants.PHONE_KEY, -1); 172 if (validateSlotId(slotId)) { 173 sendMessage(obtainMessage(ICC_CHANGED_EVENT, slotId, state)); 218 public synchronized void storePin(String pin, int slotId) { in storePin() argument 219 String iccid = getIccid(slotId); in storePin() 221 if (!validatePin(pin) || !validateIccid(iccid) || !validateSlotId(slotId)) { in storePin() 223 loge("storePin[%d] - Invalid PIN, slotId or ICCID", slotId); in storePin() 224 clearPin(slotId); in storePin() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | ImsServiceControllerCompat.java | 72 MmTelFeatureCompatAdapter create(Context context, int slotId, in create() argument 101 public final void enableIms(int slotId, int subId) { in enableIms() argument 102 MmTelFeatureCompatAdapter adapter = mMmTelCompatAdapters.get(slotId); in enableIms() 104 Log.w(TAG, "enableIms: adapter null for slot :" + slotId); in enableIms() 118 public final void disableIms(int slotId, int subId) { in disableIms() argument 119 MmTelFeatureCompatAdapter adapter = mMmTelCompatAdapters.get(slotId); in disableIms() 121 Log.w(TAG, "enableIms: adapter null for slot :" + slotId); in disableIms() 135 public final IImsRegistration getRegistration(int slotId, int subId) { in getRegistration() argument 136 ImsRegistrationCompatAdapter adapter = mRegCompatAdapters.get(slotId); in getRegistration() 138 Log.w(TAG, "getRegistration: Registration does not exist for slot " + slotId); in getRegistration() [all …]
|
D | ImsResolver.java | 157 public final int slotId; field in ImsResolver.OverrideConfig 162 slotId = slotIndex; in OverrideConfig() 268 int slotId = intent.getIntExtra(CarrierConfigManager.EXTRA_SLOT_INDEX, 271 if (slotId == SubscriptionManager.INVALID_SIM_SLOT_INDEX) { 278 int slotSimState = mTelephonyManagerProxy.getSimState(mContext, slotId); 285 Log.i(TAG, "Received CCC for slot " + slotId + " and sim state " 290 Log.i(TAG, "Received Carrier Config Changed for SlotId: " + slotId + ", SubId: " 293 mHandler.obtainMessage(HANDLER_CONFIG_CHANGED, slotId, subId).sendToTarget(); 317 int getSubId(int slotId); in getSubId() argument 332 int getSimState(Context context, int slotId); in getSimState() argument [all …]
|
D | ImsServiceController.java | 101 long caps = modifyCapabiltiesForSlot(mImsFeatures, i.slotId, in onServiceConnected() 103 addImsServiceFeature(i, caps, mSlotIdToSubIdMap.get(i.slotId)); in onServiceConnected() 186 void imsServiceFeatureCreated(int slotId, int feature, ImsServiceController controller); in imsServiceFeatureCreated() argument 190 void imsServiceFeatureRemoved(int slotId, int feature, ImsServiceController controller); in imsServiceFeatureRemoved() argument 285 ImsFeatureStatusCallback(int slotId, int featureType) { in ImsFeatureStatusCallback() argument 286 mSlotId = slotId; in ImsFeatureStatusCallback() 422 if (!features.contains(new ImsFeatureConfiguration.FeatureSlotPair(feature.slotId, in sanitizeFeatureConfig() 454 HashSet<Integer> slotIDs = newImsFeatures.stream().map(e -> e.slotId).collect( in changeImsServiceFeatures() 487 long caps = modifyCapabiltiesForSlot(mImsFeatures, i.slotId, in changeImsServiceFeatures() 489 addImsServiceFeature(i, caps, mSlotIdToSubIdMap.get(i.slotId)); in changeImsServiceFeatures() [all …]
|
/frameworks/base/telephony/java/android/service/euicc/ |
D | EuiccService.java | 458 public abstract String onGetEid(int slotId); in onGetEid() argument 467 public abstract @OtaStatus int onGetOtaStatus(int slotId); in onGetOtaStatus() argument 476 int slotId, OtaStatusChangedCallback statusChangedCallback); in onStartOtaIfNecessary() argument 490 int slotId, DownloadableSubscription subscription, boolean forceDeactivateSim); in onGetDownloadableSubscriptionMetadata() argument 503 onGetDefaultDownloadableSubscriptionList(int slotId, boolean forceDeactivateSim); in onGetDefaultDownloadableSubscriptionList() argument 530 public DownloadSubscriptionResult onDownloadSubscription(int slotId, in onDownloadSubscription() argument 585 @Deprecated public @Result int onDownloadSubscription(int slotId, in onDownloadSubscription() argument 599 public abstract @NonNull GetEuiccProfileInfoListResult onGetEuiccProfileInfoList(int slotId); in onGetEuiccProfileInfoList() argument 608 public abstract @NonNull EuiccInfo onGetEuiccInfo(int slotId); in onGetEuiccInfo() argument 622 public abstract @Result int onDeleteSubscription(int slotId, String iccid); in onDeleteSubscription() argument [all …]
|
D | IEuiccService.aidl | 38 void downloadSubscription(int slotId, int portIndex, 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, int portIndex, String iccid, boolean forceDeactivateSim, in switchToSubscription() argument [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/aidl/ |
D | IImsServiceController.aidl | 35 IImsMmTelFeature createMmTelFeature(int slotId, int subId); in createMmTelFeature() argument 36 IImsMmTelFeature createEmergencyOnlyMmTelFeature(int slotId); in createEmergencyOnlyMmTelFeature() argument 37 IImsRcsFeature createRcsFeature(int slotId, int subId); in createRcsFeature() argument 40 void addFeatureStatusCallback(int slotId, int featureType, in IImsFeatureStatusCallback c); in addFeatureStatusCallback() argument 41 void removeFeatureStatusCallback(int slotId, int featureType, in IImsFeatureStatusCallback c); in removeFeatureStatusCallback() argument 44 void removeImsFeature(int slotId, int featureType, boolean changeSubId); in removeImsFeature() argument 45 IImsConfig getConfig(int slotId, int subId); in getConfig() argument 46 IImsRegistration getRegistration(int slotId, int subId); in getRegistration() argument 47 ISipTransport getSipTransport(int slotId); in getSipTransport() argument 48 oneway void enableIms(int slotId, int subId); in enableIms() argument [all …]
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | IDataService.aidl | 30 void createDataServiceProvider(int slotId); in createDataServiceProvider() argument 31 void removeDataServiceProvider(int slotId); in removeDataServiceProvider() argument 32 void setupDataCall(int slotId, int accessNetwork, in DataProfile dataProfile, boolean isRoaming, in setupDataCall() argument 37 void deactivateDataCall(int slotId, int cid, int reason, IDataServiceCallback callback); in deactivateDataCall() argument 38 void setInitialAttachApn(int slotId, in DataProfile dataProfile, boolean isRoaming, in setInitialAttachApn() argument 40 void setDataProfile(int slotId, in List<DataProfile> dps, boolean isRoaming, in setDataProfile() argument 42 void requestDataCallList(int slotId, IDataServiceCallback callback); in requestDataCallList() argument 43 void registerForDataCallListChanged(int slotId, IDataServiceCallback callback); in registerForDataCallListChanged() argument 44 void unregisterForDataCallListChanged(int slotId, IDataServiceCallback callback); in unregisterForDataCallListChanged() argument 45 void startHandover(int slotId, int cid, IDataServiceCallback callback); in startHandover() argument [all …]
|
D | IQualifiedNetworksService.aidl | 27 …oneway void createNetworkAvailabilityProvider(int slotId, IQualifiedNetworksServiceCallback callba… in createNetworkAvailabilityProvider() argument 28 oneway void removeNetworkAvailabilityProvider(int slotId); in removeNetworkAvailabilityProvider() argument 29 oneway void reportThrottleStatusChanged(int slotId, in List<ThrottleStatus> statuses); in reportThrottleStatusChanged() argument
|
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
D | ImsFeatureConfiguration.java | 44 public final int slotId; field in ImsFeatureConfiguration.FeatureSlotPair 59 public FeatureSlotPair(int slotId, @ImsFeature.FeatureType int featureType) { in FeatureSlotPair() argument 60 this.slotId = slotId; in FeatureSlotPair() 71 if (slotId != that.slotId) return false; in equals() 77 int result = slotId; in hashCode() 85 return "{s=" + slotId + ", f=" + ImsFeature.FEATURE_LOG_MAP.get(featureType) + "}"; in toString() 111 public Builder addFeature(int slotId, @ImsFeature.FeatureType int featureType) { in addFeature() argument 112 mConfig.addFeature(slotId, featureType); in addFeature() 155 void addFeature(int slotId, int feature) { in addFeature() argument 156 mFeatures.add(new FeatureSlotPair(slotId, feature)); in addFeature() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | KeyguardQuickAffordanceLegacySettingSyncer.kt | 77 slotId = KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_START, in <lambda>() 82 slotId = KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_END, in <lambda>() 87 slotId = KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_END, in <lambda>() 118 slotId = binding.slotId, in <lambda>() 156 slotId: String, in <lambda>() 159 val affordanceIdsAtSlotId = selectionsManager.getSelections()[slotId] ?: emptyList() in <lambda>() 161 slotId = slotId, in <lambda>() 173 .map { (slotId, _) -> slotId } in <lambda>() method 175 slotIdsContainingAffordanceId.forEach { slotId -> in <lambda>() method 176 val currentAffordanceIds = currentSelections[slotId] ?: emptyList() in <lambda>() [all …]
|
D | KeyguardQuickAffordanceRemoteUserSelectionManager.kt | 94 val slotId = selection.slotId in <lambda>() constant 95 val affordanceIds = (get(slotId) ?: emptyList()).toMutableList() in <lambda>() 97 put(slotId, affordanceIds) in <lambda>() 115 override fun setSelections(slotId: String, affordanceIds: List<String>) { in <lambda>() 118 client.deleteAllSelections(slotId = slotId) in <lambda>() 120 client.insertSelection(slotId = slotId, affordanceId = affordanceId) in <lambda>()
|
D | KeyguardQuickAffordanceLocalUserSelectionManager.kt | 78 val slotId = splitUp[0] in <lambda>() constant 80 slotId to affordanceIds in <lambda>() 133 val slotId = key.substring(KEY_PREFIX_SLOT.length) in <lambda>() constant 141 slotId to affordanceIds in <lambda>() 152 defaults.forEach { (slotId, affordanceIds) -> in <lambda>() method 153 if (!result.containsKey(slotId)) { in <lambda>() 154 result[slotId] = affordanceIds in <lambda>() 162 slotId: String, in <lambda>()
|
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/customization/data/content/ |
D | FakeCustomizationProviderClient.kt | 75 override suspend fun insertSelection(slotId: String, affordanceId: String) { in <lambda>() 77 querySlots().find { it.id == slotId }?.capacity in <lambda>() 78 ?: error("Slot with ID \"$slotId\" not found!") in <lambda>() 79 val affordances = selections.value.getOrDefault(slotId, mutableListOf()).toMutableList() in <lambda>() 85 selections.value = selections.value.toMutableMap().apply { this[slotId] = affordances } in <lambda>() 122 override suspend fun deleteSelection(slotId: String, affordanceId: String) { in <lambda>() 123 val affordances = selections.value.getOrDefault(slotId, mutableListOf()).toMutableList() in <lambda>() 126 selections.value = selections.value.toMutableMap().apply { this[slotId] = affordances } in <lambda>() 129 override suspend fun deleteAllSelections(slotId: String) { in <lambda>() 130 selections.value = selections.value.toMutableMap().apply { this[slotId] = emptyList() } in <lambda>() [all …]
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
D | IImsServiceController.aidl | 28 IImsMMTelFeature createEmergencyMMTelFeature(int slotId); in createEmergencyMMTelFeature() argument 29 IImsMMTelFeature createMMTelFeature(int slotId); in createMMTelFeature() argument 30 IImsRcsFeature createRcsFeature(int slotId); in createRcsFeature() argument 31 void removeImsFeature(int slotId, int featureType); in removeImsFeature() argument 32 void addFeatureStatusCallback(int slotId, int featureType, in IImsFeatureStatusCallback c); in addFeatureStatusCallback() argument 33 void removeFeatureStatusCallback(int slotId, int featureType, in IImsFeatureStatusCallback c); in removeFeatureStatusCallback() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockWeaverService.java | 35 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/ |
D | INetworkService.aidl | 26 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
|
D | ICellBroadcastService.aidl | 31 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/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/ |
D | KeyguardQuickAffordanceRepository.kt | 120 val slotId = split[0] in <lambda>() constant 122 return slotId to slotCapacity in <lambda>() 130 val (slotId, slotCapacity) = parseSlot(unparsedSlot) in <lambda>() constant 131 check(!seenSlotIds.contains(slotId)) { "Duplicate slot \"$slotId\"!" } in <lambda>() 132 seenSlotIds.add(slotId) in <lambda>() 134 id = slotId, in <lambda>() 149 fun getCurrentSelections(slotId: String): List<KeyguardQuickAffordanceConfig> { in <lambda>() 150 val selections = selectionManager.value.getSelections().getOrDefault(slotId, emptyList()) in <lambda>() 167 slotId: String, in <lambda>() 171 slotId = slotId, in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardQuickAffordanceInteractor.kt | 133 val (slotId, decodedConfigKey) = configKey.decode() in <lambda>() constant 134 repository.get().selections.value[slotId]?.find { it.key == decodedConfigKey } in <lambda>() 164 suspend fun select(slotId: String, affordanceId: String): Boolean { in <lambda>() 171 val slot = slots.find { it.id == slotId } ?: return false in <lambda>() 176 .getOrDefault(slotId, emptyList()) in <lambda>() 190 slotId = slotId, in <lambda>() 206 suspend fun unselect(slotId: String, affordanceId: String?): Boolean { in <lambda>() 213 if (slots.find { it.id == slotId } == null) { in <lambda>() 219 repository.get().getCurrentSelections().getOrDefault(slotId, emptyList()).isEmpty() in <lambda>() 223 repository.get().setSelections(slotId = slotId, affordanceIds = emptyList()) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | CustomizationProvider.kt | 219 val slotId = in <lambda>() constant 226 if (slotId.isNullOrEmpty()) { in <lambda>() 236 slotId = slotId, in <lambda>() 241 Log.d(TAG, "Successfully selected $affordanceId for slot $slotId") in <lambda>() 247 Log.d(TAG, "Failed to select $affordanceId for slot $slotId") in <lambda>() 263 (slotId, affordanceRepresentations) -> in <lambda>() method 267 slotId, in <lambda>() 366 val (slotId, affordanceId) = in <lambda>() constant 379 slotId = slotId, in <lambda>() 384 Log.d(TAG, "Successfully unselected $affordanceId for slot $slotId") in <lambda>() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | KeepAliveTrackerTest.java | 92 final int slotId = 3; in checkStartStopNattKeepalive() local 101 mTelephonyNetworkAgentCallback.onStartSocketKeepalive(slotId, Duration.ofSeconds(interval), in checkStartStopNattKeepalive() 109 slotId, 0); in checkStartStopNattKeepalive() 138 mTelephonyNetworkAgentCallback.onStopSocketKeepalive(slotId); in checkStartStopNattKeepalive() 144 sessionHandle, slotId); in checkStartStopNattKeepalive() 150 mTelephonyNetworkAgentCallback.onStopSocketKeepalive(slotId); in checkStartStopNattKeepalive() 170 final int slotId = 3; in checkStartNattKeepaliveFail() local 179 mTelephonyNetworkAgentCallback.onStartSocketKeepalive(slotId, Duration.ofSeconds(interval), in checkStartNattKeepaliveFail() 186 slotId, 0); in checkStartNattKeepaliveFail() 210 mTelephonyNetworkAgentCallback.onStopSocketKeepalive(slotId); in checkStartNattKeepaliveFail()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | RcsStats.java | 384 stat.slotId = getSlotId(subId); in getDefaultSipDelegateStat() 393 newStat.slotId = source.slotId; in copyOf() 408 public int slotId; field in RcsStats.SipTransportFeatureTags.LastFeatureTagState 412 LastFeatureTagState(int carrierId, int slotId, int state, int reason, long timeStamp) { in LastFeatureTagState() argument 414 this.slotId = slotId; in LastFeatureTagState() 444 int slotId = getSlotId(mSubId); in updateLastFeatureTagState() local 451 create(tagName, carrierId, slotId, state, reason, timeStamp); in updateLastFeatureTagState() 455 create(tagName, carrierId, slotId, state, reason, timeStamp); in updateLastFeatureTagState() 498 sipFeatureTagStat.slotId = lastFeatureTagState.slotId; in addFeatureTagStat() 521 private LastFeatureTagState create(String tagName, int carrierId, int slotId, int state, in create() argument [all …]
|