/base/sensors/sensor/services/sensor/src/ |
D | sensor_data_processer.cpp | 49 … sptr<SensorBasicDataChannel> &channel, SensorData &data, in SendNoneFifoCacheData() argument 60 fifoCacheData->SetChannel(channel); in SendNoneFifoCacheData() 63 SendRawData(cacheBuf, channel, sendEvents); in SendNoneFifoCacheData() 76 if (fifoChannel != channel) { in SendNoneFifoCacheData() 86 SendRawData(cacheBuf, channel, sendEvents); in SendNoneFifoCacheData() 93 fifoCacheData->SetChannel(channel); in SendNoneFifoCacheData() 95 SendRawData(cacheBuf, channel, sendEvents); in SendNoneFifoCacheData() 100 sptr<SensorBasicDataChannel> &channel, SensorData &data, in SendFifoCacheData() argument 110 fifoCacheData->SetChannel(channel); in SendFifoCacheData() 126 if (fifoChannel != channel) { in SendFifoCacheData() [all …]
|
D | flush_info_record.cpp | 44 ErrCode FlushInfoRecord::SetFlushInfo(int32_t sensorId, const sptr<SensorBasicDataChannel> &channel… in SetFlushInfo() argument 47 CHKPR(channel, INVALID_POINTER); in SetFlushInfo() 48 FlushInfo flush(channel, isFirstFlush); in SetFlushInfo() 66 for (const auto &channel : currChannelList) { in IsFlushChannelValid() local 67 if (channel == flushChannel) { in IsFlushChannelValid() 75 const sptr<SensorBasicDataChannel> &channel) in GetFlushChannelIndex() argument 78 if (flushInfoList[i].flushChannel.promote() == channel) { in GetFlushChannelIndex() 88 sptr<SensorBasicDataChannel> channel = clientInfo_.GetSensorChannelByPid(pid); in FlushProcess() local 89 CHKPR(channel, ERROR); in FlushProcess() 90 int32_t ret = SetFlushInfo(sensorId, channel, false); in FlushProcess()
|
D | fifo_cache_data.cpp | 54 void FifoCacheData::SetChannel(const sptr<SensorBasicDataChannel> &channel) in SetChannel() argument 56 channel_ = channel; in SetChannel()
|
D | client_info.cpp | 267 bool ClientInfo::UpdateSensorChannel(int32_t pid, const sptr<SensorBasicDataChannel> &channel) in UpdateSensorChannel() argument 270 CHKPR(channel, false); in UpdateSensorChannel() 282 auto ret = channelMap_.insert(std::make_pair(pid, channel)); in UpdateSensorChannel() 286 channelMap_[pid] = channel; in UpdateSensorChannel() 389 uint64_t ClientInfo::ComputeBestPeriodCount(int32_t sensorId, sptr<SensorBasicDataChannel> &channel) in ComputeBestPeriodCount() argument 391 if (sensorId == INVALID_SENSOR_ID || channel == nullptr) { in ComputeBestPeriodCount() 399 if (channelIt.second == channel) { in ComputeBestPeriodCount() 414 uint64_t ClientInfo::ComputeBestFifoCount(int32_t sensorId, sptr<SensorBasicDataChannel> &channel) in ComputeBestFifoCount() argument 416 if (channel == nullptr || sensorId == INVALID_SENSOR_ID) { in ComputeBestFifoCount() 424 if (channelIt.second == channel) { in ComputeBestFifoCount() [all …]
|
D | sensor_dump.cpp | 198 for (const auto &channel : channelInfo) { in DumpSensorChannel() local 199 auto sensorId = channel.GetSensorId(); in DumpSensorChannel() 206 … channel.GetUid(), channel.GetPackageName().c_str(), sensorId, sensorMap_[sensorId].c_str(), in DumpSensorChannel() 207 channel.GetSamplingPeriodNs(), channel.GetFifoCount()); in DumpSensorChannel()
|
/base/sensors/medical_sensor/services/medical_sensor/src/ |
D | medical_data_processer.cpp | 63 sptr<MedicalSensorBasicDataChannel> &channel, struct SensorEvent &event, uint64_t periodCount) in SendNoneFifoCacheData() argument 80 fifoCacheData->SetChannel(channel); in SendNoneFifoCacheData() 83 SendRawData(cacheBuf, channel, sendEvents); in SendNoneFifoCacheData() 88 if (fifoCacheData->GetChannel() != channel) { in SendNoneFifoCacheData() 98 SendRawData(cacheBuf, channel, sendEvents); in SendNoneFifoCacheData() 108 fifoCacheData->SetChannel(channel); in SendNoneFifoCacheData() 110 SendRawData(cacheBuf, channel, sendEvents); in SendNoneFifoCacheData() 115 …sptr<MedicalSensorBasicDataChannel> &channel, struct SensorEvent &event, uint64_t periodCount, uin… in SendFifoCacheData() argument 131 fifoCacheData->SetChannel(channel); in SendFifoCacheData() 139 if (fifoData->GetChannel() != channel) { in SendFifoCacheData() [all …]
|
D | flush_info_record.cpp | 53 const sptr<MedicalSensorBasicDataChannel> &channel, bool isFirstFlush) in SetFlushInfo() argument 56 if (channel == nullptr) { in SetFlushInfo() 60 struct FlushInfo flush(channel, isFirstFlush); in SetFlushInfo() 79 for (const auto &channel : currChannelList) { in IsFlushChannelValid() local 80 if (channel == flushChannel) { in IsFlushChannelValid() 88 const sptr<MedicalSensorBasicDataChannel> &channel) in GetFlushChannelIndex() argument 92 if (flushInfoList[i].flushChannel == channel) { in GetFlushChannelIndex() 107 sptr<MedicalSensorBasicDataChannel> channel = clientInfo_.GetSensorChannelByPid(pid); in FlushProcess() local 108 if (channel == nullptr) { in FlushProcess() 112 ret = SetFlushInfo(sensorId, channel, false); in FlushProcess()
|
D | fifo_cache_data.cpp | 54 void FifoCacheData::SetChannel(const sptr<MedicalSensorBasicDataChannel> &channel) in SetChannel() argument 56 channel_ = channel; in SetChannel()
|
D | medical_dump.cpp | 97 for (const auto &channel : channelInfo) { in DumpSensorChannel() local 98 auto sensorId = channel.GetSensorId(); in DumpSensorChannel() 100 auto cmdList = channel.GetCmdType(); in DumpSensorChannel() 107 … channel.GetUid(), channel.GetPackageName().c_str(), sensorId, sensorMap_[sensorId].c_str(), in DumpSensorChannel() 108 int32_t { channel.GetSamplingPeriodNs() }, channel.GetFifoCount(), cmds.c_str()); in DumpSensorChannel()
|
D | client_info.cpp | 272 …ol ClientInfo::UpdateSensorChannel(int32_t pid, const sptr<MedicalSensorBasicDataChannel> &channel) in UpdateSensorChannel() argument 275 if (pid <= INVALID_PID || channel == nullptr) { in UpdateSensorChannel() 286 auto ret = channelMap_.insert(std::make_pair(pid, channel)); in UpdateSensorChannel() 290 channelMap_[pid] = channel; in UpdateSensorChannel() 398 …ClientInfo::ComputeBestPeriodCount(uint32_t sensorId, sptr<MedicalSensorBasicDataChannel> &channel) in ComputeBestPeriodCount() argument 400 if (sensorId == INVALID_SENSOR_ID || channel == nullptr) { in ComputeBestPeriodCount() 408 if (channelIt.second == channel) { in ComputeBestPeriodCount() 424 …t ClientInfo::ComputeBestFifoCount(uint32_t sensorId, sptr<MedicalSensorBasicDataChannel> &channel) in ComputeBestFifoCount() argument 426 if (channel == nullptr || sensorId == INVALID_SENSOR_ID) { in ComputeBestFifoCount() 434 if (channelIt.second == channel) { in ComputeBestFifoCount() [all …]
|
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
D | input_method_ability.cpp | 266 void InputMethodAbility::ClearDataChannel(const sptr<IRemoteObject> &channel) in ClearDataChannel() argument 270 if (dataChannelObject_ == nullptr || channel == nullptr) { in ClearDataChannel() 273 if (dataChannelObject_.GetRefPtr() == channel.GetRefPtr()) { in ClearDataChannel() 377 auto channel = GetInputDataChannelProxy(); in ShowInputWindow() local 378 if (channel == nullptr) { in ShowInputWindow() 382 channel->SendKeyboardStatus(KEYBOARD_SHOW); in ShowInputWindow() 442 auto channel = GetInputDataChannelProxy(); in HideKeyboard() local 443 if (channel == nullptr) { in HideKeyboard() 447 channel->SendKeyboardStatus(KEYBOARD_HIDE); in HideKeyboard() 466 auto channel = GetInputDataChannelProxy(); in InsertText() local [all …]
|
D | input_method_core_stub.cpp | 148 sptr<IRemoteObject> channel; in ShowKeyboardOnRemote() local 151 if (!ITypesUtil::Unmarshal(data, channel, isShowKeyboard, attachFlag)) { in ShowKeyboardOnRemote() 155 auto ret = InputMethodAbility::GetInstance()->ShowKeyboard(channel, isShowKeyboard, attachFlag); in ShowKeyboardOnRemote() 171 sptr<IRemoteObject> channel = nullptr; in ClearDataChannelOnRemote() local 172 if (!ITypesUtil::Unmarshal(data, channel)) { in ClearDataChannelOnRemote() 176 InputMethodAbility::GetInstance()->ClearDataChannel(channel); in ClearDataChannelOnRemote() 191 int32_t InputMethodCoreStub::ClearDataChannel(const sptr<IInputDataChannel> &channel) in ClearDataChannel() argument
|
D | input_method_core_proxy.cpp | 68 int32_t InputMethodCoreProxy::ClearDataChannel(const sptr<IInputDataChannel> &channel) in ClearDataChannel() argument 71 [&channel](MessageParcel &data) { return ITypesUtil::Marshal(data, channel->AsObject()); }); in ClearDataChannel()
|
/base/sensors/medical_sensor/services/medical_sensor/include/ |
D | medical_sensor_data_processer.h | 41 int32_t SendEvents(sptr<MedicalSensorBasicDataChannel> &channel, struct SensorEvent &event); 43 …_t CacheSensorEvent(const struct SensorEvent &event, sptr<MedicalSensorBasicDataChannel> &channel); 47 void ReportData(sptr<MedicalSensorBasicDataChannel> &channel, struct SensorEvent &event); 49 … sptr<MedicalSensorBasicDataChannel> &channel, struct SensorEvent &event); 51 … sptr<MedicalSensorBasicDataChannel> &channel, struct SensorEvent &event, 54 sptr<MedicalSensorBasicDataChannel> &channel, struct SensorEvent &event, 57 sptr<MedicalSensorBasicDataChannel> channel, 60 bool CheckSendDataPermission(sptr<MedicalSensorBasicDataChannel> channel, uint32_t sensorId);
|
D | flush_info_record.h | 38 FlushInfo(const sptr<MedicalSensorBasicDataChannel> &channel, bool enableFlush) in FlushInfo() 39 : flushChannel(channel), flushFromEnable(enableFlush) {}; in FlushInfo() 52 …ErrCode SetFlushInfo(uint32_t sensorId, const sptr<MedicalSensorBasicDataChannel> &channel, bool i… 56 const sptr<MedicalSensorBasicDataChannel> &channel);
|
D | client_info.h | 50 bool UpdateSensorChannel(int32_t pid, const sptr<MedicalSensorBasicDataChannel> &channel); 57 … uint64_t ComputeBestPeriodCount(uint32_t sensorId, sptr<MedicalSensorBasicDataChannel> &channel); 58 uint64_t ComputeBestFifoCount(uint32_t sensorId, sptr<MedicalSensorBasicDataChannel> &channel); 62 AppThreadInfo GetAppInfoByChannel(const sptr<MedicalSensorBasicDataChannel> &channel);
|
/base/sensors/sensor/services/sensor/include/ |
D | sensor_data_processer.h | 41 int32_t SendEvents(sptr<SensorBasicDataChannel> &channel, SensorData &data); 43 int32_t CacheSensorEvent(const SensorData &data, sptr<SensorBasicDataChannel> &channel); 47 void ReportData(sptr<SensorBasicDataChannel> &channel, SensorData &data); 49 sptr<SensorBasicDataChannel> &channel, SensorData &data); 51 … sptr<SensorBasicDataChannel> &channel, SensorData &data, uint64_t periodCount); 53 … sptr<SensorBasicDataChannel> &channel, SensorData &data, uint64_t periodCount, 55 …endRawData(std::unordered_map<int32_t, SensorData> &cacheBuf, sptr<SensorBasicDataChannel> channel,
|
D | flush_info_record.h | 40 FlushInfo(const sptr<SensorBasicDataChannel> &channel, bool enableFlush) in FlushInfo() 41 : flushChannel(channel), flushFromEnable(enableFlush){}; in FlushInfo() 53 …ErrCode SetFlushInfo(int32_t sensorId, const sptr<SensorBasicDataChannel> &channel, bool isFirstFl… 57 const sptr<SensorBasicDataChannel> &channel);
|
D | client_info.h | 54 bool UpdateSensorChannel(int32_t pid, const sptr<SensorBasicDataChannel> &channel); 61 uint64_t ComputeBestPeriodCount(int32_t sensorId, sptr<SensorBasicDataChannel> &channel); 62 uint64_t ComputeBestFifoCount(int32_t sensorId, sptr<SensorBasicDataChannel> &channel); 66 AppThreadInfo GetAppInfoByChannel(const sptr<SensorBasicDataChannel> &channel);
|
/base/inputmethod/imf/services/include/ |
D | input_channel.h | 36 InputChannel(const InputChannel &channel); 37 InputChannel &operator=(const InputChannel &channel);
|
/base/sensors/sensor/frameworks/native/sensor/src/ |
D | fd_listener.cpp | 31 void FdListener::SetChannel(SensorDataChannel *channel) in SetChannel() argument 33 channel_ = channel; in SetChannel()
|
D | sensor_file_descriptor_listener.cpp | 79 void SensorFileDescriptorListener::SetChannel(SensorDataChannel* channel) in SetChannel() argument 81 channel_ = channel; in SetChannel()
|
/base/security/access_token/services/tokensyncmanager/src/remote/ |
D | remote_command_manager.cpp | 167 auto channel = RemoteCommandExecutor::CreateChannel(nodeId); in NotifyDeviceOnline() local 168 if (channel == nullptr) { in NotifyDeviceOnline() 172 executor->SetChannel(channel); in NotifyDeviceOnline() 192 auto channel = GetExecutorChannel(nodeId); in NotifyDeviceOffline() local 193 if (channel != nullptr) { in NotifyDeviceOffline() 194 channel->Release(); in NotifyDeviceOffline()
|
D | soft_bus_session_listener.cpp | 106 auto channel = RemoteCommandManager::GetInstance().GetExecutorChannel(networkId); in OnBytesReceived() local 107 if (channel == nullptr) { in OnBytesReceived() 111 …channel->HandleDataReceived(sessionId, static_cast<unsigned char *>(const_cast<void *>(data)), dat… in OnBytesReceived()
|
/base/sensors/medical_sensor/frameworks/native/medical_sensor/src/ |
D | my_file_descriptor_listener.cpp | 72 void MyFileDescriptorListener::SetChannel(MedicalSensorDataChannel* channel) in SetChannel() argument 74 channel_ = channel; in SetChannel()
|