Searched refs:entry (Results 1 - 25 of 522) sorted by relevance

1234567891011>>

/frameworks/base/tools/aapt/tests/
H A DAaptGroupEntry_test.cpp26 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/telecomm/java/android/telecom/
H A DTimedEvent.java34 for (TimedEvent<T> entry : events) {
35 if (counts.containsKey(entry.getKey())) {
36 counts.put(entry.getKey(), counts.get(entry.getKey()) + 1);
37 result.put(entry.getKey(), result.get(entry.getKey()) + entry.getTime());
39 counts.put(entry.getKey(), 1);
40 result.put(entry.getKey(), (double) entry
[all...]
/frameworks/volley/src/test/java/com/android/volley/toolbox/
H A DHttpHeaderParserTest.java55 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response);
57 assertNotNull(entry);
58 assertNull(entry.etag);
59 assertEquals(0, entry.serverDate);
60 assertEquals(0, entry.lastModified);
61 assertEquals(0, entry.ttl);
62 assertEquals(0, entry.softTtl);
68 Cache.Entry entry = HttpHeaderParser.parseCacheHeaders(response);
70 assertNotNull(entry);
71 assertNotNull(entry
[all...]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DCSVFormatter.java42 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 DIFormatter.java25 String getOutput(TrackerEntry entry); argument
/frameworks/compile/mclinker/lib/MC/
H A DSearchDirs.cpp92 MCLDDirectory::iterator entry = (*mcld_dir)->begin(); local
97 while (entry != enEnd) {
98 if (file == entry.path()->filename().native())
99 return entry.path();
100 ++entry;
105 while (entry != enEnd) {
106 if (file == entry.path()->stem().native()) {
108 entry.path()->extension().native()) {
109 return entry.path();
112 ++entry;
157 MCLDDirectory::iterator entry = (*mcld_dir)->begin(); local
[all...]
/frameworks/volley/src/test/java/com/android/volley/utils/
H A DCacheTestUtils.java12 * 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.lastModified = random.nextLong();
28 entry.ttl = isExpired ? 0 : Long.MAX_VALUE;
29 entry
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntryHandler.java34 * 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 DFrameSequence.cpp22 const RegistryEntry* entry = Registry::Find(stream); local
24 if (!entry) return NULL;
26 FrameSequence* frameSequence = entry->createFrameSequence(stream);
/frameworks/base/core/java/android/content/res/
H A DConfigurationBoundResourceCache.java38 final ConstantState<T> entry = get(key, theme);
39 if (entry != null) {
40 return entry.newInstance(resources, theme);
47 public boolean shouldInvalidateEntry(ConstantState<T> entry, @Config int configChanges) { argument
48 return Configuration.needNewResources(configChanges, entry.getChangingConfigurations());
H A DDrawableCache.java35 final Drawable.ConstantState entry = get(key, theme);
36 if (entry != null) {
37 return entry.newDrawable(resources, theme);
44 public boolean shouldInvalidateEntry(Drawable.ConstantState entry, int configChanges) { argument
45 return Configuration.needNewResources(configChanges, entry.getChangingConfigurations());
/frameworks/compile/mclinker/unittests/
H A DDirIteratorTest.cpp47 Directory::iterator entry = m_pDir->begin(); local
51 while (entry != enEnd) {
52 if (0 != entry.path()) {
53 size = entry.path()->native().size();
57 ++entry;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp56 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/core/java/com/android/internal/net/
H A DNetworkStatsFactory.java96 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/base/tools/aapt/
H A DResourceFilter.cpp27 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
71 scriptsMatch(const ResTable_config& config, const ResTable_config& entry) argument
109 const std::pair<ConfigDescription, uint32_t>& entry = mConfigs[i]; local
[all...]
/frameworks/base/libs/hwui/
H A DLayerUpdateQueue.cpp32 for (Entry& entry : mEntries) {
33 if (CC_UNLIKELY(entry.renderNode == renderNode)) {
34 entry.damage.unionWith(damage);
/frameworks/base/libs/androidfw/
H A DTypeWrappers.cpp41 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...]
/frameworks/base/libs/hwui/font/
H A DFontCacheHistoryTracker.cpp30 void FontCacheHistoryTracker::dumpRenderEntry(String8& log, const RenderEntry& entry) { argument
31 if (entry.penX == -1 && entry.penY == -1) {
32 log.appendFormat(" glyph skipped in gen: %d\n", entry.glyph.generation);
35 dumpCachedGlyph(log, entry.glyph);
36 log.appendFormat(" at (%d, %d)\n", entry.penX, entry.penY);
64 RenderEntry& entry = mRenderHistory.next(); local
65 entry.glyph.generation = generation;
66 entry
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkStats.java257 NetworkStats.Entry entry = null;
259 entry = getValues(i, entry);
260 clone.addValues(entry);
287 * Add new stats entry, copying from given {@link Entry}. The {@link Entry}
290 public NetworkStats addValues(Entry entry) { argument
306 iface[size] = entry.iface;
307 uid[size] = entry.uid;
308 set[size] = entry.set;
309 tag[size] = entry
383 combineValues(Entry entry) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplaySettings.java71 // Try to get the entry with the unique if possible.
73 Entry entry;
74 if (uniqueId == null || (entry = mEntries.get(uniqueId)) == null) {
75 entry = mEntries.get(name);
77 if (entry != null) {
78 outRect.left = entry.overscanLeft;
79 outRect.top = entry.overscanTop;
80 outRect.right = entry.overscanRight;
81 outRect.bottom = entry.overscanBottom;
91 // we have no need for the entry
[all...]
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
H A DSimpleRecipientChip.java42 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 DAAtomizer.cpp42 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 DAArch64GOT.cpp43 AArch64GOTEntry* entry = new AArch64GOTEntry(0, NULL); local
44 m_GOT.push_back(entry);
45 return entry;
49 AArch64GOTEntry* entry = new AArch64GOTEntry(0, NULL); local
50 m_GOTPLT.push_back(entry);
51 return entry;
69 AArch64GOTEntry* entry = *it; local
70 frag_list.push_back(entry);
71 entry->setParent(m_SectionData);
72 entry
83 AArch64GOTEntry* entry = *it; local
[all...]
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMGOT.cpp40 ARMGOTEntry* entry = new ARMGOTEntry(0, NULL); local
41 m_GOT.push_back(entry);
42 return entry;
46 ARMGOTEntry* entry = new ARMGOTEntry(0, NULL); local
47 m_GOTPLT.push_back(entry);
48 return entry;
66 ARMGOTEntry* entry = *it; local
67 frag_list.push_back(entry);
68 entry->setParent(m_SectionData);
69 entry
80 ARMGOTEntry* entry = *it; local
[all...]
/frameworks/av/camera/ndk/impl/
H A DACameraMetadata.cpp65 camera_metadata_entry entry = mData.find(ANDROID_REQUEST_AVAILABLE_CAPABILITIES); local
66 if (entry.count == 0 || entry.type != TYPE_BYTE) {
68 __FUNCTION__, entry.count, entry.type);
73 capabilities.setCapacity(entry.count);
74 for (size_t i = 0; i < entry.count; i++) {
75 uint8_t capability = entry.data.u8[i];
91 camera_metadata_entry entry = mData.find(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS); local
92 if (entry
218 camera_metadata_ro_entry_t entry; local
[all...]

Completed in 3221 milliseconds

1234567891011>>