modify softbus pkg name

Signed-off-by: hobbycao <caohui10@huawei.com>
This commit is contained in:
hobbycao
2022-03-16 11:50:47 +08:00
parent 25065de4a9
commit cbb2736b16
4 changed files with 4 additions and 4 deletions
@@ -74,7 +74,7 @@ const uint32_t DCAMERA_PRODUCER_FPS_DEFAULT = 30;
const uint32_t DCAMERA_MAX_RECV_DATA_LEN = 104857600;
const uint32_t DISTRIBUTED_HARDWARE_CAMERA_SOURCE_SA_ID = 4803;
const uint32_t DISTRIBUTED_HARDWARE_CAMERA_SINK_SA_ID = 4804;
const std::string DCAMERA_PKG_NAME = "DBinderBus_" + std::to_string(getpid());
const std::string DCAMERA_PKG_NAME = "ohos.dhardware";
const std::string SNAP_SHOT_SESSION_FLAG = "dataSnapshot";
const std::string CONTINUE_SESSION_FLAG = "dataContinue";
@@ -39,7 +39,7 @@ private:
std::shared_ptr<DCameraSoftbusSession> softbusSession_;
std::string mySessionName_;
DCameraSessionMode mode_;
const std::string SESSION_HEAD = "DBinder.ohos.dhardware.dcamera_";
const std::string SESSION_HEAD = "ohos.dhardware.dcamera_";
};
}
}
@@ -39,7 +39,7 @@ private:
std::vector<std::shared_ptr<DCameraSoftbusSession>> softbusSessions_;
std::string mySessionName_;
DCameraSessionMode mode_;
const std::string SESSION_HEAD = "DBinder.ohos.dhardware.dcamera_";
const std::string SESSION_HEAD = "ohos.dhardware.dcamera_";
};
}
}
@@ -72,7 +72,7 @@ private:
private:
std::mutex optLock_;
const string PKG_NAME = "DBinderBus_" + std::to_string(getpid());
const string PKG_NAME = "ohos.dhardware";
static const uint32_t DCAMERA_SESSION_NAME_MAX_LEN = 128;
map<DCAMERA_CHANNEL_ROLE, ISessionListener> sessListeners_;
std::map<std::string, uint32_t> sessionTotal_;