/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence.cpp | 22 const RegistryEntry* entry = Registry::Find(stream); local 24 if (!entry) return NULL; 26 FrameSequence* frameSequence = entry->createFrameSequence(stream);
|
H A D | Registry.cpp | 24 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 D | ResourceUtils_test.cpp | 24 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 D | LoadedArsc_test.cpp | 48 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/libs/hwui/tests/unit/ |
H A D | VectorDrawableAtlasTests.cpp | 152 //allocate 4x4 rects, which will fragment the atlas badly, because each entry occupies a 10x10 155 AtlasEntry entry = atlas.requestNewEntry(4, 4, renderThread.getGrContext()); local 156 ASSERT_TRUE(entry.key != INVALID_ATLAS_KEY);
|
/frameworks/base/tools/aapt/tests/ |
H A D | AaptGroupEntry_test.cpp | 26 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 D | ResourceTypeExtensions.h | 30 android::ResTable_entry entry; member in struct:aapt::ResTable_entry_ext
|
/frameworks/av/camera/ |
H A D | CameraUtils.cpp | 41 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 D | CSVFormatter.java | 42 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 D | IFormatter.java | 25 String getOutput(TrackerEntry entry); argument
|
H A D | KMLFormatter.java | 43 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 D | Util_test.cpp | 149 StringPiece prefix, entry, suffix; local 150 ASSERT_TRUE(util::ExtractResFilePathParts("res/xml-sw600dp/entry.xml", &prefix, &entry, &suffix)); 152 EXPECT_THAT(entry, Eq("entry")); 155 ASSERT_TRUE(util::ExtractResFilePathParts("res/xml-sw600dp/entry.9.png", &prefix, &entry, &suffix)); 157 EXPECT_THAT(entry, Eq("entry")); 160 ASSERT_TRUE(util::ExtractResFilePathParts("res//.", &prefix, &entry, [all...] |
/frameworks/compile/mclinker/unittests/ |
H A D | DirIteratorTest.cpp | 47 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 D | VCardEntryHandler.java | 34 * 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 D | NdkCameraMetadata.cpp | 31 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 D | AAtomizer.cpp | 42 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 D | MtpDebug.cpp | 373 const CodeEntry* entry = table; local 374 while (entry->name) { 375 if (entry->code == code) 376 return entry->name; 377 entry++;
|
/frameworks/base/core/java/android/content/res/ |
H A D | ConfigurationBoundResourceCache.java | 38 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 D | DrawableCache.java | 35 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 D | ReprocessFormatsMap.java | 52 * 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 D | BandwidthTestCase.java | 106 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 D | TypeWrappers.cpp | 31 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 D | OnHeadsUpChangedListener.java | 46 * @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 D | ConfigFilter.cpp | 42 // 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 D | AutoVersioner.cpp | 30 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...] |