Searched defs:entry (Results 51 - 75 of 246) sorted by relevance

12345678910

/frameworks/base/libs/services/src/os/
H A DDropBoxManager.cpp158 Entry entry(tag, IS_TEXT);
159 entry.mData.assign(text.c_str(), text.c_str() + text.size());
160 return add(entry);
167 Entry entry(tag, flags);
168 entry.mData.assign(data, data+size);
169 return add(entry);
183 Entry entry(tag, flags, fd);
184 return add(entry);
188 DropBoxManager::add(const Entry& entry) argument
195 return service->add(entry);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DRowInflaterTask.java40 public void inflate(Context context, ViewGroup parent, NotificationData.Entry entry, argument
44 mEntry = entry;
45 entry.setInflationTask(this);
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DNetworkStatsCollectionTest.java150 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/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerDataHelper.java48 public String getOutput(TrackerEntry entry) {
75 void writeEntry(TrackerEntry entry) { argument
77 entry.getAsContentValues());
/frameworks/base/tools/aapt2/compile/
H A DIdAssigner.cpp36 ResourceTableType* type, ResourceEntry* entry) {
41 if (!entry->id || entry->id.value() == id.entry_id()) {
42 entry->id = id.entry_id();
49 entry->id ? entry->id.value() : 0);
62 for (auto& entry : type->entries) {
63 const ResourceName name(package->name, type->type, entry->name);
72 package.get(), type.get(), entry.get());
79 if (package->id && type->id && entry
34 AssignId(IDiagnostics* diag, const ResourceId& id, const ResourceName& name, ResourceTablePackage* pkg, ResourceTableType* type, ResourceEntry* entry) argument
[all...]
/frameworks/base/tools/aapt2/optimize/
H A DVersionCollapser.cpp72 static void CollapseVersions(int min_sdk, ResourceEntry* entry) { argument
74 for (auto iter = entry->values.rbegin(); iter != entry->values.rend();
104 make_filter_iterator(iter + 1, entry->values.rend(), pred);
112 entry->values.erase(
113 std::remove_if(entry->values.begin(), entry->values.end(),
116 entry->values.end());
124 for (std::unique_ptr<ResourceConfigValue>& config_value : entry->values) {
142 std::sort(entry
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DBranchIsland.cpp102 StubEntryType* entry = m_StubMap.insert(key, exist); local
104 entry->setValue(&pStub);
H A DGroupReader.cpp79 ArchiveListEntry* entry = new ArchiveListEntry(*ar, input); local
80 ar_list.push_back(entry);
/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/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/compile/mclinker/unittests/
H A DHashTableTest.cpp101 HashTableTy::iterator entry = hashTable->find(key); local
102 EXPECT_EQ(999, entry.getEntry()->value());
113 HashTableTy::entry_type* entry = 0; local
115 entry = hashTable->insert(key, exist);
118 EXPECT_FALSE(NULL == entry);
119 EXPECT_TRUE(key == entry->key());
120 entry->setValue(key + 10);
220 HashTableTy::entry_type* entry = 0; local
222 entry = hashTable->insert(key, exist);
223 entry
242 HashTableTy::entry_type* entry = 0; local
265 HashTableTy::entry_type* entry = 0; local
293 HashTableTy::entry_type* entry = 0; local
[all...]
/frameworks/native/services/sensorservice/
H A DSensorList.cpp44 auto entry = mHandleMap.find(handle); local
45 if (entry != mHandleMap.end()) {
46 mHandleMap.erase(entry);
/frameworks/rs/
H A DrsApiFileA3D.cpp29 ALOGE("Can't load entry. No valid file");
65 const FileA3D::A3DIndexEntry *entry = fa3d->getIndexEntry(i); local
66 fileEntries[i].classID = entry->getType();
67 fileEntries[i].objectName = rsuCopyString(entry->getObjectName());
/frameworks/support/compat/java/android/support/v4/graphics/
H A DTypefaceCompat.java73 Context context, FontFamilyFilesResourceEntry entry, Resources resources,
109 Context context, FamilyResourceEntry entry, Resources resources, int id, int style,
112 if (entry instanceof ProviderResourceEntry) {
113 ProviderResourceEntry providerEntry = (ProviderResourceEntry) entry;
119 context, (FontFamilyFilesResourceEntry) entry, resources, style);
72 createFromFontFamilyFilesResourceEntry( Context context, FontFamilyFilesResourceEntry entry, Resources resources, int style) argument
108 createFromResourcesFamilyXml( Context context, FamilyResourceEntry entry, Resources resources, int id, int style, @Nullable TextView targetView) argument
/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...]
/frameworks/av/media/img_utils/include/img_utils/
H A DTiffWriter.h116 * Add an entry to the IFD with the given ID.
127 virtual status_t addEntry(const sp<TiffEntry>& entry, uint32_t ifd);
130 * Build an entry for a known tag and add it to the IFD with the given ID.
147 * Build an entry for a known tag. This tag must be one of the tags
150 * entry will be placed in the outEntry pointer.
179 * Return the TIFF entry with the given tag ID in the IFD with the given ID,
185 * Remove the TIFF entry with the given tag ID in the given IFD if it exists.
234 * Build an entry. No validation is done.
306 ALOGE("%s: Could not build entry for tag %x.", __FUNCTION__, tag);
316 TiffEntryImpl<T>* entry local
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DFrameProcessor.cpp93 camera_metadata_ro_entry_t entry;
100 entry = frame.find(ANDROID_STATISTICS_FACE_DETECT_MODE);
103 if (entry.count == 0) {
107 uint8_t faceDetectMode = entry.data.u8[0];
117 entry = frame.find(ANDROID_STATISTICS_FACE_RECTANGLES);
118 if (entry.count == 0) {
124 metadata.number_of_faces = entry.count / 4;
132 const int32_t *faceRects = entry.data.i32;
134 entry = frame.find(ANDROID_STATISTICS_FACE_SCORES);
135 if (entry
239 camera_metadata_ro_entry_t entry; local
335 camera_metadata_ro_entry_t entry; local
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DFrameProcessorBase.cpp37 camera_metadata_entry_t entry = staticInfo.find(ANDROID_REQUEST_PARTIAL_RESULT_COUNT); local
38 if (entry.count > 0) {
39 mNumPartialResults = entry.data.i32[0];
131 camera_metadata_entry_t entry; local
133 entry = result.mMetadata.find(ANDROID_REQUEST_FRAME_COUNT);
134 if (entry.count == 0) {
139 ATRACE_INT("cam2_frame", entry.data.i32[0]);
170 camera_metadata_ro_entry_t entry; local
180 entry = result.mMetadata.find(ANDROID_REQUEST_ID);
181 if (entry
[all...]
/frameworks/av/services/mediaanalytics/
H A DMetricsSummarizer.cpp113 AString entry = (*it)->toString(); local
116 value.append(entry.c_str());
/frameworks/base/cmds/idmap/
H A Dcreate.cpp22 ZipEntryRO entry = zip->findEntryByName(entry_name); local
23 if (entry == NULL) {
26 if (!zip->getEntryInfo(entry, NULL, NULL, NULL, NULL, NULL, crc)) {
29 zip->releaseEntry(entry);
/frameworks/base/cmds/incidentd/src/
H A DReporter.cpp311 struct dirent* entry; local
323 while ((entry = readdir(dir)) != NULL) {
324 if (entry->d_name[0] == '.') {
327 String8 filename = dirbase + entry->d_name;
/frameworks/base/core/jni/
H A Dandroid_util_jar_StrictJarFile.cpp41 static jobject newZipEntry(JNIEnv* env, const ZipEntry& entry, jstring entryName) { argument
46 static_cast<jlong>(entry.crc32),
47 static_cast<jlong>(entry.compressed_length),
48 static_cast<jlong>(entry.uncompressed_length),
49 static_cast<jint>(entry.method),
52 static_cast<jlong>(entry.offset));
/frameworks/base/libs/androidfw/
H A DZipFileRO.cpp41 ZipEntry entry; member in class:_ZipEntryRO
85 const int32_t error = FindEntry(mHandle, data->name, &(data->entry));
95 * Get the useful fields from the zip entry.
100 bool ZipFileRO::getEntryInfo(ZipEntryRO entry, uint16_t* pMethod, argument
104 const _ZipEntryRO* zipEntry = reinterpret_cast<_ZipEntryRO*>(entry);
105 const ZipEntry& ze = zipEntry->entry;
154 int32_t error = Next(ze->cookie, &(ze->entry), &(ze->name));
162 return &(ze->entry);
170 void ZipFileRO::releaseEntry(ZipEntryRO entry) const
172 delete reinterpret_cast<_ZipEntryRO*>(entry);
178 getEntryFileName(ZipEntryRO entry, char* buffer, size_t bufLen) const argument
226 uncompressEntry(ZipEntryRO entry, void* buffer, size_t size) const argument
244 uncompressEntry(ZipEntryRO entry, int fd) const argument
[all...]
/frameworks/base/libs/androidfw/include/androidfw/
H A DLoadedArsc.h44 // A pointer to the resource table entry for this resource.
45 // If the size of the entry is > sizeof(ResTable_entry), it can be cast to
47 const ResTable_entry* entry = nullptr; member in struct:android::LoadedArscEntry
56 // The string pool reference to the entry's name. This uses a different string pool than
104 // Finds the entry with the specified type name and entry name. The names are in UTF-16 because
150 // The parameter `out_entry` will be filled with the resulting resource entry.
151 // The resource entry can be a simple entry (ResTable_entry) or a complex bag
/frameworks/base/libs/androidfw/tests/
H A DResTable_test.cpp207 const ResTable::bag_entry* entry; local
208 ssize_t count = table.lockBag(basic::R::array::integerArray1, &entry);
210 table.unlockBag(entry);
221 count = table.lockBag(basic::R::array::integerArray1, &entry);
223 table.unlockBag(entry);

Completed in 2631 milliseconds

12345678910