Home
last modified time | relevance | path

Searched refs:slots (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockWeaverService.java24 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/
DRSScriptGroupFusion.cpp92 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 …]
DRSScriptGroupFusion.h43 const std::vector<int>& slots,
DRSCompilerDriver.cpp368 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/
DExecutionBurstController.cpp58 const std::vector<int32_t>& slots) { in serialize() argument
120 for (int32_t slot : slots) { in serialize()
328 const std::vector<int32_t>& slots) { in send() argument
329 const std::vector<FmqRequestDatum> serialized = serialize(request, measure, slots); in send()
356 const hidl_vec<int32_t>& slots, getMemories_cb cb) { in getMemories() argument
360 hidl_vec<hidl_memory> memories(slots.size()); in getMemories()
361 std::transform(slots.begin(), slots.end(), memories.begin(), [this](int32_t slot) { in getMemories()
382 std::vector<int32_t> slots; in getSlots() local
383 slots.reserve(memories.size()); in getSlots()
385 slots.push_back(getSlotLocked(memories[i], keys[i])); in getSlots()
[all …]
DExecutionBurstServer.cpp56 const Request& request, const std::vector<int32_t>& slots, in execute() argument
59 hidl_vec<hidl_memory> pools(slots.size()); in execute()
60 std::transform(slots.begin(), slots.end(), pools.begin(), in execute()
258 std::vector<int32_t> slots; in deserialize() local
259 slots.reserve(numberOfPools); in deserialize()
272 slots.push_back(poolId); in deserialize()
293 return std::make_tuple(std::move(request), std::move(slots), measure); in deserialize()
505 void ExecutionBurstServer::ensureCacheEntriesArePresentLocked(const std::vector<int32_t>& slots) { in ensureCacheEntriesArePresentLocked() argument
511 std::vector<int32_t> unknownSlots = slots; in ensureCacheEntriesArePresentLocked()
/frameworks/ml/nn/driver/sample/
DSampleDriver.cpp371 const Request& request, const std::vector<int32_t>& slots, in execute() argument
380 if (!std::all_of(slots.begin(), slots.end(), in execute()
386 hidl_vec<hidl_memory> pools(slots.size()); in execute()
387 std::transform(slots.begin(), slots.end(), pools.begin(), in execute()
399 requestPoolInfos.reserve(slots.size()); in execute()
400 std::transform(slots.begin(), slots.end(), std::back_inserter(requestPoolInfos), in execute()
/frameworks/ml/nn/common/include/
DExecutionBurstController.h52 const std::vector<int32_t>& slots);
158 bool send(const Request& request, MeasureTiming measure, const std::vector<int32_t>& slots);
209 Return<void> getMemories(const hidl_vec<int32_t>& slots, getMemories_cb cb) override;
DExecutionBurstServer.h228 const Request& request, const std::vector<int32_t>& slots,
294 void ensureCacheEntriesArePresentLocked(const std::vector<int32_t>& slots);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconList.java33 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()
DStatusIconContainer.java225 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/native/libs/gui/tests/
DBufferQueue_test.cpp883 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()
1019 int slots[4] = {}; in TEST_F() local
1023 mProducer->dequeueBuffer(&slots[i], &fence, 0, 0, 0, 0, nullptr, nullptr); in TEST_F()
1025 ASSERT_EQ(OK, mProducer->requestBuffer(slots[i], &buffer)); in TEST_F()
1028 ASSERT_EQ(OK, mProducer->cancelBuffer(slots[i], Fence::NO_FENCE)); in TEST_F()
1097 int slots[2] = {}; in TEST_F() local
1101 mProducer->dequeueBuffer(&slots[i], &fence, 0, 0, 0, 0, nullptr, nullptr); in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java324 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/
DListItemFactory.java91 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/
DEuiccCardController.java155 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/
DEvdevInjector.h86 int ConfigureAbsSlots(int slots);
DEvdevInjector.cpp167 int EvdevInjector::ConfigureAbsSlots(int slots) { in ConfigureAbsSlots() argument
168 return ConfigureAbs(ABS_MT_SLOT, 0, slots, 0, 0); in ConfigureAbsSlots()
/frameworks/base/libs/androidfw/
DCursorWindow.cpp250 return &chunk->slots[chunkPos]; in getRowSlot()
273 return &chunk->slots[chunkPos]; in allocRowSlot()
/frameworks/minikin/tests/unittest/
DWordBreakerTests.cpp619 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/
DCursorWindow.h160 RowSlot slots[ROW_SLOT_CHUNK_NUM_ROWS]; member
/frameworks/minikin/doc/
Dhyb_file_format.md111 it with edge slots), which would require very minimal changes to the implementation (TODO
/frameworks/base/core/proto/android/server/
Dactivitymanagerservice.proto339 // Number of lookaside slots:
/frameworks/native/vulkan/api/
Dvulkan.api4562 … maxVertexInputAttributes /// max num of vertex input attribute slots
4563 … maxVertexInputBindings /// max num of vertex input binding slots