Home
last modified time | relevance | path

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

123

/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/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerData.java108 addEntry("Consumed", EntryType.UID_TOTAL_POWER, in populateForUidBatteryConsumer()
114 addEntry("Consumed (PowerStats)", EntryType.UID_TOTAL_POWER, in populateForUidBatteryConsumer()
119 addEntry("Consumed (PowerProfile)", EntryType.UID_TOTAL_POWER, in populateForUidBatteryConsumer()
131 addEntry(metricTitle, EntryType.UID_POWER_PROFILE, in populateForUidBatteryConsumer()
137 addEntry(metricTitle + " (PowerStats)", EntryType.UID_POWER_ENERGY_CONSUMPTION, in populateForUidBatteryConsumer()
142 addEntry(metricTitle + " (PowerProfile)", EntryType.UID_POWER_PROFILE, in populateForUidBatteryConsumer()
153 addEntry(name + " (PowerStats)", 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/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/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceLog.java51 addEntry(new LogEntry(TYPE_CREATED, deviceId, System.currentTimeMillis(), ownerUid)); in logCreated()
63 addEntry(new LogEntry(TYPE_CLOSED, deviceId, System.currentTimeMillis(), ownerUid)); in logClosed()
69 private void addEntry(LogEntry entry) { in addEntry() method in VirtualDeviceLog
/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/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/locksettings/
DRebootEscrowManager.java679 mEventLog.addEntry(RebootEscrowEvent.FOUND_ESCROW_DATA); in loadRebootEscrowDataWithRetry()
813 mEventLog.addEntry(RebootEscrowEvent.RETRIEVED_STORED_KEK); in getAndClearRebootEscrowKey()
833 mEventLog.addEntry(RebootEscrowEvent.RETRIEVED_LSKF_FOR_USER, userId); in restoreRebootEscrowForUser()
875 mEventLog.addEntry(RebootEscrowEvent.STORED_LSKF_FOR_USER, userId); in callToRebootEscrowIfNeeded()
921 mEventLog.addEntry(RebootEscrowEvent.CLEARED_LSKF_REQUEST); in clearRebootEscrowIfNeeded()
984 mEventLog.addEntry(RebootEscrowEvent.SET_ARMED_STATUS); in armRebootEscrowIfNeeded()
1004 mEventLog.addEntry(RebootEscrowEvent.REQUESTED_LSKF); in prepareRebootEscrow()
1070 void addEntry(int eventId) { in addEntry() method in RebootEscrowManager.RebootEscrowEventLog
1074 void addEntry(int eventId, int userId) { in addEntry() method in RebootEscrowManager.RebootEscrowEventLog
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/data/repository/
DActiveNotificationListRepositoryExt.kt32 addEntry(activeNotificationModel(key = key)) in <lambda>()
/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.java456 addEntry(tag, new ByteArrayInputStream(data), data.length, flags); in addData()
472 addEntry(tag, new ParcelFileDescriptor.AutoCloseInputStream(fd), stat.st_size, flags); in addFile()
475 public void addEntry(String tag, InputStream in, long length, int flags) { in addEntry() method in DropBoxManagerService
485 addEntry(tag, new SimpleEntrySource(in, length, forceCompress), flags); in addEntry()
527 public void addEntry(String tag, EntrySource entry, int flags) { in addEntry() method in DropBoxManagerService
1320 public void addEntry(String tag, EntrySource entry, int flags) { in addEntry() method in DropBoxManagerService.DropBoxManagerInternalImpl
1321 DropBoxManagerService.this.addEntry(tag, entry, flags); in addEntry()
/frameworks/base/packages/SystemUI/scripts/token_alignment/helpers/
DprocessXML.ts69 DOM.addEntry(containerElement, addinOptions);
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodManagerServiceTests.java95 history.addEntry(new SoftInputShowHideHistory.Entry( in testSoftInputShowHideHistoryDump_withNulls_doesntThrow()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DMobileRadioPowerStatsCollectorTest.java453 .addEntry(new NetworkStats.Entry("mobile", APP_UID1, 0, 0, in mockNetworkStats()
456 .addEntry(new NetworkStats.Entry("mobile", APP_UID2, 0, 0, in mockNetworkStats()
459 .addEntry(new NetworkStats.Entry("mobile", ISOLATED_UID, 0, 0, METERED_NO, in mockNetworkStats()
462 .addEntry(new NetworkStats.Entry("mobile", APP_UID3, 0, 0, METERED_NO, in mockNetworkStats()
/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.java294 builder.addEntry(key, history); in readPlatformCollection()
411 historyBuilder.addEntry(entry); in readPlatformHistory()
578 builder.addEntry(key, history); in readLegacyUid()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/data/repository/
DActiveNotificationListRepository.kt94 fun addEntry(entry: ActiveNotificationEntryModel) { in build() method
/frameworks/base/packages/DynamicSystemInstallationService/tests/src/com/android/dynsystem/
DKeyRevocationListTest.java119 blocklist.addEntry("key1", "REVOKED", "reason for key1"); in testIsRevoked()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DImeTrackerService.java86 mHistory.addEntry(binder, entry); in onStart()
214 private void addEntry(@NonNull IBinder binder, @NonNull Entry entry) { in addEntry() method in ImeTrackerService.History
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1487 addEntry(zos, info.bugreportFile.getName(), is); in zipBugreport()
1568 addEntry(zos, entryName, entry.getTime(), oldZip.getInputStream(entry)); in addDetailsToZipFileLocked()
1577 addEntry(zos, in addDetailsToZipFileLocked()
1582 addEntry(zos, "title.txt", info.getTitle()); in addDetailsToZipFileLocked()
1583 addEntry(zos, "description.txt", info.getDescription()); in addDetailsToZipFileLocked()
1601 private static void addEntry(ZipOutputStream zos, String entry, String text) in addEntry() method in BugreportProgressService
1605 addEntry(zos, entry, new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8))); in addEntry()
1609 private static void addEntry(ZipOutputStream zos, String entryName, InputStream is) in addEntry() method in BugreportProgressService
1611 addEntry(zos, entryName, System.currentTimeMillis(), is); in addEntry()
1614 private static void addEntry(ZipOutputStream zos, String entryName, long timestamp, in addEntry() method in BugreportProgressService
/frameworks/base/identity/java/android/security/identity/
DCredstoreResultData.java158 Builder addEntry(String namespaceName, String name, byte[] value) { in addEntry() method in CredstoreResultData.Builder

123