Searched refs:entry (Results 26 - 50 of 223) sorted by relevance

123456789

/frameworks/av/services/camera/libcameraservice/camera2/
H A DFrameProcessor.cpp100 camera_metadata_entry_t entry; local
102 entry = frame.find(ANDROID_REQUEST_FRAME_COUNT);
103 if (entry.count == 0) {
108 ATRACE_INT("cam2_frame", entry.data.i32[0]);
133 camera_metadata_ro_entry_t entry; local
135 entry = frame.find(ANDROID_REQUEST_ID);
136 if (entry.count == 0) {
141 int32_t frameId = entry.data.i32[0];
174 camera_metadata_ro_entry_t entry; local
181 entry
[all...]
/frameworks/opt/mms/src/java/com/google/android/mms/util/
H A DPduCache.java95 synchronized public boolean put(Uri uri, PduCacheEntry entry) { argument
96 int msgBoxId = entry.getMessageBox();
103 long threadId = entry.getThreadId();
111 boolean result = super.put(finalKey, entry);
165 PduCacheEntry entry = super.purge(key);
166 if (entry != null) {
167 removeFromThreads(key, entry);
168 removeFromMessageBoxes(key, entry);
169 return entry;
185 * @return Uri The normalized key of cached entry
231 removeFromThreads(Uri key, PduCacheEntry entry) argument
255 removeFromMessageBoxes(Uri key, PduCacheEntry entry) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationData.java57 * Return whether the entry can be expanded.
63 * Return whether the entry has been manually expanded by the user.
75 * Return whether the entry is being touched by the user.
117 public int add(Entry entry) { argument
121 if (mEntryCmp.compare(mEntries.get(i), entry) > 0) {
125 mEntries.add(i, entry);
131 Entry entry = new Entry();
132 entry.key = key;
133 entry.notification = notification;
134 entry
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilterFunction.java67 for (Entry<String, Object> entry : inputMap.entrySet()) {
68 if (entry.getValue() instanceof Frame) {
69 mFilter.pushInputFrame(entry.getKey(), (Frame)entry.getValue());
71 mFilter.pushInputValue(entry.getKey(), entry.getValue());
/frameworks/base/core/java/com/android/internal/os/
H A DIDropBoxManagerService.aidl35 void add(in DropBoxManager.Entry entry);
/frameworks/native/include/utils/
H A DZipFileCRO.h51 extern bool ZipFileCRO_getEntryInfo(ZipFileCRO zip, ZipEntryCRO entry,
55 extern bool ZipFileCRO_uncompressEntry(ZipFileCRO zip, ZipEntryCRO entry, int fd);
/frameworks/support/volley/src/com/android/volley/toolbox/
H A DHttpHeaderParser.java37 * @return a cache entry for the given response, or null if the response is not cacheable.
93 Cache.Entry entry = new Cache.Entry();
94 entry.data = response.data;
95 entry.etag = serverEtag;
96 entry.softTtl = softExpire;
97 entry.ttl = entry.softTtl;
98 entry.serverDate = serverDate;
100 return entry;
/frameworks/support/volley/tests/src/com/android/volley/
H A DCacheDispatcherTest.java84 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, false, false);
85 mCache.setEntryToReturn(entry);
94 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, false, true);
95 mCache.setEntryToReturn(entry);
102 assertSame(entry, request.getCacheEntry());
107 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, true, true);
108 mCache.setEntryToReturn(entry);
114 assertSame(entry, request.getCacheEntry());
/frameworks/base/services/input/
H A DInputDispatcher.cpp299 // Inbound queue has at least one entry.
398 bool InputDispatcher::enqueueInboundEventLocked(EventEntry* entry) { argument
400 mInboundQueue.enqueueAtTail(entry);
403 switch (entry->type) {
408 KeyEntry* keyEntry = static_cast<KeyEntry*>(entry);
431 MotionEntry* motionEntry = static_cast<MotionEntry*>(entry);
488 void InputDispatcher::dropInboundEventLocked(EventEntry* entry, DropReason dropReason) { argument
520 switch (entry->type) {
527 MotionEntry* motionEntry = static_cast<MotionEntry*>(entry);
567 bool InputDispatcher::isStaleEventLocked(nsecs_t currentTime, EventEntry* entry) { argument
600 EventEntry* entry = mInboundQueue.dequeueAtHead(); local
614 releaseInboundEventLocked(EventEntry* entry) argument
636 KeyEntry* entry = mKeyRepeatState.lastKeyEntry; local
667 dispatchConfigurationChangedLocked( nsecs_t currentTime, ConfigurationChangedEntry* entry) argument
683 dispatchDeviceResetLocked( nsecs_t currentTime, DeviceResetEntry* entry) argument
696 dispatchKeyLocked(nsecs_t currentTime, KeyEntry* entry, DropReason* dropReason, nsecs_t* nextWakeupTime) argument
794 logOutboundKeyDetailsLocked(const char* prefix, const KeyEntry* entry) argument
806 dispatchMotionLocked( nsecs_t currentTime, MotionEntry* entry, DropReason* dropReason, nsecs_t* nextWakeupTime) argument
863 logOutboundMotionDetailsLocked(const char* prefix, const MotionEntry* entry) argument
923 handleTargetsNotReadyLocked(nsecs_t currentTime, const EventEntry* entry, const sp<InputApplicationHandle>& applicationHandle, const sp<InputWindowHandle>& windowHandle, nsecs_t* nextWakeupTime, const char* reason) argument
1040 findFocusedWindowTargetsLocked(nsecs_t currentTime, const EventEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime) argument
1104 findTouchedWindowTargetsLocked(nsecs_t currentTime, const MotionEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime, bool* outConflictingPointerActions) argument
2722 setInjectionResultLocked(EventEntry* entry, int32_t injectionResult) argument
2755 incrementPendingForegroundDispatchesLocked(EventEntry* entry) argument
2762 decrementPendingForegroundDispatchesLocked(EventEntry* entry) argument
3424 KeyEntry* entry = commandEntry->keyEntry; local
3684 initializeKeyEvent(KeyEvent* event, const KeyEntry* entry) argument
3690 updateDispatchStatisticsLocked(nsecs_t currentTime, const EventEntry* entry, int32_t injectionResult, nsecs_t timeSpentWaitingForApplication) argument
3943 trackKey(const KeyEntry* entry, int32_t action, int32_t flags) argument
3994 trackMotion(const MotionEntry* entry, int32_t action, int32_t flags) argument
4086 findMotionMemento(const MotionEntry* entry, bool hovering) const argument
4100 addKeyMemento(const KeyEntry* entry, int32_t flags) argument
4113 addMotionMemento(const MotionEntry* entry, int32_t flags, bool hovering) argument
4129 setPointers(const MotionEntry* entry) argument
[all...]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
H A DVCardJapanizationTests.java37 ContactEntry entry = mVerifier.addInputEntry();
38 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
65 ContactEntry entry = mVerifier.addInputEntry();
66 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
87 ContactEntry entry = mVerifier.addInputEntry();
88 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
113 ContactEntry entry = mVerifier.addInputEntry();
114 entry.addContentValues(StructuredName.CONTENT_ITEM_TYPE)
165 ContactEntry entry = mVerifier.addInputEntry();
166 entry
[all...]
H A DVCardEntryTests.java70 public void onEntryCreated(VCardEntry entry) { argument
73 mEntries.add(entry);
203 VCardEntry entry = new VCardEntry();
209 entry.addProperty(property);
222 entry.addProperty(property);
230 entry.addProperty(property);
238 entry.addProperty(property);
247 entry.addProperty(property);
256 entry.addProperty(property);
266 entry
[all...]
/frameworks/base/services/java/com/android/server/
H A DDropBoxManagerService.java74 // TODO: This implementation currently uses one file per entry, which is
177 public void add(DropBoxManager.Entry entry) { argument
180 final String tag = entry.getTag();
182 int flags = entry.getFlags();
191 InputStream input = entry.getInputStream();
262 entry.close();
288 for (EntryFile entry : list.contents.tailSet(new EntryFile(millis + 1))) {
289 if (entry.tag == null) continue;
290 if ((entry.flags & DropBoxManager.IS_EMPTY) != 0) {
291 return new DropBoxManager.Entry(entry
623 enrollEntry(EntryFile entry) argument
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DOutputRelocSection.cpp60 "No empty relocation entry for the incoming symbol.");
63 // check if we've gotten an entry for this symbol before. If yes,
64 // return the found entry in map.
66 // (data or text section), return an empty entry directly.
70 // get or create entry in m_SymRelMap
71 Relocation *&entry = m_SymRelMap[&pSymbol]; local
74 if(NULL == entry) {
76 entry = llvm::cast<Relocation>(&(*m_ValidEntryIterator));
79 result = entry;
/frameworks/native/libs/utils/
H A DZipFileCRO.cpp45 ZipEntryRO entry = (ZipEntryRO)entryToken; local
46 return zip->getEntryInfo(entry, pMethod, pUncompLen, pCompLen, pOffset,
52 ZipEntryRO entry = (ZipEntryRO)entryToken; local
53 return zip->uncompressEntry(entry, fd);
/frameworks/av/media/libstagefright/
H A DHTTPBase.cpp65 BandwidthEntry entry; local
66 entry.mDelayUs = delayUs;
67 entry.mNumBytes = numBytes;
71 mBandwidthHistory.push_back(entry);
73 BandwidthEntry *entry = &*mBandwidthHistory.begin(); local
74 mTotalTransferTimeUs -= entry->mDelayUs;
75 mTotalTransferBytes -= entry->mNumBytes;
/frameworks/base/tools/aapt/
H A Dprintapk.cpp33 zipentry_t entry; local
81 while ((entry = iterate_zipfile(zip, &cookie))) {
82 char* name = get_zipentry_name(entry);
87 entry = lookup_zipentry(zip, "resources.arsc");
88 if (entry != NULL) {
89 size = get_zipentry_size(entry);
93 err = decompress_zipentry(entry, resfile, bufsize);
H A DPackage.cpp139 * or decided not to update. If the entry isn't already slated for
147 ZipEntry* entry = zip->getEntryByIndex(i); local
149 if (!entry->getMarked() && entry->getDeleted()) {
152 entry->getFileName());
154 zip->remove(entry);
291 * delete the existing entry before adding the new one.
300 ZipEntry* entry; local
332 entry = zip->getEntryByName(storageName.string());
333 if (entry !
459 ZipEntry* entry = jar->getEntryByIndex(i); local
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DFileA3D.java89 * Returns the name of a renderscript object the index entry
92 * @return name of a renderscript object the index entry
102 * Returns the type of a renderscript object the index entry
104 * @return type of a renderscript object the index entry
113 * Used to load the object described by the index entry
114 * @return base renderscript object described by the entry
124 * Used to load the mesh described by the index entry, object
125 * described by the index entry must be a renderscript mesh
127 * @return renderscript mesh object described by the entry
133 static synchronized BaseObj internalCreate(RenderScript rs, IndexEntry entry) { argument
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGOT.cpp33 GOTEntry* entry = local
36 if (NULL == entry)
96 GOTEntry* entry = local
99 if (NULL == entry)
129 GOTEntry* entry = llvm::cast<GOTEntry>(&(*it)); local
130 return entry;
133 GOTEntry*& entry = m_GeneralGOTMap[&pInfo]; local
135 pExist = NULL != entry;
145 entry = llvm::cast<GOTEntry>(&(*it));
148 return entry;
[all...]
/frameworks/ex/chips/src/com/android/ex/chips/
H A DSingleRecipientArrayAdapter.java33 public SingleRecipientArrayAdapter(Context context, int resourceId, RecipientEntry entry) { argument
35 entry
54 private void bindView(View view, Context context, RecipientEntry entry) { argument
57 display.setText(entry.getDisplayName());
61 destination.setText(Rfc822Tokenizer.tokenize(entry.getDestination())[0].getAddress());
H A DBaseRecipientAdapter.java230 // Note: At this point each entry doesn't contain any photo
311 final RecipientEntry entry = (RecipientEntry)resultValue;
312 final String displayName = entry.getDisplayName();
313 final String emailAddress = entry.getDestination();
634 private void putOneEntry(TemporaryEntry entry, boolean isAggregatedEntry, argument
638 if (existingDestinations.contains(entry.destination)) {
642 existingDestinations.add(entry.destination);
646 entry.displayName,
647 entry.displayNameSource,
648 entry
727 tryFetchPhoto(final RecipientEntry entry) argument
744 fetchPhotoAsync(final RecipientEntry entry, final Uri photoThumbnailUri) argument
774 fetchPhoto(final RecipientEntry entry, final Uri photoThumbnailUri) argument
[all...]
/frameworks/rs/
H A DrsFileA3D.cpp75 A3DIndexEntry *entry = new A3DIndexEntry(); local
76 headerStream->loadString(&entry->mObjectName);
77 //ALOGV("Header data, entry name = %s", entry->mObjectName.string());
78 entry->mType = (RsA3DClassID)headerStream->loadU32();
80 entry->mOffset = headerStream->loadOffset();
81 entry->mLength = headerStream->loadOffset();
83 entry->mOffset = headerStream->loadU32();
84 entry->mLength = headerStream->loadU32();
86 entry
229 FileA3D::A3DIndexEntry *entry = mIndex[index]; local
421 const FileA3D::A3DIndexEntry *entry = fa3d->getIndexEntry(i); local
[all...]
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsRecorder.java168 NetworkStats.Entry entry = null;
170 entry = delta.getValues(i, entry);
171 final NetworkIdentitySet ident = ifaceIdent.get(entry.iface);
173 unknownIfaces.add(entry.iface);
178 if (entry.isEmpty()) continue;
181 if ((entry.tag == TAG_NONE) != mOnlyTags) {
182 mPending.recordData(ident, entry.uid, entry.set, entry
[all...]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerEntry.java25 * Class that holds a tracker entry. An entry can be either a valid location, or
96 TrackerEntry entry = new TrackerEntry(loc);
99 entry.setTimestamp(timestampVal);
100 entry.setDistFromNetLocation(distFromNetLocation);
101 return entry;
108 TrackerEntry entry = new TrackerEntry(tag, EntryType.LOG_TYPE);
110 entry.setTimestamp(timestampVal);
111 entry.setLogMsg(msg);
112 return entry;
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java265 * Return specific stats entry.
268 final Entry entry = recycle != null ? recycle : new Entry();
269 entry.bucketStart = bucketStart[i];
270 entry.bucketDuration = bucketDuration;
271 entry.activeTime = getLong(activeTime, i, UNKNOWN);
272 entry.rxBytes = getLong(rxBytes, i, UNKNOWN);
273 entry.rxPackets = getLong(rxPackets, i, UNKNOWN);
274 entry.txBytes = getLong(txBytes, i, UNKNOWN);
275 entry.txPackets = getLong(txPackets, i, UNKNOWN);
276 entry
294 recordData(long start, long end, NetworkStats.Entry entry) argument
[all...]

Completed in 425 milliseconds

123456789