Home
last modified time | relevance | path

Searched refs:states (Results 1 - 25 of 156) sorted by relevance

1234567

/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/uploader/
H A Dmultipart.rs138 let mut states = Vec::new(); variables
140 states.push(MultiPartState::bytes(
143 states.push(MultiPartState::bytes(
148 states.push(MultiPartState::bytes(
154 states.push(MultiPartState::bytes(
159 states.push(MultiPartState::bytes(b"\r\n".to_vec()));
162 states.push(MultiPartState::bytes(
167 states.push(MultiPartState::bytes(b"\r\n".to_vec()));
170 states.push(body);
173 states
[all...]
/foundation/ability/ability_runtime/test/fuzztest/dumpstate_fuzzer/
H A Ddumpstate_fuzzer.cpp35 std::vector<std::string> states; in DoSomethingInterestingWithMyAPI() local
42 states.emplace_back(state); in DoSomethingInterestingWithMyAPI()
43 if (abilitymgr->DumpState(args, states) != 0) { in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/test/fuzztest/dumpsysstate_fuzzer/
H A Ddumpsysstate_fuzzer.cpp35 std::vector<std::string> states; in DoSomethingInterestingWithMyAPI() local
45 states.emplace_back(state); in DoSomethingInterestingWithMyAPI()
46 if (abilitymgr->DumpSysState(args, states, isClient, isUserId, userId) != 0) { in DoSomethingInterestingWithMyAPI()
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Dshader_state_loader.cpp66 graphicsStates_ = move(ssr.states.states); in Load()
67 graphicsStateVariantData_ = move(ssr.states.variantData); in Load()
H A Dshader_data_loader.cpp44 if (ssr.res.success && (ssr.states.states.size() == 1u)) { in LoadState()
45 graphicsState = move(ssr.states.states[0u]); in LoadState()
H A Dshader_state_loader_util.cpp319 ssr.states.states.push_back(move(graphicsState)); in ParseSingleState()
328 ssr.states.states.reserve(allStates.size()); in LoadStates()
347 ssr.states.variantData.push_back(move(variant)); in LoadStates()
356 ssr.res.error += "error loading shader states\n"; in LoadStates()
357 PLUGIN_LOG_E("error loading shader states: %s", ssr.res.error.c_str()); in LoadStates()
358 ssr.states.states.clear(); in LoadStates()
H A Dshader_state_loader_util.h31 ShaderStateLoader::GraphicsStates states; member
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_pan.cpp62 int32_t GetDevicesByStates(std::vector<int> states, std::vector<BluetoothRemoteDevice>& result) in GetDevicesByStates()
70 for (int32_t state : states) { in GetDevicesByStates()
192 int32_t Pan::GetDevicesByStates(std::vector<int> states, std::vector<BluetoothRemoteDevice> &result) in GetDevicesByStates() argument
201 return pimpl->GetDevicesByStates(states, result); in GetDevicesByStates()
H A Dbluetooth_gatt_manager.cpp69 const std::array<int, GATT_CONNECTION_STATE_NUM> &states) in GetDevicesByStates()
81 for (auto &state : states) { in GetDevicesByStates()
68 GetDevicesByStates( const std::array<int, GATT_CONNECTION_STATE_NUM> &states) GetDevicesByStates() argument
/foundation/communication/bluetooth_service/test/unittest/gatt/
H A Dgatt_manager_test.cpp123 std::array<int, GattManager::GATT_CONNECTION_STATE_NUM> states = {1, 2, 3}; in HWTEST_F() local
127 EXPECT_EQ((int)test.GetDevicesByStates(states).size(), 0); in HWTEST_F()
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/
H A Dbluetooth_pan_stub.cpp109 std::vector<int32_t> states = {}; in GetDevicesByStatesInner() local
116 states.push_back(state); in GetDevicesByStatesInner()
119 int32_t errCode = GetDevicesByStates(states, rawAdds); in GetDevicesByStatesInner()
H A Dbluetooth_a2dp_sink_stub.cpp126 std::vector<int32_t> states = {}; in GetDevicesByStatesInner() local
134 states.push_back(state); in GetDevicesByStatesInner()
137 std::vector<RawAddress> rawAdds = GetDevicesByStates(states); in GetDevicesByStatesInner()
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_gatt_manager.h57 * @param states State of devices.
62 std::vector<BluetoothRemoteDevice> GetDevicesByStates(const std::array<int, GATT_CONNECTION_STATE_NUM> &states);
H A Dbluetooth_a2dp_snk.h76 * @brief Get devices by connection states.
78 * @param states The connection states of the bluetooth device.
79 * @return Returns devices that match the connection states.
82 std::vector<BluetoothRemoteDevice> GetDevicesByStates(std::vector<int> states) const;
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dnetlink_socket_diag.cpp209 int32_t NetLinkSocketDiag::SendSockDiagDumpRequest(uint8_t proto, uint8_t family, uint32_t states) in SendSockDiagDumpRequest() argument
220 request.req_ = {.sdiag_family = family, .sdiag_protocol = proto, .idiag_states = states}; in SendSockDiagDumpRequest()
274 const uint32_t states = (1 << TCP_ESTABLISHED) | (1 << TCP_SYN_SENT) | (1 << TCP_SYN_RECV); in DestroyLiveSockets() local
277 int32_t ret = SendSockDiagDumpRequest(proto, family, states); in DestroyLiveSockets()
362 const uint32_t states = (1 << TCP_ESTABLISHED) | (1 << TCP_SYN_SENT) | (1 << TCP_SYN_RECV); in DestroyLiveSocketsWithUid() local
364 int32_t ret = SendSockDiagDumpRequest(proto, family, states); in DestroyLiveSocketsWithUid()
/foundation/communication/bluetooth_service/test/unittest/a2dp/
H A Da2dp_snk_test.cpp193 * @tc.desc: Get devices by connection states
201 vector<int> states = {static_cast<int>(BTConnectState::CONNECTED)}; in HWTEST_F() local
202 vector<BluetoothRemoteDevice> devices = profile_->GetDevicesByStates(states); in HWTEST_F()
/foundation/communication/bluetooth_service/test/unittest/hid/
H A Dhid_host_test.cpp103 std::vector<int> states; in HWTEST_F() local
106 profile_->GetDevicesByStates(states, devices); in HWTEST_F()
/foundation/communication/bluetooth/frameworks/js/napi/src/
H A Dnapi_bluetooth_a2dp_snk.cpp85 vector<int> states; in GetConnectionDevices() local
86 states.push_back(1); in GetConnectionDevices()
87 vector<BluetoothRemoteDevice> devices = profile->GetDevicesByStates(states); in GetConnectionDevices()
H A Dnapi_bluetooth_avrcp_ct.cpp87 vector<int> states; in GetConnectionDevices() local
88 states.push_back(1); in GetConnectionDevices()
89 vector<BluetoothRemoteDevice> devices = profile->GetDevicesByStates(states); in GetConnectionDevices()
H A Dnapi_bluetooth_avrcp_tg.cpp87 vector<int> states; in GetConnectionDevices() local
88 states.push_back(1); in GetConnectionDevices()
89 vector<BluetoothRemoteDevice> devices = profile->GetDevicesByStates(states); in GetConnectionDevices()
/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_pan_server.h43 const std::vector<int32_t> &states,
/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_profile_pan.h73 * @brief Get remote AG device list which are in the specified states.
75 * @param states List of remote device states.
78 virtual std::vector<RawAddress> GetDevicesByStates(std::vector<int> states) = 0;
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_a2dp_sink.h39 virtual std::vector<RawAddress> GetDevicesByStates(const std::vector<int32_t> &states) = 0;
H A Di_bluetooth_opp.h42 virtual int32_t GetDevicesByStates(const std::vector<int32_t> &states,
H A Di_bluetooth_map_mse.h29 virtual int32_t GetDevicesByStates(const std::vector<int32_t> &states,

Completed in 13 milliseconds

1234567