Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconControllerImpl.java96 int viewIndex = getViewIndex(getSlotIndex(slot.getName()), holder.getTag()); in addIconGroup()
134 setIcon(getSlotIndex(item.getName()), holder); in onTuningChanged()
153 int index = getSlotIndex(slot); in setIcon()
175 int index = getSlotIndex(slot); in setSignalIcon()
201 int slotIndex = getSlotIndex(slot); in setMobileIcons()
217 int viewIndex = getViewIndex(getSlotIndex(slot), 0); in setExternalIcon()
226 setIcon(getSlotIndex(slot), icon); in setIcon()
255 int index = getSlotIndex(slot); in setIconVisibility()
271 removeIcon(getSlotIndex(slot), tag); in removeIcon()
283 int slotIndex = getSlotIndex(slotName); in removeAllIconsForSlot()
DStatusBarIconList.java39 public int getSlotIndex(String slot) { in getSlotIndex() method in StatusBarIconList
57 return mSlots.get(getSlotIndex(name)); in getSlot()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DStatusBarIconListTest.java33 assertEquals(1, statusBarIconList.getSlotIndex("bbb")); in testGetExistingSlot()
34 assertEquals(2, statusBarIconList.getSlotIndex("ccc")); in testGetExistingSlot()
40 assertEquals(0, statusBarIconList.getSlotIndex("aaa")); in testGetNonexistingSlot()
42 assertEquals(0, statusBarIconList.getSlotIndex("zzz")); // new content added in front in testGetNonexistingSlot()
43 assertEquals(1, statusBarIconList.getSlotIndex("aaa")); // slid back in testGetNonexistingSlot()
52 statusBarIconList.getSlotIndex("zzz"); // new content added in front in testAddSlotSlidesIcons()
/frameworks/support/car/src/main/java/androidx/car/widget/
DActionBar.java174 private int getSlotIndex(@SlotPosition int slotPosition) { in getSlotIndex() method in ActionBar
247 int index = getSlotIndex(mFixedViews.keyAt(i)); in updateViewsLayout()
254 int expandCollapseIndex = getSlotIndex(SLOT_EXPAND_COLLAPSE); in updateViewsLayout()
296 mSlots[getSlotIndex(SLOT_EXPAND_COLLAPSE)].setActivated(mIsExpanded); in onExpandCollapse()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl159 int getSlotIndex(int subId); in getSlotIndex() method
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java176 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/base/telephony/java/android/telephony/
DSubscriptionManager.java1167 public static int getSlotIndex(int subId) { in getSlotIndex() method in SubscriptionManager
1179 result = iSub.getSlotIndex(subId); in getSlotIndex()
DPhoneNumberUtils.java1993 int slotId = SubscriptionManager.getSlotIndex(subId); in isEmergencyNumberInternal()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java286 mSubscriptionControllerUT.getSlotIndex(0)); in testCleanUpSIM()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java1401 public int getSlotIndex(int subId) {
1450 slotIndex = getSlotIndex(getDefaultSubId());
1885 slotIndex = getSlotIndex(getDefaultSubId());
DServiceStateTracker.java346 if (mSubscriptionController.getSlotIndex(subId) in onSubscriptionsChanged()
3623 final int simNumber = mSubscriptionController.getSlotIndex(mSubId) + 1; in setNotification()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java1770 int slotId = SubscriptionManager.getSlotIndex(subId); in reportSimUnlocked()
1963 int slotId = SubscriptionManager.getSlotIndex(id); in getNextSubIdForState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java805 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/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()
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsResolverTest.java804 when(mTestSubscriptionManagerProxy.getSlotIndex(eq(i))).thenReturn(i); in setupResolver()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt5537 Landroid/telephony/SubscriptionManager;->getSlotIndex(I)I
5602 Landroid/telephony/TelephonyManager;->getSlotIndex()I
Dboot-image-profile.txt30676 HSPLandroid/telephony/SubscriptionManager;->getSlotIndex(I)I
30767 HSPLandroid/telephony/TelephonyManager;->getSlotIndex()I
40034 HSPLcom/android/internal/telephony/ISub$Stub$Proxy;->getSlotIndex(I)I
40061 HSPLcom/android/internal/telephony/ISub;->getSlotIndex(I)I
40856 HSPLcom/android/internal/telephony/SubscriptionController;->getSlotIndex(I)I
41340 HSPLcom/android/internal/telephony/ims/ImsResolver$SubscriptionManagerProxy;->getSlotIndex(I)I