/foundation/communication/bluetooth_service/test/unittest/opp/ |
H A D | opp_test.cpp | 32 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 D | napi_bluetooth_opp_observer.cpp | 30 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 D | napi_bluetooth_opp_observer.h | 34 void OnReceiveIncomingFileChanged(const BluetoothOppTransferInformation &transferInformation) override; 35 void OnTransferStateChanged(const BluetoothOppTransferInformation &transferInformation) override;
|
H A D | napi_bluetooth_utils.h | 105 napi_value result, const BluetoothOppTransferInformation& transferInformation);
|
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/ |
H A D | i_bluetooth_opp_observer.h | 33 virtual void OnReceiveIncomingFileChanged(const BluetoothIOppTransferInformation &transferInformation) = 0; 34 virtual void OnTransferStateChanged(const BluetoothIOppTransferInformation &transferInformation) = 0;
|
H A D | i_bluetooth_opp.h | 37 virtual int32_t GetCurrentTransferInformation(BluetoothIOppTransferInformation &transferInformation) = 0;
|
/foundation/communication/bluetooth/interfaces/inner_api/include/ |
H A D | bluetooth_opp.h | 280 * @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 D | bluetooth_opp.cpp | 57 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 D | napi_bluetooth_utils.cpp | 137 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 D | bluetooth_opp_proxy.h | 33 int32_t GetCurrentTransferInformation(BluetoothIOppTransferInformation &transferInformation) override;
|