Searched refs:entry (Results 126 - 150 of 497) sorted by relevance

1234567891011>>

/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator.cpp89 // We may reference IDs from other packages, so prefix the entry name with
94 output += "_" + transform(attrName.entry);
168 line << "<tr><td>" << symbol.symbol.name.value().entry << "</td>"
220 // If we are not encoding final attributes, the styleable entry may have no ID
222 assert((!mOptions.useFinal || attr.id) && "no ID set for Styleable entry");
223 assert(attr.name && "no name set for Styleable entry");
276 for (const StyleableAttr& entry : sortedAttributes) {
277 if (!entry.symbol) {
282 !entry.symbol->isPublic) {
287 StringPiece16 attrCommentLine = entry
[all...]
/frameworks/base/tools/aapt2/
H A DResourceTable.cpp337 auto badCharIter = util::findNonAlphaNumericAndNotInSet(name.entry, validChars);
338 if (badCharIter != name.entry.end()) {
342 << "' has invalid entry name '"
343 << name.entry
378 ResourceEntry* entry = type->findOrCreateEntry(name.entry); local
379 if (resId.isValid() && entry->id && entry->id.value() != resId.entryId()) {
386 << ResourceId(package->id.value(), type->id.value(), entry->id.value()));
390 ResourceConfigValue* configValue = entry
475 ResourceEntry* entry = type->findOrCreateEntry(name.entry); local
526 ResourceEntry* entry = type->findEntry(name.entry); local
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DXMLNode.java59 for (Map.Entry<String, String> entry : attributes.entrySet()) {
60 mAttributes.put(entry.getKey(),
61 new NodeAttribute(entry.getKey(), "", entry.getValue()));
157 for (Map.Entry<String, NodeAttribute> entry : mAttributes.entrySet()) {
158 map.put(entry.getKey(), entry.getValue().getValue());
180 for (Map.Entry<String, NodeAttribute> entry : mAttributes.entrySet()) {
181 sb.append(' ').append(entry.getKey()).append("='")
182 .append(entry
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp773 QueueEntry *entry; // will be valid after while loop if hasEOS is set. local
775 entry = &*mAudioQueue.begin();
777 if (entry->mBuffer == NULL) { // EOS
783 if (firstEntry && entry->mOffset == 0) {
786 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs));
791 size_t copy = entry->mBuffer->size() - entry->mOffset;
798 entry->mBuffer->data() + entry->mOffset,
801 entry
850 QueueEntry *entry = &*it++; local
913 QueueEntry *entry = &*mAudioQueue.begin(); local
1122 QueueEntry &entry = *mVideoQueue.begin(); local
1217 QueueEntry *entry = &*mVideoQueue.begin(); local
1354 QueueEntry entry; local
1436 QueueEntry entry; local
1549 QueueEntry *entry = &*queue->begin(); local
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_jar_StrictJarFile.cpp40 static jobject newZipEntry(JNIEnv* env, const ZipEntry& entry, jstring entryName) { argument
45 static_cast<jlong>(entry.crc32),
46 static_cast<jlong>(entry.compressed_length),
47 static_cast<jlong>(entry.uncompressed_length),
48 static_cast<jint>(entry.method),
51 static_cast<jlong>(entry.offset));
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DKernelWakelockReaderTest.java93 KernelWakelockStats.Entry entry = staleStats.get("Wakelock");
94 assertEquals(34, entry.mCount);
95 assertEquals(123 * 1000, entry.mTotalTime); // Microseconds
122 KernelWakelockStats.Entry entry = staleStats.get("Wakelock");
123 assertEquals(2, entry.mCount);
124 assertEquals(20 * 1000, entry.mTotalTime); // Microseconds
/frameworks/base/tools/aapt2/compile/
H A DIdAssigner_test.cpp105 for (auto& entry : type->entries) {
106 if (!entry->id) {
107 return ::testing::AssertionFailure() << "entry " << entry->name << " of type "
111 if (!entryIds.insert(entry->id.value()).second) {
112 return ::testing::AssertionFailure() << "entry " << entry->name
115 << std::hex << (int) entry->id.value() << std::dec;
/frameworks/compile/mclinker/lib/LD/
H A DEhFrameHdr.cpp102 SearchTableType::const_iterator entry, entry_end = search_table.end(); local
104 for (entry = search_table.begin(); entry != entry_end; ++entry) {
105 bst[id++] = (*entry).first - m_EhFrameHdr.addr();
106 bst[id++] = (*entry).second - m_EhFrameHdr.addr();
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxSessionStorage.java85 ContentValues entry = new ContentValues();
86 entry.put(COLUMN_KEY, key);
87 entry.put(COLUMN_TIME, System.currentTimeMillis());
88 entry.put(COLUMN_MODEL, model);
89 entry.put(COLUMN_CLASS, learner.getName());
90 return entry;
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DObexAppParameters.java74 for (Map.Entry<Byte, byte[]> entry : mParams.entrySet()) {
75 length += (entry.getValue().length + 2);
81 for (Map.Entry<Byte, byte[]> entry : mParams.entrySet()) {
82 length = entry.getValue().length;
84 ret[idx++] = entry.getKey();
86 System.arraycopy(entry.getValue(), 0, ret, idx, length);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DTestResizingRelayoutWithAutoMeasure.java115 for (Map.Entry<Integer, Rect> entry : startPositions.entrySet()) {
116 Rect rect = endPositions.get(entry.getKey());
117 assertThat("view for position " + entry.getKey() + " at" + entry.getValue(), rect,
119 assertThat("rect for position " + entry.getKey(), entry.getValue(), is(rect));
/frameworks/base/packages/Osu/src/com/android/anqp/eap/
H A DNonEAPInnerAuth.java28 for (Map.Entry<NonEAPType, String> entry : sOmaMap.entrySet()) {
29 sRevOmaMap.put(entry.getValue(), entry.getKey());
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/eap/
H A DNonEAPInnerAuth.java28 for (Map.Entry<NonEAPType, String> entry : sOmaMap.entrySet()) {
29 sRevOmaMap.put(entry.getValue(), entry.getKey());
/frameworks/support/v4/java/android/support/v4/util/
H A DArrayMap.java30 * avoid having to create an extra object for every entry put in to the map, and it
126 * @return Returns true if this array map contains a key for every entry
140 for (Map.Entry<? extends K, ? extends V> entry : map.entrySet()) {
141 put(entry.getKey(), entry.getValue());
/frameworks/av/camera/ndk/
H A DNdkCaptureRequest.cpp80 const ACaptureRequest* req, uint32_t tag, ACameraMetadata_const_entry* entry) {
82 if (req == nullptr || entry == nullptr) {
83 ALOGE("%s: invalid argument! req 0x%p, tag 0x%x, entry 0x%p",
84 __FUNCTION__, req, tag, entry);
87 return req->settings->getConstEntry(tag, entry);
79 ACaptureRequest_getConstEntry( const ACaptureRequest* req, uint32_t tag, ACameraMetadata_const_entry* entry) argument
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisPlaybackQueueItem.java218 // Remove the first entry from the queue.
219 ListEntry entry = mDataBufferList.poll();
223 if (entry == null) {
227 mUnconsumedBytes -= entry.mBytes.length;
233 return entry.mBytes;
/frameworks/base/libs/hwui/
H A DAssetAtlas.cpp122 std::unique_ptr<Entry> entry(new Entry(pixelRef, texture, mapper, *this));
123 texture->uvMapper = &entry->uvMapper;
125 mEntries.emplace(entry->pixelRef, std::move(entry));
/frameworks/base/tools/aapt2/util/
H A DUtil_test.cpp173 StringPiece16 prefix, entry, suffix; local
174 ASSERT_TRUE(util::extractResFilePathParts(u"res/xml-sw600dp/entry.xml", &prefix, &entry,
177 EXPECT_EQ(entry, u"entry");
180 ASSERT_TRUE(util::extractResFilePathParts(u"res/xml-sw600dp/entry.9.png", &prefix, &entry,
184 EXPECT_EQ(entry, u"entry");
187 EXPECT_FALSE(util::extractResFilePathParts(u"AndroidManifest.xml", &prefix, &entry,
[all...]
/frameworks/compile/mclinker/include/mcld/Target/
H A DKeyEntryMap.h35 /// EntryOrPair - A key may mapping to a signal entry or a pair of entries,
36 /// user is responsible for the type of Mapping.entry
44 EntryOrPair entry; member in struct:mcld::KeyEntryMap::Mapping
55 /// lookUp - look up the entry mapping to pKey
59 /// lookUpFirstEntry - look up the first entry mapping to pKey
63 /// lookUpSecondEntry - look up the second entry mapping to pKey
93 return mapping->entry.entry_ptr;
105 return mapping->entry.entry_ptr;
118 return mapping->entry.pair_ptr->entry1;
131 return mapping->entry
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGNUInfo.cpp47 const char* MipsGNUInfo::entry() const { function in class:mcld::MipsGNUInfo
/frameworks/volley/src/main/java/com/android/volley/
H A DCache.java27 * Retrieves an entry from the cache.
34 * Adds or replaces an entry to the cache.
36 * @param entry Data to store and metadata for cache coherency, TTL, etc.
38 public void put(String key, Entry entry); argument
47 * Invalidates an entry in the cache.
49 * @param fullExpire True to fully expire the entry, false to soft expire
54 * Removes an entry from the cache.
65 * Data and metadata for an entry returned by the cache.
89 /** True if the entry is expired. */
/frameworks/base/rs/java/android/renderscript/
H A DMesh.java362 Entry entry = mVertexTypes[ct];
363 if (entry.t != null) {
364 alloc = Allocation.createTyped(mRS, entry.t, mUsage);
365 } else if(entry.e != null) {
366 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage);
369 throw new IllegalStateException("Builder corrupt, no valid element in entry.");
377 Entry entry = (Entry)mIndexTypes.elementAt(ct);
378 if (entry.t != null) {
379 alloc = Allocation.createTyped(mRS, entry
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationData.java81 * Resets the notification entry to be re-used.
260 public void add(Entry entry, RankingMap ranking) { argument
262 mEntries.put(entry.notification.getKey(), entry);
264 mGroupManager.onEntryAdded(entry);
339 Entry entry = mEntries.valueAt(i);
340 final StatusBarNotification oldSbn = entry.notification.clone();
341 final String overrideGroupKey = getOverrideGroupKey(entry.key);
343 entry.notification.setOverrideGroupKey(overrideGroupKey);
344 mGroupManager.onEntryUpdated(entry, oldSb
[all...]
/frameworks/base/tools/aapt2/proto/
H A DTableProtoSerializer.cpp109 for (Style::Entry& entry : style->entries) {
111 serializeReferenceToPb(entry.key, pbEntry->mutable_key());
114 serializeItemCommonToPb(entry.key, pbEntry);
116 entry.value->accept(&subVisitor);
122 for (Reference& entry : styleable->entries) {
124 serializeItemCommonToPb(entry, pbEntry);
125 serializeReferenceToPb(entry, pbEntry->mutable_attr());
232 for (auto& entry : type->entries) {
234 if (entry->id) {
235 pbEntry->set_id(entry
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmGenerator.java191 for (String entry : entries) {
192 int pos = entry.indexOf('#');
193 if (pos <= 0 || pos >= entry.length() - 1) {
196 String className = binaryToInternalClassName(entry.substring(0, pos));
197 String methodOrFieldName = entry.substring(pos + 1);
261 for (Entry<String, ClassReader> entry : mDeps.entrySet()) {
262 ClassReader cr = entry.getValue();
268 for (Entry<String, ClassReader> entry : mKeep.entrySet()) {
269 ClassReader cr = entry.getValue();
275 for (Entry<String, InputStream> entry
[all...]

Completed in 1792 milliseconds

1234567891011>>