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

12345678910

/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/libs/androidfw/tests/
H A DResourceUtils_test.cpp24 StringPiece package, type, entry; local
25 ASSERT_TRUE(ExtractResourceName("android:string/foo", &package, &type, &entry));
28 EXPECT_EQ("foo", entry);
30 ASSERT_TRUE(ExtractResourceName("string/foo", &package, &type, &entry));
33 EXPECT_EQ("foo", entry);
35 ASSERT_TRUE(ExtractResourceName("foo", &package, &type, &entry));
38 EXPECT_EQ("foo", entry);
40 ASSERT_TRUE(ExtractResourceName("android:foo", &package, &type, &entry));
43 EXPECT_EQ("foo", entry);
45 EXPECT_FALSE(ExtractResourceName(":string/foo", &package, &type, &entry));
[all...]
H A DLoadedArsc_test.cpp48 LoadedArscEntry entry; local
53 loaded_arsc->FindEntry(app::R::string::string_one, config, &entry, &selected_config, &flags));
54 ASSERT_NE(nullptr, entry.entry);
71 LoadedArscEntry entry; local
75 ASSERT_TRUE(loaded_arsc->FindEntry(basic::R::string::test1, desired_config, &entry,
77 ASSERT_NE(nullptr, entry.entry);
157 LoadedArscEntry entry; local
161 ASSERT_TRUE(loaded_arsc->FindEntry(basic::R::string::test3, desired_config, &entry,
[all...]
/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.h30 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) {
56 int orientation = entry.data.i32[0];
/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.cpp177 StringPiece prefix, entry, suffix; local
178 ASSERT_TRUE(util::ExtractResFilePathParts("res/xml-sw600dp/entry.xml",
179 &prefix, &entry, &suffix));
181 EXPECT_EQ(entry, "entry");
184 ASSERT_TRUE(util::ExtractResFilePathParts("res/xml-sw600dp/entry.9.png",
185 &prefix, &entry, &suffix));
188 EXPECT_EQ(entry, "entry");
192 &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/libs/androidfw/
H A DTypeWrappers.cpp31 ALOGE("Type's entry indices extend beyond its boundaries");
47 static bool keyCompare(uint32_t entry, uint16_t index) { argument
48 return dtohs(ResTable_sparseTypeEntry{entry}.idx) < index;
63 ALOGE("Type's entry indices extend beyond its boundaries");
85 ALOGE("Index %u points to entry with unaligned offset 0x%08x", mIndex, entryOffset);
89 const ResTable_entry* entry = reinterpret_cast<const ResTable_entry*>( local
91 if (reinterpret_cast<uintptr_t>(entry) > containerEnd - sizeof(*entry)) {
94 } else if (reinterpret_cast<uintptr_t>(entry) + dtohs(entry
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DOnHeadsUpChangedListener.java46 * @param entry the entry of the changed notification
49 default void onHeadsUpStateChanged(NotificationData.Entry entry, boolean isHeadsUp) {} argument
/frameworks/base/tools/aapt2/filter/
H A DConfigFilter.cpp42 // the locale script of entry.
54 static bool ScriptsMatch(const ConfigDescription& config, const ConfigDescription& entry) { argument
56 const char* entry_script = entry.localeScript;
69 android::localeDataComputeScript(script_buffer, entry.language, entry.country);
86 for (const auto& entry : configs_) {
87 const ConfigDescription& target = entry.first;
88 const uint32_t diff_mask = entry.second;
104 config.localeVariant[0] == '\0' && config.language[0] == entry.first.language[0] &&
105 config.language[1] == entry
[all...]
/frameworks/base/tools/aapt2/link/
H A DAutoVersioner.cpp30 bool ShouldGenerateVersionedResource(const ResourceEntry* entry, const ConfigDescription& config, argument
34 return sdk_version_to_generate < FindNextApiVersionForConfig(entry, config);
37 ApiVersion FindNextApiVersionForConfig(const ResourceEntry* entry, argument
39 const auto end_iter = entry->values.end();
40 auto iter = entry->values.begin();
48 CHECK(iter != entry->values.end());
77 for (auto& entry : type->entries) {
78 for (size_t i = 0; i < entry->values.size(); i++) {
79 ResourceConfigValue* config_value = entry->values[i].get();
120 if (ShouldGenerateVersionedResource(entry
[all...]
/frameworks/base/tools/aapt2/optimize/
H A DResourceDeduper.cpp31 * Based on the dominator tree, we can remove a value of an entry if:
33 * 1. The configuration for the entry's value is dominated by a configuration
34 * with an equivalent entry value.
35 * 2. All compatible configurations for the entry (those not in conflict and
36 * unrelated by domination with the configuration for the entry's value) have
37 * an equivalent entry value.
43 explicit DominatedKeyValueRemover(IAaptContext* context, ResourceEntry* entry) argument
44 : context_(context), entry_(entry) {}
60 // Compare compatible configs for this entry and ensure the values are
93 static void DedupeEntry(IAaptContext* context, ResourceEntry* entry) { argument
[all...]

Completed in 454 milliseconds

12345678910