/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | PackageDynamicCodeLoadingTests.java | 60 private static final Entry[] NO_ENTRIES = {}; 65 Entry[] entries = { in testRecord() 66 new Entry("owning.package1", "/path/file1", 'D', 10, "loading.package1"), in testRecord() 67 new Entry("owning.package1", "/path/file1", 'D', 10, "loading.package2"), in testRecord() 68 new Entry("owning.package1", "/path/file2", 'D', 5, "loading.package1"), in testRecord() 69 new Entry("owning.package2", "/path/file3", 'D', 0, "loading.package2"), in testRecord() 78 Entry owner1Path1Loader1 = in testRecord_returnsHasChanged() 79 new Entry("owning.package1", "/path/file1", 'D', 10, "loading.package1"); in testRecord_returnsHasChanged() 80 Entry owner1Path1Loader2 = in testRecord_returnsHasChanged() 81 new Entry("owning.package1", "/path/file1", 'D', 10, "loading.package2"); in testRecord_returnsHasChanged() [all …]
|
/frameworks/base/tests/net/common/java/android/net/netstats/ |
D | NetworkStatsApiTest.kt | 22 import android.net.NetworkStats.Entry 76 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, TAG_NONE, in setUp() 78 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, TAG_NONE, in setUp() 80 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, TAG_NONE, in setUp() 82 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_FOREGROUND, TAG_NONE, in setUp() 85 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, TAG_NONE, in setUp() 87 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, 0x80, in setUp() 89 .addEntry(Entry(TEST_IFACE, TEST_UID2, SET_DEFAULT, TAG_NONE, in setUp() 91 .addEntry(Entry(IFACE_VT, TEST_UID1, SET_DEFAULT, TAG_NONE, in setUp() 97 .addEntry(Entry(TEST_IFACE, TEST_UID1, SET_DEFAULT, 0x80, in setUp() [all …]
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | ELFDynamic.tcc | 12 Entry<32, true>::Entry() { in Entry() function in Entry 17 Entry<32, true>::~Entry() { in ~Entry() 20 void Entry<32, true>::setValue(uint64_t pTag, uint64_t pValue) { in setValue() 25 size_t Entry<32, true>::emit(uint8_t* pAddress) const { in emit() 34 Entry<64, true>::Entry() { in Entry() function in Entry 39 Entry<64, true>::~Entry() { in ~Entry() 42 void Entry<64, true>::setValue(uint64_t pTag, uint64_t pValue) { in setValue() 47 size_t Entry<64, true>::emit(uint8_t* pAddress) const { in emit()
|
D | ELFDynamic.h | 47 class Entry {}; 50 class Entry<32, true> : public EntryIF { 58 inline Entry(); 60 inline ~Entry(); 62 Entry* clone() const { return new Entry(); } in clone() 81 class Entry<64, true> : public EntryIF { 89 inline Entry(); 91 inline ~Entry(); 93 Entry* clone() const { return new Entry(); } in clone()
|
/frameworks/base/libs/services/src/os/ |
D | DropBoxManager.cpp | 34 DropBoxManager::Entry::Entry() in Entry() function in android::os::DropBoxManager::Entry 44 DropBoxManager::Entry::Entry(const String16& tag, int32_t flags) in Entry() function in android::os::DropBoxManager::Entry 53 DropBoxManager::Entry::Entry(const String16& tag, int32_t flags, int fd) in Entry() function in android::os::DropBoxManager::Entry 62 DropBoxManager::Entry::~Entry() in ~Entry() 67 DropBoxManager::Entry::writeToParcel(Parcel* out) const in writeToParcel() 105 DropBoxManager::Entry::readFromParcel(const Parcel* in) in readFromParcel() 147 DropBoxManager::Entry::getData() const in getData() 153 DropBoxManager::Entry::getFd() const in getFd() 159 DropBoxManager::Entry::getFlags() const in getFlags() 165 DropBoxManager::Entry::getTimestamp() const in getTimestamp() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverySessionStorage.java | 35 private final SparseArray<ArrayList<Entry>> mSessionsByUid = new SparseArray<>(); 47 public Entry get(int uid, String sessionId) { in get() 48 ArrayList<Entry> userEntries = mSessionsByUid.get(uid); in get() 52 for (Entry entry : userEntries) { in get() 68 public void add(int uid, Entry entry) { in add() 93 ArrayList<Entry> entries = mSessionsByUid.get(uid); in remove() 97 for (Entry entry : entries) { in remove() 112 ArrayList<Entry> entries = mSessionsByUid.valueAt(i); in size() 127 ArrayList<Entry> entries = mSessionsByUid.valueAt(i); in destroy() 128 for (Entry entry : entries) { in destroy() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverySessionStorageTest.java | 52 storage.add(TEST_USER_ID, new RecoverySessionStorage.Entry( in size_incrementsAfterAdd() 61 storage.add(TEST_USER_ID, new RecoverySessionStorage.Entry( in size_decrementsAfterRemove() 71 RecoverySessionStorage.Entry entry = new RecoverySessionStorage.Entry( in remove_overwritesLskfHashMemory() 83 RecoverySessionStorage.Entry entry = new RecoverySessionStorage.Entry( in remove_overwritesKeyClaimantMemory() 95 storage.add(TEST_USER_ID, new RecoverySessionStorage.Entry( in remove_deletesSpecificSession() 100 storage.add(TEST_USER_ID, new RecoverySessionStorage.Entry( in remove_deletesSpecificSession() 115 storage.add(TEST_USER_ID, new RecoverySessionStorage.Entry( in remove_doesNotDeleteOtherSessions() 120 storage.add(TEST_USER_ID, new RecoverySessionStorage.Entry( in remove_doesNotDeleteOtherSessions() 134 RecoverySessionStorage.Entry entry = new RecoverySessionStorage.Entry( in destroy_overwritesLskfHashMemory() 146 RecoverySessionStorage.Entry entry = new RecoverySessionStorage.Entry( in destroy_overwritesKeyClaimantMemory()
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | HashBase.tcc | 130 if (bucket_type::getEmptyBucket() == bucket.Entry) { in lookUpBucketFor() 140 if (bucket_type::getTombstone() == bucket.Entry) { in lookUpBucketFor() 145 if (bucket.Entry->compare(pKey)) { in lookUpBucketFor() 171 if (bucket_type::getEmptyBucket() == bucket.Entry) in findKey() 174 if (bucket_type::getTombstone() == bucket.Entry) { in findKey() 178 if (bucket.Entry->compare(pKey)) in findKey() 213 if (IB->Entry != bucket_type::getEmptyBucket() && in doRehash() 214 IB->Entry != bucket_type::getTombstone()) { in doRehash() 218 if (bucket_type::getEmptyBucket() == new_table[new_bucket].Entry) { in doRehash() 219 new_table[new_bucket].Entry = IB->Entry; in doRehash() [all …]
|
D | HashTable.tcc | 29 if (bucket_type::getEmptyBucket() != BaseTy::m_Buckets[i].Entry && in ~HashTable() 30 bucket_type::getTombstone() != BaseTy::m_Buckets[i].Entry) { in ~HashTable() 31 m_EntryFactory.destroy(BaseTy::m_Buckets[i].Entry); in ~HashTable() 45 if (bucket_type::getEmptyBucket() != BaseTy::m_Buckets[i].Entry) { in clear() 46 if (bucket_type::getTombstone() != BaseTy::m_Buckets[i].Entry) { in clear() 47 m_EntryFactory.destroy(BaseTy::m_Buckets[i].Entry); in clear() 49 BaseTy::m_Buckets[i].Entry = bucket_type::getEmptyBucket(); in clear() 69 entry_type* entry = bucket.Entry; in insert() 81 entry = bucket.Entry = m_EntryFactory.produce(pKey); in insert() 103 m_EntryFactory.destroy(bucket.Entry); in erase() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 191 struct Entry { in TEST_F() struct 198 const std::array<Entry, 24> testData = { in TEST_F() 201 /* 0 */ Entry{TR_IDENT, TR_IDENT, TR_IDENT, TR_IDENT}, in TEST_F() 202 /* 1 */ Entry{TR_IDENT, TR_IDENT, TR_ROT_90, TR_ROT_90}, in TEST_F() 203 /* 2 */ Entry{TR_IDENT, TR_IDENT, TR_ROT_180, TR_ROT_180}, in TEST_F() 204 /* 3 */ Entry{TR_IDENT, TR_IDENT, TR_ROT_270, TR_ROT_270}, in TEST_F() 206 /* 4 */ Entry{TR_IDENT, TR_FLP_H, TR_IDENT, TR_FLP_H ^ TR_IDENT}, in TEST_F() 207 /* 5 */ Entry{TR_IDENT, TR_FLP_H, TR_ROT_90, TR_FLP_H ^ TR_ROT_90}, in TEST_F() 208 /* 6 */ Entry{TR_IDENT, TR_FLP_H, TR_ROT_180, TR_FLP_H ^ TR_ROT_180}, in TEST_F() 209 /* 7 */ Entry{TR_IDENT, TR_FLP_H, TR_ROT_270, TR_FLP_H ^ TR_ROT_270}, in TEST_F() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | DropBoxTest.java | 98 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before); in testAddText() 99 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis()); in testAddText() 100 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis()); in testAddText() 130 DropBoxManager.Entry e = dropbox.getNextEntry("DropBoxTest", before); 180 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before); 181 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis()); 182 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis()); 183 DropBoxManager.Entry e3 = dropbox.getNextEntry("DropBoxTest", e2.getTimeMillis()); 243 DropBoxManager.Entry e0 = dropbox.getNextEntry(null, before); in testAddEntriesInTheFuture() 244 DropBoxManager.Entry e1 = dropbox.getNextEntry(null, e0.getTimeMillis()); in testAddEntriesInTheFuture() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 259 public static class Entry { class in NetworkStats 311 public Entry() { in Entry() method in NetworkStats.Entry 316 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in Entry() method in NetworkStats.Entry 322 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, in Entry() method in NetworkStats.Entry 357 public Entry(@Nullable String iface, int uid, @State int set, int tag, in Entry() method in NetworkStats.Entry 386 public void add(Entry another) { in add() 415 if (o instanceof Entry) { in equals() 416 final Entry e = (Entry) o; in equals() 501 NetworkStats.Entry entry = null; in clone() 541 return insertEntry(new Entry( in insertEntry() [all …]
|
/frameworks/av/media/libnblog/ |
D | Writer.cpp | 78 if (length > Entry::kMaxLength) { in log() 79 length = Entry::kMaxLength; in log() 144 void Writer::log(const Entry &etr, bool trusted) in log() 153 const size_t need = etr.mLength + Entry::kOverhead; // mEvent, mLength, data[mLength], mLength in log() 159 uint8_t temp[Entry::kMaxLength + Entry::kOverhead]; in log() 173 if (data == NULL || length > Entry::kMaxLength) { in log() 183 Entry etr(event, data, length); in log() 192 char buffer[Entry::kMaxLength + 1 /*NUL*/]; in logvf() 210 if (length > Entry::kMaxLength) { in logStart() 211 length = Entry::kMaxLength; in logStart() [all …]
|
D | Entry.cpp | 32 int Entry::copyEntryDataAt(size_t offset) const in copyEntryDataAt() 75 mPtr += mPtr[offsetof(entry, length)] + Entry::kOverhead; in operator ++() 81 mPtr -= mPtr[Entry::kPreviousLengthOffset] + Entry::kOverhead; in operator --() 110 Entry::kOverhead + Entry::kPreviousLengthOffset]; in hasConsistentLength() 115 size_t length = mPtr[offsetof(entry, length)] + Entry::kOverhead; in copyTo() 208 size_t authorEntrySize = Entry::kOverhead + sizeof(author); in copyWithAuthor() 212 authorEntry[authorEntrySize + Entry::kPreviousLengthOffset] = in copyWithAuthor() 247 uint8_t buffer[Entry::kOverhead + sizeof(HistTsEntryWithAuthor)]; in copyWithAuthor()
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 107 public static class Entry implements Parcelable, Closeable { class in DropBoxManager 116 public Entry(String tag, long millis) { in Entry() method in DropBoxManager.Entry 127 public Entry(String tag, long millis, String text) { in Entry() method in DropBoxManager.Entry 142 public Entry(String tag, long millis, byte[] data, int flags) { in Entry() method in DropBoxManager.Entry 159 public Entry(String tag, long millis, ParcelFileDescriptor data, int flags) { in Entry() method in DropBoxManager.Entry 176 public Entry(String tag, long millis, File data, int flags) throws IOException { in Entry() method in DropBoxManager.Entry 240 …public static final @android.annotation.NonNull Parcelable.Creator<Entry> CREATOR = new Parcelable… 241 public Entry[] newArray(int size) { return new Entry[size]; } 242 public Entry createFromParcel(Parcel in) { 247 return new Entry(tag, millis, in.createByteArray(), flags & ~HAS_BYTE_ARRAY); [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | LooperStats.java | 45 private final SparseArray<Entry> mEntries = new SparseArray<>(512); 47 private final Entry mOverflowEntry = new Entry("OVERFLOW"); 48 private final Entry mHashCollisionEntry = new Entry("HASH_COLLISION"); 99 Entry entry = findEntry(msg, /* allowCreateNew= */session != DispatchSession.NOT_SAMPLED); in messageDispatched() 131 Entry entry = findEntry(msg, /* allowCreateNew= */session != DispatchSession.NOT_SAMPLED); in dispatchingThrewException() 153 Entry entry = mEntries.valueAt(i); in getEntries() 174 final Entry entry = new Entry(DEBUG_ENTRY_PREFIX + variableName); in createDebugEntry() 194 private void maybeAddSpecialEntry(List<ExportedEntry> exportedEntries, Entry specialEntry) { in maybeAddSpecialEntry() 229 private Entry findEntry(Message msg, boolean allowCreateNew) { in findEntry() 233 final int id = Entry.idFor(msg, isInteractive); in findEntry() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Mesh.java | 199 class Entry { class in Mesh.Builder 208 Entry[] mVertexTypes; 223 mVertexTypes = new Entry[16]; in Builder() 258 mVertexTypes[mVertexTypeCount] = new Entry(); in addVertexType() 279 mVertexTypes[mVertexTypeCount] = new Entry(); in addVertexType() 297 Entry indexType = new Entry(); in addIndexSetType() 315 Entry indexType = new Entry(); in addIndexSetType() 335 Entry indexType = new Entry(); in addIndexSetType() 367 Entry entry = mVertexTypes[ct]; in create() 382 Entry entry = (Entry)mIndexTypes.elementAt(ct); in create() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunk/ |
D | ChunkListingMap.java | 44 Map<ChunkHash, Entry> entries = new HashMap(); in readFromProto() 52 entries.put(new ChunkHash(chunk.getHash()), new Entry(start, chunk.getLength())); in readFromProto() 61 private final Map<ChunkHash, Entry> mChunksByHash; 63 private ChunkListingMap(Map<ChunkHash, Entry> chunksByHash) { in ChunkListingMap() 80 public Entry getChunkEntry(ChunkHash hash) { in getChunkEntry() 90 public static final class Entry { class in ChunkListingMap 94 private Entry(long start, int length) { in Entry() method in ChunkListingMap.Entry
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowEventLog.java | 32 private static final LinkedHashSet<Entry> ENTRIES = new LinkedHashSet<>(); 36 ENTRIES.add(new Entry(tag, Arrays.asList(values))); in writeEvent() 46 public static Set<Entry> getEntries() { in getEntries() 55 public static class Entry { class in ShadowEventLog 59 public Entry(int tag, List<Object> values) { in Entry() method in ShadowEventLog.Entry 68 Entry entry = (Entry) o; in equals()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayWindowSettings.java | 82 private final HashMap<String, Entry> mEntries = new HashMap<>(); 101 private static class Entry { class in DisplayWindowSettings 121 private Entry(String name) { in Entry() method in DisplayWindowSettings.Entry 125 private Entry(String name, Entry copyFrom) { in Entry() method in DisplayWindowSettings.Entry 173 private @Nullable Entry getEntry(DisplayInfo displayInfo) { in getEntry() 175 Entry entry; in getEntry() 188 private Entry getOrCreateEntry(DisplayInfo displayInfo) { in getOrCreateEntry() 189 final Entry entry = getEntry(displayInfo); in getOrCreateEntry() 190 return entry != null ? entry : new Entry(getIdentifier(displayInfo)); in getOrCreateEntry() 198 private Entry updateIdentifierForEntry(Entry entry, DisplayInfo displayInfo) { in updateIdentifierForEntry() [all …]
|
D | PendingRemoteAnimationRegistry.java | 36 private final ArrayMap<String, Entry> mEntries = new ArrayMap<>(); 49 mEntries.put(packageName, new Entry(packageName, adapter)); in addPendingAnimation() 58 final Entry entry = mEntries.get(callingPackage); in overrideOptionsIfNeeded() 71 private class Entry { class in PendingRemoteAnimationRegistry 75 Entry(String packageName, RemoteAnimationAdapter adapter) { in Entry() method in PendingRemoteAnimationRegistry.Entry 80 final Entry entry = mEntries.get(packageName); in Entry()
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsHistoryTest.java | 21 import static android.net.NetworkStatsHistory.Entry.UNKNOWN; 81 NetworkStatsHistory.Entry entry = null; in testReadOriginalVersion() 110 new NetworkStats.Entry(1024L, 10L, 2048L, 20L, 2L)); in testRecordSingleBucket() 124 new NetworkStats.Entry(1024L, 10L, 128L, 2L, 2L)); in testRecordEqualBuckets() 141 new NetworkStats.Entry(1000L, 2000L, 5000L, 10000L, 100L)); in testRecordTouchingBuckets() 161 new NetworkStats.Entry(128L, 2L, 256L, 4L, 1L)); in testRecordGapBuckets() 163 new NetworkStats.Entry(64L, 1L, 512L, 8L, 2L)); in testRecordGapBuckets() 174 new NetworkStats.Entry(2048L, 4L, 2048L, 4L, 2L)); in testRecordGapBuckets() 191 new NetworkStats.Entry(256L, 2L, 256L, 2L, 1L)); in testRecordOverlapBuckets() 194 new NetworkStats.Entry(1024L, 10L, 1024L, 10L, 10L)); in testRecordOverlapBuckets() [all …]
|
D | NetworkStatsTest.java | 734 NetworkStats.Entry entry1 = new NetworkStats.Entry( in testFilter_NoFilter() 738 NetworkStats.Entry entry2 = new NetworkStats.Entry( in testFilter_NoFilter() 742 NetworkStats.Entry entry3 = new NetworkStats.Entry( in testFilter_NoFilter() 761 NetworkStats.Entry entry1 = new NetworkStats.Entry( in testFilter_UidFilter() 765 NetworkStats.Entry entry2 = new NetworkStats.Entry( in testFilter_UidFilter() 769 NetworkStats.Entry entry3 = new NetworkStats.Entry( in testFilter_UidFilter() 788 NetworkStats.Entry entry1 = new NetworkStats.Entry( in testFilter_InterfaceFilter() 792 NetworkStats.Entry entry2 = new NetworkStats.Entry( in testFilter_InterfaceFilter() 796 NetworkStats.Entry entry3 = new NetworkStats.Entry( in testFilter_InterfaceFilter() 800 NetworkStats.Entry entry4 = new NetworkStats.Entry( in testFilter_InterfaceFilter() [all …]
|
/frameworks/base/tools/aapt/tests/ |
D | ResourceTable_test.cpp | 37 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/libs/services/include/android/os/ |
D | DropBoxManager.h | 65 class Entry : public Parcelable { 67 Entry(); 68 virtual ~Entry(); 79 Entry(const String16& tag, int32_t flags); 80 Entry(const String16& tag, int32_t flags, int fd); 97 Status add(const Entry& entry);
|