/frameworks/support/compat/java/android/support/v4/graphics/ |
H A D | TypefaceCompatApi24Impl.java | 139 FontFamilyFilesResourceEntry entry, Resources resources, int style) { 141 for (final FontFileResourceEntry e : entry.getEntries()) { 138 createFromFontFamilyFilesResourceEntry(Context context, FontFamilyFilesResourceEntry entry, Resources resources, int style) argument
|
/frameworks/av/media/libmedia/ |
H A D | MediaScanner.cpp | 135 struct dirent* entry; local 161 while ((entry = readdir(dir))) { 162 if (doProcessDirectoryEntry(path, pathRemaining, client, noMedia, entry, fileSpot) 174 struct dirent* entry, char* fileSpot) { 176 const char* name = entry->d_name; 190 int type = entry->d_type; 172 doProcessDirectoryEntry( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia, struct dirent* entry, char* fileSpot) argument
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | CaptureSequencer.cpp | 653 camera_metadata_entry_t entry; local 654 entry = mNewFrame.find(ANDROID_SENSOR_TIMESTAMP); 655 if (entry.count == 0) { 657 } else if (entry.count == 1) { 658 if (entry.data.i64[0] != mCaptureTimestamp) { 661 entry.data.i64[0],
|
/frameworks/av/services/camera/libcameraservice/tests/ |
H A D | CameraProviderManagerTest.cpp | 327 camera_metadata_entry_t entry = metadata.find(tagId); local 328 ASSERT_EQ(1u, entry.count); 329 ASSERT_EQ(byteVal, entry.data.u8[0]); 330 entry = secondMetadata.find(tagId); 331 ASSERT_EQ(1u, entry.count); 332 ASSERT_EQ(doubleVal, entry.data.d[0]); 342 entry = metadataCopy.find(tagId); 343 ASSERT_EQ(1u, entry.count); 344 ASSERT_EQ(doubleVal, entry.data.d[0]);
|
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | TagMonitor.cpp | 113 camera_metadata_ro_entry entry = metadata.find(tag); local 127 if (entry.count > 0) { 131 if (lastEntry.type == entry.type && 132 lastEntry.count == entry.count) { 136 int cmp = memcmp(entry.data.u8, lastEntry.data.u8, entryBytes); 145 // No last entry, so always consider to be different 153 lastValues.update(entry); 154 mMonitoringEvents.emplace(source, frameNumber, timestamp, entry); 162 entry.tag = tag; 163 entry [all...] |
/frameworks/base/cmds/idmap/ |
H A D | scan.cpp | 192 ZipEntryRO entry; local 193 if ((entry = zip->findEntryByName("AndroidManifest.xml")) == NULL) { 194 ALOGW("%s: failed to find entry AndroidManifest.xml\n", __FUNCTION__); 199 if (!zip->getEntryInfo(entry, &method, &uncompLen, NULL, NULL, NULL, NULL)) { 200 ALOGW("%s: failed to read entry info\n", __FUNCTION__); 207 FileMap *dataMap = zip->createEntryFileMap(entry);
|
/frameworks/base/core/java/android/content/ |
H A D | RestrictionsManager.java | 396 * Name of the meta-data entry in the manifest that points to the XML file containing the 658 Log.w(TAG, "Child entry cannot be loaded for bundle restriction " + key); 695 for (RestrictionEntry entry : entries) { 696 addRestrictionToBundle(bundle, entry); 701 private static Bundle addRestrictionToBundle(Bundle bundle, RestrictionEntry entry) { argument 702 switch (entry.getType()) { 704 bundle.putBoolean(entry.getKey(), entry.getSelectedState()); 709 bundle.putStringArray(entry.getKey(), entry [all...] |
/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarFile.java | 159 * to this entry. 175 * to this entry. 211 StrictJarVerifier.VerifierEntry entry = verifier.initEntry(ze.getName()); 212 if (entry == null) { 216 return new JarFileInputStream(is, ze.getSize(), entry); 301 final ZipEntry entry = entryIterator.next(); 302 metaEntries.put(entry.getName(), Streams.readFully(getInputStream(entry))); 309 private final StrictJarVerifier.VerifierEntry entry; field in class:StrictJarFile.JarFileInputStream 316 entry 391 private final ZipEntry entry; field in class:StrictJarFile.ZipInflaterInputStream 394 ZipInflaterInputStream(InputStream is, Inflater inf, int bsize, ZipEntry entry) argument [all...] |
H A D | StrictJarVerifier.java | 182 * Invoked for each new JAR entry read operation from the input 184 * which contains the certificates used to sign the entry and its hash value 188 * the name of an entry in a JAR file which is <b>not</b> in the 194 // If no manifest is present by the time an entry is found, 202 // entry has no digest 210 Map.Entry<String, HashMap<String, Attributes>> entry = it.next(); 211 HashMap<String, Attributes> hm = entry.getValue(); 213 // Found an entry for entry name in .SF file 214 String signatureFile = entry 468 verify(Attributes attributes, String entry, byte[] data, int start, int end, boolean ignoreSecondEndline, boolean ignorable) argument [all...] |
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreSpi.java | 76 * entry which will have the rest of the chain concatenated in BER format. 78 * TrustedCertificateEntry will just have a Credentials.CA_CERTIFICATE entry 155 // This entry/alias does not contain a certificate. 160 // For this certificate there shouldn't be a private key in this KeyStore entry. Thus, 162 // a private key entry. 195 // This KeyStore entry/alias is supposed to contain the private key corresponding to 541 // Keep the stored private key around -- delete all other entry types 585 // KeyStore-backed secret key. It cannot be duplicated into another entry and cannot 586 // overwrite its own entry. 601 // This is the entry wher 969 engineSetEntry(String alias, Entry entry, ProtectionParameter param) argument [all...] |
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | AssetManager2.h | 45 // A single key-value entry in a bag. 52 // Which ApkAssets this entry came from. 72 // AssetManager2 is the main entry point for accessing assets and resources. 85 const char* entry = nullptr; member in struct:android::AssetManager2::ResourceName 180 // `resource_name` must be of the form '[package:][type/]entry'. 236 // Finds the best entry for `resid` amongst all the ApkAssets. The entry can be a simple
|
/frameworks/base/libs/hwui/ |
H A D | PatchCache.h | 121 friend inline hash_t hash_type(const PatchDescription& entry) { argument 122 return entry.hash();
|
H A D | TextDropShadowCache.h | 106 inline hash_t hash_type(const ShadowText& entry) { argument 107 return entry.hash(); 128 * Used as a callback when an entry is removed from the cache.
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
H A D | DataUsageController.java | 165 final NetworkStatsHistory.Entry entry = history.getValues(start, end, now, null); 169 historyEntryToString(entry))); 170 if (entry == null) { 171 return warn("no entry data"); 173 final long totalBytes = entry.rxBytes + entry.txBytes; 207 private static String historyEntryToString(NetworkStatsHistory.Entry entry) { argument 208 return entry == null ? null : new StringBuilder("Entry[") 209 .append("bucketDuration=").append(entry.bucketDuration) 210 .append(",bucketStart=").append(entry [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationIconAreaController.java | 133 protected boolean shouldShowNotificationIcon(NotificationData.Entry entry, argument 135 if (notificationData.isAmbient(entry.key) && !showAmbient) { 138 if (!StatusBar.isTopLevelChild(entry)) { 141 if (entry.row.getVisibility() == View.GONE) { 153 updateIconsForLayout(notificationData, entry -> entry.icon, mNotificationIcons, 155 updateIconsForLayout(notificationData, entry -> entry.expandedIcon, mShelfIcons, 166 * @param function A function to look up an icon view based on an entry
|
H A D | NotificationsQuickSettingsContainer.java | 194 public void onHeadsUpStateChanged(Entry entry, boolean isHeadsUp) { argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | DropBoxManagerService.java | 78 // TODO: This implementation currently uses one file per entry, which is 129 public void add(DropBoxManager.Entry entry) { 130 DropBoxManagerService.this.add(entry); 218 public void add(DropBoxManager.Entry entry) { argument 222 final String tag = entry.getTag(); 224 int flags = entry.getFlags(); 233 input = entry.getInputStream(); 305 entry.close(); 336 for (EntryFile entry : list.contents.tailSet(new EntryFile(millis + 1))) { 337 if (entry 680 enrollEntry(EntryFile entry) argument [all...] |
/frameworks/base/tests/net/java/android/net/ |
H A D | NetworkStatsTest.java | 624 final NetworkStats.Entry entry = stats.getValues(index, null); 625 assertValues(entry, iface, uid, set, tag, metered, roaming); 626 assertValues(entry, rxBytes, rxPackets, txBytes, txPackets, operations); 630 NetworkStats.Entry entry, String iface, int uid, int set, int tag, int metered, 632 assertEquals(iface, entry.iface); 633 assertEquals(uid, entry.uid); 634 assertEquals(set, entry.set); 635 assertEquals(tag, entry.tag); 636 assertEquals(metered, entry.metered); 637 assertEquals(roaming, entry 629 assertValues( NetworkStats.Entry entry, String iface, int uid, int set, int tag, int metered, int roaming) argument 640 assertValues(NetworkStats.Entry entry, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 139 * or decided not to update. If the entry isn't already slated for 147 ZipEntry* entry = zip->getEntryByIndex(i); local 149 if (!entry->getMarked() && entry->getDeleted()) { 152 entry->getFileName()); 154 zip->remove(entry); 224 const OutputEntry& entry = *iter; local 225 if (entry.getFile() == NULL) { 228 String8 storagePath(entry.getPath()); 230 if (!processFile(bundle, zip, storagePath, entry 250 ZipEntry* entry; local 408 ZipEntry* entry = jar->getEntryByIndex(i); local [all...] |
/frameworks/base/tools/aapt2/ |
H A D | ResourceTable.cpp | 373 const StringPiece bad_char = name_validator(name.entry); 376 << "' has invalid entry name '" << name.entry 400 ResourceEntry* entry = type->FindOrCreateEntry(name.entry); local 401 if (res_id.is_valid_dynamic() && entry->id && entry->id.value() != res_id.entry_id()) { 406 entry->id.value())); 410 ResourceConfigValue* config_value = entry->FindOrCreateValue(config, product); 438 entry 486 ResourceEntry* entry = type->FindOrCreateEntry(name.entry); local 541 ResourceEntry* entry = type->FindEntry(name.entry); local [all...] |
H A D | ResourceValues.cpp | 367 out << s.symbol.name.value().entry; 612 std::ostream& operator<<(std::ostream& out, const Style::Entry& entry) { argument 613 if (entry.key.name) { 614 out << entry.key.name.value(); 615 } else if (entry.key.id) { 616 out << entry.key.id.value(); 620 out << " = " << entry.value; 681 for (auto& entry : entries) { 682 style->entries.push_back(Entry{entry.key, std::unique_ptr<Item>(entry [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | PseudolocaleGenerator.cpp | 315 StringPool* pool, ResourceEntry* entry) { 334 entry->FindOrCreateValue(config_with_accent, original_value->product); 356 for (auto& entry : type->entries) { 357 std::vector<ResourceConfigValue*> values = entry->FindValuesIf(IsPseudolocalizable); 360 entry.get()); 362 entry.get()); 313 PseudolocalizeIfNeeded(const Pseudolocalizer::Method method, ResourceConfigValue* original_value, StringPool* pool, ResourceEntry* entry) argument
|
/frameworks/base/tools/aapt2/link/ |
H A D | TableMerger.cpp | 175 DiagMessage(src) << "cannot merge entry '" << src_entry->name 337 StringPiece prefix, entry, suffix; local 338 if (util::ExtractResFilePathParts(*file_ref.path, &prefix, &entry, &suffix)) { 339 std::string mangled_entry = NameMangler::MangleEntry(package, entry.to_string()); 360 ->FindOrCreateEntry(file_desc.name.entry)
|
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable.cpp | 75 name_with_package_impl = ResourceName(mangler_->GetTargetPackageName(), name.type, name.entry); 184 return FindByName(ResourceName(name.package, ResourceType::kAttrPrivate, name.entry)); 192 symbol->is_public = (sr.entry->symbol_status.state == SymbolState::kPublic); 194 if (sr.package->id && sr.type->id && sr.entry->id) { 195 symbol->id = ResourceId(sr.package->id.value(), sr.type->id.value(), sr.entry->id.value()); 200 ResourceConfigValue* config_value = sr.entry->FindValue(kDefaultConfig); 232 const android::ResTable::bag_entry* entry; local 233 ssize_t count = table.lockBag(id.id, &entry); 235 table.unlockBag(entry); 244 if (entry[ [all...] |
/frameworks/base/tools/aapt2/unflatten/ |
H A D | BinaryResourceParser.cpp | 361 const ResTable_entry* entry = *it; local 362 if (!entry) { 368 util::GetString(key_pool_, util::DeviceToHost32(entry->key.index))); 374 if (entry->flags & ResTable_entry::FLAG_COMPLEX) { 375 const ResTable_map_entry* mapEntry = static_cast<const ResTable_map_entry*>(entry); 377 // TODO(adamlesinski): Check that the entry count is valid. 381 (const Res_value*)((const uint8_t*)entry + util::DeviceToHost32(entry->size)); 398 if ((entry->flags & ResTable_entry::FLAG_PUBLIC) != 0) { 513 std::find_if(begin(map), end(map), [](const ResTable_map& entry) [all...] |