Home
last modified time | relevance | path

Searched defs:int (Results 1 – 25 of 129) sorted by relevance

123456

/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/lib/
Duwb_ranging_decorator.py36 def clear_ranging_session_callback_events(self, ranging_session_id: int = 0):
47 session: int = 0,
48 timeout: int = CALLBACK_WAIT_TIME_SEC):
79 session: int = 0,
97 def start_fira_ranging(self, session: int = 0):
109 session: int = 0):
123 session: int = 0,
139 session: int = 0,
152 def is_uwb_peer_found(self, addr: List[int], session: int = 0) -> bool:
166 addr: List[int],
[all …]
/packages/modules/Bluetooth/tools/rootcanal/test/LL/CON_/CEN/
DBV_41_C.py131 …sync def steps_1_9(self, peer_address: Address, connection_handle: int, phy_c_to_p: int, phy_p_to_…
132req_all_phys: int, req_tx_phys: int, req_rx_phys: int, rsp_tx_phys: int, rsp_rx_phys: int):
135 def phy_from_mask(mask: int):
DBV_43_C.py183 …sync def steps_3_9(self, peer_address: Address, connection_handle: int, phy_c_to_p: int, phy_p_to_…
184 req_tx_phys: int, req_rx_phys: int):
187 def phy_from_mask(mask: int):
/packages/modules/Bluetooth/tools/rootcanal/test/LL/CON_/PER/
DBV_40_C.py152 …sync def steps_1_9(self, peer_address: Address, connection_handle: int, phy_c_to_p: int, phy_p_to_…
153req_all_phys: int, req_tx_phys: int, req_rx_phys: int, phy_ltpref_c_to_p: int,
154 phy_ltpref_p_to_c: int):
157 def phy_from_mask(mask: int):
DBV_42_C.py161 …ync def steps_4_11(self, peer_address: Address, connection_handle: int, phy_c_to_p: int, phy_p_to_…
162 req_tx_phys: int, req_rx_phys: int, phy_ltpref_c_to_p: List[int],
163 phy_ltpref_p_to_c: List[int]):
166 def phy_from_mask(mask: int):
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/include_legacy/
DTestHarness.h96 inline void for_each(const std::map<int, std::vector<T>>& idx_and_data, in for_each()
97 std::function<void(int, const std::vector<T>&)> execute) { in for_each()
105 inline void for_each(std::map<int, std::vector<T>>& idx_and_data, in for_each()
106 std::function<void(int, std::vector<T>&)> execute) { in for_each()
114 inline void for_each(const std::map<int, std::vector<T>>& golden, in for_each()
116 std::function<void(int, const std::vector<T>&, std::vector<T>&)> execute) { in for_each()
126 const std::map<int, std::vector<T>>& golden, const std::map<int, std::vector<T>>& test, in for_each()
127 std::function<void(int, const std::vector<T>&, const std::vector<T>&)> execute) { in for_each()
137 inline void for_all_internal(std::map<int, std::vector<T>>& idx_and_data, in for_all_internal()
138 std::function<void(int, void*, size_t)> execute_this) { in for_all_internal()
[all …]
/packages/modules/Bluetooth/tools/rootcanal/test/LL/DDI/ADV/
DBV_47_C.py14 def make_advertising_event_properties(properties: int) -> hci.AdvertisingEventProperties:
76 …async def steps_2_13(self, maximum_advertising_data_length: int, advertising_event_properties: int,
77 data_length: int, fragment_preference: FragmentPreference, duration: int,
78 max_extended_advertising_events: int):
/packages/modules/Connectivity/nearby/tests/multidevices/host/test_helper/
Dfast_pair_provider_simulator.py61 def setup_provider_simulator(self, timeout_seconds: int) -> None:
69 def _on_a2dp_sink_profile_connect_event_received(_, elapsed_time: int) -> bool:
74 def _on_a2dp_sink_profile_connect_event_waiting(elapsed_time: int) -> None:
125 def wait_for_discoverable_mode(self, timeout_seconds: int) -> None:
133 scan_mode_change_event: SnippetEvent, elapsed_time: int) -> bool:
140 def _on_scan_mode_change_event_waiting(elapsed_time: int) -> None:
157 def wait_for_advertising_start(self, timeout_seconds: int) -> None:
165 scan_mode_change_event: SnippetEvent, elapsed_time: int) -> bool:
172 def _on_advertising_mode_change_event_waiting(elapsed_time: int) -> None:
Dfast_pair_seeker.py67 def wait_and_assert_provider_found(self, timeout_seconds: int,
81 elapsed_time: int) -> bool:
87 def _on_provider_found_event_waiting(elapsed_time: int) -> None:
128 def wait_and_assert_halfsheet_showed(self, timeout_seconds: int,
150 self, timeout_seconds: int,
161 elapsed_time: int) -> bool:
171 def _on_manage_account_device_event_waiting(elapsed_time: int) -> None:
/packages/modules/Bluetooth/system/blueberry/utils/ui_pages/
Dui_core.py327 wait_sec: int = _EXPECT_PAGE_WAIT_TIME_IN_SECOND,
355 wait_sec: int = _EXPECT_PAGE_WAIT_TIME_IN_SECOND,
361 wait_sec: int = 1,
369 wait_sec: int = 1,
396 wait_sec: int = 1,
707 start_x: int,
708 start_y: int,
709 end_x: int,
710 end_y: int,
711 duration_ms: int,
[all …]
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.cpp153 unordered_map<int, vector<int>>& trackerToMetricMap, int& logTrackerIndex) { in handleMetricWithAtomMatchingTrackers()
179 unordered_map<int, vector<int>>& conditionToMetricMap) { in handleMetricWithConditions()
219 const unordered_map<int64_t, unordered_map<int, int64_t>>& allStateGroupMaps, in handleMetricWithStates()
298 unordered_map<int, vector<int>>& activationAtomTrackerToMetricMap, in handleMetricActivation()
359 const unordered_map<int, shared_ptr<Activation>>& oldEventActivationMap, in handleMetricActivationOnConfigUpdate()
435 const unordered_map<int64_t, unordered_map<int, int64_t>>& allStateGroupMaps, in createCountMetricProducerAndUpdateMetadata()
556 const unordered_map<int64_t, unordered_map<int, int64_t>>& allStateGroupMaps, in createDurationMetricProducerAndUpdateMetadata()
741 unordered_map<int, vector<int>>& trackerToMetricMap, in createEventMetricProducerAndUpdateMetadata()
813 const unordered_map<int64_t, unordered_map<int, int64_t>>& allStateGroupMaps, in createNumericValueMetricProducerAndUpdateMetadata()
972 const unordered_map<int64_t, unordered_map<int, int64_t>>& allStateGroupMaps, in createKllMetricProducerAndUpdateMetadata()
[all …]
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/RangingMeasurementTests/
Dranging_measurement_test.py73 initiator_addr: List[int], peer_addr: List[int]) -> int:
131 initiator_addr: List[int], peer_addr: List[int]):
154 responder_addr: List[int]):
198 initiator_addr: List[int], responder_addr: List[int]):
/packages/modules/Bluetooth/system/gd/common/
Dmetric_id_manager_unittest.cc54 const bluetooth::hci::Address&, const int) { in TEST()
66 const bluetooth::hci::Address&, const int) { in TEST()
80 const bluetooth::hci::Address&, const int) { in TEST()
97 const bluetooth::hci::Address&, const int) { in TEST()
120 const bluetooth::hci::Address&, const int) { in TEST()
148 const int) { in TEST()
154 const int) { in TEST()
208 const int) { in TEST()
214 const int) { in TEST()
351 const bluetooth::hci::Address&,const int) { in TEST()
[all …]
/packages/modules/Bluetooth/system/common/
Dmetric_id_allocator_unittest.cc56 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
67 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
80 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
96 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
118 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
139 const int) { in TEST()
144 const int) { in TEST()
192 const int) { in TEST()
197 const int) { in TEST()
329 const int) { in TEST()
[all …]
/packages/modules/Bluetooth/android/pandora/test/
Dclassic_ssp_test.py87 ref_role: Optional[int],
115 ref_role: Optional[int],
146 ref_role: Optional[int],
174 ref_role: Optional[int],
248 role: int,
271 passkey: Callable[[int], int] = lambda x: x,
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/FiraRangingTests/
Dranging_test.py104 peer_addr: List[int],
105 session: int = 0):
127 peer_addr: List[int],
128 sub_session_id: Optional[int] = None,
129 sub_session_key: Optional[List[int]] = None):
180 peer_addr: List[int],
181 sub_session_id: Optional[int] = None,
182 sub_session_key: Optional[List[int]] = None):
244 peer_addr: List[int]):
274 peer_addr: List[int]):
[all …]
/packages/modules/StatsD/statsd/src/metrics/
DEventMetricProducer.cpp63 const unordered_map<int, shared_ptr<Activation>>& eventActivationMap, in EventMetricProducer()
98 unordered_map<int, vector<int>>& trackerToMetricMap, in onConfigUpdatedLocked()
209 const map<int, HashableDimensionKey>& statePrimaryKeys) { in onMatchedLogEventInternalLocked()
DRestrictedEventMetricProducer.cpp38 const unordered_map<int, shared_ptr<Activation>>& eventActivationMap, in RestrictedEventMetricProducer()
51 const std::map<int, HashableDimensionKey>& statePrimaryKeys) { in onMatchedLogEventInternalLocked()
DMetricProducer.cpp51 const std::unordered_map<int, std::shared_ptr<Activation>>& eventActivationMap, in MetricProducer()
55 const unordered_map<int, unordered_map<int, int64_t>>& stateGroupMap, in MetricProducer()
93 unordered_map<int, vector<int>>& trackerToMetricMap, in onConfigUpdatedLocked()
DCountMetricProducer.cpp75 const unordered_map<int, shared_ptr<Activation>>& eventActivationMap, in CountMetricProducer()
143 unordered_map<int, vector<int>>& trackerToMetricMap, in onConfigUpdatedLocked()
354 const map<int, HashableDimensionKey>& statePrimaryKeys) { in onMatchedLogEventInternalLocked()
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/test_utils/
Duwb_test_utils.py20 timeout: int = WAIT_TIME_SEC,
92 peer_addr: List[int], session: int = 0):
137 def set_screen_rotation(ad: android_device.AndroidDevice, val: int):
/packages/modules/Bluetooth/tools/rootcanal/py/
Dcontroller.py37 def __init__(self, le_features: int):
92 def receive_hci_(self, idc: int, packet: bytes):
104 def receive_ll_(self, packet: bytes, phy: int, tx_power: int):
114 def send_ll(self, pdu: ll.LinkLayerPacket, phy: Phy = Phy.LowEnergy, rssi: int = -90):
214 …async def expect_evt(self, expected_evt: typing.Union[hci.Event, type], timeout: int = 3) -> hci.E…
235 async def expect_cmd_complete(self, expected_evt: type, timeout: int = 3) -> hci.Event:
243 timeout: int = 3) -> ll.LinkLayerPacket:
/packages/modules/Bluetooth/tools/rootcanal/test/LL/DDI/SCN/
DBV_19_C.py56 …async def steps_1_6(self, duration: int, advertising_event_properties: int, target_address: Option…
57 advertising_data_length: int):
/packages/modules/NeuralNetworks/common/
DLogTagTest.cpp54 const char* /*file*/, unsigned int /*line*/, in TEST_F()
64 const char* /* tag */, const char* /* file */, unsigned int /*line*/, in TEST_F()
73 const char* /* file */, unsigned int /*line*/, in TEST_F()
83 const char* /*tag*/, const char* /*file*/, unsigned int /*line*/, in TEST_F()
84 const char* /*message*/) { errno = -1; }); in TEST_F()
/packages/modules/Bluetooth/system/blueberry/utils/
Dmobly_sl4a_utils.py35 def setup_sl4a(device: AndroidDevice, server_port: int, forwarded_port: int):

123456