/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
H A D | ApplicationsState.java | 227 final AppEntry entry = mEntriesMap.get(userId).get(info.packageName); 228 if (entry != null) { 229 entry.info = info; 276 AppEntry entry = mEntriesMap.get(userId).get(packageName); 277 if (entry == null) { 288 entry = getEntryLocked(info); 292 return entry; 307 public void ensureIcon(AppEntry entry) { argument 308 if (entry.icon != null) { 311 synchronized (entry) { [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
H A D | PduCache.java | 95 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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | Signature.java | 146 for (Entry<String, PortInfo> entry : mInputPorts.entrySet()) { 147 stringBuffer.append(entry.getValue().toString("input", entry.getKey()) + "\n"); 149 for (Entry<String, PortInfo> entry : mOutputPorts.entrySet()) { 150 stringBuffer.append(entry.getValue().toString("output", entry.getKey()) + "\n"); 175 for (Entry<String, PortInfo> entry : mInputPorts.entrySet()) { 176 String portName = entry.getKey(); 177 PortInfo portInfo = entry.getValue(); 196 for (Entry<String, PortInfo> entry [all...] |
/frameworks/base/tools/aapt2/ |
H A D | StringPool.cpp | 38 StringPool::Ref::Ref(StringPool::Entry* entry) : mEntry(entry) { argument 87 StringPool::StyleRef::StyleRef(StringPool::StyleEntry* entry) : mEntry(entry) { argument 144 Entry* entry = new Entry(); local 145 entry->value = str.toString(); 146 entry->context = context; 147 entry->index = mStrings.size(); 148 entry->ref = 0; 149 mStrings.emplace_back(entry); 159 Entry* entry = new Entry(); local 179 Entry* entry = new Entry(); local [all...] |
/frameworks/support/documents-archive/src/android/support/provider/ |
H A D | DocumentArchive.java | 109 ZipEntry entry; 113 entry = entries.get(i); 114 if (entry.isDirectory() != entry.getName().endsWith("/")) { 118 if (mEntries.containsKey(entry.getName())) { 121 mEntries.put(entry.getName(), entry); 122 if (entry.isDirectory()) { 123 mTree.put(entry.getName(), new ArrayList<ZipEntry>()); 125 stack.push(entry); 502 addCursorRow(MatrixCursor cursor, ZipEntry entry) argument 518 getMimeTypeForEntry(ZipEntry entry) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationGroupManager.java | 80 * An entry was removed. 82 * @param removed the removed entry 83 * @param sbn the notification the entry has, which doesn't need to be the same as it's internal 137 private void onEntryBecomingChild(NotificationData.Entry entry) { argument 138 if (entry.row.isHeadsUp()) { 139 onHeadsUpStateChanged(entry, true); 193 public void onEntryUpdated(NotificationData.Entry entry, argument 196 onEntryRemovedInternal(entry, oldNotification); 198 onEntryAdded(entry); 199 if (isIsolated(entry 374 onHeadsUpStateChanged(NotificationData.Entry entry, boolean isHeadsUp) argument 404 handleSuppressedSummaryHeadsUpped(NotificationData.Entry entry) argument [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | FilterFunction.java | 67 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/compile/mclinker/lib/LD/ |
H A D | SectionSymbolSet.cpp | 53 SectHashTableType::entry_type* entry = local 56 entry->setValue(sym); 97 SectHashTableType::iterator entry = m_pSectionSymbolMap->find(&pOutSect); local 98 return entry.getEntry()->value(); 102 SectHashTableType::iterator entry = m_pSectionSymbolMap->find(&pOutSect); local 103 return entry.getEntry()->value();
|
/frameworks/base/libs/hwui/ |
H A D | PathCache.cpp | 215 void PathCache::operator()(PathDescription& entry, PathTexture*& texture) { argument 270 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path, argument 287 generateTexture(entry, &bitmap, texture); 292 void PathCache::generateTexture(const PathDescription& entry, SkBitmap* bitmap, argument 297 // Such an entry in mCache will only be temporary, since it will be evicted 307 mCache.put(entry, texture); 383 PathDescription entry(ShapeType::Path, paint); 384 entry.shape.path.mGenerationID = path->getGenerationID(); 386 PathTexture* texture = mCache.get(entry); 389 texture = addTexture(entry, pat [all...] |
H A D | RenderBufferCache.cpp | 91 for (auto entry : mCache) { 92 deleteBuffer(entry.mBuffer); 100 RenderBufferEntry entry(format, width, height); 101 auto iter = mCache.find(entry); 104 entry = *iter; 107 buffer = entry.mBuffer; 136 RenderBufferEntry entry(buffer); 138 mCache.insert(entry);
|
H A D | GradientCache.h | 45 GradientCacheEntry(const GradientCacheEntry& entry) { argument 46 copy(entry.colors.get(), entry.positions.get(), entry.count); 49 GradientCacheEntry& operator=(const GradientCacheEntry& entry) { argument 50 if (this != &entry) { 51 copy(entry.colors.get(), entry.positions.get(), entry.count); 95 inline hash_t hash_type(const GradientCacheEntry& entry) { argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | ReprocessFormatsMap.java | 52 * An inner array is followed by another inner array if the total metadata entry size hasn't 57 * <p>The entry array ownership is passed to this instance after construction; do not 60 * @param entry Array of ints, not yet deserialized (not-null) 67 * if entry was null 73 public ReprocessFormatsMap(final int[] entry) { argument 74 checkNotNull(entry, "entry must not be null"); 77 int left = entry.length; 78 for (int i = 0; i < entry.length; ) { 79 int inputFormat = StreamConfigurationMap.checkArgumentFormatInternal(entry[ [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | IDropBoxManagerService.aidl | 35 void add(in DropBoxManager.Entry entry);
|
/frameworks/base/libs/hwui/utils/ |
H A D | Macros.h | 30 friend inline hash_t hash_type(const Type& entry) { return entry.hash(); }
|
/frameworks/native/services/inputflinger/ |
H A D | InputDispatcher.cpp | 308 // Inbound queue has at least one entry. 408 bool InputDispatcher::enqueueInboundEventLocked(EventEntry* entry) { argument 410 mInboundQueue.enqueueAtTail(entry); 413 switch (entry->type) { 418 KeyEntry* keyEntry = static_cast<KeyEntry*>(entry); 441 MotionEntry* motionEntry = static_cast<MotionEntry*>(entry); 468 void InputDispatcher::addRecentEventLocked(EventEntry* entry) { argument 469 entry->refCount += 1; 470 mRecentQueue.enqueueAtTail(entry); 501 void InputDispatcher::dropInboundEventLocked(EventEntry* entry, DropReaso argument 584 isStaleEventLocked(nsecs_t currentTime, EventEntry* entry) argument 617 EventEntry* entry = mInboundQueue.dequeueAtHead(); local 631 releaseInboundEventLocked(EventEntry* entry) argument 654 KeyEntry* entry = mKeyRepeatState.lastKeyEntry; local 685 dispatchConfigurationChangedLocked( nsecs_t currentTime, ConfigurationChangedEntry* entry) argument 701 dispatchDeviceResetLocked( nsecs_t currentTime, DeviceResetEntry* entry) argument 714 dispatchKeyLocked(nsecs_t currentTime, KeyEntry* entry, DropReason* dropReason, nsecs_t* nextWakeupTime) argument 812 logOutboundKeyDetailsLocked(const char* prefix, const KeyEntry* entry) argument 824 dispatchMotionLocked( nsecs_t currentTime, MotionEntry* entry, DropReason* dropReason, nsecs_t* nextWakeupTime) argument 888 logOutboundMotionDetailsLocked(const char* prefix, const MotionEntry* entry) argument 950 handleTargetsNotReadyLocked(nsecs_t currentTime, const EventEntry* entry, const sp<InputApplicationHandle>& applicationHandle, const sp<InputWindowHandle>& windowHandle, nsecs_t* nextWakeupTime, const char* reason) argument 1074 findFocusedWindowTargetsLocked(nsecs_t currentTime, const EventEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime) argument 1131 findTouchedWindowTargetsLocked(nsecs_t currentTime, const MotionEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime, bool* outConflictingPointerActions) argument 2779 setInjectionResultLocked(EventEntry* entry, int32_t injectionResult) argument 2812 incrementPendingForegroundDispatchesLocked(EventEntry* entry) argument 2819 decrementPendingForegroundDispatchesLocked(EventEntry* entry) argument 3534 KeyEntry* entry = commandEntry->keyEntry; local 3794 initializeKeyEvent(KeyEvent* event, const KeyEntry* entry) argument 3800 updateDispatchStatisticsLocked(nsecs_t currentTime, const EventEntry* entry, int32_t injectionResult, nsecs_t timeSpentWaitingForApplication) argument 4061 trackKey(const KeyEntry* entry, int32_t action, int32_t flags) argument 4112 trackMotion(const MotionEntry* entry, int32_t action, int32_t flags) argument 4225 findMotionMemento(const MotionEntry* entry, bool hovering) const argument 4239 addKeyMemento(const KeyEntry* entry, int32_t flags) argument 4252 addMotionMemento(const MotionEntry* entry, int32_t flags, bool hovering) argument 4268 setPointers(const MotionEntry* entry) argument [all...] |
/frameworks/volley/src/test/java/com/android/volley/ |
H A D | CacheDispatcherTest.java | 83 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, false, false); 84 mCache.setEntryToReturn(entry); 93 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, false, true); 94 mCache.setEntryToReturn(entry); 101 assertSame(entry, request.getCacheEntry()); 106 Cache.Entry entry = CacheTestUtils.makeRandomCacheEntry(null, true, true); 107 mCache.setEntryToReturn(entry); 113 assertSame(entry, request.getCacheEntry());
|
/frameworks/rs/ |
H A D | rsFileA3D.cpp | 77 A3DIndexEntry *entry = new A3DIndexEntry(); local 78 entry->mObjectName = headerStream->loadString(); 80 //ALOGV("Header data, entry name = %s", entry->mObjectName.string()); 81 entry->mType = (RsA3DClassID)headerStream->loadU32(); 83 entry->mOffset = headerStream->loadOffset(); 84 entry->mLength = headerStream->loadOffset(); 86 entry->mOffset = headerStream->loadU32(); 87 entry->mLength = headerStream->loadU32(); 89 entry 236 FileA3D::A3DIndexEntry *entry = mIndex[index]; local [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | ZslProcessor.cpp | 61 camera_metadata_ro_entry_t entry = local 63 if (entry.count == 1) { 64 pipelineMaxDepth = entry.data.u8[0]; 71 entry = device->info().find(ANDROID_LENS_INFO_MINIMUM_FOCUS_DISTANCE); 72 if (entry.count > 0 && entry.data.f[0] != 0.) { 102 camera_metadata_ro_entry_t entry; local 103 entry = result.mMetadata.find(ANDROID_SENSOR_TIMESTAMP); 104 nsecs_t timestamp = entry.data.i64[0]; 105 if (entry 274 camera_metadata_entry_t entry; local 327 camera_metadata_entry_t entry; local 484 camera_metadata_ro_entry_t entry; local 539 camera_metadata_ro_entry_t entry; local [all...] |
/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarFile.java | 130 * to this entry. 146 * to this entry. 182 StrictJarVerifier.VerifierEntry entry = verifier.initEntry(ze.getName()); 183 if (entry == null) { 187 return new JarFileInputStream(is, ze.getSize(), entry); 258 final ZipEntry entry = entryIterator.next(); 259 metaEntries.put(entry.getName(), Streams.readFully(getInputStream(entry))); 266 private final StrictJarVerifier.VerifierEntry entry; field in class:StrictJarFile.JarFileInputStream 273 entry 348 private final ZipEntry entry; field in class:StrictJarFile.ZipInflaterInputStream 351 ZipInflaterInputStream(InputStream is, Inflater inf, int bsize, ZipEntry entry) argument [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
H A D | VCardJapanizationTests.java | 37 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 D | VCardEntryTests.java | 70 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/core/java/com/android/server/ |
H A D | DropBoxManagerService.java | 77 // TODO: This implementation currently uses one file per entry, which is 128 public void add(DropBoxManager.Entry entry) { 129 DropBoxManagerService.this.add(entry); 216 public void add(DropBoxManager.Entry entry) { argument 220 final String tag = entry.getTag(); 222 int flags = entry.getFlags(); 231 input = entry.getInputStream(); 303 entry.close(); 334 for (EntryFile entry : list.contents.tailSet(new EntryFile(millis + 1))) { 335 if (entry 674 enrollEntry(EntryFile entry) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 139 * 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); 224 const OutputEntry& entry = *iter; local 225 if (entry.getFile() == NULL) { 228 String8 storagePath(entry.getPath()); 230 if (!processFile(bundle, zip, storagePath, entry 250 ZipEntry* entry; local 408 ZipEntry* entry = jar->getEntryByIndex(i); local [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
H A D | NetworkStatsCollectionTest.java | 150 final NetworkStats.Entry entry = new NetworkStats.Entry(); 151 entry.rxBytes = 32; 153 90 * MINUTE_IN_MILLIS, entry); 162 final NetworkStats.Entry entry = new NetworkStats.Entry(); 171 // Record one entry for the current UID. 172 entry.rxBytes = 32; 174 entry); 176 // Record one entry for another UID in this user. 177 entry.rxBytes = 64; 179 60 * MINUTE_IN_MILLIS, entry); 255 assertEntry( NetworkStats.Entry entry, long rxBytes, long rxPackets, long txBytes, long txPackets) argument [all...] |
/frameworks/av/camera/ |
H A D | CameraUtils.cpp | 41 camera_metadata_ro_entry_t entry = staticInfo.find(ANDROID_SENSOR_ORIENTATION); local 42 if (entry.count == 0) { 48 if (entry.count == 0) { 56 int orientation = entry.data.i32[0];
|