/frameworks/base/core/java/android/widget/ |
D | ArrayAdapter.java | 102 private List<T> mObjects; field in ArrayAdapter 215 mObjects = objects; in ArrayAdapter() 231 mObjects.add(object); in add() 257 mObjects.addAll(collection); in addAll() 275 Collections.addAll(mObjects, items); in addAll() 294 mObjects.add(index, object); in insert() 312 mObjects.remove(object); in remove() 329 mObjects.clear(); in clear() 347 Collections.sort(mObjects, comparator); in sort() 389 return mObjects.size(); in getCount() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | HeavyHitterSketch.java | 114 private final SparseArray<T> mObjects = new SparseArray<>(); field in HeavyHitterSketch.HeavyHitterSketchImpl 194 final int index = mObjects.indexOfKey(hashCode); in addToMGSummary() 198 } else if (mObjects.size() < mCapacity - 1) { in addToMGSummary() 199 mObjects.put(hashCode, newInstance); in addToMGSummary() 205 mObjects.removeAt(i); in addToMGSummary() 226 final int index = mObjects.indexOfKey(hashCode); in validate() 237 mObjects.removeAt(i); in validate() 288 final T obj = mObjects.valueAt(index); in getTopHeavyHitters() 315 for (int i = mObjects.size() - 1; i >= 0; i--) { in getCandidates() 316 final T obj = mObjects.valueAt(i); in getCandidates() [all …]
|
/frameworks/av/media/mtp/tests/MtpFuzzer/ |
D | MtpMockDatabase.cpp | 37 for (MtpObjectInfo* i : mObjects) { in ~MtpMockDatabase() 40 mObjects.clear(); in ~MtpMockDatabase() 47 mObjects.push_back(info); in addObject() 166 if (mObjects.size() == 0) { in getObjectInfo() 172 MtpObjectHandle reducedHandle = handle % mObjects.size(); in getObjectInfo() 173 MtpObjectInfo* obj = mObjects[reducedHandle]; in getObjectInfo() 208 if (mObjects.size() == 0) { in getObjectFilePath() 214 MtpObjectHandle reducedHandle = handle % mObjects.size(); in getObjectFilePath() 215 MtpObjectInfo* obj = mObjects[reducedHandle]; in getObjectFilePath() 223 MtpObjectInfo* next = mObjects[currentHandle]; in getObjectFilePath()
|
D | MtpMockDatabase.h | 28 std::vector<MtpObjectInfo*> mObjects; variable
|
/frameworks/native/libs/binder/ |
D | BpBinder.cpp | 91 if (mObjects.find(objectID) != mObjects.end()) { in attach() 95 return mObjects[objectID].object; in attach() 98 mObjects.insert({objectID, e}); in attach() 104 auto i = mObjects.find(objectID); in find() 105 if (i == mObjects.end()) return nullptr; in find() 110 auto i = mObjects.find(objectID); in detach() 111 if (i == mObjects.end()) return nullptr; in detach() 113 mObjects.erase(i); in detach() 129 entry_t& e = mObjects[objectID]; in lookupOrCreateWeak() 149 const size_t N = mObjects.size(); in kill() [all …]
|
D | Parcel.cpp | 560 const binder_size_t* objects = otherKernelFields->mObjects; in appendFrom() 584 binder_size_t* objects = (binder_size_t*)realloc(kernelFields->mObjects, in appendFrom() 589 kernelFields->mObjects = objects; in appendFrom() 597 kernelFields->mObjects[idx++] = off; in appendFrom() 761 binder_size_t offset = kernelFields->mObjects[i]; in debugReadAllStrongBinders() 785 binder_size_t offset = kernelFields->mObjects[i]; in debugReadAllFileDescriptors() 823 size_t pos = kernelFields->mObjects[i]; in hasBindersInRange() 863 size_t pos = kernelFields->mObjects[i]; in hasFileDescriptorsInRange() 1808 kernelFields->mObjects[kernelFields->mObjectsSize] = mDataPos; in writeObject() 1826 (binder_size_t*)realloc(kernelFields->mObjects, newSize * sizeof(binder_size_t)); in writeObject() [all …]
|
D | Binder.cpp | 275 BpBinder::ObjectManager mObjects; member in android::BBinder::Extras 455 return e->mObjects.attach(objectID, object, cleanupCookie, func); in attachObject() 464 return e->mObjects.find(objectID); in findObject() 472 return e->mObjects.detach(objectID); in detachObject() 488 return e->mObjects.lookupOrCreateWeak(objectID, make, makeArgs); in lookupOrCreateWeak()
|
D | RecordedTransaction.cpp | 141 uint64_t offset = kernelFields->mObjects[i]; in fromDetails()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | LeakCheck.java | 139 private Map<Object, LeakInfo> mObjects = new ArrayMap<>(); field in LeakCheck.Tracker 145 LeakInfo leakInfo = mObjects.get(object); in getLeakInfo() 148 mObjects.put(object, leakInfo); in getLeakInfo() 154 mObjects.values().forEach(LeakInfo::verify); in verify()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpStorageManager.java | 373 private HashMap<Integer, MtpObject> mObjects; field in MtpStorageManager 392 mObjects = new HashMap<>(); in MtpStorageManager() 420 for (MtpObject obj : mObjects.values()) { in close() 523 if (!mObjects.containsKey(id)) { in getObject() 527 return mObjects.get(id); in getObject() 665 mObjects.put(obj.getId(), obj); in addObjectToCache() 686 ret = mObjects.remove(removed.getId(), removed) && ret; in removeObjectFromCache() 835 for (int key : mObjects.keySet()) { in dump() 836 MtpObject obj = mObjects.get(key); in dump() 851 objs.addAll(mObjects.values()); in checkConsistency() [all …]
|
/frameworks/layoutlib/create/tests/res/mock_data/mock_android/widget/ |
D | LinearLayout.java | 24 Object[] mObjects = EmptyArray.OBJECT; field in LinearLayout
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | StringEqualsPerfTest.java | 196 private final Object[] mObjects = field in StringEqualsPerfTest 309 mMediumStrings[i][0].equals(mObjects[i]); in timeEqualsNonString()
|
/frameworks/native/libs/binder/include/binder/ |
D | BpBinder.h | 125 std::map<const void*, entry_t> mObjects; variable 202 ObjectManager mObjects; variable
|
D | Parcel.h | 1332 binder_size_t* mObjects = nullptr;
|
/frameworks/base/core/java/android/text/ |
D | DynamicLayout.java | 585 mObjects = new PackedObjectVector<>(1); in generate() 614 mObjects.insertAt(0, dirs); in generate() 766 mObjects.deleteAt(startline, endline - startline); in reflow() 832 mObjects.insertAt(startline + i, objects); in reflow() 1186 return mObjects.getValue(line, 0); in getLineDirections() 1406 private PackedObjectVector<Directions> mObjects; field in DynamicLayout
|
/frameworks/layoutlib/create/tests/res/data/ |
D | mock_android.jar | META-INF/
META-INF/MANIFEST.MF
README.md
mock_android/
mock_android/data ... |
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | WindowDecorationTests.java | 875 private final List<T> mObjects; field in WindowDecorationTests.MockObjectSupplier 880 mObjects = objects; in MockObjectSupplier() 886 final T mock = mNumOfCalls < mObjects.size() in get() 887 ? mObjects.get(mNumOfCalls) : mDefaultSupplier.get(); in get()
|
/frameworks/native/include/binder/ |
D | Parcel.h | 1332 binder_size_t* mObjects = nullptr;
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 32444 Landroid/mtp/MtpStorageManager;->mObjects:Ljava/util/HashMap; 55340 Landroid/text/DynamicLayout;->mObjects:Landroid/text/PackedObjectVector;
|