/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | ImageListUber.java | 66 MergeSlot slot = new MergeSlot(list, i); in ImageListUber() local 67 if (slot.next()) mQueue.add(slot); in ImageListUber() 132 MergeSlot slot = nextMergeSlot(); in getImageAt() local 133 if (slot == null) return null; in getImageAt() 135 IImage result = slot.mImage; in getImageAt() 136 if (slot.next()) mQueue.add(slot); in getImageAt() 139 if (slot.next()) mQueue.add(slot); in getImageAt() 144 MergeSlot slot = mQueue.poll(); in nextMergeSlot() local 145 if (slot == null) return null; in nextMergeSlot() 146 if (slot.mListIndex == mLastListIndex) { in nextMergeSlot() [all …]
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTable.java | 199 for (int slot = 0; slot < mOnDeck.length; slot++) { in clearSelection() 200 if (mOnDeck[slot] != null) { in clearSelection() 201 fadeAway(mOnDeck[slot], false); in clearSelection() 202 mOnDeck[slot] = null; in clearSelection() 204 if (mLoadOnDeckTasks[slot] != null && in clearSelection() 205 mLoadOnDeckTasks[slot].getStatus() != AsyncTask.Status.FINISHED) { in clearSelection() 206 mLoadOnDeckTasks[slot].cancel(true); in clearSelection() 207 mLoadOnDeckTasks[slot] = null; in clearSelection() 259 for (int slot = 0; slot < mOnDeck.length; slot++) { in promoteSelection() 260 if (mLoadOnDeckTasks[slot] != null && in promoteSelection() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | ClipStorage.java | 150 private Writer createWriter(int slot) throws IOException { in createWriter() argument 151 File file = toSlotDataFile(slot); in createWriter() 156 public synchronized File getFile(int slot) throws IOException { in getFile() argument 157 createSlotFileObject(slot); in getFile() 159 File primary = toSlotDataFile(slot); in getFile() 161 String linkFileName = Integer.toString(mSlots[slot].list().length); in getFile() 162 File link = new File(mSlots[slot], linkFileName); in getFile() 240 int slot = claimStorageSlot(); in persistUris() local 241 persistUris(uris, slot); in persistUris() 242 return slot; in persistUris() [all …]
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkAppService.java | 690 for (int slot = 0; slot < mSimCount; slot++) { in handleMessage() 691 checkForSetupEvent(LANGUAGE_SELECTION_EVENT, (Bundle) msg.obj, slot); in handleMessage() 700 for (int slot = 0; slot < mSimCount; slot++) { in handleMessage() 701 if (mStkContext[slot] != null) { in handleMessage() 702 handleIdleScreen(slot); in handleMessage() 712 for (int slot = 0; slot < mSimCount; slot++) { in handleMessage() 713 checkForSetupEvent(USER_ACTIVITY_EVENT, null, slot); in handleMessage() 721 for (int slot = 0; slot < mSimCount; slot++) { in handleMessage() 722 if (mStkContext[slot] != null) { in handleMessage() 723 handleHomeKeyPressed(slot); in handleMessage() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalMergeAlbum.java | 126 MediaItem[] slot = new MediaItem[mSources.length]; in getMediaItem() local 132 slot[i] = mFetcher[i].getItem(subPos[i]); in getMediaItem() 140 if (slot[j] != null) { in getMediaItem() 141 if (k == -1 || mComparator.compare(slot[j], slot[k]) < 0) { in getMediaItem() 153 result.add(slot[k]); in getMediaItem() 155 slot[k] = mFetcher[k].getItem(subPos[k]); in getMediaItem()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | BlobCache.java | 551 int slot = (int) (key % mMaxEntries); in lookupInternal() local 552 if (slot < 0) slot += mMaxEntries; in lookupInternal() 553 int slotBegin = slot; in lookupInternal() 555 int offset = hashStart + slot * 12; in lookupInternal() 566 if (++slot >= mMaxEntries) { in lookupInternal() 567 slot = 0; in lookupInternal() 569 if (slot == slotBegin) { in lookupInternal() 571 mIndexBuffer.putInt(hashStart + slot * 12 + 8, 0); in lookupInternal()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfGenerator.java | 774 public ApfGenerator addLoadFromMemory(Register register, int slot) in addLoadFromMemory() argument 776 if (slot < 0 || slot > (MEMORY_SLOTS - 1)) { in addLoadFromMemory() 777 throw new IllegalInstructionException("illegal memory slot number: " + slot); in addLoadFromMemory() 780 instruction.setUnsignedImm(ExtendedOpcodes.LDM.value + slot); in addLoadFromMemory() 789 public ApfGenerator addStoreToMemory(Register register, int slot) in addStoreToMemory() argument 791 if (slot < 0 || slot > (MEMORY_SLOTS - 1)) { in addStoreToMemory() 792 throw new IllegalInstructionException("illegal memory slot number: " + slot); in addStoreToMemory() 795 instruction.setUnsignedImm(ExtendedOpcodes.STM.value + slot); in addStoreToMemory()
|
D | ApfFilter.java | 1870 public synchronized void addTcpKeepalivePacketFilter(final int slot, in addTcpKeepalivePacketFilter() argument 1872 log("Adding keepalive ack(" + slot + ")"); in addTcpKeepalivePacketFilter() 1873 if (null != mKeepalivePackets.get(slot)) { in addTcpKeepalivePacketFilter() 1874 throw new IllegalArgumentException("Keepalive slot " + slot + " is occupied"); in addTcpKeepalivePacketFilter() 1877 mKeepalivePackets.put(slot, (ipVersion == 4) in addTcpKeepalivePacketFilter() 1890 public synchronized void addNattKeepalivePacketFilter(final int slot, in addNattKeepalivePacketFilter() argument 1892 log("Adding NAT-T keepalive packet(" + slot + ")"); in addNattKeepalivePacketFilter() 1893 if (null != mKeepalivePackets.get(slot)) { in addNattKeepalivePacketFilter() 1894 throw new IllegalArgumentException("NAT-T Keepalive slot " + slot + " is occupied"); in addNattKeepalivePacketFilter() 1899 mKeepalivePackets.put(slot, new NattKeepaliveResponse(sentKeepalivePacket)); in addNattKeepalivePacketFilter() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | MappedButtonConfig.java | 88 public List<Integer> getButtonsForSlot(int slot) { in getButtonsForSlot() argument 91 if (entry.getValue().getSlot() == slot) { in getButtonsForSlot() 184 static Builder builder(int slot) { 186 .setSlot(slot) 195 public abstract Builder setSlot(int slot);
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/ |
D | ClipStorageTest.java | 109 int slot = mStorage.claimStorageSlot(); in testClaimStorageSlot_NoAvailableSlot() local 110 writeAll(slot, TEST_URIS); in testClaimStorageSlot_NoAvailableSlot() 111 mStorage.getFile(slot); in testClaimStorageSlot_NoAvailableSlot() 151 private void writeAll(int slot, List<Uri> uris) { in writeAll() argument 152 mStorage.persistUris(uris, slot); in writeAll()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 719 public void addKeepalivePacketFilter(int slot, TcpKeepalivePacketDataParcelable pkt) { in addKeepalivePacketFilter() argument 721 IpClient.this.addKeepalivePacketFilter(slot, pkt); in addKeepalivePacketFilter() 724 public void addNattKeepalivePacketFilter(int slot, NattKeepalivePacketDataParcelable pkt) { in addNattKeepalivePacketFilter() argument 726 IpClient.this.addNattKeepalivePacketFilter(slot, pkt); in addNattKeepalivePacketFilter() 729 public void removeKeepalivePacketFilter(int slot) { in removeKeepalivePacketFilter() argument 731 IpClient.this.removeKeepalivePacketFilter(slot); in removeKeepalivePacketFilter() 903 public void addKeepalivePacketFilter(int slot, @NonNull TcpKeepalivePacketDataParcelable pkt) { in addKeepalivePacketFilter() argument 904 sendMessage(CMD_ADD_KEEPALIVE_PACKET_FILTER_TO_APF, slot, 0 /* Unused */, pkt); in addKeepalivePacketFilter() 911 public void addNattKeepalivePacketFilter(int slot, in addNattKeepalivePacketFilter() argument 913 sendMessage(CMD_ADD_KEEPALIVE_PACKET_FILTER_TO_APF, slot, 0 /* Unused */ , pkt); in addNattKeepalivePacketFilter() [all …]
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/ip/ |
D | IIpClient.aidl | 29 …oneway void addKeepalivePacketFilter(int slot, in android.net.TcpKeepalivePacketDataParcelable pkt… in addKeepalivePacketFilter() argument 30 oneway void removeKeepalivePacketFilter(int slot); in removeKeepalivePacketFilter() argument 32 …oneway void addNattKeepalivePacketFilter(int slot, in android.net.NattKeepalivePacketDataParcelabl… in addNattKeepalivePacketFilter() argument
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ip/ |
D | IIpClient.aidl | 35 void addKeepalivePacketFilter(int slot, in TcpKeepalivePacketDataParcelable pkt); in addKeepalivePacketFilter() argument 36 void removeKeepalivePacketFilter(int slot); in removeKeepalivePacketFilter() argument 39 void addNattKeepalivePacketFilter(int slot, in NattKeepalivePacketDataParcelable pkt); in addNattKeepalivePacketFilter() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/ip/ |
D | IIpClient.aidl | 12 …oneway void addKeepalivePacketFilter(int slot, in android.net.TcpKeepalivePacketDataParcelable pkt… in addKeepalivePacketFilter() argument 13 oneway void removeKeepalivePacketFilter(int slot); in removeKeepalivePacketFilter() argument 15 …oneway void addNattKeepalivePacketFilter(int slot, in android.net.NattKeepalivePacketDataParcelabl… in addNattKeepalivePacketFilter() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/ip/ |
D | IIpClient.aidl | 30 …oneway void addKeepalivePacketFilter(int slot, in android.net.TcpKeepalivePacketDataParcelable pkt… in addKeepalivePacketFilter() argument 31 oneway void removeKeepalivePacketFilter(int slot); in removeKeepalivePacketFilter() argument 33 …oneway void addNattKeepalivePacketFilter(int slot, in android.net.NattKeepalivePacketDataParcelabl… in addNattKeepalivePacketFilter() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/ip/ |
D | IIpClient.aidl | 30 …oneway void addKeepalivePacketFilter(int slot, in android.net.TcpKeepalivePacketDataParcelable pkt… in addKeepalivePacketFilter() argument 31 oneway void removeKeepalivePacketFilter(int slot); in removeKeepalivePacketFilter() argument 33 …oneway void addNattKeepalivePacketFilter(int slot, in android.net.NattKeepalivePacketDataParcelabl… in addNattKeepalivePacketFilter() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/ip/ |
D | IIpClient.aidl | 30 …oneway void addKeepalivePacketFilter(int slot, in android.net.TcpKeepalivePacketDataParcelable pkt… in addKeepalivePacketFilter() argument 31 oneway void removeKeepalivePacketFilter(int slot); in removeKeepalivePacketFilter() argument 33 …oneway void addNattKeepalivePacketFilter(int slot, in android.net.NattKeepalivePacketDataParcelabl… in addNattKeepalivePacketFilter() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/ip/ |
D | IIpClient.aidl | 30 …oneway void addKeepalivePacketFilter(int slot, in android.net.TcpKeepalivePacketDataParcelable pkt… in addKeepalivePacketFilter() argument 31 oneway void removeKeepalivePacketFilter(int slot); in removeKeepalivePacketFilter() argument 33 …oneway void addNattKeepalivePacketFilter(int slot, in android.net.NattKeepalivePacketDataParcelabl… in addNattKeepalivePacketFilter() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/ip/ |
D | IIpClient.aidl | 12 …oneway void addKeepalivePacketFilter(int slot, in android.net.TcpKeepalivePacketDataParcelable pkt… in addKeepalivePacketFilter() argument 13 oneway void removeKeepalivePacketFilter(int slot); in removeKeepalivePacketFilter() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/ip/ |
D | IIpClient.aidl | 12 …oneway void addKeepalivePacketFilter(int slot, in android.net.TcpKeepalivePacketDataParcelable pkt… in addKeepalivePacketFilter() argument 13 oneway void removeKeepalivePacketFilter(int slot); in removeKeepalivePacketFilter() argument
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | ControlBar.java | 355 FrameLayout slot = (FrameLayout) ((LinearLayout) mRowsContainer.getChildAt(rowIdx)) in getViewAt() local 357 return slot.getChildCount() > 0 ? slot.getChildAt(0) : null; in getViewAt()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | SpecialCharSequenceMgr.java | 328 for (int slot = 0; slot < telephonyManager.getPhoneCount(); slot++) { in handleDeviceIdDisplay() 329 String deviceId = telephonyManager.getDeviceId(slot); in handleDeviceIdDisplay()
|
/packages/apps/Settings/src/com/android/settings/ |
D | IccLockSettings.java | 268 int slot = subInfo.getSimSlotIndex(); in onCreateView() local 269 mTabHost.addTab(buildTabSpec(String.valueOf(slot), in onCreateView() 271 ? getContext().getString(R.string.sim_editor_title, slot + 1) in onCreateView()
|
/packages/apps/DocumentsUI/tests/ |
D | README | 7 device has SD Card slot. If SD Card is not inserted or supported, the test creates virtual SD Card
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 7549 UiccSlot slot = slots[i]; in getUiccSlotsInfo() local 7550 if (slot == null) { in getUiccSlotsInfo() 7555 UiccCard card = slot.getUiccCard(); in getUiccSlotsInfo() 7559 cardId = slot.getEid(); in getUiccSlotsInfo() 7561 cardId = slot.getIccId(); in getUiccSlotsInfo() 7572 switch (slot.getCardState()) { in getUiccSlotsInfo() 7591 slot.isActive(), in getUiccSlotsInfo() 7592 slot.isEuicc(), in getUiccSlotsInfo() 7595 slot.getPhoneId(), in getUiccSlotsInfo() 7596 slot.isExtendedApduSupported(), in getUiccSlotsInfo() [all …]
|