#include "custom_runtime.h"
#include "vibrator_service.h"
#include <string.h>
-
-#ifdef FD230_650
#include "system/include/SystemLogModel.h"
-#endif
namespace OHOS
{
// 检查录音空间是否满了
void RecordingModel::CheckRecordingSpaceOut(void)
{
- #ifdef FD230_650
long long size = SystemLogModel::GetInstance()->getFolderSize(TOTAL_RECORDING_SPACE_PATH);
if (size >= TOTAL_RECORDING_SPACE)
{
{
RecordingSpaceIsOut = false;
}
- #endif
WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "RecordingModel::CheckRecordingSpaceOut:%d", RecordingSpaceIsOut);
}
//同步显示音乐的声音进度条
if(PlayersView::GetInstance())
{
- #ifdef FD230_650
PlayersView::GetInstance()->UpdateVolumeValue();
- #endif
}
return true;
}
void CallVolumeSet(int32_t sounding)
{
WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "CallVolumeSet %d", sounding);
- // Audio::AudioManager::GetInstance().SetVolume(AUDIO_STREAM_VOICE_CALL_BT_SCO, sounding); // 通话音量设置
- // Audio::AudioManager::GetInstance().SetVolume(AUDIO_STREAM_VOICE_CALL_VOLTE, sounding); // 通话音量设置
- #ifdef FD230_650
set_speaker_volume(sounding,AUDIO_STREAM_VOICE_CALL_BT_SCO);
set_speaker_volume(sounding,AUDIO_STREAM_VOICE_CALL_VOLTE);
- #endif
}
int CallVolumeGet(void)
#include "ConfigModel.h"
#include "custom_runtime.h"
-#ifdef FD230_650
#include "main/include/dial/DialModelWeather.h"
-#include "DialModelWeatherStr.h"
-#endif
+#include "main/include/dial/DialModelWeatherStr.h"
namespace OHOS
{
WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "p_WeatherControlView");
p_WeatherControlView->UpdateWeatherControlViewVisibility();
}
- #ifdef FD230_650
if (DialModelWeather::GetInstance())
{
int index;
const std::string str = GetWeatherTemperature();
DialModelWeatherStr::GetInstance()->UpdateWeatherStr(str);
}
- #endif
}
/*更新天气界面的时间显示*/
--- /dev/null
+/*
+ * Copyright (c) CompanyNameMagicTag 2023-2023. All rights reserved.
+ * Description: makephone notification api
+ * Author: CompanyName
+ * Create: 2023-08-11
+ */
+
+#ifndef MAKEPHONE_SOS_NOTIFICATION_H
+#define MAKEPHONE_SOS_NOTIFICATION_H
+
+#ifdef __cplusplus
+#if __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+#endif /* __cplusplus */
+
+
+void start_SOS_phone_dail(void);
+
+void sos_falg_add(void);
+
+void sos_falg_clean(void);
+
+uint8_t get_falg_SOS(void);
+
+
+#ifdef __cplusplus
+#if __cplusplus
+}
+#endif /* __cplusplus */
+#endif /* __cplusplus */
+
+#endif /* MAKEPHONE_NOTIFICATION_H */
#endif
-#ifdef FD230_650
-#include "PhoneServiceC.h"
-
-#include "Bluetooyhpabpserver.h"
-
+#include "phoneservice/include/PhoneServiceC.h"
+#include "bluetooth/include/Bluetooyhpabpserver.h"
#include "dial_sos_c.h"
-
-#endif
// #include "msg_center_customerC.h"
#ifdef SUPPORT_A5133_SERVICE
#include "service/a5133_service.h"