Home
last modified time | relevance | path

Searched refs:getSlotIndex (Results 1 – 25 of 31) 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.java70 mPhone = PhoneFactory.getPhone(getSlotIndex()); in CellularDataServiceProvider()
131 if (DBG) log("setupDataCall " + getSlotIndex()); in setupDataCall()
147 if (DBG) log("deactivateDataCall " + getSlotIndex()); in deactivateDataCall()
163 if (DBG) log("setInitialAttachApn " + getSlotIndex()); in setInitialAttachApn()
179 if (DBG) log("setDataProfile " + getSlotIndex()); in setDataProfile()
194 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.java150 protected int getSlotIndex(int subscriptionId) { in getSlotIndex() method in QSCarrierGroup
151 return SubscriptionManager.getSlotIndex(subscriptionId); in getSlotIndex()
164 int slot = getSlotIndex(info.subscriptionIds[i]); in updateCarrierInfo()
210 int slotIndex = getSlotIndex(subId); in setMobileDataIndicators()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl238 int getSlotIndex(int subId); in getSlotIndex() method
/frameworks/base/telephony/java/android/telephony/
DUiccCardInfo.java131 public int getSlotIndex() { in getSlotIndex() method in UiccCardInfo
DTelephonyManager.java1560 return getDeviceSoftwareVersion(getSlotIndex()); in getDeviceSoftwareVersion()
1681 return getImei(getSlotIndex()); in getImei()
1734 return getTypeAllocationCode(getSlotIndex()); in getTypeAllocationCode()
1781 return getMeid(getSlotIndex()); in getMeid()
1828 return getManufacturerCode(getSlotIndex()); in getManufacturerCode()
2990 return hasIccCard(getSlotIndex()); in hasIccCard()
3040 int slotIndex = getSlotIndex(); in getSimStateIncludingLoaded()
5988 return telephony.rebootModem(getSlotIndex()); in nvResetConfig()
5990 return telephony.resetModemConfig(getSlotIndex()); in nvResetConfig()
6021 return telephony.resetModemConfig(getSlotIndex()); in resetRadioConfig()
[all …]
DNetworkService.java104 public final int getSlotIndex() { in getSlotIndex() method in NetworkService.NetworkServiceProvider
DSubscriptionManager.java1718 public static int getSlotIndex(int subscriptionId) { in getSlotIndex() method in SubscriptionManager
1730 result = iSub.getSlotIndex(subscriptionId); in getSlotIndex()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java570 int slotId = SubscriptionController.getInstance().getSlotIndex(mPhone.getSubId()); in getEmergencyNumberListFromEccList()
664 int slotId = SubscriptionController.getInstance().getSlotIndex(mPhone.getSubId()); in isEmergencyNumberFromEccList()
894 int slotId = SubscriptionController.getInstance().getSlotIndex(mPhone.getSubId()); in dump()
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java181 public int getSlotIndex(int subId) { in getSlotIndex() method in SubscriptionControllerMock
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java239 int getSlotIndex(int subId); in getSlotIndex() method
254 public int getSlotIndex(int subId) {
255 return SubscriptionManager.getSlotIndex(subId);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkService.java78 mPhone = PhoneFactory.getPhone(getSlotIndex()); in CellularNetworkServiceProvider()
DSubscriptionController.java1897 public int getSlotIndex(int subId) { in getSlotIndex() method in SubscriptionController
1945 slotIndex = getSlotIndex(getDefaultSubId()); in getSubId()
2372 slotIndex = getSlotIndex(getDefaultSubId()); in getSubInfoUsingSlotIndexPrivileged()
3414 int logicalSlotIndex = getSlotIndex(subId); in getPhysicalSlotIndex()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccConnector.java970 slotId = info.getSlotIndex(); in getSlotIdFromCardId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java817 slotId = sControl.getSlotIndex(sControl.getDefaultSubId()); in getInstance()
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp147 Record.push_back(A.getSlotIndex(i)); in WriteAttributeTable()
148 Record.push_back(encodeLLVMAttributesForBitcode(A, A.getSlotIndex(i))); in WriteAttributeTable()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java2250 int slotId = SubscriptionManager.getSlotIndex(subId); in reportSimUnlocked()
2439 int slotId = SubscriptionManager.getSlotIndex(id); in getNextSubIdForState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java231 mSubscriptionControllerUT.getSlotIndex(1)); in testCleanUpSIM()
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp170 Record.push_back(A.getSlotIndex(i)); in WriteAttributeTable()
171 Record.push_back(encodeLLVMAttributesForBitcode(A, A.getSlotIndex(i))); in WriteAttributeTable()
/frameworks/compile/slang/BitWriter_2_9_func/
DBitcodeWriter.cpp170 Record.push_back(A.getSlotIndex(i)); in WriteAttributeTable()
171 Record.push_back(encodeLLVMAttributesForBitcode(A, A.getSlotIndex(i))); in WriteAttributeTable()

12