Home
last modified time | relevance | path

Searched refs:transferInformation (Results 1 - 10 of 10) sorted by relevance

/foundation/communication/bluetooth_service/test/unittest/opp/
H A Dopp_test.cpp32 virtual void OnReceiveIncomingFileChanged(const BluetoothOppTransferInformation &transferInformation) {} in OnReceiveIncomingFileChanged() argument
33 virtual void OnTransferStateChanged(const BluetoothOppTransferInformation &transferInformation) {} in OnTransferStateChanged() argument
54 const BluetoothOppTransferInformation &transferInformation);
95 const BluetoothOppTransferInformation &transferInformation) in CompareTransferInformation()
97 if (&information == &transferInformation) { in CompareTransferInformation()
100 if ((information.GetFileName() != transferInformation.GetFileName()) || in CompareTransferInformation()
101 (information.GetFilePath() != transferInformation.GetFilePath()) || in CompareTransferInformation()
102 (information.GetMimeType() != transferInformation.GetMimeType()) || in CompareTransferInformation()
103 (information.GetDeviceName() != transferInformation.GetDeviceName()) || in CompareTransferInformation()
104 (information.GetDeviceAddress() != transferInformation in CompareTransferInformation()
94 CompareTransferInformation(const BluetoothOppTransferInformation &information, const BluetoothOppTransferInformation &transferInformation) CompareTransferInformation() argument
[all...]
/foundation/communication/bluetooth/frameworks/js/napi/src/opp/
H A Dnapi_bluetooth_opp_observer.cpp30 void NapiBluetoothOppObserver::OnReceiveIncomingFileChanged(const BluetoothOppTransferInformation &transferInformation) in OnReceiveIncomingFileChanged() argument
33 auto nativeObject = std::make_shared<NapiNativeOppTransferInformation>(transferInformation); in OnReceiveIncomingFileChanged()
37 void NapiBluetoothOppObserver::OnTransferStateChanged(const BluetoothOppTransferInformation &transferInformation) in OnTransferStateChanged() argument
40 auto nativeObject = std::make_shared<NapiNativeOppTransferInformation>(transferInformation); in OnTransferStateChanged()
/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_opp_observer.h34 void OnReceiveIncomingFileChanged(const BluetoothOppTransferInformation &transferInformation) override;
35 void OnTransferStateChanged(const BluetoothOppTransferInformation &transferInformation) override;
H A Dnapi_bluetooth_utils.h105 napi_value result, const BluetoothOppTransferInformation& transferInformation);
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_opp_observer.h33 virtual void OnReceiveIncomingFileChanged(const BluetoothIOppTransferInformation &transferInformation) = 0;
34 virtual void OnTransferStateChanged(const BluetoothIOppTransferInformation &transferInformation) = 0;
H A Di_bluetooth_opp.h37 virtual int32_t GetCurrentTransferInformation(BluetoothIOppTransferInformation &transferInformation) = 0;
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_opp.h280 * @param transferInformation transfer Information.
282 virtual void OnReceiveIncomingFileChanged(const BluetoothOppTransferInformation &transferInformation) in OnReceiveIncomingFileChanged() argument
288 * @param transferInformation transfer Information.
290 virtual void OnTransferStateChanged(const BluetoothOppTransferInformation &transferInformation) in OnTransferStateChanged() argument
334 int32_t GetCurrentTransferInformation(BluetoothOppTransferInformation &transferInformation);
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_opp.cpp57 void OnReceiveIncomingFileChanged(const BluetoothIOppTransferInformation &transferInformation) override
59 BluetoothOppTransferInformation oppTransferinformation = TransferInformation(transferInformation);
66 void OnTransferStateChanged(const BluetoothIOppTransferInformation &transferInformation) override
68 BluetoothOppTransferInformation oppTransferinformation = TransferInformation(transferInformation);
315 int32_t Opp::GetCurrentTransferInformation(BluetoothOppTransferInformation &transferInformation) in GetCurrentTransferInformation() argument
325 transferInformation = TransferInformation(oppInformation); in GetCurrentTransferInformation()
/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_bluetooth_utils.cpp137 const BluetoothOppTransferInformation& transferInformation) in ConvertOppTransferInformationToJS()
141 napi_create_int32(env, transferInformation.GetId(), &id); in ConvertOppTransferInformationToJS()
145 napi_create_string_utf8(env, transferInformation.GetFileName().c_str(), NAPI_AUTO_LENGTH, &fileName); in ConvertOppTransferInformationToJS()
149 napi_create_string_utf8(env, transferInformation.GetFilePath().c_str(), NAPI_AUTO_LENGTH, &filePath); in ConvertOppTransferInformationToJS()
153 napi_create_string_utf8(env, transferInformation.GetMimeType().c_str(), NAPI_AUTO_LENGTH, &mimeType); in ConvertOppTransferInformationToJS()
157 napi_create_string_utf8(env, transferInformation.GetDeviceName().c_str(), NAPI_AUTO_LENGTH, &deviceName); in ConvertOppTransferInformationToJS()
161 napi_create_string_utf8(env, transferInformation.GetDeviceAddress().c_str(), NAPI_AUTO_LENGTH, &deviceAddress); in ConvertOppTransferInformationToJS()
165 napi_create_int32(env, transferInformation.GetDirection(), &direction); in ConvertOppTransferInformationToJS()
169 napi_create_int32(env, transferInformation.GetStatus(), &status); in ConvertOppTransferInformationToJS()
173 napi_create_int32(env, transferInformation in ConvertOppTransferInformationToJS()
136 ConvertOppTransferInformationToJS(napi_env env, napi_value result, const BluetoothOppTransferInformation& transferInformation) ConvertOppTransferInformationToJS() argument
[all...]
/foundation/communication/bluetooth/frameworks/inner/ipc/include/
H A Dbluetooth_opp_proxy.h33 int32_t GetCurrentTransferInformation(BluetoothIOppTransferInformation &transferInformation) override;

Completed in 5 milliseconds