Home
last modified time | relevance | path

Searched refs:getSlotIndex (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconControllerImpl.java98 int viewIndex = getViewIndex(getSlotIndex(slot.getName()), holder.getTag()); in addIconGroup()
136 setIcon(getSlotIndex(item.getName()), holder); in onTuningChanged()
154 int index = getSlotIndex(slot); in setIcon()
176 int index = getSlotIndex(slot); in setSignalIcon()
202 int slotIndex = getSlotIndex(slot); in setMobileIcons()
222 int viewIndex = getViewIndex(getSlotIndex(slot), 0); in setExternalIcon()
231 setIcon(getSlotIndex(slot), icon); in setIcon()
260 int index = getSlotIndex(slot); in setIconVisibility()
276 removeIcon(getSlotIndex(slot), tag); in removeIcon()
286 int slotIndex = getSlotIndex(slotName); in removeAllIconsForSlot()
DStatusBarIconList.java40 public int getSlotIndex(String slot) { in getSlotIndex() method in StatusBarIconList
58 return mSlots.get(getSlotIndex(name)); in getSlot()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconListTest.java36 assertEquals(1, statusBarIconList.getSlotIndex("bbb")); in testGetExistingSlot()
37 assertEquals(2, statusBarIconList.getSlotIndex("ccc")); in testGetExistingSlot()
43 assertEquals(0, statusBarIconList.getSlotIndex("aaa")); in testGetNonexistingSlot()
45 assertEquals(0, statusBarIconList.getSlotIndex("zzz")); // new content added in front in testGetNonexistingSlot()
46 assertEquals(1, statusBarIconList.getSlotIndex("aaa")); // slid back in testGetNonexistingSlot()
55 statusBarIconList.getSlotIndex("zzz"); // new content added in front in testAddSlotSlidesIcons()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DCellularDataService.java65 mPhone = PhoneFactory.getPhone(getSlotIndex()); in CellularDataServiceProvider()
123 if (DBG) log("setupDataCall " + getSlotIndex()); in setupDataCall()
139 if (DBG) log("deactivateDataCall " + getSlotIndex()); in deactivateDataCall()
155 if (DBG) log("setInitialAttachApn " + getSlotIndex()); in setInitialAttachApn()
171 if (DBG) log("setDataProfile " + getSlotIndex()); in setDataProfile()
186 if (DBG) log("requestDataCallList " + getSlotIndex()); in requestDataCallList()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSCarrierGroupTest.java60 when(spiedCarrierGroup.getSlotIndex(anyInt())).thenAnswer( in testUpdateCarrierText_sameLengths()
108 when(spiedCarrierGroup.getSlotIndex(anyInt())).thenAnswer( in testUpdateCarrierText_differentLength()
156 when(spiedCarrierGroup.getSlotIndex(anyInt())).thenReturn( in testUpdateCarrierText_invalidSim()
170 when(spiedCarrierGroup.getSlotIndex(anyInt())).thenReturn( in testSetMobileDataIndicators_invalidSim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSCarrierGroup.java155 protected int getSlotIndex(int subscriptionId) { in getSlotIndex() method in QSCarrierGroup
156 return SubscriptionManager.getSlotIndex(subscriptionId); in getSlotIndex()
166 int slot = getSlotIndex(info.subscriptionIds[i]); in updateCarrierInfo()
213 int slotIndex = getSlotIndex(subId); in setMobileDataIndicators()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DTimeZoneDetectorStrategyImpl.java224 mSuggestionBySlotIndex.put(suggestion.getSlotIndex(), scoredSuggestion); in suggestTelephonyTimeZone()
391 int candidateSlotIndex = candidateSuggestion.suggestion.getSlotIndex(); in findBestTelephonySuggestion()
392 int bestSlotIndex = bestSuggestion.suggestion.getSlotIndex(); in findBestTelephonySuggestion()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DTimeZoneSuggesterImplTest.java143 assertEquals(SLOT_INDEX, actualSuggestion.getSlotIndex()); in test_uniqueUsZone()
215 assertEquals(SLOT_INDEX, actualSuggestion.getSlotIndex()); in test_nonUniqueUsZone()
233 assertEquals(SLOT_INDEX, actualSuggestion.getSlotIndex()); in test_nonUniqueUsZone()
284 assertEquals(SLOT_INDEX, actualSuggestion.getSlotIndex()); in test_unitedKingdom()
363 assertEquals(SLOT_INDEX, actualSuggestion.getSlotIndex()); in test_cz()
/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorStrategyImpl.java248 int slotIndex = suggestion.getSlotIndex(); in validateAndStoreTelephonySuggestion()
399 int candidateSlotIndex = candidateSuggestion.getSlotIndex(); in findBestTelephonySuggestion()
400 int bestSlotIndex = bestSuggestion.getSlotIndex(); in findBestTelephonySuggestion()
/frameworks/base/telephony/java/android/telephony/
DUiccCardInfo.java131 public int getSlotIndex() { in getSlotIndex() method in UiccCardInfo
DNetworkService.java105 public final int getSlotIndex() { in getSlotIndex() method in NetworkService.NetworkServiceProvider
DTelephonyManager.java1774 return getDeviceSoftwareVersion(getSlotIndex()); in getDeviceSoftwareVersion()
1902 return getImei(getSlotIndex()); in getImei()
1956 return getTypeAllocationCode(getSlotIndex()); in getTypeAllocationCode()
2003 return getMeid(getSlotIndex()); in getMeid()
2055 return getManufacturerCode(getSlotIndex()); in getManufacturerCode()
2558 return getNetworkCountryIso(getSlotIndex()); in getNetworkCountryIso()
3153 return hasIccCard(getSlotIndex()); in hasIccCard()
3203 int slotIndex = getSlotIndex(); in getSimStateIncludingLoaded()
6499 return telephony.rebootModem(getSlotIndex()); in nvResetConfig()
6501 return telephony.resetModemConfig(getSlotIndex()); in nvResetConfig()
[all …]
DSmsCbMessage.java460 public int getSlotIndex() { in getSlotIndex() method in SmsCbMessage
DSubscriptionManager.java1753 public static int getSlotIndex(int subscriptionId) { in getSlotIndex() method in SubscriptionManager
1765 result = iSub.getSlotIndex(subscriptionId); in getSlotIndex()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl252 int getSlotIndex(int subId); in getSlotIndex() method
/frameworks/base/core/java/android/app/timedetector/
DTelephonyTimeSuggestion.java107 public int getSlotIndex() { in getSlotIndex() method in TelephonyTimeSuggestion
/frameworks/base/telephony/java/android/telephony/data/
DQualifiedNetworksService.java107 public final int getSlotIndex() { in getSlotIndex() method in QualifiedNetworksService.NetworkAvailabilityProvider
DDataService.java140 public final int getSlotIndex() { in getSlotIndex() method in DataService.DataServiceProvider
/frameworks/base/telephony/java/android/telephony/ims/feature/
DImsFeature.java353 public final int getSlotIndex() { in getSlotIndex() method in ImsFeature
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java831 int slotId = SubscriptionController.getInstance().getSlotIndex(mPhone.getSubId()); in getEmergencyNumberListFromEccList()
948 int slotId = SubscriptionController.getInstance().getSlotIndex(mPhone.getSubId()); in isEmergencyNumberFromEccList()
1192 int slotId = SubscriptionController.getInstance().getSlotIndex(mPhone.getSubId()); in dump()
/frameworks/base/core/java/android/app/timezonedetector/
DTelephonyTimeZoneSuggestion.java194 public int getSlotIndex() { in getSlotIndex() method in TelephonyTimeZoneSuggestion
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorSubscriptionController.java354 int slotId = getSlotIndex(subId); in isSubProvisioned()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java1676 && SubscriptionManager.isValidSlotIndex(getSlotIndex(subId))) { in setDisplayNameUsingSrc()
1677 nameToSet = "CARD " + (getSlotIndex(subId) + 1); in setDisplayNameUsingSrc()
2105 public int getSlotIndex(int subId) { in getSlotIndex() method in SubscriptionController
2153 slotIndex = getSlotIndex(getDefaultSubId()); in getSubId()
2555 slotIndex = getSlotIndex(getDefaultSubId()); in getSubInfoUsingSlotIndexPrivileged()
3651 int logicalSlotIndex = getSlotIndex(subId); in getPhysicalSlotIndex()
DCellularNetworkService.java75 mPhone = PhoneFactory.getPhone(getSlotIndex()); in CellularNetworkServiceProvider()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java290 int getSlotIndex(int subId); in getSlotIndex() method
327 public int getSlotIndex(int subId) {
328 return SubscriptionManager.getSlotIndex(subId);

12