Home
last modified time | relevance | path

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

12

/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/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/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/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/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/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/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/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/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/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/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/vts/functional/
DValidateBurst.cpp258 const std::vector<int32_t> slots = callback->getSlots(request.pools, keys); in validateBurstSerialization() local
262 ASSERT_TRUE(std::all_of(slots.begin(), slots.end(), [](int32_t slot) { in validateBurstSerialization()
267 const auto serialized = android::nn::serialize(request, MeasureTiming::YES, slots); in validateBurstSerialization()
384 const std::vector<int32_t> slots = callback->getSlots(request.pools, keys); in validateBurstSanitized() local
387 ASSERT_TRUE(sender->send(request, MeasureTiming::YES, slots)); in validateBurstSanitized()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DValidateBurst.cpp264 const std::vector<int32_t> slots = callback->getSlots(request.pools, keys); in validateBurstSerialization() local
268 ASSERT_TRUE(std::all_of(slots.begin(), slots.end(), [](int32_t slot) { in validateBurstSerialization()
273 const auto serialized = android::nn::serialize(request, MeasureTiming::YES, slots); in validateBurstSerialization()
390 const std::vector<int32_t> slots = callback->getSlots(request.pools, keys); in validateBurstSanitized() local
393 ASSERT_TRUE(sender->send(request, MeasureTiming::YES, slots)); in validateBurstSanitized()
/hardware/interfaces/boot/1.0/
DIBootControl.hal21 * partitions, called slots, that can be booted from independently. Slots
32 * getNumberSlots() returns the number of available slots.
35 * less than two slots doesn't support background updates, for example if
78 * that slots can be made unbootable by both the bootloader and by the OS
/hardware/qcom/sdm845/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Dloc_api_sync_call.h60 loc_sync_call_slot_s_type slots[LOC_SYNC_CALL_SLOTS_MAX]; member
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Dloc_api_sync_call.h60 loc_sync_call_slot_s_type slots[LOC_SYNC_CALL_SLOTS_MAX]; member
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Dloc_api_sync_call.h60 loc_sync_call_slot_s_type slots[LOC_SYNC_CALL_SLOTS_MAX]; member
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Dloc_api_sync_call.h60 loc_sync_call_slot_s_type slots[LOC_SYNC_CALL_SLOTS_MAX]; member
/hardware/qcom/sdm845/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Dloc_api_sync_call.h60 loc_sync_call_slot_s_type slots[LOC_SYNC_CALL_SLOTS_MAX]; member

12