Home
last modified time | relevance | path

Searched refs:slotIndex (Results 1 – 25 of 102) sorted by relevance

12345

/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DKeepaliveTracker.java83 public int slotIndex; field in KeepaliveTracker.KeepaliveRecord
95 KeepaliveRecord(int slotIndex, @KeepaliveStatusCode int status) { in KeepaliveRecord() argument
96 this.slotIndex = slotIndex; in KeepaliveRecord()
135 int slotIndex; in handleMessage() local
139 slotIndex = msg.arg1; in handleMessage()
144 slotIndex, SocketKeepalive.ERROR_HARDWARE_ERROR); in handleMessage()
148 onSocketKeepaliveStarted(slotIndex, ks); in handleMessage()
195 private void onStartSocketKeepaliveRequested(int slotIndex, @NonNull Duration interval, in onStartSocketKeepaliveRequested() argument
197 log("onStartSocketKeepaliveRequested: slot=" + slotIndex + ", interval=" in onStartSocketKeepaliveRequested()
203 obtainMessage(EVENT_KEEPALIVE_STARTED, slotIndex, 0, null)); in onStartSocketKeepaliveRequested()
[all …]
/frameworks/base/telephony/java/android/telephony/
DNetworkService.java98 public NetworkServiceProvider(int slotIndex) { in NetworkServiceProvider() argument
99 mSlotIndex = slotIndex; in NetworkServiceProvider()
168 final int slotIndex = message.arg1; in handleMessage() local
171 NetworkServiceProvider serviceProvider = mServiceMap.get(slotIndex); in handleMessage()
177 mServiceMap.put(slotIndex, onCreateNetworkServiceProvider(slotIndex)); in handleMessage()
184 mServiceMap.remove(slotIndex); in handleMessage()
245 public abstract NetworkServiceProvider onCreateNetworkServiceProvider(int slotIndex); in onCreateNetworkServiceProvider() argument
279 public void createNetworkServiceProvider(int slotIndex) { in createNetworkServiceProvider() argument
280 mHandler.obtainMessage(NETWORK_SERVICE_CREATE_NETWORK_SERVICE_PROVIDER, slotIndex, in createNetworkServiceProvider()
285 public void removeNetworkServiceProvider(int slotIndex) { in removeNetworkServiceProvider() argument
[all …]
DCellBroadcastService.java83 public abstract void onGsmCellBroadcastSms(int slotIndex, @NonNull byte[] message); in onGsmCellBroadcastSms() argument
92 public abstract void onCdmaCellBroadcastSms(int slotIndex, @NonNull byte[] bearerData, in onCdmaCellBroadcastSms() argument
106 public abstract void onCdmaScpMessage(int slotIndex, in onCdmaScpMessage() argument
119 public abstract @NonNull CharSequence getCellBroadcastAreaInfo(int slotIndex); in getCellBroadcastAreaInfo() argument
145 public void handleGsmCellBroadcastSms(int slotIndex, byte[] message) { in handleGsmCellBroadcastSms() argument
146 CellBroadcastService.this.onGsmCellBroadcastSms(slotIndex, message); in handleGsmCellBroadcastSms()
157 public void handleCdmaCellBroadcastSms(int slotIndex, byte[] bearerData, in handleCdmaCellBroadcastSms() argument
159 CellBroadcastService.this.onCdmaCellBroadcastSms(slotIndex, bearerData, in handleCdmaCellBroadcastSms()
173 public void handleCdmaScpMessage(int slotIndex, in handleCdmaScpMessage() argument
179 CellBroadcastService.this.onCdmaScpMessage(slotIndex, smsCbProgramData, in handleCdmaScpMessage()
[all …]
DDomainSelectionService.java172 private SelectionAttributes(int slotIndex, int subscriptionId, @Nullable String callId, in SelectionAttributes() argument
177 mSlotIndex = slotIndex; in SelectionAttributes()
424 public Builder(int slotIndex, int subscriptionId, @SelectorType int selectorType) { in Builder() argument
425 mSlotIndex = slotIndex; in Builder()
777 public void onServiceStateUpdated(int slotIndex, int subscriptionId, in onServiceStateUpdated() argument
788 public void onBarringInfoUpdated(int slotIndex, int subscriptionId, @NonNull BarringInfo info) { in onBarringInfoUpdated() argument
803 public void updateServiceState(int slotIndex, int subscriptionId,
806 () -> DomainSelectionService.this.onServiceStateUpdated(slotIndex,
811 public void updateBarringInfo(int slotIndex, int subscriptionId,
814 () -> DomainSelectionService.this.onBarringInfoUpdated(slotIndex,
/frameworks/base/telephony/java/android/telephony/data/
DQualifiedNetworksService.java122 public NetworkAvailabilityProvider(int slotIndex) { in NetworkAvailabilityProvider() argument
123 mSlotIndex = slotIndex; in NetworkAvailabilityProvider()
355 final int slotIndex = message.arg1; in handleMessage() local
356 NetworkAvailabilityProvider provider = mProviders.get(slotIndex); in handleMessage()
360 if (mProviders.get(slotIndex) != null) { in handleMessage()
361 loge("Network availability provider for slot " + slotIndex in handleMessage()
366 provider = onCreateNetworkAvailabilityProvider(slotIndex); in handleMessage()
368 mProviders.put(slotIndex, provider); in handleMessage()
374 + slotIndex); in handleMessage()
394 mProviders.remove(slotIndex); in handleMessage()
[all …]
DDataService.java155 public DataServiceProvider(int slotIndex) { in DataServiceProvider() argument
156 mSlotIndex = slotIndex; in DataServiceProvider()
608 final int slotIndex = message.arg1; in handleMessage() local
609 DataServiceProvider serviceProvider = mServiceMap.get(slotIndex); in handleMessage()
615 mServiceMap.put(slotIndex, serviceProvider); in handleMessage()
621 mServiceMap.remove(slotIndex); in handleMessage()
778 public abstract DataServiceProvider onCreateDataServiceProvider(int slotIndex); in onCreateDataServiceProvider() argument
806 public void createDataServiceProvider(int slotIndex) { in createDataServiceProvider() argument
807 mHandler.obtainMessage(DATA_SERVICE_CREATE_DATA_SERVICE_PROVIDER, slotIndex, 0) in createDataServiceProvider()
812 public void removeDataServiceProvider(int slotIndex) { in removeDataServiceProvider() argument
[all …]
DThrottleStatus.java159 private ThrottleStatus(int slotIndex, in ThrottleStatus() argument
165 mSlotIndex = slotIndex; in ThrottleStatus()
288 public Builder setSlotIndex(int slotIndex) { in setSlotIndex() argument
289 this.mSlotIndex = slotIndex; in setSlotIndex()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotationReversionController.java69 void beforeOverrideApplied(int slotIndex) { in beforeOverrideApplied() argument
70 if (mSlots[slotIndex]) return; in beforeOverrideApplied()
72 mSlots[slotIndex] = true; in beforeOverrideApplied()
75 boolean isOverrideActive(int slotIndex) { in isOverrideActive() argument
76 return mSlots[slotIndex]; in isOverrideActive()
107 boolean revertOverride(int slotIndex) { in revertOverride() argument
108 if (!mSlots[slotIndex]) return false; in revertOverride()
109 mSlots[slotIndex] = false; in revertOverride()
/frameworks/base/core/java/android/telephony/
DTelephonyRegistryManager.java390 public void notifyCallStateChanged(int slotIndex, int subId, @CallState int state, in notifyCallStateChanged() argument
393 sRegistry.notifyCallState(slotIndex, subId, state, incomingNumber); in notifyCallStateChanged()
455 public void notifyServiceStateChanged(int slotIndex, int subId, @NonNull ServiceState state) { in notifyServiceStateChanged() argument
457 sRegistry.notifyServiceStateForPhoneId(slotIndex, subId, state); in notifyServiceStateChanged()
473 public void notifySignalStrengthChanged(int slotIndex, int subId, in notifySignalStrengthChanged() argument
476 sRegistry.notifySignalStrengthForPhoneId(slotIndex, subId, signalStrength); in notifySignalStrengthChanged()
494 public void notifyMessageWaitingChanged(int slotIndex, int subId, boolean msgWaitingInd) { in notifyMessageWaitingChanged() argument
496 sRegistry.notifyMessageWaitingChangedForPhoneId(slotIndex, subId, msgWaitingInd); in notifyMessageWaitingChanged()
547 public void notifyDataActivityChanged(int slotIndex, int subId, in notifyDataActivityChanged() argument
550 sRegistry.notifyDataActivityForSubscriberWithSlot(slotIndex, subId, dataActivityType); in notifyDataActivityChanged()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DTimeZoneSuggesterImpl.java57 public TelephonyTimeZoneSuggestion getTimeZoneSuggestion(int slotIndex, in getTimeZoneSuggestion() argument
66 new TelephonyTimeZoneSuggestion.Builder(slotIndex) in getTimeZoneSuggestion()
80 suggestion = createEmptySuggestion(slotIndex, in getTimeZoneSuggestion()
84 suggestion = createEmptySuggestion(slotIndex, "getTimeZoneSuggestion:" in getTimeZoneSuggestion()
91 suggestion = createEmptySuggestion(slotIndex, in getTimeZoneSuggestion()
96 slotIndex, countryIsoCode, mDeviceState.currentTimeMillis()); in getTimeZoneSuggestion()
105 suggestion = findTimeZoneForTestNetwork(slotIndex, nitzSignal); in getTimeZoneSuggestion()
109 slotIndex, countryIsoCode, nitzSignal); in getTimeZoneSuggestion()
125 TelephonyTimeZoneSuggestion errorSuggestion = createEmptySuggestion(slotIndex, message); in getTimeZoneSuggestion()
138 int slotIndex, @NonNull NitzSignal nitzSignal) { in findTimeZoneForTestNetwork() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DPortUtils.java50 public static int convertToHalPortIndex(int slotIndex, int portIndex) { in convertToHalPortIndex() argument
51 return convertToHalPortIndex(UiccController.getInstance().getSupportedMepMode(slotIndex), in convertToHalPortIndex()
64 public static int convertFromHalPortIndex(int slotIndex, int portIndex, in convertFromHalPortIndex() argument
74 : UiccController.getInstance().getSupportedMepMode(slotIndex); in convertFromHalPortIndex()
/frameworks/base/core/java/android/app/timedetector/
DTelephonyTimeSuggestion.java80 int slotIndex = in.readInt(); in createFromParcel() local
83 TelephonyTimeSuggestion suggestion = new TelephonyTimeSuggestion.Builder(slotIndex) in createFromParcel()
98 Integer slotIndex = null; in parseCommandLineArg() local
105 slotIndex = Integer.parseInt(cmd.getNextArgRequired()); in parseCommandLineArg()
123 if (slotIndex == null) { in parseCommandLineArg()
134 Builder builder = new Builder(slotIndex) in parseCommandLineArg()
258 public Builder(int slotIndex) { in Builder() argument
259 mSlotIndex = slotIndex; in Builder()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
DTs43Authentication.java169 public Ts43AuthToken getAuthToken(int slotIndex, @NonNull @AppId String appId, in getAuthToken() argument
181 if (slotIndex < 0 || slotIndex >= telephonyManager.getActiveModemCount()) { in getAuthToken()
182 throw new IllegalArgumentException("getAuthToken: invalid slot index " + slotIndex); in getAuthToken()
184 imei = telephonyManager.getImei(slotIndex); in getAuthToken()
205 int[] subIds = subscriptionManager.getSubscriptionIds(slotIndex); in getAuthToken()
210 subId = SubscriptionManager.getSubscriptionId(slotIndex); in getAuthToken()
280 public URL getOidcAuthServer(@NonNull Context context, int slotIndex, in getOidcAuthServer() argument
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
DTimeDetectorStrategyImplTest.java238 int slotIndex = ARBITRARY_SLOT_INDEX; in testSuggestTelephonyTime_autoTimeEnabled() local
242 script.generateTelephonyTimeSuggestion(slotIndex, testTime); in testSuggestTelephonyTime_autoTimeEnabled()
250 .assertLatestTelephonySuggestion(slotIndex, timeSuggestion); in testSuggestTelephonyTime_autoTimeEnabled()
258 int slotIndex = ARBITRARY_SLOT_INDEX; in testSuggestTelephonyTime_emptySuggestionIgnored() local
260 script.generateTelephonyTimeSuggestion(slotIndex, null); in testSuggestTelephonyTime_emptySuggestionIgnored()
264 .assertLatestTelephonySuggestion(slotIndex, null); in testSuggestTelephonyTime_emptySuggestionIgnored()
277 int slotIndex = ARBITRARY_SLOT_INDEX; in testSuggestTelephonyTime_systemClockThreshold() local
282 script.generateTelephonyTimeSuggestion(slotIndex, ARBITRARY_TEST_TIME); in testSuggestTelephonyTime_systemClockThreshold()
292 .assertLatestTelephonySuggestion(slotIndex, timeSuggestion1); in testSuggestTelephonyTime_systemClockThreshold()
300 slotIndex, script.peekSystemClockMillis() + underThresholdMillis); in testSuggestTelephonyTime_systemClockThreshold()
[all …]
/frameworks/base/core/java/android/app/timezonedetector/
DTelephonyTimeZoneSuggestion.java83 int slotIndex, @NonNull String debugInfo) { in createEmptySuggestion() argument
84 return new Builder(slotIndex).addDebugInfo(debugInfo).build(); in createEmptySuggestion()
161 int slotIndex = in.readInt(); in createFromParcel() local
162 TelephonyTimeZoneSuggestion suggestion = new Builder(slotIndex) in createFromParcel()
313 public Builder(int slotIndex) { in Builder() argument
314 mSlotIndex = slotIndex; in Builder()
402 Integer slotIndex = null; in parseCommandLineArg() local
410 slotIndex = Integer.parseInt(cmd.getNextArgRequired()); in parseCommandLineArg()
431 if (slotIndex == null) { in parseCommandLineArg()
435 Builder builder = new Builder(slotIndex); in parseCommandLineArg()
/frameworks/native/libs/gui/
DBufferItemConsumer.cpp108 void BufferItemConsumer::freeBufferLocked(int slotIndex) { in freeBufferLocked() argument
110 if (listener != nullptr && mSlots[slotIndex].mGraphicBuffer != nullptr) { in freeBufferLocked()
113 listener->onBufferFreed(mSlots[slotIndex].mGraphicBuffer); in freeBufferLocked()
115 ConsumerBase::freeBufferLocked(slotIndex); in freeBufferLocked()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DNitzStateMachineTestSupport.java290 static TelephonyTimeZoneSuggestion createEmptyTimeZoneSuggestion(int slotIndex) { in createEmptyTimeZoneSuggestion() argument
291 return new TelephonyTimeZoneSuggestion.Builder(slotIndex) in createEmptyTimeZoneSuggestion()
296 static TelephonyTimeSuggestion createEmptyTimeSuggestion(int slotIndex) { in createEmptyTimeSuggestion() argument
297 return new TelephonyTimeSuggestion.Builder(slotIndex) in createEmptyTimeSuggestion()
303 int slotIndex, NitzSignal nitzSignal) { in createTimeSuggestionFromNitzSignal() argument
304 return new TelephonyTimeSuggestion.Builder(slotIndex) in createTimeSuggestionFromNitzSignal()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DIccLogicalChannelRequestTest.java49 assertThat(defaultRequest.slotIndex).isEqualTo(SubscriptionManager.INVALID_SIM_SLOT_INDEX); in testDefaultConstructor_shouldReturnDefaultValues()
66 assertThat(request.slotIndex).isEqualTo(SLOT_INDEX); in testConstructor_withValidParmas_shouldReturnValidValues()
118 private static IccLogicalChannelRequest createIccLogicalChannelRequest(int subId, int slotIndex, in createIccLogicalChannelRequest() argument
122 request.slotIndex = slotIndex; in createIccLogicalChannelRequest()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccSlotTest.java377 int slotIndex = 0; in testUpdateAbsentState() local
380 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUpdateAbsentState()
423 int slotIndex = 0; in testUiccSlotCreateAndDispose() local
426 mIccCardStatus.mSlotPortMapping.mPhysicalSlotIndex = slotIndex; in testUiccSlotCreateAndDispose()
428 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUiccSlotCreateAndDispose()
437 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUiccSlotCreateAndDispose()
448 int slotIndex = 0; in testUiccSlotBroadcastAbsent() local
451 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUiccSlotBroadcastAbsent()
467 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUiccSlotBroadcastAbsent()
477 int slotIndex = 0; in testNotRemovable() local
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierKeyDownloadManager.java156 (slotIndex, subId, carrierId, specificCarrierId) -> { in CarrierKeyDownloadManager()
158 logd("CarrierConfig changed slotIndex = " + slotIndex + " subId = " + subId in CarrierKeyDownloadManager()
162 if ((slotIndex == mPhone.getPhoneId()) && (carrierId > 0 in CarrierKeyDownloadManager()
173 logd("Carrier Config changed: slotIndex=" + slotIndex); in CarrierKeyDownloadManager()
180 if (isUserUnlocked && slotIndex == mPhone.getPhoneId()) { in CarrierKeyDownloadManager()
181 Log.d(LOG_TAG, "Carrier Config changed: slotIndex=" + slotIndex); in CarrierKeyDownloadManager()
220 int slotIndex = SubscriptionManager.getSlotIndex(mPhone.getSubId());
226 if (slotIndexExtra == slotIndex) {
246 + ", slotIndex = " + slotIndex + " hasActiveDataNetwork = " + (
297 int slotIndex = SubscriptionManager.getSlotIndex(mPhone.getSubId()); in handleAlarmOrConfigChange() local
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl410 int getActivePhoneTypeForSlot(int slotIndex); in getActivePhoneTypeForSlot() argument
588 boolean hasIccCardUsingSlotIndex(int slotIndex); in hasIccCardUsingSlotIndex() argument
679 …String iccTransmitApduLogicalChannelByPort(int slotIndex, int portIndex, int channel, int cla, int… in iccTransmitApduLogicalChannelByPort() argument
722 …String iccTransmitApduBasicChannelByPort(int slotIndex, int portIndex, String callingPackage, int … in iccTransmitApduBasicChannelByPort() argument
812 boolean resetModemConfig(int slotIndex); in resetModemConfig() argument
825 boolean rebootModem(int slotIndex); in rebootModem() argument
858 void resetIms(int slotIndex); in resetIms() argument
887 boolean setBoundImsServiceOverride(int slotIndex, boolean isCarrierService, in setBoundImsServiceOverride() argument
893 boolean clearCarrierImsServiceOverride(int slotIndex); in clearCarrierImsServiceOverride() argument
898 String getBoundImsServicePackage(int slotIndex, boolean isCarrierImsService, int featureType); in getBoundImsServicePackage() argument
[all …]
DISub.aidl60 SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex, String callingPackage, in getActiveSubscriptionInfoForSimSlotIndex() argument
130 int addSubInfo(String uniqueId, String displayName, int slotIndex, int subscriptionType); in addSubInfo() argument
244 int getSubId(int slotIndex); in getSubId() argument
278 int getEnabledSubscriptionId(int slotIndex); in getEnabledSubscriptionId() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/carrier/
DShadeCarrierGroupController.java105 int slotIndex = getSlotIndex(indicators.subId);
106 if (slotIndex >= SIM_SLOTS) {
107 Log.w(TAG, "setMobileDataIndicators - slot: " + slotIndex);
110 if (slotIndex == INVALID_SIM_SLOT_INDEX) {
114 mInfos[slotIndex] = new CellSignalState(
246 ShadeCarrier carrier = mCarrierGroups[iconData.slotIndex]; in updateModernMobileIcons()
270 iconData.slotIndex < SIM_SLOTS in processSubIdList()
271 && iconData.slotIndex != INVALID_SIM_SLOT_INDEX in processSubIdList()
584 public final int slotIndex; field in ShadeCarrierGroupController.IconData
586 IconData(int subId, int slotIndex) { in IconData() argument
[all …]
/frameworks/native/services/inputflinger/tests/
DMultiTouchInputMapper_test.cpp134 for (const auto& [slotIndex, valuePair] : slotValues) { in mockSlotValues()
135 outMtSlotValues[slotIndex] = valuePair.first.x; in mockSlotValues()
139 for (const auto& [slotIndex, valuePair] : slotValues) { in mockSlotValues()
140 outMtSlotValues[slotIndex] = valuePair.first.y; in mockSlotValues()
144 for (const auto& [slotIndex, valuePair] : slotValues) { in mockSlotValues()
145 outMtSlotValues[slotIndex] = valuePair.second; in mockSlotValues()
/frameworks/libs/gsma_services/ts43authentication/src/com/android/libraries/ts43authentication/
DTs43AuthenticationLibrary.java137 int slotIndex, URL entitlementServerAddress, @Nullable String entitlementVersion, in EapAkaAuthenticationRequest() argument
142 mSlotIndex = slotIndex; in EapAkaAuthenticationRequest()
162 int slotIndex, URL entitlementServerAddress, @Nullable String entitlementVersion, in OidcAuthenticationServerRequest() argument
167 mSlotIndex = slotIndex; in OidcAuthenticationServerRequest()
227 @Nullable String appVersion, int slotIndex, URL entitlementServerAddress, in requestEapAkaAuthentication() argument
235 getAppName(configs, packageName, certificate), appVersion, slotIndex, in requestEapAkaAuthentication()
281 String packageName, @Nullable String appVersion, int slotIndex, in requestOidcAuthenticationServer() argument
290 getAppName(configs, packageName, certificate), appVersion, slotIndex, in requestOidcAuthenticationServer()

12345