/base/sensors/sensor/utils/common/include/ |
H A D | sensor_parcel.h | 26 SEN_HILOGE("Parcel writeBool "#data" failed"); \ 34 SEN_HILOGE("Parcel writeInt32 "#data" failed"); \ 42 SEN_HILOGE("Parcel writeInt64 "#data" failed"); \ 50 SEN_HILOGE("Parcel writeUint32 "#data" failed"); \ 58 SEN_HILOGE("Parcel writeDouble "#data" failed"); \ 66 SEN_HILOGE("Parcel writeString "#data" failed"); \ 74 SEN_HILOGE("Parcel writeString16 "#data" failed"); \ 82 SEN_HILOGE("Parcel writeRemoteObject "#data" failed"); \ 90 SEN_HILOGE("Parcel writeUInt8Vector "#data" failed"); \ 98 SEN_HILOGE("Parce [all...] |
H A D | sensor_errors.h | 166 SEN_HILOGE("%{public}s, (%{public}d), CHKPV(%{public}s) is null", \ 175 SEN_HILOGE("%{public}s, (%{public}d), CHKPF(%{public}s) is null", \ 202 SEN_HILOGE("%{public}s, (%{public}d), CHKPR(%{public}s) is null, return value is %{public}d", \ 211 SEN_HILOGE("%{public}s, (%{public}d), CHKPP(%{public}s) is null, return value is null", \ 220 SEN_HILOGE("%{public}s, (%{public}d), CK(%{public}s), errCode:%{public}d", \ 236 SEN_HILOGE("CHKPV(%{public}s) is null", #cond); \ 244 SEN_HILOGE("CHKPF(%{public}s) is null", #cond); \ 268 SEN_HILOGE("CHKPR(%{public}s) is null, return value is %{public}d", #cond, r); \ 276 SEN_HILOGE("CK(%{public}s), %{public}s", #cond, message); \ 284 SEN_HILOGE("( [all...] |
/base/sensors/sensor/frameworks/native/src/ |
H A D | native_sensor.cpp | 34 SEN_HILOGE("Parameter error"); in OH_Sensor_GetInfos() 41 SEN_HILOGE("GetAllSensors fail"); in OH_Sensor_GetInfos() 50 SEN_HILOGE("Count:%{public}d is invalid, should be:%{public}d", *count, sensorCount); in OH_Sensor_GetInfos() 55 SEN_HILOGE("Sensor is null, i:%{public}d", i); in OH_Sensor_GetInfos() 104 SEN_HILOGE("Parameter error"); in OH_SensorInfo_GetName() 109 SEN_HILOGE("Parameter error, length:%{public}d is small, should big than:%{public}d", *length, nameLen); in OH_SensorInfo_GetName() 114 SEN_HILOGE("strcpy_s failed, result is %{public}d", result); in OH_SensorInfo_GetName() 123 SEN_HILOGE("Parameter error"); in OH_SensorInfo_GetVendorName() 128 SEN_HILOGE("Parameter error, length:%{public}d is small, should big than:%{public}d", *length, nameLen); in OH_SensorInfo_GetVendorName() 133 SEN_HILOGE("strcpy_ in OH_SensorInfo_GetVendorName() [all...] |
H A D | sensor_agent_proxy.cpp | 57 SEN_HILOGE("Sensor is not subscribed"); in GetSubscribeUserCallback() 64 SEN_HILOGE("callback insert fail"); in GetSubscribeUserCallback() 75 SEN_HILOGE("events is null or num is invalid"); in HandleSensorData() 110 SEN_HILOGE("Create data channel failed, ret:%{public}d", ret); in CreateSensorDataChannel() 116 SEN_HILOGE("Transfer data channel failed, ret:%{public}d, destroyRet:%{public}d", ret, destroyRet); in CreateSensorDataChannel() 134 SEN_HILOGE("Destroy data channel failed, ret:%{public}d", ret); in DestroySensorDataChannel() 139 SEN_HILOGE("Destroy service data channel fail, ret:%{public}d", ret); in DestroySensorDataChannel() 151 SEN_HILOGE("SamplingPeriod or reportInterval_ is invalid"); in ActivateSensor() 155 SEN_HILOGE("sensorId is invalid, %{public}d", sensorId); in ActivateSensor() 160 SEN_HILOGE("Subscrib in ActivateSensor() [all...] |
H A D | sensor_service_client.cpp | 108 SEN_HILOGE("Get service failed"); in InitServiceClient() 116 SEN_HILOGE("InitServiceClient failed, ret:%{public}d", ret); in IsValid() 120 SEN_HILOGE("sensorList_ cannot be empty"); in IsValid() 136 SEN_HILOGE("InitServiceClient failed, ret:%{public}d", ret); in EnableSensor() 159 SEN_HILOGE("InitServiceClient failed, ret:%{public}d", ret); in DisableSensor() 182 SEN_HILOGE("InitServiceClient failed, ret:%{public}d", ret); in GetSensorList() 187 SEN_HILOGE("sensorList_ cannot be empty"); in GetSensorList() 202 SEN_HILOGE("InitServiceClient failed, ret:%{public}d", ret); in TransferDataChannel() 225 SEN_HILOGE("InitServiceClient failed, ret:%{public}d", ret); in DestroyDataChannel() 273 SEN_HILOGE("InitServiceClien in ProcessDeathObserver() [all...] |
H A D | sensor_service_proxy.cpp | 44 SEN_HILOGE("Write descriptor failed"); in EnableSensor() 59 SEN_HILOGE("Failed, ret:%{public}d", ret); in EnableSensor() 70 SEN_HILOGE("Write descriptor failed"); in DisableSensor() 83 SEN_HILOGE("Failed, ret:%{public}d", ret); in DisableSensor() 95 SEN_HILOGE("Write descriptor failed"); in GetSensorList() 100 SEN_HILOGE("remote is null"); in GetSensorList() 110 SEN_HILOGE("Failed, ret:%{public}d", ret); in GetSensorList() 115 SEN_HILOGE("Parcel read failed"); in GetSensorList() 140 SEN_HILOGE("Write descriptor failed"); in TransferDataChannel() 154 SEN_HILOGE("Faile in TransferDataChannel() [all...] |
H A D | sensor_agent.cpp | 51 SEN_HILOGE("GetAllSensors failed");
in GetAllSensors() 61 SEN_HILOGE("ActivateSensor failed");
in ActivateSensor() 71 SEN_HILOGE("DeactivateSensor failed");
in DeactivateSensor() 81 SEN_HILOGE("SetBatch failed");
in SetBatch() 91 SEN_HILOGE("SubscribeSensor failed");
in SubscribeSensor() 101 SEN_HILOGE("UnsubscribeSensor failed");
in UnsubscribeSensor() 138 SEN_HILOGE("Get active sensor infos failed, ret:%{public}d", ret);
in GetActiveSensorInfos() 148 SEN_HILOGE("Register active sensor infos callback failed, ret:%{public}d", ret);
in Register() 158 SEN_HILOGE("Unregister active sensor infos callback failed, ret:%{public}d", ret);
in Unregister() 168 SEN_HILOGE("Rese in ResetSensors() [all...] |
H A D | fd_listener.cpp | 41 SEN_HILOGE("Invalid fd, fd:%{public}d", fd); in OnReadable() 60 SEN_HILOGE("Recv return %{public}zu, errno:%{public}d", size, errno); in OnReadable() 74 SEN_HILOGE("Invalid fd, fd:%{public}d", fd); in OnShutdown() 85 SEN_HILOGE("Invalid fd, fd:%{public}d", fd); in OnException()
|
H A D | sensor_algorithm.cpp | 31 SEN_HILOGE("Invalid input rotationVector parameter"); in CreateQuaternion() 35 SEN_HILOGE("Invalid input quaternion parameter"); in CreateQuaternion() 55 SEN_HILOGE("axisX is invalid parameter"); in TransformCoordinateSystemImpl() 59 SEN_HILOGE("axisY is invalid parameter"); in TransformCoordinateSystemImpl() 101 SEN_HILOGE("Invalid axisX or axisY"); in TransformCoordinateSystem() 108 SEN_HILOGE("Invalid input parameter"); in TransformCoordinateSystem() 115 SEN_HILOGE("TransformCoordinateSystemImpl failed"); in TransformCoordinateSystem() 129 SEN_HILOGE("Invalid parameter"); in GetAltitude() 143 SEN_HILOGE("Invalid parameter"); in GetGeomagneticDip() 148 SEN_HILOGE("Invali in GetGeomagneticDip() [all...] |
/base/sensors/sensor/utils/common/src/ |
H A D | sensor.cpp | 176 SEN_HILOGE("Failed, write sensorId failed"); in Marshalling() 180 SEN_HILOGE("Failed, write sensorTypeId failed"); in Marshalling() 184 SEN_HILOGE("Failed, write sensorName failed"); in Marshalling() 188 SEN_HILOGE("Failed, write vendorName failed"); in Marshalling() 192 SEN_HILOGE("Failed, write firmwareVersion failed"); in Marshalling() 196 SEN_HILOGE("Failed, write hardwareVersion failed"); in Marshalling() 200 SEN_HILOGE("Failed, write maxRange failed"); in Marshalling() 204 SEN_HILOGE("Failed, write resolution failed"); in Marshalling() 208 SEN_HILOGE("Failed, write power failed"); in Marshalling() 212 SEN_HILOGE("Faile in Marshalling() [all...] |
H A D | sensor_basic_data_channel.cpp | 58 SEN_HILOGE("Create socketpair failed"); in CreateSensorBasicChannel() 64 SEN_HILOGE("setsockopt socketpair 0, SNDBUF failed, errno:%{public}d", errno); in CreateSensorBasicChannel() 68 SEN_HILOGE("setsockopt socketpair 1, RCVBUF failed, errno:%{public}d", errno); in CreateSensorBasicChannel() 72 SEN_HILOGE("setsockopt socketpair 0, RCVBUF failed, errno:%{public}d", errno); in CreateSensorBasicChannel() 76 SEN_HILOGE("setsockopt socketpair 1, SNDBUF failed, errno:%{public}d", errno); in CreateSensorBasicChannel() 80 SEN_HILOGE("fcntl socketpair 0 failed, errno:%{public}d", errno); in CreateSensorBasicChannel() 84 SEN_HILOGE("fcntl socketpair 1 failed, errno:%{public}d", errno); in CreateSensorBasicChannel() 109 SEN_HILOGE("ReadFileDescriptor is failed"); in CreateSensorBasicChannel() 128 SEN_HILOGE("sendFd FileDescriptor error"); in SendToBinder() 134 SEN_HILOGE("Sen in SendToBinder() [all...] |
H A D | active_info.cpp | 74 SEN_HILOGE("Write pid failed"); in Marshalling() 78 SEN_HILOGE("Write sensorId failed"); in Marshalling() 82 SEN_HILOGE("Write samplingPeriodNs failed"); in Marshalling() 86 SEN_HILOGE("Write maxReportDelayNs failed"); in Marshalling() 100 SEN_HILOGE("Read from parcel is failed"); in Unmarshalling()
|
/base/sensors/sensor/test/unittest/common/src/ |
H A D | system_info.cpp | 53 SEN_HILOGE("Failed to open path:%{public}s", procPath.c_str());
in GetTaskPidFile() 71 SEN_HILOGE("getline fail");
in GetTaskPidFile() 86 SEN_HILOGE("sscanf_s failed");
in GetTaskPidFile() 105 SEN_HILOGE("Failed to open path:%{public}s", procPath.c_str());
in GetProcOccupy() 111 SEN_HILOGE("getline fail");
in GetProcOccupy() 116 SEN_HILOGE("Failed to read content");
in GetProcOccupy() 151 SEN_HILOGE("Failed to open config file");
in GetSystemCpuStatInfo() 156 SEN_HILOGE("getline fail");
in GetSystemCpuStatInfo() 161 SEN_HILOGE("No valid content was read");
in GetSystemCpuStatInfo() 166 SEN_HILOGE("Th in GetSystemCpuStatInfo() [all...] |
/base/sensors/sensor/services/src/ |
H A D | stream_server.cpp | 64 SEN_HILOGE("Session not found"); in GetSession() 75 SEN_HILOGE("Session not found"); in GetSessionByPid() 87 SEN_HILOGE("Socketpair failed, errno:%{public}d", errno); in AddSocketPairInfo() 93 SEN_HILOGE("ServerFd or clientFd is invalid"); in AddSocketPairInfo() 99 SEN_HILOGE("Setsockopt serverFd send buffer size failed, errno:%{public}d", errno); in AddSocketPairInfo() 103 SEN_HILOGE("Setsockopt serverFd recv buffer size failed, errno:%{public}d", errno); in AddSocketPairInfo() 107 SEN_HILOGE("Setsockopt clientFd send buffer size failed, errno:%{public}d", errno); in AddSocketPairInfo() 111 SEN_HILOGE("Setsockopt clientFd recv buffer size failed, errno:%{public}d", errno); in AddSocketPairInfo() 117 SEN_HILOGE("AddSession fail"); in AddSocketPairInfo() 134 SEN_HILOGE("F in AddSession() [all...] |
H A D | sensor_service.cpp | 86 SEN_HILOGE("Init interface error"); in OnStart() 89 SEN_HILOGE("Init data callback error"); in OnStart() 92 SEN_HILOGE("Init sensor list error"); in OnStart() 98 SEN_HILOGE("Init sensor policy error"); in OnStart() 106 SEN_HILOGE("Publish SensorService error"); in OnStart() 120 SEN_HILOGE("Connect hdi failed"); in InitInterface() 133 SEN_HILOGE("RegisterDataReport failed"); in InitDataCallback() 144 SEN_HILOGE("GetSensorList is failed"); in InitSensorList() 175 SEN_HILOGE("Destroy hdi connect fail"); in OnStop() 214 SEN_HILOGE("sensorI in ReportOnChangeData() [all...] |
H A D | client_info.cpp | 54 SEN_HILOGE("sensorId is invalid"); in GetSensorState() 60 SEN_HILOGE("Can't find sensorId:%{public}d", sensorId); in GetSensorState() 68 SEN_HILOGE("Can't find sensorInfo, sensorId:%{public}d", sensorId); in GetSensorState() 80 SEN_HILOGE("sensorId is invalid"); in GetBestSensorInfo() 87 SEN_HILOGE("Can't find sensorId:%{public}d", sensorId); in GetBestSensorInfo() 105 SEN_HILOGE("sensorId or pid is invalid"); in OnlyCurPidSensorEnabled() 111 SEN_HILOGE("Can't find sensorId:%{public}d", sensorId); in OnlyCurPidSensorEnabled() 120 SEN_HILOGE("Current sensor is also used by other pid"); in OnlyCurPidSensorEnabled() 132 SEN_HILOGE("uid or pid is invalid"); in UpdateAppThreadInfo() 140 SEN_HILOGE("Ma in UpdateAppThreadInfo() [all...] |
H A D | sensor_service_stub.cpp | 103 SEN_HILOGE("Client and service descriptors are inconsistent"); in OnRemoteRequest() 135 SEN_HILOGE("Permission check failed. A non-system application uses the system API"); in SensorEnableInner() 145 SEN_HILOGE("sensorId:%{public}d grant failed, result:%{public}d", sensorId, ret); in SensorEnableInner() 161 SEN_HILOGE("Permission check failed. A non-system application uses the system API"); in SensorDisableInner() 171 SEN_HILOGE("sensorId:%{public}d grant failed, result:%{public}d", sensorId, ret); in SensorDisableInner() 189 SEN_HILOGE("Sensor %{public}u marshalling failed", i); in GetAllSensorsInner() 203 SEN_HILOGE("CreateSensorBasicChannel ret:%{public}d", ret); in CreateDataChannelInner() 222 SEN_HILOGE("TokenType is not TOKEN_NATIVE"); in SuspendSensorsInner() 227 SEN_HILOGE("Check manage sensor permission failed, ret:%{public}d", ret); in SuspendSensorsInner() 240 SEN_HILOGE("TokenTyp in ResumeSensorsInner() [all...] |
H A D | sensor_power_policy.cpp | 58 SEN_HILOGE("Suspend part sensors, but some failed, pid:%{public}d", pid); in SuspendSensors() 68 SEN_HILOGE("Suspend all sensors, but some failed, pid:%{public}d", pid); in SuspendSensors() 95 SEN_HILOGE("Hdi disable sensor failed, sensorId:%{public}d, ret:%{public}d", sensorId, ret); in Suspend() 120 SEN_HILOGE("Resume sensor failed, sensorId:%{public}d", sensorId); in ResumeSensors() 128 SEN_HILOGE("Resume all sensors, but some failed, pid:%{public}d", pid); in ResumeSensors() 142 SEN_HILOGE("sensorId is invalid or maxReportDelayNs exceed the maximum value"); in Resume() 149 SEN_HILOGE("Restore sensor info failed, ret:%{public}d", ret); in Resume() 156 SEN_HILOGE("Restore sensor info failed, ret:%{public}d", ret); in Resume() 162 SEN_HILOGE("Hdi enable sensor failed, sensorId:%{public}d, ret:%{public}d", sensorId, ret); in Resume() 175 SEN_HILOGE("SaveSubscribe in RestoreSensorInfo() [all...] |
/base/sensors/sensor/vibration_convert/core/native/src/ |
H A D | audio_parsing.cpp | 59 SEN_HILOGE("Invalid parameter"); in RawFileDescriptorCheck() 64 SEN_HILOGE("fstat error, errno:%{public}d", errno); in RawFileDescriptorCheck() 69 SEN_HILOGE("Invalid parameter rawFd"); in RawFileDescriptorCheck() 79 SEN_HILOGE("RawFileDescriptorCheck failed"); in ParseAudioFile() 84 SEN_HILOGE("lseek fail, oft:%{public}" PRId64, oft); in ParseAudioFile() 89 SEN_HILOGE("Invalid parameter"); in ParseAudioFile() 95 SEN_HILOGE("read audio attribute failed, errno:%{public}d", errno); in ParseAudioFile() 99 SEN_HILOGE("The divisor cannot be 0"); in ParseAudioFile() 111 SEN_HILOGE("Invalid parameter"); in ParseAudioFile() 118 SEN_HILOGE("rea in ParseAudioFile() [all...] |
/base/sensors/sensor/vibration_convert/core/algorithm/onset/src/ |
H A D | onset.cpp | 49 SEN_HILOGE("Invalid parameter"); in MatrixDot() 53 SEN_HILOGE("matrixA or matrixB is empty"); in MatrixDot() 77 SEN_HILOGE("Invalid parameter"); in MatrixDiff() 93 SEN_HILOGE("values is empty"); in Median() 105 SEN_HILOGE("values is empty"); in Mean() 126 SEN_HILOGE("data is empty"); in Sfft() 137 SEN_HILOGE("Init failed"); in Sfft() 143 SEN_HILOGE("Process failed"); in Sfft() 161 SEN_HILOGE("Init failed"); in GetMelBias() 170 SEN_HILOGE("FiltersMe in GetMelBias() [all...] |
/base/sensors/sensor/utils/ipc/include/ |
H A D | stream_buffer.h | 105 SEN_HILOGE("[%{public}s] size:%{public}zu count:%{public}d", in Read() 108 SEN_HILOGE("%{public}s, size:%{public}zu, count:%{public}zu", in Read() 122 SEN_HILOGE("[%{public}s] size:%{public}zu,count:%{public}d", in Write() 125 SEN_HILOGE("%{public}s, size:%{public}zu, count:%{public}zu", in Write() 138 SEN_HILOGE("Read vector size failed"); in Read() 142 SEN_HILOGE("Vector size is invalid, size:%{public}zu", size); in Read() 148 SEN_HILOGE("Read vector data failed"); in Read() 160 SEN_HILOGE("Vector exceeds the max range"); in Write() 165 SEN_HILOGE("Write vector size failed"); in Write() 170 SEN_HILOGE("Writ in Write() [all...] |
/base/sensors/sensor/frameworks/cj/src/ |
H A D | cj_sensor_ffi.cpp | 59 SEN_HILOGE("Invalid parameter, rotation is nullptr!"); in FfiSensorGetRotationMatrix() 70 SEN_HILOGE("Invalid parameter, rotationMatrix is nullptr!"); in FfiSensorTransformRotationMatrix() 80 SEN_HILOGE("Invalid parameter, quaternion is nullptr!"); in FfiSensorGetQuaternion() 90 SEN_HILOGE("Invalid parameter, rotationAngle is nullptr!"); in FfiSensorGetOrientation() 101 SEN_HILOGE("Invalid parameter, rotationMaxtrix is nullptr!"); in FfiSensorGetRotationMatrixByGravityAndGeomagnetic() 112 SEN_HILOGE("Invalid parameter, sensors is nullptr!"); in FfiSensorGetAllSensors()
|
/base/sensors/sensor/vibration_convert/core/algorithm/conversion/src/ |
H A D | conversion_mfcc.cpp | 37 SEN_HILOGE("Invalid parameter"); in HandleMelFilterAndLogSquare() 58 SEN_HILOGE("Invalid parameter, para.nMels:%{public}d, numCoeffs:%{public}d", para.nMels, numCoeffs); in Init() 74 SEN_HILOGE("CalcMelFilterBank failed"); in Init() 78 SEN_HILOGE("CreateDCTCoeffs failed"); in Init() 88 SEN_HILOGE("HandleMelFilterAndLogSquare failed"); in Mfcc() 92 SEN_HILOGE("HandleDiscreteCosineTransform failed"); in Mfcc() 101 SEN_HILOGE("numCoeffs_ should not be 0"); in HandleDiscreteCosineTransform() 118 SEN_HILOGE("Invalid parameter"); in SetMelFilters() 122 SEN_HILOGE("The divisor cannot be 0"); in SetMelFilters() 129 SEN_HILOGE("Th in SetMelFilters() [all...] |
/base/sensors/sensor/utils/ipc/src/ |
H A D | stream_buffer.cpp | 52 SEN_HILOGE("Call memset_s fail"); in Clean() 63 SEN_HILOGE("Not enough memory to read, errCode:%{public}d", STREAM_BUF_READ_FAIL); in Read() 73 SEN_HILOGE("Not enough memory to read"); in Read() 115 SEN_HILOGE("Invalid input parameter, buf is nullptr"); in Read() 120 SEN_HILOGE("Invalid input parameter, size:%{public}zu", size); in Read() 125 SEN_HILOGE("Memory out of bounds on read"); in Read() 131 SEN_HILOGE("Failed to call memcpy_sp"); in Read() 150 SEN_HILOGE("Invalid input parameter, buf is nullptr"); in Write() 155 SEN_HILOGE("Invalid input parameter, size:%{public}zu", size); in Write() 160 SEN_HILOGE("Th in Write() [all...] |
/base/sensors/sensor/services/hdi_connection/adapter/src/ |
H A D | hdi_connection.cpp | 74 SEN_HILOGE("Connect V2_0 hdi failed");
in ConnectHdi() 89 SEN_HILOGE("Get sensor list failed");
in GetSensorList() 127 SEN_HILOGE("Connect V2_0 hdi failed");
in EnableSensor() 143 SEN_HILOGE("Disable is failed");
in DisableSensor() 159 SEN_HILOGE("SetBatch is failed");
in SetBatch() 176 SEN_HILOGE("SetMode is failed");
in SetMode() 193 SEN_HILOGE("Register is failed");
in RegisterDataReport() 211 SEN_HILOGE("Unregister is failed");
in DestroyHdiConnection() 222 SEN_HILOGE("reportDataCb_ cannot be null");
in GetReportDataCb() 230 SEN_HILOGE("reportDataCallback in GetReportDataCallback() [all...] |