Home
last modified time | relevance | path

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

12345678

/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):
77 session: int = 0,
95 def start_fira_ranging(self, session: int = 0):
107 session: int = 0):
121 session: int = 0,
137 session: int = 0,
150 def is_uwb_peer_found(self, addr: List[int], session: int = 0) -> bool:
164 addr: List[int],
[all …]
/packages/modules/Bluetooth/tools/rootcanal/test/LL/CON_/PER/
DBV_40_C.py166 …sync def steps_1_9(self, peer_address: Address, connection_handle: int, phy_c_to_p: int, phy_p_to_…
167req_all_phys: int, req_tx_phys: int, req_rx_phys: int, phy_ltpref_c_to_p: int,
168 phy_ltpref_p_to_c: int):
171 def phy_from_mask(mask: int):
DBV_42_C.py175 …ync def steps_4_11(self, peer_address: Address, connection_handle: int, phy_c_to_p: int, phy_p_to_…
176 req_tx_phys: int, req_rx_phys: int, phy_ltpref_c_to_p: List[int],
177 phy_ltpref_p_to_c: List[int]):
180 def phy_from_mask(mask: int):
/packages/modules/Bluetooth/tools/rootcanal/test/LL/CON_/CEN/
DBV_41_C.py145 …sync def steps_1_9(self, peer_address: Address, connection_handle: int, phy_c_to_p: int, phy_p_to_…
146req_all_phys: int, req_tx_phys: int, req_rx_phys: int, rsp_tx_phys: int, rsp_rx_phys: int):
149 def phy_from_mask(mask: int):
DBV_43_C.py197 …sync def steps_3_9(self, peer_address: Address, connection_handle: int, phy_c_to_p: int, phy_p_to_…
198 req_tx_phys: int, req_rx_phys: int):
201 def phy_from_mask(mask: int):
/packages/modules/Bluetooth/system/gd/os/host/
Dmetrics.cc38 int /* port */, in LogMetricSocketConnectionState() argument
52 int /* num_missing_pcm_bytes */) {} in LogMetricA2dpAudioUnderrunEvent() argument
57 int /* num_dropped_buffers */, in LogMetricA2dpAudioOverrunEvent() argument
63 int /* num_decoded_frames */, in LogMetricHfpPacketLossStats() argument
68 int /* maximum_rtt */, double /* mean_rtt */, int /* num_requests */, int /* codec_type */) {} in LogMetricMmcTranscodeRttStats() argument
130 const Address& /* address */, int /* playback_state */, int /* audio_coding_mode */) {} in LogMetricA2dpPlaybackEvent() argument
135 int /* media_timer_min_ms */, in LogMetricA2dpSessionMetricsEvent() argument
174 std::vector<std::pair<os::ArgumentType, int>>& /* argument_list */) {} in LogMetricBluetoothLEConnectionMetricEvent() argument
/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.py28 def make_advertising_event_properties(properties: int) -> hci.AdvertisingEventProperties:
90 …async def steps_2_13(self, maximum_advertising_data_length: int, advertising_event_properties: int,
91 data_length: int, fragment_preference: FragmentPreference, duration: int,
92 max_extended_advertising_events: int):
/packages/modules/Bluetooth/system/test/mock/
Dmock_bluetooth_interface.cc26 int /* num_properties */, in invoke_adapter_properties_cb() argument
30 int /* num_properties */, in invoke_remote_device_properties_cb() argument
32 void invoke_device_found_cb(int /* num_properties */, in invoke_device_found_cb() argument
47 int /* fail_reason */) {} in invoke_bond_state_changed_cb() argument
55 int /* transport_link_type */, in invoke_acl_state_changed_cb() argument
65 void invoke_link_quality_report_cb(uint64_t /* timestamp */, in invoke_link_quality_report_cb() argument
Dmock_bta_leaudio.cc46 int /* sink_audio_location */, int /* source_audio_location */, in AddFromStorage() argument
101 void LeAudioClient::DebugDump(int /* fd */) { inc_func_call_count(__func__); } in DebugDump() argument
/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.cpp224 unordered_map<int, vector<int>>& trackerToMetricMap, int& logTrackerIndex) { in handleMetricWithAtomMatchingTrackers()
250 unordered_map<int, vector<int>>& conditionToMetricMap) { in handleMetricWithConditions()
290 const unordered_map<int64_t, unordered_map<int, int64_t>>& allStateGroupMaps, in handleMetricWithStates()
369 unordered_map<int, vector<int>>& activationAtomTrackerToMetricMap, in handleMetricActivation()
430 const unordered_map<int, shared_ptr<Activation>>& oldEventActivationMap, in handleMetricActivationOnConfigUpdate()
506 const unordered_map<int64_t, unordered_map<int, int64_t>>& allStateGroupMaps, in createCountMetricProducerAndUpdateMetadata()
628 const unordered_map<int64_t, unordered_map<int, int64_t>>& allStateGroupMaps, in createDurationMetricProducerAndUpdateMetadata()
814 unordered_map<int, vector<int>>& trackerToMetricMap, in createEventMetricProducerAndUpdateMetadata()
893 const unordered_map<int64_t, unordered_map<int, int64_t>>& allStateGroupMaps, in createNumericValueMetricProducerAndUpdateMetadata()
1077 const unordered_map<int64_t, unordered_map<int, int64_t>>& allStateGroupMaps, in createKllMetricProducerAndUpdateMetadata()
[all …]
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/FiraRangingTests/
Dranging_test.py105 peer_addr: List[int],
106 session: int = 0):
128 peer_addr: List[int],
129 sub_session_id: Optional[int] = None,
130 sub_session_key: Optional[List[int]] = None):
181 peer_addr: List[int],
182 sub_session_id: Optional[int] = None,
183 sub_session_key: Optional[List[int]] = None):
245 peer_addr: List[int]):
275 peer_addr: List[int]):
[all …]
/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.cc55 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
66 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
79 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
95 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
117 MetricIdAllocator::Callback callback = [](const RawAddress&, const int) { in TEST()
138 const int) { in TEST()
143 const int) { in TEST()
191 const int) { in TEST()
196 const int) { in TEST()
328 const int) { in TEST()
[all …]
/packages/services/Car/cpp/watchdog/server/src/
DPressureMonitor.h115 const std::function<int(enum psi_stall_type, int, int, enum psi_resource)>& in PressureMonitor() argument
117 const std::function<int(int, int, void*)>& registerPsiMonitorFunc, in PressureMonitor()
/packages/modules/Bluetooth/tools/rootcanal/py/
Dcontroller.py52 def __init__(self, le_features: int):
109 def receive_hci_(self, idc: int, packet: bytes):
125 def receive_ll_(self, packet: bytes, phy: int, tx_power: int):
140 def send_ll(self, pdu: ll.LinkLayerPacket, phy: Phy = Phy.LowEnergy, rssi: int = -90):
151 rssi: int = -90):
267 …async def expect_evt(self, expected_evt: typing.Union[hci.Event, type], timeout: int = 3) -> hci.E…
288 async def expect_cmd_complete(self, expected_evt: type, timeout: int = 3) -> hci.Event:
294 async def expect_iso(self, expected_iso: hci.Iso, timeout: int = 3):
309 timeout: int = 3) -> ll.LinkLayerPacket:
347 timeout: int = 3) -> llcp.LlcpPacket:
/packages/modules/Bluetooth/android/pandora/test/
Dhfpclient_test.py216 def on_brsf(self, hf_features: int) -> None:
221 def on_bind_list(self, indicators: list[int]) -> None:
233 hfp_version: int, rfcomm_channel: int, ag_sdp_features: int
289 def __init__(self, protocol: HfpProtocol, ag_features: int = HFP_AG_FEATURE_DEFAULT) -> None:
331 def on_brsf(self, hf_features: int) -> None:
351 def on_bind_list(self, indicators: list[int]) -> None:
/packages/modules/Uwb/generic_ranging/tests/multidevices/test_utils/
Duwb_test_utils.py33 timeout: int = WAIT_TIME_SEC,
105 peer_addr: List[int], session: int = 0):
150 def set_screen_rotation(ad: android_device.AndroidDevice, val: int):
/packages/modules/StatsD/statsd/src/metrics/
DEventMetricProducer.cpp67 const unordered_map<int, shared_ptr<Activation>>& eventActivationMap, in EventMetricProducer()
103 unordered_map<int, vector<int>>& trackerToMetricMap, in onConfigUpdatedLocked()
226 const map<int, HashableDimensionKey>& statePrimaryKeys) { in onMatchedLogEventInternalLocked()
DRestrictedEventMetricProducer.cpp39 const unordered_map<int, shared_ptr<Activation>>& eventActivationMap, in RestrictedEventMetricProducer()
52 const std::map<int, HashableDimensionKey>& statePrimaryKeys) { in onMatchedLogEventInternalLocked()
/packages/modules/Bluetooth/tools/rootcanal/test/LL/DDI/SCN/
DBV_19_C.py70 …async def steps_1_6(self, duration: int, advertising_event_properties: int, target_address: Option…
71 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/gd/os/android/
Dmetrics.cc201 int /* media_timer_min_ms */, in LogMetricA2dpSessionMetricsEvent() argument
214 int /* num_decoded_frames */, in LogMetricHfpPacketLossStats() argument
219 int /*maximum_rtt*/, in LogMetricMmcTranscodeRttStats() argument
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sco_hfp_hal.cc92 void set_codec_datapath(int /* codec_uuid */) {} in set_codec_datapath() argument
95 size_t get_packet_size(int /* codec */) { return kDefaultPacketSize; } in get_packet_size() argument
98 bool /* is_connected */, int /* codec */) { in notify_sco_connection_change() argument

12345678