Searched defs:slotIndex (Results 1 - 8 of 8) sorted by relevance

/frameworks/native/libs/gui/
H A DBufferItemConsumer.cpp113 void BufferItemConsumer::freeBufferLocked(int slotIndex) { argument
115 if (listener != NULL && mSlots[slotIndex].mGraphicBuffer != NULL) {
118 listener->onBufferFreed(mSlots[slotIndex].mGraphicBuffer);
120 ConsumerBase::freeBufferLocked(slotIndex);
H A DConsumerBase.cpp97 void ConsumerBase::freeBufferLocked(int slotIndex) { argument
98 CB_LOGV("freeBufferLocked: slotIndex=%d", slotIndex);
99 mSlots[slotIndex].mGraphicBuffer = 0;
100 mSlots[slotIndex].mFence = Fence::NO_FENCE;
101 mSlots[slotIndex].mFrameNumber = 0;
H A DGLConsumer.cpp1072 void GLConsumer::freeBufferLocked(int slotIndex) { argument
1073 GLC_LOGV("freeBufferLocked: slotIndex=%d", slotIndex);
1074 if (slotIndex == mCurrentTexture) {
1077 mEglSlots[slotIndex].mEglImage.clear();
1078 ConsumerBase::freeBufferLocked(slotIndex);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFramebufferSurface.cpp206 void FramebufferSurface::freeBufferLocked(int slotIndex) { argument
207 ConsumerBase::freeBufferLocked(slotIndex);
208 if (slotIndex == mCurrentBufferSlot) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DSubscriptionControllerMock.java120 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex, String cp){ argument
144 public int addSubInfoRecord(String iccId, int slotIndex) { argument
148 public boolean setPlmnSpn(int slotIndex, boolean showPlmn, String plmn, boolean showSpn, argument
181 private boolean isInvalidslotIndex(int slotIndex) { argument
182 if (slotIndex < 0 || slotIndex >= mSlotIndexToSubId.length) return true;
187 public int[] getSubId(int slotIndex) { argument
188 if (isInvalidslotIndex(slotIndex)) {
191 return mSlotIndexToSubId[slotIndex];
193 public void setSlotSubId(int slotIndex, in argument
263 getSimStateForSlotIndex(int slotIndex) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DSubscriptionManager.java549 * Get the active SubscriptionInfo associated with the slotIndex
550 * @param slotIndex the slot which the subscription is inserted
553 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex) { argument
554 if (VDBG) logd("[getActiveSubscriptionInfoForSimSlotIndex]+ slotIndex=" + slotIndex);
555 if (!isValidSlotIndex(slotIndex)) {
556 logd("[getActiveSubscriptionInfoForSimSlotIndex]- invalid slotIndex");
565 result = iSub.getActiveSubscriptionInfoForSimSlotIndex(slotIndex,
699 * @param slotIndex the slot which the SIM is inserted
703 public Uri addSubscriptionInfoRecord(String iccId, int slotIndex) { argument
886 getSubId(int slotIndex) argument
1183 isValidSlotIndex(int slotIndex) argument
1273 getSimStateForSlotIndex(int slotIndex) argument
[all...]
H A DTelephonyManager.java949 * @param slotIndex of which deviceID is returned
953 public String getDeviceSoftwareVersion(int slotIndex) { argument
958 return telephony.getDeviceSoftwareVersionForSlot(slotIndex, getOpPackageName());
992 * @param slotIndex of which deviceID is returned
999 public String getDeviceId(int slotIndex) { argument
1000 // FIXME this assumes phoneId == slotIndex
1005 return info.getDeviceIdForPhone(slotIndex, mContext.getOpPackageName());
1026 * @param slotIndex of which IMEI is returned
1029 public String getImei(int slotIndex) { argument
1034 return telephony.getImeiForSlot(slotIndex, getOpPackageNam
1056 getMeid(int slotIndex) argument
1084 getNai(int slotIndex) argument
1274 getCurrentPhoneTypeForSlot(int slotIndex) argument
2001 hasIccCard(int slotIndex) argument
2069 getSimState(int slotIndex) argument
3253 getCallStateForSlot(int slotIndex) argument
4491 getImsServiceControllerAndListen(int slotIndex, @Feature int feature, IImsServiceFeatureListener callback) argument
5818 setSimPowerStateForSlot(int slotIndex, boolean powerUp) argument
6424 setAllowedCarriers(int slotIndex, List<CarrierIdentifier> carriers) argument
6451 getAllowedCarriers(int slotIndex) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSubscriptionController.java62 * Any setters which take subId, slotIndex or phoneId as a parameter will throw an exception if the
470 * Get the active SubscriptionInfo associated with the slotIndex
471 * @param slotIndex the slot which the subscription is inserted
476 public SubscriptionInfo getActiveSubscriptionInfoForSimSlotIndex(int slotIndex, argument
489 if (si.getSimSlotIndex() == slotIndex) {
491 logd("[getActiveSubscriptionInfoForSimSlotIndex]+ slotIndex="
492 + slotIndex + " subId=" + si);
498 logd("[getActiveSubscriptionInfoForSimSlotIndex]+ slotIndex=" + slotIndex
670 * @param slotIndex th
674 addSubInfoRecord(String iccId, int slotIndex) argument
839 setPlmnSpn(int slotIndex, boolean showPlmn, String plmn, boolean showSpn, String spn) argument
1136 getSubId(int slotIndex) argument
1234 getDummySubIds(int slotIndex) argument
1569 getSubInfoUsingSlotIndexWithCheck(int slotIndex, boolean needCheck, String callingPackage) argument
1671 getSimStateForSlotIndex(int slotIndex) argument
[all...]

Completed in 138 milliseconds