/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockWeaverService.java | 24 private Pair<ArrayList<Byte>, ArrayList<Byte>>[] slots = new Pair[MAX_SLOTS]; field in MockWeaverService 30 config.slots = MAX_SLOTS; in getConfig() 40 slots[slotId] = Pair.create((ArrayList<Byte>) key.clone(), (ArrayList<Byte>) value.clone()); in write() 51 if (key.equals(slots[slotId].first)) { in read() 52 response.value.addAll(slots[slotId].second); in read()
|
/frameworks/compile/libbcc/lib/ |
D | RSScriptGroupFusion.cpp | 92 const std::vector<int>& slots, in getFusedFuncSig() argument 97 auto slotIter = slots.begin(); in getFusedFuncSig() 135 const std::vector<int>& slots, in getFusedFuncType() argument 138 int error = getFusedFuncSig(sources, slots, signature); in getFusedFuncType() 144 const Function* firstF = getFunction(M, sources.front(), slots.front(), nullptr); in getFusedFuncType() 165 const Function* lastF = getFunction(M, sources.back(), slots.back(), nullptr); in getFusedFuncType() 178 const std::vector<int>& slots, in fuseKernels() argument 181 bccAssert(sources.size() == slots.size() && "sources and slots differ in size"); in fuseKernels() 186 getFusedFuncType(Context, sources, slots, mergedModule, &fusedFunctionSignature); in fuseKernels() 226 auto slotIter = slots.begin(); in fuseKernels() [all …]
|
D | RSScriptGroupFusion.h | 43 const std::vector<int>& slots,
|
D | RSCompilerDriver.cpp | 368 std::vector<int> slots; in buildScriptGroup() local 372 slots.push_back(p.second); in buildScriptGroup() 375 if (!fuseKernels(Context, sourcesToFuse, slots, nameOfFused, &module)) { in buildScriptGroup()
|
/frameworks/ml/nn/common/ |
D | ExecutionBurstController.cpp | 72 const std::vector<int32_t>& slots) { in serialize() argument 134 for (int32_t slot : slots) { in serialize() 367 const std::vector<int32_t>& slots) { in send() argument 368 const std::vector<FmqRequestDatum> serialized = serialize(request, measure, slots); in send() 393 const hidl_vec<int32_t>& slots, getMemories_cb cb) { in getMemories() argument 397 hidl_vec<hidl_memory> memories(slots.size()); in getMemories() 398 std::transform(slots.begin(), slots.end(), memories.begin(), [this](int32_t slot) { in getMemories() 419 std::vector<int32_t> slots; in getSlots() local 420 slots.reserve(memories.size()); in getSlots() 422 slots.push_back(getSlotLocked(memories[i], keys[i])); in getSlots() [all …]
|
D | ExecutionBurstServer.cpp | 71 const V1_0::Request& request, const std::vector<int32_t>& slots, in execute() argument 74 hidl_vec<hidl_memory> pools(slots.size()); in execute() 75 std::transform(slots.begin(), slots.end(), pools.begin(), in execute() 273 std::vector<int32_t> slots; in deserialize() local 274 slots.reserve(numberOfPools); in deserialize() 287 slots.push_back(poolId); in deserialize() 308 return std::make_tuple(std::move(request), std::move(slots), measure); in deserialize() 564 void ExecutionBurstServer::ensureCacheEntriesArePresentLocked(const std::vector<int32_t>& slots) { in ensureCacheEntriesArePresentLocked() argument 570 std::vector<int32_t> unknownSlots = slots; in ensureCacheEntriesArePresentLocked()
|
/frameworks/native/libs/gui/include/gui/ |
D | IProducerListener.h | 51 virtual void onBuffersDiscarded(const std::vector<int32_t>& slots) = 0; // Asynchronous 73 virtual void onBuffersDiscarded(const std::vector<int32_t>& slots);
|
D | Surface.h | 336 virtual void onBuffersDiscarded(const std::vector<int32_t>& slots); 511 status_t getAndFlushBuffersFromSlots(const std::vector<int32_t>& slots,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconList.java | 33 public StatusBarIconList(String[] slots) { in StatusBarIconList() argument 34 final int N = slots.length; in StatusBarIconList() 36 mSlots.add(new Slot(slots[i], null)); in StatusBarIconList()
|
D | StatusIconContainer.java | 225 public void addIgnoredSlots(List<String> slots) { in addIgnoredSlots() argument 226 for (String slot : slots) { in addIgnoredSlots() 256 public void setIgnoredSlots(List<String> slots) { in setIgnoredSlots() argument 258 addIgnoredSlots(slots); in setIgnoredSlots()
|
/frameworks/ml/nn/common/include/ |
D | ExecutionBurstController.h | 60 hardware::neuralnetworks::V1_2::MeasureTiming measure, const std::vector<int32_t>& slots); 185 const std::vector<int32_t>& slots); 235 hardware::Return<void> getMemories(const hardware::hidl_vec<int32_t>& slots,
|
D | ExecutionBurstServer.h | 250 const std::vector<int32_t>& slots, 326 void ensureCacheEntriesArePresentLocked(const std::vector<int32_t>& slots);
|
/frameworks/native/libs/gui/tests/ |
D | BufferQueue_test.cpp | 883 int slots[3] = {}; in TEST_F() local 887 mProducer->dequeueBuffer(&slots[i], &fence, 0, 0, 0, 0, nullptr, nullptr); in TEST_F() 889 ASSERT_EQ(OK, mProducer->requestBuffer(slots[i], &buffer)); in TEST_F() 892 ASSERT_EQ(OK, mProducer->cancelBuffer(slots[i], Fence::NO_FENCE)); in TEST_F() 1008 virtual void onBuffersDiscarded(const std::vector<int32_t>& slots) { in onBuffersDiscarded() 1009 mDiscardedSlots.insert(mDiscardedSlots.end(), slots.begin(), slots.end()); in onBuffersDiscarded() 1038 int slots[4] = {}; in TEST_F() local 1042 mProducer->dequeueBuffer(&slots[i], &fence, 0, 0, 0, 0, nullptr, nullptr); in TEST_F() 1044 ASSERT_EQ(OK, mProducer->requestBuffer(slots[i], &buffer)); in TEST_F() 1047 ASSERT_EQ(OK, mProducer->cancelBuffer(slots[i], Fence::NO_FENCE)); in TEST_F() [all …]
|
/frameworks/ml/nn/driver/sample/ |
D | SampleDriver.cpp | 774 const V1_0::Request& request, const std::vector<int32_t>& slots, in execute() argument 783 if (!std::all_of(slots.begin(), slots.end(), in execute() 789 hidl_vec<Request::MemoryPool> pools(slots.size()); in execute() 790 std::transform(slots.begin(), slots.end(), pools.begin(), [this](int32_t slot) { in execute() 805 requestPoolInfos.reserve(slots.size()); in execute() 806 std::transform(slots.begin(), slots.end(), std::back_inserter(requestPoolInfos), in execute()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordManager.java | 324 if (status == WeaverStatus.OK && config.slots > 0) { in initWeaverService() 328 + " slots: " + config.slots); in initWeaverService() 344 return mWeaver != null && mWeaverConfig.slots > 0; in isWeaverAvailable() 357 if (slot == INVALID_WEAVER_SLOT || slot >= mWeaverConfig.slots) { in weaverEnroll() 383 if (slot == INVALID_WEAVER_SLOT || slot >= mWeaverConfig.slots) { in weaverVerify() 593 HashSet<Integer> slots = new HashSet<>(); in getUsedWeaverSlots() local 597 slots.add(slot); in getUsedWeaverSlots() 600 return slots; in getUsedWeaverSlots() 606 for (int i = 0; i < mWeaverConfig.slots; i++) { in getNextAvailableWeaverSlot()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListItemFactory.java | 91 public static View horizontalButtonSlots(Context context, int desiredHeight, Slot... slots) { in horizontalButtonSlots() argument 104 for (Slot slot : slots) { in horizontalButtonSlots()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccCardController.java | 155 UiccSlot[] slots = mUiccController.getUiccSlots(); in isEmbeddedSlotActivated() local 156 if (slots == null) { in isEmbeddedSlotActivated() 159 for (int i = 0; i < slots.length; ++i) { in isEmbeddedSlotActivated() 160 UiccSlot slotInfo = slots[i]; in isEmbeddedSlotActivated() 171 UiccSlot[] slots = mUiccController.getUiccSlots(); in isEmbeddedCardPresent() local 172 if (slots == null) { in isEmbeddedCardPresent() 175 for (UiccSlot slotInfo : slots) { in isEmbeddedCardPresent()
|
/frameworks/native/services/vr/virtual_touchpad/ |
D | EvdevInjector.h | 86 int ConfigureAbsSlots(int slots);
|
D | EvdevInjector.cpp | 167 int EvdevInjector::ConfigureAbsSlots(int slots) { in ConfigureAbsSlots() argument 168 return ConfigureAbs(ABS_MT_SLOT, 0, slots, 0, 0); in ConfigureAbsSlots()
|
/frameworks/base/libs/androidfw/ |
D | CursorWindow.cpp | 250 return &chunk->slots[chunkPos]; in getRowSlot() 273 return &chunk->slots[chunkPos]; in allocRowSlot()
|
/frameworks/minikin/tests/unittest/ |
D | WordBreakerTests.cpp | 619 ICULineBreakerPool::Slot slots[MAX_POOL_SIZE * 2]; in TEST() local 623 slots[i] = pool.acquire(enUS); in TEST() 628 pool.release(std::move(slots[i])); in TEST() 633 pool.release(std::move(slots[i])); in TEST()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | CursorWindow.h | 160 RowSlot slots[ROW_SLOT_CHUNK_NUM_ROWS]; member
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | ImsResolver.java | 1014 List<Integer> slots = new ArrayList<>(mNumSlots); in getSlotsForActiveCarrierService() 1018 slots.add(i); in getSlotsForActiveCarrierService() 1021 return slots; in getSlotsForActiveCarrierService() 1097 List<Integer> slots = getSlotsForActiveCarrierService(info); in calculateFeaturesToCreate() local 1098 if (!slots.isEmpty()) { in calculateFeaturesToCreate()
|
/frameworks/native/libs/gui/ |
D | Surface.cpp | 1696 status_t Surface::getAndFlushBuffersFromSlots(const std::vector<int32_t>& slots, in getAndFlushBuffersFromSlots() argument 1699 for (int32_t i : slots) { in getAndFlushBuffersFromSlots() 1707 for (int32_t i : slots) { in getAndFlushBuffersFromSlots() 1985 void Surface::ProducerListenerProxy::onBuffersDiscarded(const std::vector<int32_t>& slots) { in onBuffersDiscarded() argument 1993 status_t res = parent->getAndFlushBuffersFromSlots(slots, &discardedBufs); in onBuffersDiscarded()
|
/frameworks/minikin/doc/ |
D | hyb_file_format.md | 111 it with edge slots), which would require very minimal changes to the implementation (TODO
|