Home
last modified time | relevance | path

Searched refs:addEntry (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerData.java108 addEntry("Consumed", EntryType.UID_TOTAL_POWER, in populateForUidBatteryConsumer()
114 addEntry("Consumed (measured)", EntryType.UID_TOTAL_POWER, in populateForUidBatteryConsumer()
119 addEntry("Consumed (modeled)", EntryType.UID_TOTAL_POWER, in populateForUidBatteryConsumer()
131 addEntry(metricTitle, EntryType.UID_POWER_MODELED, in populateForUidBatteryConsumer()
137 addEntry(metricTitle + " (measured)", EntryType.UID_POWER_MEASURED, in populateForUidBatteryConsumer()
142 addEntry(metricTitle + " (modeled)", EntryType.UID_POWER_MODELED, in populateForUidBatteryConsumer()
153 addEntry(name + " (custom)", EntryType.UID_POWER_CUSTOM, in populateForUidBatteryConsumer()
162 addEntry(metricTitle, EntryType.UID_DURATION, in populateForUidBatteryConsumer()
197 addEntry(metricTitle + " \u2022 " + label, entryType, in addProcessStateEntries()
222 addEntry("Consumed", EntryType.DEVICE_TOTAL_POWER, in populateForAggregateBatteryConsumer()
[all …]
/frameworks/base/tools/aapt/tests/
DResourceTable_test.cpp37 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
38 configs->addEntry(landConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
39 configs->addEntry(sw600dpLandConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
57 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
58 configs->addEntry(v21Config, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
59 configs->addEntry(sw600dpV13Config, new ResourceTable::Entry(String16(), SourcePos())); in TEST()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp871 BAIL_IF_INVALID_R(writer->addEntry(TAG_DEFAULTCROPORIGIN, 2, defaultCropOrigin, in calculateAndSetCrop()
873 BAIL_IF_INVALID_R(writer->addEntry(TAG_DEFAULTCROPSIZE, 2, defaultCropSize, in calculateAndSetCrop()
1371 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_ORIENTATION, 1, &orientation, TIFF_IFD_0), in DngCreator_setup()
1378 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_NEWSUBFILETYPE, 1, &subfileType, in DngCreator_setup()
1385 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_BITSPERSAMPLE, 1, &bits, TIFF_IFD_0), env, in DngCreator_setup()
1392 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_COMPRESSION, 1, &compression, in DngCreator_setup()
1398 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_IMAGEWIDTH, 1, &imageWidth, TIFF_IFD_0), in DngCreator_setup()
1400 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_IMAGELENGTH, 1, &imageHeight, TIFF_IFD_0), in DngCreator_setup()
1408 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_PHOTOMETRICINTERPRETATION, 1, in DngCreator_setup()
1417 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_BLACKLEVELREPEATDIM, 2, repeatDim, in DngCreator_setup()
[all …]
/frameworks/av/media/img_utils/include/img_utils/
DTiffWriter.h127 virtual status_t addEntry(const sp<TiffEntry>& entry, uint32_t ifd);
144 status_t addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd);
301 status_t TiffWriter::addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd) { in addEntry() function
310 return addEntry(outEntry, ifd); in addEntry()
DTiffIfd.h54 virtual status_t addEntry(const sp<TiffEntry>& entry);
/frameworks/base/tools/aapt/
DApkBuilder.cpp59 status_t ApkBuilder::addEntry(const String8& path, const sp<AaptFile>& file) { in addEntry() function in ApkBuilder
63 return mSplits.editItemAt(i)->addEntry(path, file); in addEntry()
109 status_t ApkSplit::addEntry(const String8& path, const sp<AaptFile>& file) { in addEntry() function in ApkSplit
DApkBuilder.h52 android::status_t addEntry(const String8& path, const android::sp<AaptFile>& file);
72 android::status_t addEntry(const String8& path, const android::sp<AaptFile>& file);
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DMobileRadioPowerCalculatorTest.java100 .addEntry(new NetworkStats.Entry("cellular", APP_UID, 0, 0, in testCounterBasedModel()
167 .addEntry(new NetworkStats.Entry("cellular", APP_UID, 0, 0, in testTimerBasedModel_byProcessState()
177 .addEntry(new NetworkStats.Entry("cellular", APP_UID, 0, 0, in testTimerBasedModel_byProcessState()
252 .addEntry(new NetworkStats.Entry("cellular", APP_UID, 0, 0, in testMeasuredEnergyBasedModel()
325 .addEntry(new NetworkStats.Entry("cellular", APP_UID, 0, 0, in testMeasuredEnergyBasedModel_byProcessState()
334 .addEntry(new NetworkStats.Entry("cellular", APP_UID, 0, 0, in testMeasuredEnergyBasedModel_byProcessState()
DWifiPowerCalculatorTest.java83 .addEntry(new NetworkStats.Entry("wifi", APP_UID, 0, 0, in buildNetworkStats()
86 .addEntry(new NetworkStats.Entry("wifi", Process.WIFI_UID, 0, 0, in buildNetworkStats()
/frameworks/base/services/core/java/com/android/server/locksettings/
DRebootEscrowManager.java450 mEventLog.addEntry(RebootEscrowEvent.FOUND_ESCROW_DATA); in loadRebootEscrowDataWithRetry()
566 mEventLog.addEntry(RebootEscrowEvent.RETRIEVED_STORED_KEK); in getAndClearRebootEscrowKey()
586 mEventLog.addEntry(RebootEscrowEvent.RETRIEVED_LSKF_FOR_USER, userId); in restoreRebootEscrowForUser()
628 mEventLog.addEntry(RebootEscrowEvent.STORED_LSKF_FOR_USER, userId); in callToRebootEscrowIfNeeded()
674 mEventLog.addEntry(RebootEscrowEvent.CLEARED_LSKF_REQUEST); in clearRebootEscrowIfNeeded()
737 mEventLog.addEntry(RebootEscrowEvent.SET_ARMED_STATUS); in armRebootEscrowIfNeeded()
757 mEventLog.addEntry(RebootEscrowEvent.REQUESTED_LSKF); in prepareRebootEscrow()
823 void addEntry(int eventId) { in addEntry() method in RebootEscrowManager.RebootEscrowEventLog
827 void addEntry(int eventId, int userId) { in addEntry() method in RebootEscrowManager.RebootEscrowEventLog
/frameworks/av/media/img_utils/src/
DTiffIfd.cpp34 status_t TiffIfd::addEntry(const sp<TiffEntry>& entry) { in addEntry() function in android::img_utils::TiffIfd
273 if(addEntry(stripByteCounts) != OK) { in validateAndSetStripTags()
278 if(addEntry(rowsPerStrip) != OK) { in validateAndSetStripTags()
283 if(addEntry(stripOffsets) != OK) { in validateAndSetStripTags()
339 if (addEntry(newOffsets) != OK) { in setStripOffset()
DTiffWriter.cpp185 status_t TiffWriter::addEntry(const sp<TiffEntry>& entry, uint32_t ifd) { in addEntry() function in android::img_utils::TiffWriter
204 return selectedIfd->addEntry(entry); in addEntry()
298 if (parent->addEntry(subIfds) < 0) { in addSubIfd()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DKeyRevocationList.java78 void addEntry(String publicKey, String status, String reason) { in addEntry() method in KeyRevocationList
111 list.addEntry(publicKey, status, reason); in fromJsonString()
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerInternal.java28 public abstract void addEntry(@NonNull String tag, @NonNull EntrySource source, in addEntry() method in DropBoxManagerInternal
DDropBoxManagerService.java393 addEntry(tag, new ByteArrayInputStream(data), data.length, flags); in addData()
409 addEntry(tag, new ParcelFileDescriptor.AutoCloseInputStream(fd), stat.st_size, flags); in addFile()
412 public void addEntry(String tag, InputStream in, long length, int flags) { in addEntry() method in DropBoxManagerService
422 addEntry(tag, new SimpleEntrySource(in, length, forceCompress), flags); in addEntry()
464 public void addEntry(String tag, EntrySource entry, int flags) { in addEntry() method in DropBoxManagerService
1252 public void addEntry(String tag, EntrySource entry, int flags) { in addEntry() method in DropBoxManagerService.DropBoxManagerInternalImpl
1253 DropBoxManagerService.this.addEntry(tag, entry, flags); in addEntry()
/frameworks/base/packages/SystemUI/scripts/token_alignment/helpers/
DprocessXML.ts69 DOM.addEntry(containerElement, addinOptions);
/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.cpp207 virtual std::unique_ptr<ExifEntry> addEntry(ExifIfd ifd, ExifTag tag);
790 std::unique_ptr<ExifEntry> ExifUtilsImpl::addEntry(ExifIfd ifd, ExifTag tag) { in addEntry() function in android::camera3::ExifUtilsImpl
809 std::unique_ptr<ExifEntry> entry = addEntry(ifd, tag); in setShort()
819 std::unique_ptr<ExifEntry> entry = addEntry(ifd, tag); in setLong()
830 std::unique_ptr<ExifEntry> entry = addEntry(ifd, tag); in setRational()
841 std::unique_ptr<ExifEntry> entry = addEntry(ifd, tag); in setSRational()
/frameworks/base/core/java/android/net/netstats/
DNetworkStatsDataMigrationUtils.java296 builder.addEntry(key, history); in readPlatformCollection()
413 historyBuilder.addEntry(entry); in readPlatformHistory()
580 builder.addEntry(key, history); in readLegacyUid()
/frameworks/base/packages/DynamicSystemInstallationService/tests/src/com/android/dynsystem/
DKeyRevocationListTest.java119 blocklist.addEntry("key1", "REVOKED", "reason for key1"); in testIsRevoked()
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionTracing.h114 void addEntry(const std::vector<CommittedTransactions>& committedTransactions,
DTransactionTracing.cpp192 addEntry(committedTransactions, removedLayers); in loop()
197 void TransactionTracing::addEntry(const std::vector<CommittedTransactions>& committedTransactions, in addEntry() function in android::TransactionTracing
/frameworks/libs/net/common/framework/com/android/net/module/util/
DNetworkStatsUtils.java113 stats = stats.addEntry(entry); in fromPublicNetworkStats()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1465 addEntry(zos, info.bugreportFile.getName(), is); in zipBugreport()
1546 addEntry(zos, entryName, entry.getTime(), oldZip.getInputStream(entry)); in addDetailsToZipFileLocked()
1555 addEntry(zos, in addDetailsToZipFileLocked()
1560 addEntry(zos, "title.txt", info.getTitle()); in addDetailsToZipFileLocked()
1561 addEntry(zos, "description.txt", info.getDescription()); in addDetailsToZipFileLocked()
1579 private static void addEntry(ZipOutputStream zos, String entry, String text) in addEntry() method in BugreportProgressService
1583 addEntry(zos, entry, new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8))); in addEntry()
1587 private static void addEntry(ZipOutputStream zos, String entryName, InputStream is) in addEntry() method in BugreportProgressService
1589 addEntry(zos, entryName, System.currentTimeMillis(), is); in addEntry()
1592 private static void addEntry(ZipOutputStream zos, String entryName, long timestamp, in addEntry() method in BugreportProgressService
/frameworks/base/identity/java/android/security/identity/
DCredstoreResultData.java145 Builder addEntry(String namespaceName, String name, byte[] value) { in addEntry() method in CredstoreResultData.Builder
/frameworks/base/services/core/java/com/android/server/power/
DWakeLockLog.java252 mLog.addEntry(new LogEntry(time, eventType, tagData, flags)); in handleWakeLockEventInternal()
779 void addEntry(LogEntry entry) { in addEntry() method in WakeLockLog.TheLog
792 addEntry(new LogEntry(entry.time, TYPE_TIME_RESET, null, 0)); in addEntry()

12