/frameworks/base/core/java/android/telephony/ |
D | TelephonyRegistryManager.java | 233 public void notifyCallStateChanged(int subId, int slotIndex, @CallState int state, in notifyCallStateChanged() argument 236 sRegistry.notifyCallState(slotIndex, subId, state, incomingNumber); in notifyCallStateChanged() 267 public void notifyServiceStateChanged(int subId, int slotIndex, @NonNull ServiceState state) { in notifyServiceStateChanged() argument 269 sRegistry.notifyServiceStateForPhoneId(slotIndex, subId, state); in notifyServiceStateChanged() 283 public void notifySignalStrengthChanged(int subId, int slotIndex, in notifySignalStrengthChanged() argument 286 sRegistry.notifySignalStrengthForPhoneId(slotIndex, subId, signalStrength); in notifySignalStrengthChanged() 302 public void notifyMessageWaitingChanged(int subId, int slotIndex, boolean msgWaitingInd) { in notifyMessageWaitingChanged() argument 304 sRegistry.notifyMessageWaitingChangedForPhoneId(slotIndex, subId, msgWaitingInd); in notifyMessageWaitingChanged() 352 public void notifyDataConnectionForSubscriber(int slotIndex, int subId, in notifyDataConnectionForSubscriber() argument 356 slotIndex, subId, apnType, preciseState); in notifyDataConnectionForSubscriber() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/ |
D | TimeDetectorStrategyImplTest.java | 69 int slotIndex = ARBITRARY_SLOT_INDEX; in testSuggestTelephonyTime_autoTimeEnabled() local 73 mScript.generateTelephonyTimeSuggestion(slotIndex, testTimeMillis); in testSuggestTelephonyTime_autoTimeEnabled() 80 .assertLatestTelephonySuggestion(slotIndex, timeSuggestion); in testSuggestTelephonyTime_autoTimeEnabled() 88 int slotIndex = ARBITRARY_SLOT_INDEX; in testSuggestTelephonyTime_emptySuggestionIgnored() local 90 mScript.generateTelephonyTimeSuggestion(slotIndex, null); in testSuggestTelephonyTime_emptySuggestionIgnored() 93 .assertLatestTelephonySuggestion(slotIndex, null); in testSuggestTelephonyTime_emptySuggestionIgnored() 104 int slotIndex = ARBITRARY_SLOT_INDEX; in testSuggestTelephonyTime_systemClockThreshold() local 109 mScript.generateTelephonyTimeSuggestion(slotIndex, ARBITRARY_TEST_TIME_MILLIS); in testSuggestTelephonyTime_systemClockThreshold() 119 .assertLatestTelephonySuggestion(slotIndex, timeSuggestion1); in testSuggestTelephonyTime_systemClockThreshold() 127 slotIndex, mScript.peekSystemClockMillis() + underThresholdMillis); in testSuggestTelephonyTime_systemClockThreshold() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | CellBroadcastService.java | 78 public abstract void onGsmCellBroadcastSms(int slotIndex, @NonNull byte[] message); in onGsmCellBroadcastSms() argument 87 public abstract void onCdmaCellBroadcastSms(int slotIndex, @NonNull byte[] bearerData, in onCdmaCellBroadcastSms() argument 101 public abstract void onCdmaScpMessage(int slotIndex, in onCdmaScpMessage() argument 114 public abstract @NonNull CharSequence getCellBroadcastAreaInfo(int slotIndex); in getCellBroadcastAreaInfo() argument 141 public void handleGsmCellBroadcastSms(int slotIndex, byte[] message) { in handleGsmCellBroadcastSms() argument 142 CellBroadcastService.this.onGsmCellBroadcastSms(slotIndex, message); in handleGsmCellBroadcastSms() 153 public void handleCdmaCellBroadcastSms(int slotIndex, byte[] bearerData, in handleCdmaCellBroadcastSms() argument 155 CellBroadcastService.this.onCdmaCellBroadcastSms(slotIndex, bearerData, in handleCdmaCellBroadcastSms() 169 public void handleCdmaScpMessage(int slotIndex, in handleCdmaScpMessage() argument 175 CellBroadcastService.this.onCdmaScpMessage(slotIndex, smsCbProgramData, in handleCdmaScpMessage() [all …]
|
D | NetworkService.java | 98 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 …]
|
D | SubscriptionManager.java | 1238 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex) { in getActiveSubscriptionInfoForSimSlotIndex() argument 1239 if (VDBG) logd("[getActiveSubscriptionInfoForSimSlotIndex]+ slotIndex=" + slotIndex); in getActiveSubscriptionInfoForSimSlotIndex() 1240 if (!isValidSlotIndex(slotIndex)) { in getActiveSubscriptionInfoForSimSlotIndex() 1250 result = iSub.getActiveSubscriptionInfoForSimSlotIndex(slotIndex, in getActiveSubscriptionInfoForSimSlotIndex() 1590 public Uri addSubscriptionInfoRecord(String iccId, int slotIndex) { in addSubscriptionInfoRecord() argument 1591 if (VDBG) logd("[addSubscriptionInfoRecord]+ iccId:" + iccId + " slotIndex:" + slotIndex); in addSubscriptionInfoRecord() 1595 if (!isValidSlotIndex(slotIndex)) { in addSubscriptionInfoRecord() 1599 addSubscriptionInfoRecord(iccId, null, slotIndex, SUBSCRIPTION_TYPE_LOCAL_SIM); in addSubscriptionInfoRecord() 1616 public void addSubscriptionInfoRecord(String uniqueId, String displayName, int slotIndex, in addSubscriptionInfoRecord() argument 1620 + ", displayName:" + displayName + ", slotIndex:" + slotIndex in addSubscriptionInfoRecord() [all …]
|
D | TelephonyManager.java | 1791 public String getDeviceSoftwareVersion(int slotIndex) { in getDeviceSoftwareVersion() argument 1796 return telephony.getDeviceSoftwareVersionForSlot(slotIndex, getOpPackageName(), in getDeviceSoftwareVersion() 1877 public String getDeviceId(int slotIndex) { in getDeviceId() argument 1883 return info.getDeviceIdForPhone(slotIndex, mContext.getOpPackageName(), in getDeviceId() 1937 public String getImei(int slotIndex) { in getImei() argument 1942 return telephony.getImeiForSlot(slotIndex, getOpPackageName(), getFeatureId()); in getImei() 1966 public String getTypeAllocationCode(int slotIndex) { in getTypeAllocationCode() argument 1971 return telephony.getTypeAllocationCodeForSlot(slotIndex); in getTypeAllocationCode() 2031 public String getMeid(int slotIndex) { in getMeid() argument 2036 String meid = telephony.getMeidForSlot(slotIndex, getOpPackageName(), getFeatureId()); in getMeid() [all …]
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | QualifiedNetworksService.java | 100 public NetworkAvailabilityProvider(int slotIndex) { in NetworkAvailabilityProvider() argument 101 mSlotIndex = slotIndex; in NetworkAvailabilityProvider() 178 final int slotIndex = message.arg1; in handleMessage() local 179 NetworkAvailabilityProvider provider = mProviders.get(slotIndex); in handleMessage() 183 if (mProviders.get(slotIndex) != null) { in handleMessage() 184 loge("Network availability provider for slot " + slotIndex in handleMessage() 189 provider = onCreateNetworkAvailabilityProvider(slotIndex); in handleMessage() 191 mProviders.put(slotIndex, provider); in handleMessage() 197 + slotIndex); in handleMessage() 204 mProviders.remove(slotIndex); in handleMessage() [all …]
|
D | DataService.java | 133 public DataServiceProvider(int slotIndex) { in DataServiceProvider() argument 134 mSlotIndex = slotIndex; in DataServiceProvider() 349 final int slotIndex = message.arg1; in handleMessage() local 350 DataServiceProvider serviceProvider = mServiceMap.get(slotIndex); in handleMessage() 356 mServiceMap.put(slotIndex, serviceProvider); in handleMessage() 362 mServiceMap.remove(slotIndex); in handleMessage() 468 public abstract DataServiceProvider onCreateDataServiceProvider(int slotIndex); in onCreateDataServiceProvider() argument 496 public void createDataServiceProvider(int slotIndex) { in createDataServiceProvider() argument 497 mHandler.obtainMessage(DATA_SERVICE_CREATE_DATA_SERVICE_PROVIDER, slotIndex, 0) in createDataServiceProvider() 502 public void removeDataServiceProvider(int slotIndex) { in removeDataServiceProvider() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | TimeZoneSuggesterImpl.java | 57 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 TimestampedValue<NitzData> nitzSignal) { in findTimeZoneForTestNetwork() argument [all …]
|
D | NitzStateMachineImpl.java | 91 int slotIndex, @Nullable String countryIsoCode, in getTimeZoneSuggestion() argument 134 int slotIndex = phone.getPhoneId(); in createInstance() local 143 slotIndex, nitzSignalFilter, timeZoneSuggester, newTimeServiceHelper); in createInstance() 151 public NitzStateMachineImpl(int slotIndex, in NitzStateMachineImpl() argument 155 mSlotIndex = slotIndex; in NitzStateMachineImpl()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ISub.aidl | 67 SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex, String callingPackage, in getActiveSubscriptionInfoForSimSlotIndex() argument 129 int addSubInfoRecord(String iccId, int slotIndex); in addSubInfoRecord() argument 140 int addSubInfo(String uniqueId, String displayName, int slotIndex, int subscriptionType); in addSubInfo() argument 254 int[] getSubId(int slotIndex); in getSubId() argument 289 int getEnabledSubscriptionId(int slotIndex); in getEnabledSubscriptionId() argument 294 int getSimStateForSlotIndex(int slotIndex); in getSimStateForSlotIndex() argument
|
D | ITelephony.aidl | 285 int getCallStateForSlot(int slotIndex); in getCallStateForSlot() argument 336 int getActivePhoneTypeForSlot(int slotIndex); in getActivePhoneTypeForSlot() argument 514 boolean hasIccCardUsingSlotIndex(int slotIndex); in hasIccCardUsingSlotIndex() argument 578 int slotIndex, String callingPackage, String AID, int p2); in iccOpenLogicalChannelBySlot() argument 604 boolean iccCloseLogicalChannelBySlot(int slotIndex, int channel); in iccCloseLogicalChannelBySlot() argument 637 String iccTransmitApduLogicalChannelBySlot(int slotIndex, int channel, int cla, int instruction, in iccTransmitApduLogicalChannelBySlot() argument 679 String iccTransmitApduBasicChannelBySlot(int slotIndex, String callingPackage, int cla, in iccTransmitApduBasicChannelBySlot() argument 769 boolean resetModemConfig(int slotIndex); in resetModemConfig() argument 782 boolean rebootModem(int slotIndex); in rebootModem() argument 824 void resetIms(int slotIndex); in resetIms() argument [all …]
|
/frameworks/base/core/java/android/app/timezonedetector/ |
D | TelephonyTimeZoneSuggestion.java | 83 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/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSCarrierGroup.java | 213 int slotIndex = getSlotIndex(subId); in setMobileDataIndicators() local 214 if (slotIndex >= SIM_SLOTS) { in setMobileDataIndicators() 215 Log.w(TAG, "setMobileDataIndicators - slot: " + slotIndex); in setMobileDataIndicators() 218 if (slotIndex == SubscriptionManager.INVALID_SIM_SLOT_INDEX) { in setMobileDataIndicators() 222 mInfos[slotIndex].visible = statusIcon.visible; in setMobileDataIndicators() 223 mInfos[slotIndex].mobileSignalIconId = statusIcon.icon; in setMobileDataIndicators() 224 mInfos[slotIndex].contentDescription = statusIcon.contentDescription; in setMobileDataIndicators() 225 mInfos[slotIndex].typeContentDescription = typeContentDescription.toString(); in setMobileDataIndicators() 226 mInfos[slotIndex].roaming = roaming; in setMobileDataIndicators()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccSlotTest.java | 240 int slotIndex = 0; in testUpdateAbsentState() local 243 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUpdateAbsentState() 282 int slotIndex = 0; in testUiccSlotCreateAndDispose() local 285 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUiccSlotCreateAndDispose() 295 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUiccSlotCreateAndDispose() 307 int slotIndex = 0; in testUiccSlotBroadcastAbsent() local 310 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUiccSlotBroadcastAbsent() 328 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testUiccSlotBroadcastAbsent() 340 int slotIndex = 0; in testNotRemovable() local 348 mUiccSlot.update(mSimulatedCommands, mIccCardStatus, phoneId, slotIndex); in testNotRemovable() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/ |
D | VendorSubscriptionController.java | 126 public int addSubInfoRecord(String iccId, int slotIndex) { in addSubInfoRecord() argument 127 logd("addSubInfoRecord: broadcast intent subId[" + slotIndex + "]"); in addSubInfoRecord() 128 return addSubInfo(iccId, null, slotIndex, SubscriptionManager.SUBSCRIPTION_TYPE_LOCAL_SIM); in addSubInfoRecord() 132 public int addSubInfo(String uniqueId, String displayName, int slotIndex, in addSubInfo() argument 135 int retVal = super.addSubInfo(uniqueId, displayName, slotIndex, subscriptionType); in addSubInfo() 137 int[] subId = getSubId(slotIndex); in addSubInfo() 140 logd("addSubInfoRecord: broadcast intent subId[" + slotIndex + "] = " + subId[0]); in addSubInfo() 142 new AsyncResult(null, slotIndex, null)); in addSubInfo() 144 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, slotIndex, subId[0]); in addSubInfo()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
D | NitzStateMachineTestSupport.java | 265 static TelephonyTimeZoneSuggestion createEmptyTimeZoneSuggestion(int slotIndex) { in createEmptyTimeZoneSuggestion() argument 266 return new TelephonyTimeZoneSuggestion.Builder(slotIndex) in createEmptyTimeZoneSuggestion() 271 static TelephonyTimeSuggestion createEmptyTimeSuggestion(int slotIndex) { in createEmptyTimeSuggestion() argument 272 return new TelephonyTimeSuggestion.Builder(slotIndex) in createEmptyTimeSuggestion() 278 int slotIndex, TimestampedValue<NitzData> nitzSignal) { in createTimeSuggestionFromNitzSignal() argument 279 return new TelephonyTimeSuggestion.Builder(slotIndex) in createTimeSuggestionFromNitzSignal()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionController.java | 656 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex, in getActiveSubscriptionInfoForSimSlotIndex() argument 658 Phone phone = PhoneFactory.getPhone(slotIndex); in getActiveSubscriptionInfoForSimSlotIndex() 661 loge("[getActiveSubscriptionInfoForSimSlotIndex] no phone, slotIndex=" + slotIndex); in getActiveSubscriptionInfoForSimSlotIndex() 678 if (si.getSimSlotIndex() == slotIndex) { in getActiveSubscriptionInfoForSimSlotIndex() 681 + slotIndex + " subId=" + si); in getActiveSubscriptionInfoForSimSlotIndex() 687 logd("[getActiveSubscriptionInfoForSimSlotIndex]+ slotIndex=" + slotIndex in getActiveSubscriptionInfoForSimSlotIndex() 1086 public int addSubInfoRecord(String iccId, int slotIndex) { in addSubInfoRecord() argument 1087 return addSubInfo(iccId, null, slotIndex, SubscriptionManager.SUBSCRIPTION_TYPE_LOCAL_SIM); in addSubInfoRecord() 1100 public int addSubInfo(String uniqueId, String displayName, int slotIndex, in addSubInfo() argument 1108 + ", slotIndex: " + slotIndex in addSubInfo() [all …]
|
/frameworks/native/libs/gui/ |
D | BufferItemConsumer.cpp | 108 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/base/core/java/android/app/timedetector/ |
D | TelephonyTimeSuggestion.java | 78 int slotIndex = in.readInt(); in createFromParcel() local 79 TelephonyTimeSuggestion suggestion = new TelephonyTimeSuggestion.Builder(slotIndex) in createFromParcel() 198 public Builder(int slotIndex) { in Builder() argument 199 mSlotIndex = slotIndex; in Builder()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | CellularDataService.java | 205 public DataServiceProvider onCreateDataServiceProvider(int slotIndex) { in onCreateDataServiceProvider() argument 206 log("Cellular data service created for slot " + slotIndex); in onCreateDataServiceProvider() 207 if (!SubscriptionManager.isValidSlotIndex(slotIndex)) { in onCreateDataServiceProvider() 208 loge("Tried to cellular data service with invalid slotId " + slotIndex); in onCreateDataServiceProvider() 211 return new CellularDataServiceProvider(slotIndex); in onCreateDataServiceProvider()
|
/frameworks/base/services/core/java/com/android/server/timedetector/ |
D | TimeDetectorStrategyImpl.java | 248 int slotIndex = suggestion.getSlotIndex(); in validateAndStoreTelephonySuggestion() local 249 TelephonyTimeSuggestion previousSuggestion = mSuggestionBySlotIndex.get(slotIndex); in validateAndStoreTelephonySuggestion() 274 mSuggestionBySlotIndex.put(slotIndex, suggestion); in validateAndStoreTelephonySuggestion() 372 Integer slotIndex = mSuggestionBySlotIndex.keyAt(i); in findBestTelephonySuggestion() local 377 + " slotIndex=" + slotIndex); in findBestTelephonySuggestion() 586 public synchronized TelephonyTimeSuggestion getLatestTelephonySuggestion(int slotIndex) { in getLatestTelephonySuggestion() argument 587 return mSuggestionBySlotIndex.get(slotIndex); in getLatestTelephonySuggestion()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccSlot.java | 85 public void update(CommandsInterface ci, IccCardStatus ics, int phoneId, int slotIndex) { in update() argument 94 mIsRemovable = isSlotRemovable(slotIndex); in update() 144 public void update(CommandsInterface ci, IccSlotStatus iss, int slotIndex) { in update() argument 153 mIsRemovable = isSlotRemovable(slotIndex); in update() 223 private boolean isSlotRemovable(int slotIndex) { in isSlotRemovable() argument 230 if (euiccSlot == slotIndex) { in isSlotRemovable()
|
/frameworks/base/libs/hwui/surfacetexture/ |
D | SurfaceTexture.cpp | 446 void SurfaceTexture::freeBufferLocked(int slotIndex) { in freeBufferLocked() argument 447 SFT_LOGV("freeBufferLocked: slotIndex=%d", slotIndex); in freeBufferLocked() 448 if (slotIndex == mCurrentTexture) { in freeBufferLocked() 453 mImageConsumer.onFreeBufferLocked(slotIndex); in freeBufferLocked() 454 mEGLConsumer.onFreeBufferLocked(slotIndex); in freeBufferLocked() 455 ConsumerBase::freeBufferLocked(slotIndex); in freeBufferLocked()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 151 void FramebufferSurface::freeBufferLocked(int slotIndex) { in freeBufferLocked() argument 152 ConsumerBase::freeBufferLocked(slotIndex); in freeBufferLocked() 153 if (slotIndex == mCurrentBufferSlot) { in freeBufferLocked()
|