/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/ |
D | MockModemManager.java | 226 public boolean isSimCardPresent(int slotId) throws Exception { in isSimCardPresent() argument 227 Log.d(TAG, "isSimCardPresent[" + slotId + "]"); in isSimCardPresent() 230 return (configInterface != null) ? configInterface.isSimCardPresent(slotId, TAG) : false; in isSimCardPresent() 240 public boolean insertSimCard(int slotId, int simProfileId) throws Exception { in insertSimCard() argument 241 Log.d(TAG, "insertSimCard[" + slotId + "] with profile Id(" + simProfileId + ")"); in insertSimCard() 244 if (!isSimCardPresent(slotId)) { in insertSimCard() 250 result = configInterface.changeSimProfile(slotId, simProfileId, TAG); in insertSimCard() 274 public boolean removeSimCard(int slotId) throws Exception { in removeSimCard() argument 275 Log.d(TAG, "removeSimCard[" + slotId + "]"); in removeSimCard() 278 if (isSimCardPresent(slotId)) { in removeSimCard() [all …]
|
D | MockModemConfigBase.java | 372 MockModemConfigHandler(int slotId) { in MockModemConfigHandler() argument 373 mLogicalSlotId = slotId; in MockModemConfigHandler() 620 private void updateCardStatus(int slotId) { in updateCardStatus() argument 621 if (slotId >= 0 in updateCardStatus() 622 && slotId < mSimService.length in updateCardStatus() 624 && mSimService[slotId] != null) { in updateCardStatus() 625 mCardStatus[slotId] = new CardStatus(); in updateCardStatus() 626 mCardStatus[slotId].cardState = in updateCardStatus() 627 mSimService[slotId].isCardPresent() in updateCardStatus() 630 mCardStatus[slotId].universalPinState = mSimService[slotId].getUniversalPinState(); in updateCardStatus() [all …]
|
D | MockSimService.java | 319 public MockSimService(Context context, int slotId) { in MockSimService() argument 323 if (slotId >= MOCK_SIM_SLOT_MAX) { in MockSimService() 327 + slotId in MockSimService() 331 slotId = MOCK_SIM_DEFAULT_SLOTID; in MockSimService() 335 mTag = mTag + "-" + slotId; in MockSimService() 336 switch (slotId) { in MockSimService() 369 initMockSimCard(slotId, simprofile); in MockSimService() 372 private void initMockSimCard(int slotId, int simProfileId) { in initMockSimCard() argument 373 if (slotId > MockModemConfigInterface.MAX_NUM_OF_SIM_SLOT) { in initMockSimCard() 377 + slotId in initMockSimCard() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/ |
D | MockEuiccService.java | 56 public String onGetEid(int slotId) { in onGetEid() argument 62 public long onGetAvailableMemoryInBytes(int slotId) { in onGetAvailableMemoryInBytes() argument 64 if (slotId == EuiccServiceTest.MOCK_SLOT_ID_EXCEPTION) { in onGetAvailableMemoryInBytes() 71 public @OtaStatus int onGetOtaStatus(int slotId) { in onGetOtaStatus() argument 83 public void onStartOtaIfNecessary(int slotId, OtaStatusChangedCallback statusChangedCallback) { in onStartOtaIfNecessary() argument 90 int slotId, DownloadableSubscription subscription, boolean forceDeactivateSim) { in onGetDownloadableSubscriptionMetadata() argument 104 int slotId, int portIndex, DownloadableSubscription subscription, in onGetDownloadableSubscriptionMetadata() argument 119 int slotId, boolean forceDeactivateSim) { in onGetDefaultDownloadableSubscriptionList() argument 128 int slotId, in onDownloadSubscription() argument 150 int slotId, in onDownloadSubscription() argument [all …]
|
D | EuiccServiceTest.java | 99 public String onGetEid(int slotId) { in onGetEid() argument 104 public long onGetAvailableMemoryInBytes(int slotId) { in onGetAvailableMemoryInBytes() argument 109 public int onGetOtaStatus(int slotId) { in onGetOtaStatus() argument 114 public void onStartOtaIfNecessary(int slotId, in onStartOtaIfNecessary() argument 120 int slotId, DownloadableSubscription subscription, boolean forceDeactivateSim) { in onGetDownloadableSubscriptionMetadata() argument 126 int slotId, int portIndex, DownloadableSubscription subscription, in onGetDownloadableSubscriptionMetadata() argument 134 int slotId, boolean forceDeactivateSim) { in onGetDefaultDownloadableSubscriptionList() argument 139 public GetEuiccProfileInfoListResult onGetEuiccProfileInfoList(int slotId) { in onGetEuiccProfileInfoList() argument 144 public EuiccInfo onGetEuiccInfo(int slotId) { in onGetEuiccInfo() argument 149 public int onDeleteSubscription(int slotId, String iccid) { in onDeleteSubscription() argument [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | DomainSelectionCrossSimRedialingTestOnMockModem.java | 428 private static void unsolBarringInfoChanged(int slotId, boolean barred, boolean noAssert) { in unsolBarringInfoChanged() argument 435 sMockModemManager.unsolBarringInfoChanged(slotId, serviceInfos); in unsolBarringInfoChanged() 437 assertTrue(sMockModemManager.unsolBarringInfoChanged(slotId, serviceInfos)); in unsolBarringInfoChanged() 441 private boolean waitForVoiceLatchCountdown(int slotId, int latchIndex) { in waitForVoiceLatchCountdown() argument 442 return waitForVoiceLatchCountdown(slotId, latchIndex, WAIT_LATCH_TIMEOUT_MS); in waitForVoiceLatchCountdown() 445 private boolean waitForVoiceLatchCountdown(int slotId, int latchIndex, int waitMs) { in waitForVoiceLatchCountdown() argument 446 return sMockModemManager.waitForVoiceLatchCountdown(slotId, latchIndex, waitMs); in waitForVoiceLatchCountdown() 449 private void resetVoiceAllLatchCountdown(int slotId) { in resetVoiceAllLatchCountdown() argument 450 sMockModemManager.resetVoiceAllLatchCountdown(slotId); in resetVoiceAllLatchCountdown() 453 private void setLastCallFailCause(int slotId, int cause) { in setLastCallFailCause() argument [all …]
|
D | TestImsService.java | 153 public void enableImsForSubscription(int slotId, int subId) { in enableImsForSubscription() argument 162 public void disableImsForSubscription(int slotId, int subId) { in disableImsForSubscription() argument 171 public RcsFeature createRcsFeatureForSubscription(int slotId, int subId) { in createRcsFeatureForSubscription() argument 224 public ImsConfigImplBase getConfigForSubscription(int slotId, int subId) { in getConfigForSubscription() argument 230 public MmTelFeature createMmTelFeatureForSubscription(int slotId, int subId) { in createMmTelFeatureForSubscription() argument 266 public ImsRegistrationImplBase getRegistrationForSubscription(int slotId, int subId) { in getRegistrationForSubscription() argument 273 public SipTransportImplBase getSipTransport(int slotId) { in getSipTransport() argument 330 public void enableIms(int slotId) { in enableIms() argument 338 public void disableIms(int slotId) { in disableIms() argument 346 public RcsFeature createRcsFeature(int slotId) { in createRcsFeature() argument [all …]
|
D | ImsServiceConnector.java | 143 Connection(int connectionType, int slotId) { in Connection() argument 145 mSlotId = slotId; in Connection() 503 public void clearAllActiveImsServices(int slotId) throws Exception { in clearAllActiveImsServices() argument 505 slotId); in clearAllActiveImsServices() 510 slotId); in clearAllActiveImsServices() 515 slotId); in clearAllActiveImsServices() 705 void removeEabContacts(int slotId, String phoneNum) throws Exception { in removeEabContacts() argument 708 .append(COMMAND_SLOT_IDENTIFIER).append(slotId).append(" ").append(phoneNum); in removeEabContacts() 725 void removeUceRequestDisallowedStatus(int slotId) throws Exception { in removeUceRequestDisallowedStatus() argument 728 .append(COMMAND_SLOT_IDENTIFIER).append(slotId); in removeUceRequestDisallowedStatus() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | NetworkServiceTest.java | 32 CtsNetworkServiceProvider(int slotId) { in CtsNetworkServiceProvider() argument 33 super(slotId); in CtsNetworkServiceProvider()
|
D | ConnectivityManagerTestOnMockModem.java | 347 int slotId = 0; in testNetworkValidated() local 350 sMockModemManager.insertSimCard(slotId, MOCK_SIM_PROFILE_ID_TWN_CHT); in testNetworkValidated() 354 sMockModemManager.changeNetworkService(slotId, MOCK_SIM_PROFILE_ID_TWN_CHT, true); in testNetworkValidated() 367 if (slotId == subscriptionInfo.getSimSlotIndex()) { in testNetworkValidated() 370 Log.d(TAG, "Set Data on slot: " + slotId); in testNetworkValidated() 385 sMockModemManager.changeNetworkService(slotId, MOCK_SIM_PROFILE_ID_TWN_CHT, false); in testNetworkValidated() 388 sMockModemManager.removeSimCard(slotId); in testNetworkValidated() 451 int slotId = subscriptionInfo.getSimSlotIndex(); in testDDSChange() local 454 Log.d(TAG, "Set Data on slot: " + slotId); in testDDSChange()
|
D | TelephonyManagerTestOnMockModem.java | 384 int slotId = 0; in testSimStateChange() local 387 sMockModemManager.removeSimCard(slotId); in testSimStateChange() 397 assertTrue(sMockModemManager.insertSimCard(slotId, MOCK_SIM_PROFILE_ID_TWN_CHT)); in testSimStateChange() 406 assertTrue(sMockModemManager.removeSimCard(slotId)); in testSimStateChange() 417 int slotId = 0; in testServiceStateChange() local 421 sMockModemManager.insertSimCard(slotId, MOCK_SIM_PROFILE_ID_TWN_CHT); in testServiceStateChange() 424 subId = getActiveSubId(slotId); in testServiceStateChange() 445 sMockModemManager.changeNetworkService(slotId, MOCK_SIM_PROFILE_ID_TWN_CHT, true); in testServiceStateChange() 467 sMockModemManager.changeNetworkService(slotId, MOCK_SIM_PROFILE_ID_TWN_CHT, false); in testServiceStateChange() 488 sMockModemManager.removeSimCard(slotId); in testServiceStateChange() [all …]
|
D | TestDomainSelectionService.java | 139 public void onServiceStateUpdated(int slotId, int subId, in onServiceStateUpdated() argument 143 super.onServiceStateUpdated(slotId, subId, serviceState); in onServiceStateUpdated() 149 public void onBarringInfoUpdated(int slotId, int subId, @NonNull BarringInfo barringInfo) { in onBarringInfoUpdated() argument 152 super.onBarringInfoUpdated(slotId, subId, barringInfo); in onBarringInfoUpdated()
|
D | SimultaneousCallingRestrictionsTest.java | 790 int slotId) throws Exception { in triggerFrameworkConnectToCarrierImsService() argument 791 Log.i(TAG, "triggerFrameworkConnectToCarrierImsService: slotId = " + slotId); in triggerFrameworkConnectToCarrierImsService() 801 .addFeature(slotId, ImsFeature.FEATURE_MMTEL) in triggerFrameworkConnectToCarrierImsService() 812 assertEquals("The slot specified for the test (" + slotId + ") does not match the " in triggerFrameworkConnectToCarrierImsService() 814 slotId, serviceSlot); in triggerFrameworkConnectToCarrierImsService() 818 int slotId) throws Exception { in triggerFrameworkConnectToDeviceImsService() argument 819 Log.i(TAG, "triggerFrameworkConnectToDeviceImsService: slotId = " + slotId); in triggerFrameworkConnectToDeviceImsService() 825 .addFeature(slotId, ImsFeature.FEATURE_MMTEL) in triggerFrameworkConnectToDeviceImsService()
|
D | SubscriptionManagerTest.java | 300 int slotId = SubscriptionManager.getSlotIndex(mSubId); in testGetSubscriptionIds() local 301 int[] subIds = mSm.getSubscriptionIds(slotId); in testGetSubscriptionIds() 308 int slotId = SubscriptionManager.getSlotIndex(mSubId); in testGetSubscriptionId() local 309 assertThat(SubscriptionManager.getSubscriptionId(slotId)).isEqualTo(mSubId); in testGetSubscriptionId() 982 int slotId = SubscriptionManager.getSlotIndex(mSubId); in testGetEnabledSubscriptionId() local 983 if (!SubscriptionManager.isValidSlotIndex(slotId)) { in testGetEnabledSubscriptionId() 984 fail("Invalid slot id " + slotId + " for subscription id " + mSubId); in testGetEnabledSubscriptionId() 987 (sm) -> sm.getEnabledSubscriptionId(slotId)); in testGetEnabledSubscriptionId()
|
D | TelephonyManagerTest.java | 4393 final int slotId = i; in testGetSimApplicationState() local 4395 mTelephonyManager, (tm) -> tm.getSimApplicationState(slotId)); in testGetSimApplicationState()
|
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/ |
D | CarrierRoamingSatelliteTestBase.java | 407 protected static void insertSatelliteEnabledSim(int slotId, int profile) throws Exception { in insertSatelliteEnabledSim() argument 408 logd(TAG, "insertSatelliteEnabledSim() slotId:" + slotId); in insertSatelliteEnabledSim() 416 assertTrue(sMockModemManager.insertSimCard(slotId, profile)); in insertSatelliteEnabledSim() 419 int subId = SubscriptionManager.getSubscriptionId(slotId); in insertSatelliteEnabledSim() 421 String mccmnc = sMockModemManager.getSimInfo(slotId, in insertSatelliteEnabledSim() 442 sMockModemManager.changeNetworkService(slotId, profile, true); in insertSatelliteEnabledSim() 447 protected static void removeSatelliteEnabledSim(int slotId, int profile) throws Exception { in removeSatelliteEnabledSim() argument 449 int subId = SubscriptionManager.getSubscriptionId(slotId); in removeSatelliteEnabledSim() 454 sMockModemManager.changeNetworkService(slotId, profile, false); in removeSatelliteEnabledSim() 457 sMockModemManager.removeSimCard(slotId); in removeSatelliteEnabledSim()
|
/cts/tests/tests/carrierapi/targetprep/device/src/android/carrierapi/cts/targetprep/ |
D | ApduScriptUtil.java | 211 int slotId = in setSimPowerAndWaitForCardState() 215 if (slotId != logicalSlotId) return; in setSimPowerAndWaitForCardState()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0213/ |
D | poc.cpp | 102 virtual void onFrameRendered(uint64_t bufferQueueId, int32_t slotId, in onFrameRendered() 105 (void)slotId; in onFrameRendered()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | system-current.txt | 17514 field public final int slotId;
|