Searched defs:entry (Results 1 - 25 of 208) sorted by relevance

123456789

/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);
H A DRegistry.cpp24 Registry::Registry(const RegistryEntry& entry) { argument
25 mImpl = entry;
30 if (gHeaderBytesRequired < entry.requiredHeaderBytes) {
31 gHeaderBytesRequired = entry.requiredHeaderBytes;
/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/tools/aapt2/flatten/
H A DResourceTypeExtensions.h29 android::ResTable_entry entry; member in struct:aapt::ResTable_entry_ext
/frameworks/av/camera/
H A DCameraUtils.cpp41 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];
/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/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
H A DKMLFormatter.java43 public String getOutput(TrackerEntry entry) { argument
46 if (entry.getType() == EntryType.LOCATION_TYPE) {
48 Location loc = entry.getLocation();
53 + entry.getDistFromNetLocation());
56 builder.addLine("<when>" + entry.getTimestamp() + "</when>");
/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/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/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/av/camera/ndk/
H A DNdkCameraMetadata.cpp31 const ACameraMetadata* acm, uint32_t tag, ACameraMetadata_const_entry* entry) {
33 if (acm == nullptr || entry == nullptr) {
34 ALOGE("%s: invalid argument! metadata %p, tag 0x%x, entry %p",
35 __FUNCTION__, acm, tag, entry);
38 return acm->getConstEntry(tag, entry);
30 ACameraMetadata_getConstEntry( const ACameraMetadata* acm, uint32_t tag, ACameraMetadata_const_entry* entry) argument
/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/av/media/mtp/
H A DMtpDebug.cpp372 const CodeEntry* entry = table; local
373 while (entry->name) {
374 if (entry->code == code)
375 return entry->name;
376 entry++;
/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/base/core/java/android/hardware/camera2/params/
H A DReprocessFormatsMap.java52 * 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/tests/utillib/src/android/test/
H A DBandwidthTestCase.java106 NetworkStats.Entry entry = stats.getTotal(null);
107 getInstrumentation().sendStatus(2, getBandwidthStats(entry));
147 private Bundle getBandwidthStats(NetworkStats.Entry entry){ argument
149 bundle.putLong(REPORT_KEY_BYTES_RECEIVED, entry.rxBytes);
150 bundle.putLong(REPORT_KEY_BYTES_SENT, entry.txBytes);
151 bundle.putLong(REPORT_KEY_PACKETS_RECEIVED, entry.rxPackets);
152 bundle.putLong(REPORT_KEY_PACKETS_SENT, entry.txPackets);
153 bundle.putLong(REPORT_KEY_OPERATIONS, entry.operations);
/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
69 const std::pair<ConfigDescription, uint32_t>& entry = mConfigs[i]; local
[all...]
/frameworks/base/tools/aapt2/link/
H A DAutoVersioner.cpp28 bool shouldGenerateVersionedResource(const ResourceEntry* entry, const ConfigDescription& config, argument
31 const auto endIter = entry->values.end();
32 auto iter = entry->values.begin();
40 assert(iter != entry->values.end());
69 for (auto& entry : type->entries) {
70 for (size_t i = 0; i < entry->values.size(); i++) {
71 ResourceConfigValue* configValue = entry->values[i].get();
110 if (shouldGenerateVersionedResource(entry.get(),
127 entry->findOrCreateValue(newConfig, {})->value =
/frameworks/compile/mclinker/include/mcld/Target/
H A DGNUInfo.h44 /// entry - the symbol name of the entry point
45 virtual const char* entry() const { return "_start"; } function in class:mcld::GNUInfo
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGNUInfo.cpp47 const char* MipsGNUInfo::entry() const { function in class:mcld::MipsGNUInfo
/frameworks/native/vulkan/nulldrv/
H A Dnull_driver_gen.cpp34 const auto& entry = std::lower_bound( local
37 if (entry == end || strcmp(entry->name, name) != 0)
39 return entry->proc;
/frameworks/opt/chips/src/com/android/ex/chips/
H A DPhotoManager.java39 void populatePhotoBytesAsync(RecipientEntry entry, PhotoManagerCallback callback); argument

Completed in 563 milliseconds

123456789