Home
last modified time | relevance | path

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

123

/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DValidateRequest.cpp94 const std::vector<int64_t> slots(request.pools.size(), -1); in validate() local
98 request, slots, measure, kNoDeadline, kOmittedTimeoutDuration, &executionResult); in validate()
151 const auto test = [&burst, &request](const std::vector<int64_t>& slots) { in validateBurst() argument
154 burst->executeSynchronously(request, slots, /*measure=*/false, kNoDeadline, in validateBurst()
163 std::vector<int64_t> slots; in validateBurst() local
164 slots.reserve(request.pools.size()); in validateBurst()
167 slots.push_back(currentSlot++); in validateBurst()
169 slots.push_back(-1); in validateBurst()
177 const int64_t oldSlotValue = slots[i]; in validateBurst()
179 slots[i] = invalidSlot; 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
DIRadioConfigResponse.hal28 * @param slotStatus Sim slot struct containing all the physical SIM slots info with size
29 * equals to the number of physical slots on the device
/hardware/qcom/sdm845/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/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/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/sdm845/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/sdm845/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/qcom/sdm845/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/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/qcom/sdm845/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/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/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/weaver/aidl/vts/
DVtsHalWeaverTargetTest.cpp58 EXPECT_GE(config.slots, 16u); in TEST_P()
88 const uint32_t lastSlot = config.slots - 1; in TEST_P()
171 if (config.slots == std::numeric_limits<uint32_t>::max()) { in TEST_P()
176 const auto writeRet = weaver->write(config.slots, KEY, VALUE); in TEST_P()
188 if (config.slots == std::numeric_limits<uint32_t>::max()) { in TEST_P()
197 weaver->read(config.slots, KEY, &response); in TEST_P()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DExecutionBurstServer.cpp74 ExecutionBurstServer::MemoryCache::getCacheEntries(const std::vector<int32_t>& slots) { in getCacheEntries() argument
76 NN_TRY(ensureCacheEntriesArePresentLocked(slots)); in getCacheEntries()
79 results.reserve(slots.size()); in getCacheEntries()
80 for (int32_t slot : slots) { in getCacheEntries()
88 const std::vector<int32_t>& slots) { in ensureCacheEntriesArePresentLocked() argument
93 std::vector<int32_t> unknownSlots = slots; in ensureCacheEntriesArePresentLocked()
DExecutionBurstUtils.cpp71 const std::vector<int32_t>& slots) { in serialize() argument
73 size_t count = 2 + request.inputs.size() + request.outputs.size() + slots.size(); in serialize()
92 .numberOfPools = static_cast<uint32_t>(slots.size())}); in serialize()
127 for (int32_t slot : slots) { in serialize()
291 std::vector<int32_t> slots; in deserialize() local
292 slots.reserve(numberOfPools); in deserialize()
304 slots.push_back(poolId); in deserialize()
323 return std::make_tuple(std::move(request), std::move(slots), measure); in deserialize()
424 const std::vector<int32_t>& slots) { in send() argument
425 const std::vector<FmqRequestDatum> serialized = serialize(request, measure, slots); in send()
/hardware/interfaces/weaver/aidl/aidl_api/android.hardware.weaver/current/android/hardware/weaver/
DWeaverConfig.aidl37 int slots;
/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/1.0/vts/functional/
DVtsHalWeaverV1_0TargetTest.cpp65 EXPECT_GE(config.slots, 16u); in TEST_P()
114 const uint32_t lastSlot = config.slots - 1; in TEST_P()
217 if (config.slots == std::numeric_limits<uint32_t>::max()) { in TEST_P()
222 const auto writeRet = weaver->write(config.slots, KEY, VALUE); in TEST_P()
240 if (config.slots == std::numeric_limits<uint32_t>::max()) { in TEST_P()
250 weaver->read(config.slots, KEY, [&](WeaverReadStatus s, WeaverReadResponse r) { in TEST_P()
/hardware/interfaces/weaver/1.0/
Dtypes.hal24 /** The number of slots available. */
25 uint32_t slots;
/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
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DExecutionBurstServer.h76 getCacheEntries(const std::vector<int32_t>& slots);
87 const std::vector<int32_t>& slots) REQUIRES(mMutex);

123