Home
last modified time | relevance | path

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

123

/hardware/interfaces/boot/aidl/vts/functional/
DVtsHalBootAidlTargetTest.cpp52 int32_t slots{}; in TEST_P() local
53 boot->getNumberSlots(&slots); in TEST_P()
54 ASSERT_LE(2, slots); in TEST_P()
61 int slots = 0; in TEST_P() local
62 boot->getNumberSlots(&slots); in TEST_P()
63 ASSERT_LT(curSlot, slots); in TEST_P()
103 int slots = 0; in TEST_P() local
104 boot->getNumberSlots(&slots); in TEST_P()
105 const auto result = boot->setActiveBootSlot(slots); in TEST_P()
134 int32_t slots = 0; in TEST_P() local
[all …]
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DValidateRequest.cpp139 const std::vector<int64_t> slots(request.pools.size(), -1); in validate() local
143 request, slots, measure, kNoDeadline, kOmittedTimeoutDuration, &executionResult); in validate()
195 const std::vector<int64_t> slots(request.pools.size(), -1); in validate() local
199 request, slots, {measure, kOmittedTimeoutDuration, {}, {}}, kNoDeadline, in validate()
253 const auto test = [&burst, &request](const std::vector<int64_t>& slots) { in validateBurst() argument
256 burst->executeSynchronously(request, slots, /*measure=*/false, kNoDeadline, in validateBurst()
265 std::vector<int64_t> slots; in validateBurst() local
266 slots.reserve(request.pools.size()); in validateBurst()
269 slots.push_back(currentSlot++); in validateBurst()
271 slots.push_back(-1); in validateBurst()
[all …]
/hardware/interfaces/boot/1.0/vts/functional/
DVtsHalBootV1_0TargetTest.cpp60 uint32_t slots = boot->getNumberSlots(); in TEST_P() local
61 EXPECT_LE((uint32_t)2, slots); in TEST_P()
67 uint32_t slots = boot->getNumberSlots(); in TEST_P() local
68 EXPECT_LT(curSlot, slots); in TEST_P()
112 uint32_t slots = boot->getNumberSlots(); in TEST_P() local
113 Return<void> result = boot->setActiveBootSlot(slots, generate_callback(&cr)); in TEST_P()
146 uint32_t slots = boot->getNumberSlots(); in TEST_P() local
147 Return<void> result = boot->setSlotAsUnbootable(slots, generate_callback(&cr)); in TEST_P()
158 uint32_t slots = boot->getNumberSlots(); in TEST_P() local
159 EXPECT_EQ(BoolResult::INVALID_SLOT, boot->isSlotBootable(slots)); in TEST_P()
[all …]
/hardware/interfaces/radio/config/1.0/
DIRadioConfig.hal44 * Request provides the slot status of all active and inactive SIM slots and whether card is
45 * present in the slots or not.
56 * Maps the logical slots to the physical slots. Logical slot is the slot that is seen by modem.
58 * Logical slots that are already mapped to the requested physical slot are not impacted.
60 * Example no. of logical slots 1 and physical slots 2:
65 * Example no. of logical slots 2 and physical slots 2:
72 * mapping to logical slot and value to physical slot, need to provide all the slots
75 * index 0 is the first logical_slot number of logical slots is equal to number of Radio
76 * instances and number of physical slots is equal to size of slotStatus in
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_sync_call.c86 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_init()
131 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_destroy()
203 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_callback_process_sync_call()
254 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_lock_a_slot()
295 pthread_mutex_unlock(&loc_sync_data.slots[select_id].lock); in loc_unlock_slot()
317 pthread_mutex_lock(&loc_sync_data.slots[select_id].lock); in loc_lock_slot()
340 loc_sync_data.slots[select_id].in_use = in_use; in loc_set_slot_in_use()
342 loc_sync_data.slots[select_id].signal_sent = 0; in loc_set_slot_in_use()
375 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; in loc_api_save_callback()
451 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; in loc_api_wait_callback()
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_sync_call.c86 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_init()
131 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_destroy()
203 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_callback_process_sync_call()
254 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_lock_a_slot()
295 pthread_mutex_unlock(&loc_sync_data.slots[select_id].lock); in loc_unlock_slot()
317 pthread_mutex_lock(&loc_sync_data.slots[select_id].lock); in loc_lock_slot()
340 loc_sync_data.slots[select_id].in_use = in_use; in loc_set_slot_in_use()
342 loc_sync_data.slots[select_id].signal_sent = 0; in loc_set_slot_in_use()
375 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; in loc_api_save_callback()
451 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; in loc_api_wait_callback()
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_sync_call.c86 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_init()
131 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_destroy()
203 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_callback_process_sync_call()
254 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_lock_a_slot()
295 pthread_mutex_unlock(&loc_sync_data.slots[select_id].lock); in loc_unlock_slot()
317 pthread_mutex_lock(&loc_sync_data.slots[select_id].lock); in loc_lock_slot()
340 loc_sync_data.slots[select_id].in_use = in_use; in loc_set_slot_in_use()
342 loc_sync_data.slots[select_id].signal_sent = 0; in loc_set_slot_in_use()
375 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; in loc_api_save_callback()
451 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; in loc_api_wait_callback()
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_sync_call.c86 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_init()
131 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_destroy()
203 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_callback_process_sync_call()
254 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_lock_a_slot()
295 pthread_mutex_unlock(&loc_sync_data.slots[select_id].lock); in loc_unlock_slot()
317 pthread_mutex_lock(&loc_sync_data.slots[select_id].lock); in loc_lock_slot()
340 loc_sync_data.slots[select_id].in_use = in_use; in loc_set_slot_in_use()
342 loc_sync_data.slots[select_id].signal_sent = 0; in loc_set_slot_in_use()
375 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; in loc_api_save_callback()
451 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; in loc_api_wait_callback()
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_sync_call.c86 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_init()
131 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_sync_call_destroy()
203 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_api_callback_process_sync_call()
254 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[i]; in loc_lock_a_slot()
295 pthread_mutex_unlock(&loc_sync_data.slots[select_id].lock); in loc_unlock_slot()
317 pthread_mutex_lock(&loc_sync_data.slots[select_id].lock); in loc_lock_slot()
340 loc_sync_data.slots[select_id].in_use = in_use; in loc_set_slot_in_use()
342 loc_sync_data.slots[select_id].signal_sent = 0; in loc_set_slot_in_use()
375 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; in loc_api_save_callback()
451 loc_sync_call_slot_s_type *slot = &loc_sync_data.slots[select_id]; in loc_api_wait_callback()
/hardware/interfaces/weaver/vts/
DVtsHalWeaverTargetTest.cpp105 _aidl_return->slots = config.slots; in getConfig()
194 ASSERT_GT(config_.slots, 0); in SetUp()
195 GTEST_LOG_(INFO) << "WeaverConfig: slots=" << config_.slots << ", keySize=" << config_.keySize in SetUp()
219 ASSERT_LT(slot, config_.slots); in FindFreeSlots()
230 for (uint32_t i = 0; i < config_.slots; i++) { in FindFreeSlots()
238 for (uint32_t i = config_.slots; i > 0; i--) { in FindFreeSlots()
252 EXPECT_GE(config_.slots, 16u); in TEST_P()
335 if (config_.slots == std::numeric_limits<uint32_t>::max()) { in TEST_P()
340 const auto writeRet = weaver_->write(config_.slots, KEY, VALUE); in TEST_P()
348 if (config_.slots == std::numeric_limits<uint32_t>::max()) { in TEST_P()
[all …]
/hardware/interfaces/neuralnetworks/1.2/
DIBurstCallback.hal23 * identifiers ("slots").
30 * @param slots Values uniquely identifying memory regions within a Burst.
38 * buffers, otherwise slots.size() == buffers.size().
40 getMemories(vec<int32_t> slots) generates (ErrorStatus status, vec<memory> buffers);
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DBurst.cpp92 const hidl_vec<int32_t>& slots, const std::shared_ptr<Burst::MemoryCache>& memoryCache) { in getMemoriesHelper() argument
93 hidl_vec<hidl_memory> memories(slots.size()); in getMemoriesHelper()
94 for (size_t i = 0; i < slots.size(); ++i) { in getMemoriesHelper()
95 const int32_t slot = slots[i]; in getMemoriesHelper()
215 Return<void> Burst::ExecutionBurstCallback::getMemories(const hidl_vec<int32_t>& slots, in getMemories() argument
225 const auto maybeMemories = getMemoriesHelper(slots, memoryCache); in getMemories()
337 std::vector<int32_t> slots; in execute() local
339 slots.reserve(requestInShared.pools.size()); in execute()
343 slots.push_back(slot); in execute()
348 const auto requestPacket = serialize(hidlRequest, hidlMeasure, slots); in execute()
[all …]
DBurstUtils.cpp69 const std::vector<int32_t>& slots) { in serialize() argument
71 size_t count = 2 + request.inputs.size() + request.outputs.size() + slots.size(); in serialize()
90 .numberOfPools = static_cast<uint32_t>(slots.size())}); in serialize()
125 for (int32_t slot : slots) { in serialize()
294 std::vector<int32_t> slots; in deserialize() local
295 slots.reserve(numberOfPools); in deserialize()
308 slots.push_back(poolId); in deserialize()
327 return std::make_tuple(std::move(request), std::move(slots), measure); in deserialize()
432 const std::vector<int32_t>& slots) { in send() argument
433 const std::vector<FmqRequestDatum> serialized = serialize(request, measure, slots); in send()
/hardware/nxp/weaver/1.0/
DWeaver.cpp58 configResp.slots = slotInfo.slots; in getConfig()
61 ALOGI("Weaver Success for getSlots Slots :(%d)", configResp.slots); in getConfig()
/hardware/interfaces/radio/aidl/compat/service/
Dservice.cpp91 const auto slots = hidl_utils::listManifestByInterface(V1_0::IRadio::descriptor); in main() local
92 LOG(INFO) << "Found " << slots.size() << " slot(s)"; in main()
93 for (const auto& slot : slots) { in main()
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
DBurst.cpp70 Burst::MemoryCache::getCacheEntries(const std::vector<int32_t>& slots) { in getCacheEntries() argument
72 NN_TRY(ensureCacheEntriesArePresentLocked(slots)); in getCacheEntries()
75 results.reserve(slots.size()); in getCacheEntries()
76 for (int32_t slot : slots) { in getCacheEntries()
84 const std::vector<int32_t>& slots) { in ensureCacheEntriesArePresentLocked() argument
89 std::vector<int32_t> unknownSlots = slots; in ensureCacheEntriesArePresentLocked()
/hardware/nxp/weaver/aidl_impl/
DWeaver.cpp58 out_config->slots = slotInfo.slots; in getConfig()
61 ALOGD("Weaver Success for getSlots Slots :(%d)", out_config->slots); in getConfig()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
DVK_EXT_private_data.adoc11 defined data in private data slots.
15 An application can: reserve private data slots at device creation.
16 To reserve private data slots, insert a slink:VkDevicePrivateDataCreateInfo
19 together, and the sum of the requested slots will be reserved.
22 Reserving slots in this manner is not strictly necessary but it may: improve
27 Private data slots are represented by sname:VkPrivateDataSlot handles:
66 The number of private data slots currently allocated from pname:device
68 slots requested via
/hardware/interfaces/weaver/aidl/aidl_api/android.hardware.weaver/1/android/hardware/weaver/
DWeaverConfig.aidl37 int slots;
/hardware/interfaces/weaver/aidl/android/hardware/weaver/
DWeaverConfig.aidl24 int slots;
/hardware/interfaces/weaver/aidl/aidl_api/android.hardware.weaver/2/android/hardware/weaver/
DWeaverConfig.aidl37 int slots;
/hardware/interfaces/weaver/aidl/aidl_api/android.hardware.weaver/current/android/hardware/weaver/
DWeaverConfig.aidl37 int slots;
/hardware/interfaces/weaver/1.0/
Dtypes.hal24 /** The number of slots available. */
25 uint32_t slots;
/hardware/nxp/weaver/libese_weaver/src/
Dweaver-parser-impl.cpp237 slotInfo.slots = 0; in ParseSlotInfo()
241 uint32_t slots = response.at(SLOT_ID_INDEX) << BYTE3_MSB_POS; in ParseSlotInfo() local
242 slots |= response.at(SLOT_ID_INDEX + 1); in ParseSlotInfo()
243 slotInfo.slots = slots; in ParseSlotInfo()
/hardware/interfaces/radio/config/1.2/
DIRadioConfigResponse.hal30 * @param slotStatus Sim slot struct containing all the physical SIM slots info with size
31 * equal to the number of physical slots on the device

123