/frameworks/base/tools/aapt/tests/ |
H A D | AaptGroupEntry_test.cpp | 26 static ::testing::AssertionResult TestParse(AaptGroupEntry& entry, const String8& dirName, argument 28 if (entry.initFromDirName(dirName, outType)) { 34 static ::testing::AssertionResult TestParse(AaptGroupEntry& entry, const char* input, argument 36 return TestParse(entry, String8(input), outType); 40 AaptGroupEntry entry; local 42 EXPECT_TRUE(TestParse(entry, "menu", &type)); 47 AaptGroupEntry entry; local 49 EXPECT_TRUE(TestParse(entry, "anim", &type)); 52 EXPECT_TRUE(TestParse(entry, "animator", &type));
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | CSVFormatter.java | 42 public String getOutput(TrackerEntry entry) { argument 45 rowOutput.append(entry.getTimestamp()); 47 rowOutput.append(entry.getTag()); 49 //rowOutput.append(entry.getType()); 51 if (entry.getType() == EntryType.LOCATION_TYPE) { 52 if (entry.getLocation().hasAccuracy()) { 53 rowOutput.append(entry.getLocation().getAccuracy()); 56 rowOutput.append(entry.getLocation().getLatitude()); 58 rowOutput.append(entry.getLocation().getLongitude()); 60 if (entry [all...] |
H A D | IFormatter.java | 25 String getOutput(TrackerEntry entry); argument
|
/frameworks/volley/tests/src/com/android/volley/utils/ |
H A D | CacheTestUtils.java | 12 * Makes a random cache entry. 14 * @param isExpired Whether the TTLs should be set such that this entry is expired 15 * @param needsRefresh Whether the TTLs should be set such that this entry needs refresh 20 Cache.Entry entry = new Cache.Entry(); 22 entry.data = data; 24 entry.data = new byte[random.nextInt(1024)]; 26 entry.etag = String.valueOf(random.nextLong()); 27 entry.serverDate = random.nextLong(); 28 entry.ttl = isExpired ? 0 : Long.MAX_VALUE; 29 entry [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardEntryHandler.java | 34 * The method called when one vCard entry is created. Children come before their parent in 38 * In the following vCard, the entry for "entry2" comes before one for "entry1". 48 public void onEntryCreated(final VCardEntry entry); argument
|
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence.cpp | 22 const RegistryEntry* entry = Registry::Find(stream); local 24 if (!entry) return NULL; 26 FrameSequence* frameSequence = entry->createFrameSequence(stream);
|
H A D | Registry.cpp | 24 Registry::Registry(const RegistryEntry& entry) { argument 25 mImpl = entry; 30 if (gHeaderBytesRequired < entry.requiredHeaderBytes) { 31 gHeaderBytesRequired = entry.requiredHeaderBytes;
|
/frameworks/base/core/java/android/net/http/ |
H A D | IdleCache.java | 78 Entry entry = mEntries[i]; 79 if (entry.mHost == null) { 80 entry.mHost = host; 81 entry.mConnection = connection; 82 entry.mTimeout = time + TIMEOUT; 102 Entry entry = mEntries[i]; 103 HttpHost eHost = entry.mHost; 105 ret = entry.mConnection; 106 entry.mHost = null; 107 entry [all...] |
/frameworks/compile/mclinker/unittests/ |
H A D | DirIteratorTest.cpp | 52 Directory::iterator entry = m_pDir->begin(); local 56 while( entry!=enEnd ) { 57 if (0 != entry.path()) 58 size = entry.path()->native().size(); 60 ++entry;
|
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
H A D | HttpHeaderParserTest.java | 49 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 51 assertNotNull(entry); 52 assertNull(entry.etag); 53 assertEquals(0, entry.serverDate); 54 assertEquals(0, entry.ttl); 55 assertEquals(0, entry.softTtl); 61 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response); 63 assertNotNull(entry); 64 assertNotNull(entry.responseHeaders); 65 assertEquals(1, entry [all...] |
/frameworks/base/tools/aapt/ |
H A D | ResourceFilter.cpp | 27 std::pair<ConfigDescription, uint32_t>& entry = mConfigs.editItemAt(i); local 33 val.writeTo(&entry.first); 34 } else if (!AaptConfig::parse(part, &entry.first)) { 39 entry.second = mDefault.diff(entry.first); 42 entry.second &= ~ResTable_config::CONFIG_VERSION; 45 if ((entry.second & ResTable_config::CONFIG_DENSITY) != 0) { 46 fprintf(stderr, "warning: ignoring flag -c %s. Use --preferred-density instead.\n", entry.first.toString().string()); 47 entry.first.density = 0; 48 entry 69 const std::pair<ConfigDescription, uint32_t>& entry = mConfigs[i]; local [all...] |
/frameworks/base/core/java/com/android/internal/net/ |
H A D | NetworkStatsFactory.java | 96 final NetworkStats.Entry entry = new NetworkStats.Entry(); 103 entry.iface = reader.nextString(); 104 entry.uid = UID_ALL; 105 entry.set = SET_ALL; 106 entry.tag = TAG_NONE; 111 entry.rxBytes = reader.nextLong(); 112 entry.rxPackets = reader.nextLong(); 113 entry.txBytes = reader.nextLong(); 114 entry.txPackets = reader.nextLong(); 118 entry [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerStreamListener.cpp | 56 QueueEntry entry; local 57 entry.mIsCommand = false; 58 entry.mIndex = index; 59 entry.mSize = size; 60 entry.mOffset = 0; 63 mQueue.push_back(entry); 78 QueueEntry entry; local 79 entry.mIsCommand = true; 80 entry.mCommand = cmd; 81 entry 113 QueueEntry *entry = &*mQueue.begin(); local [all...] |
/frameworks/base/libs/androidfw/ |
H A D | TypeWrappers.cpp | 41 ALOGE("Type's entry indices extend beyond its boundaries"); 51 ALOGE("Index %u points to entry with unaligned offset 0x%08x", mIndex, entryOffset); 55 const ResTable_entry* entry = reinterpret_cast<const ResTable_entry*>( local 57 if (reinterpret_cast<uintptr_t>(entry) > containerEnd - sizeof(*entry)) { 60 } else if (reinterpret_cast<uintptr_t>(entry) + dtohs(entry->size) > containerEnd) { 63 } else if (dtohs(entry->size) < sizeof(*entry)) { 64 ALOGE("Entry at index %u is too small (%u)", mIndex, dtohs(entry [all...] |
H A D | ZipFileRO.cpp | 49 ZipEntry entry; member in class:_ZipEntryRO 86 const int32_t error = FindEntry(mHandle, entryName, &(data->entry)); 99 * Get the useful fields from the zip entry. 104 bool ZipFileRO::getEntryInfo(ZipEntryRO entry, int* pMethod, size_t* pUncompLen, argument 107 const _ZipEntryRO* zipEntry = reinterpret_cast<_ZipEntryRO*>(entry); 108 const ZipEntry& ze = zipEntry->entry; 149 int32_t error = Next(ze->cookie, &(ze->entry), &(ze->name)); 157 return &(ze->entry); 165 void ZipFileRO::releaseEntry(ZipEntryRO entry) const 167 delete reinterpret_cast<_ZipEntryRO*>(entry); 173 getEntryFileName(ZipEntryRO entry, char* buffer, int bufLen) const argument 221 uncompressEntry(ZipEntryRO entry, void* buffer, size_t size) const argument 239 uncompressEntry(ZipEntryRO entry, int fd) const argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplaySettings.java | 65 // Try to get the entry with the unique if possible. 67 Entry entry; 68 if (uniqueId == null || (entry = mEntries.get(uniqueId)) == null) { 69 entry = mEntries.get(name); 71 if (entry != null) { 72 outRect.left = entry.overscanLeft; 73 outRect.top = entry.overscanTop; 74 outRect.right = entry.overscanRight; 75 outRect.bottom = entry.overscanBottom; 84 // we have no need for the entry [all...] |
/frameworks/compile/mclinker/lib/MC/ |
H A D | SearchDirs.cpp | 100 MCLDDirectory::iterator entry = (*mcld_dir)->begin(); local 105 while (entry != enEnd) { 106 if (file == entry.path()->filename()) 107 return entry.path(); 108 ++entry; 113 while (entry != enEnd) { 114 if (file == entry.path()->stem().native() ) { 116 entry.path()->extension().native()) { 117 return entry.path(); 120 ++entry; 167 MCLDDirectory::iterator entry = (*mcld_dir)->begin(); local [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
H A D | SimpleRecipientChip.java | 42 public SimpleRecipientChip(final RecipientEntry entry) { argument 43 mDisplay = entry.getDisplayName(); 44 mValue = entry.getDestination().trim(); 45 mContactId = entry.getContactId(); 46 mDirectoryId = entry.getDirectoryId(); 47 mLookupKey = entry.getLookupKey(); 48 mDataId = entry.getDataId(); 49 mEntry = entry;
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AAtomizer.cpp | 42 List<AString> &entry = mAtoms.editItemAt(index); local 43 List<AString>::iterator it = entry.begin(); 44 while (it != entry.end()) { 51 entry.push_back(AString(name)); 53 return (*--entry.end()).c_str();
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64GOT.cpp | 48 AArch64GOTEntry* entry = new AArch64GOTEntry(0, NULL); local 49 m_GOT.push_back(entry); 50 return entry; 55 AArch64GOTEntry* entry = new AArch64GOTEntry(0, NULL); local 56 m_GOTPLT.push_back(entry); 57 return entry; 76 AArch64GOTEntry* entry = *it; local 77 frag_list.push_back(entry); 78 entry->setParent(m_SectionData); 79 entry 91 AArch64GOTEntry* entry = *it; local [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMGOT.cpp | 44 ARMGOTEntry* entry = new ARMGOTEntry(0, NULL); local 45 m_GOT.push_back(entry); 46 return entry; 51 ARMGOTEntry* entry = new ARMGOTEntry(0, NULL); local 52 m_GOTPLT.push_back(entry); 53 return entry; 72 ARMGOTEntry* entry = *it; local 73 frag_list.push_back(entry); 74 entry->setParent(m_SectionData); 75 entry 86 ARMGOTEntry* entry = *it; local [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkStats.java | 220 NetworkStats.Entry entry = null; 222 entry = getValues(i, entry); 223 clone.addValues(entry); 243 * Add new stats entry, copying from given {@link Entry}. The {@link Entry} 246 public NetworkStats addValues(Entry entry) { argument 261 iface[size] = entry.iface; 262 uid[size] = entry.uid; 263 set[size] = entry.set; 264 tag[size] = entry 335 combineValues(Entry entry) argument [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | DiskBasedCache.java | 102 * Returns the cache entry with the specified key if it exists, null otherwise. 106 CacheHeader entry = mEntries.get(key); 107 // if the entry does not exist, return. 108 if (entry == null) { 118 return entry.toCacheEntry(data); 155 CacheHeader entry = CacheHeader.readHeader(fis); 156 entry.size = file.length(); 157 putEntry(entry.key, entry); 173 * Invalidates an entry i 194 put(String key, Entry entry) argument 296 putEntry(String key, CacheHeader entry) argument 367 CacheHeader(String key, Entry entry) argument [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | PhotoManager.java | 39 void populatePhotoBytesAsync(RecipientEntry entry, PhotoManagerCallback callback); argument
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
H A D | MockCache.java | 32 public void setEntryToReturn(Entry entry) { argument 33 mFakeEntry = entry; 47 public void put(String key, Entry entry) { argument 50 entryPut = entry;
|