/foundation/resourceschedule/resource_schedule_service/ressched/plugins/frame_aware_plugin/src/ |
H A D | network_latency_controller.cpp | 77 void NetworkLatencyController::HandleRequest(long long value, const std::string &identity)
in HandleRequest() argument 86 HandleAddRequest(identity);
in HandleRequest() 89 HandleDelRequest(identity);
in HandleRequest() 97 void NetworkLatencyController::HandleAddRequest(const std::string &identity)
in HandleAddRequest() argument 103 if (iter->first == identity) {
in HandleAddRequest() 112 RME_LOGD("%{public}s: add new request from %{public}s", __func__, identity.c_str());
in HandleAddRequest() 113 AddRequest(identity);
in HandleAddRequest() 118 taskHandlerMap_[identity] = ffrtQueue_->submit_h(
in HandleAddRequest() 119 [this, identity] { AutoDisableTask(identity); },
in HandleAddRequest() 127 HandleDelRequest(const std::string &identity) HandleDelRequest() argument 145 AddRequest(const std::string &identity) AddRequest() argument 158 DelRequest(const std::string &identity) DelRequest() argument 171 AutoDisableTask(const std::string &identity) AutoDisableTask() argument [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 193 BackgroundColorModifier.identity = Symbol('backgroundColor'); 210 WidthModifier.identity = Symbol('width'); 255 BorderWidthModifier.identity = Symbol('borderWidth'); 272 HeightModifier.identity = Symbol('height'); 290 ChainModeifier.identity = Symbol('chainMode'); 340 BorderRadiusModifier.identity = Symbol('borderRadius'); 377 PositionModifier.identity = Symbol('position'); 423 BorderColorModifier.identity = Symbol('borderColor'); 440 TransformModifier.identity = Symbol('transform'); 484 BorderStyleModifier.identity [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | split_device_log_table_manager.cpp | 20 const std::string &identity) in CalcPrimaryKeyHash() 22 (void)identity; in CalcPrimaryKeyHash() 38 std::string SplitDeviceLogTableManager::GetInsertTrigger(const TableInfo &table, const std::string &identity) in GetInsertTrigger() argument 50 CalcPrimaryKeyHash("NEW.", table, identity) + " AND flag&0x02=0x02) THEN 0x22 ELSE 0x02 END,"; in GetInsertTrigger() 51 insertTrigger += CalcPrimaryKeyHash("NEW.", table, identity) + ");\n"; in GetInsertTrigger() 56 std::string SplitDeviceLogTableManager::GetUpdateTrigger(const TableInfo &table, const std::string &identity) in GetUpdateTrigger() argument 67 updateTrigger += " WHERE hash_key=" + CalcPrimaryKeyHash("OLD.", table, identity) + in GetUpdateTrigger() 75 updateTrigger += " WHERE hash_key=" + CalcPrimaryKeyHash("OLD.", table, identity) + " AND flag&0x02=0x02;\n"; in GetUpdateTrigger() 78 "get_last_time(), CASE WHEN (" + CalcPrimaryKeyHash("NEW.", table, identity) + " != " + in GetUpdateTrigger() 79 CalcPrimaryKeyHash("NEW.", table, identity) in GetUpdateTrigger() 19 CalcPrimaryKeyHash(const std::string &references, const TableInfo &table, const std::string &identity) CalcPrimaryKeyHash() argument 86 GetDeleteTrigger(const TableInfo &table, const std::string &identity) GetDeleteTrigger() argument [all...] |
H A D | collaboration_log_table_manager.cpp | 26 const std::string &identity) in CalcPrimaryKeyHash() 30 sql = "calc_hash('" + identity + "'||calc_hash(" + references + std::string(DBConstant::SQLITE_INNER_ROWID) + in CalcPrimaryKeyHash() 48 std::string CollaborationLogTableManager::GetInsertTrigger(const TableInfo &table, const std::string &identity) in GetInsertTrigger() argument 62 CalcPrimaryKeyHash("NEW.", table, identity) + " AND flag&0x02=0x02) THEN 0x22 ELSE 0x02 END,"; in GetInsertTrigger() 63 insertTrigger += CalcPrimaryKeyHash("NEW.", table, identity) + ");\n"; in GetInsertTrigger() 68 std::string CollaborationLogTableManager::GetUpdateTrigger(const TableInfo &table, const std::string &identity) in GetUpdateTrigger() argument 91 "get_last_time(), CASE WHEN (" + CalcPrimaryKeyHash("NEW.", table, identity) + " != " + in GetUpdateTrigger() 92 CalcPrimaryKeyHash("NEW.", table, identity) + ") THEN 0x02 ELSE 0x22 END, " + in GetUpdateTrigger() 94 CalcPrimaryKeyHash("NEW.", table, identity) + ", '', '', '', '', '', 0);\n"; in GetUpdateTrigger() 100 std::string CollaborationLogTableManager::GetDeleteTrigger(const TableInfo &table, const std::string &identity) in GetDeleteTrigger() argument 25 CalcPrimaryKeyHash(const std::string &references, const TableInfo &table, const std::string &identity) CalcPrimaryKeyHash() argument [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan_sa/ |
H A D | wifi_scan_feature_lite.cpp | 39 Identity identity; member 48 static void OnInitialize(Feature *feature, Service *parent, Identity identity) in OnInitialize() argument 52 scanFeature->identity = identity; in OnInitialize() 60 static void OnStop(Feature *feature, Identity identity) in OnStop() argument 67 scanFeature->identity.queueId = NULL; in OnStop() 68 scanFeature->identity.featureId = -1; in OnStop() 69 scanFeature->identity.serviceId = -1; in OnStop() 95 .identity = {-1, -1, NULL},
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/ |
H A D | wifi_device_feature_lite.cpp | 39 Identity identity; member 48 static void OnInitialize(Feature *feature, Service *parent, Identity identity) in OnInitialize() argument 52 deviceFeature->identity = identity; in OnInitialize() 60 static void OnStop(Feature *feature, Identity identity) in OnStop() argument 67 deviceFeature->identity.queueId = NULL; in OnStop() 68 deviceFeature->identity.featureId = -1; in OnStop() 69 deviceFeature->identity.serviceId = -1; in OnStop() 95 .identity = {-1, -1, NULL},
|
/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_client_feature_lite.cpp | 37 Identity identity; member 46 static void OnInitialize(Feature *feature, Service *parent, Identity identity) in OnInitialize() argument 50 serverFeature->identity = identity; in OnInitialize() 58 static void OnStop(Feature *feature, Identity identity) in OnStop() argument 65 serverFeature->identity.queueId = NULL; in OnStop() 66 serverFeature->identity.featureId = -1; in OnStop() 67 serverFeature->identity.serviceId = -1; in OnStop() 93 .identity = {-1, -1, NULL},
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_server_feature_lite.cpp | 39 Identity identity; member 48 static void OnInitialize(Feature *feature, Service *parent, Identity identity) in OnInitialize() argument 52 serverFeature->identity = identity; in OnInitialize() 60 static void OnStop(Feature *feature, Identity identity) in OnStop() argument 67 serverFeature->identity.queueId = nullptr; in OnStop() 68 serverFeature->identity.featureId = -1; in OnStop() 69 serverFeature->identity.serviceId = -1; in OnStop() 95 .identity = {-1, -1, nullptr},
|
/foundation/window/window_manager_lite/services/wms/ |
H A D | samgr_wms.cpp | 37 Identity identity; member 46 static BOOL Initialize(Service* service, Identity identity) in Initialize() argument 49 example->identity = identity; in Initialize() 51 identity.serviceId, identity.featureId, identity.queueId); in Initialize()
|
/foundation/systemabilitymgr/samgr_lite/samgr_server/source/ |
H A D | samgr_server_rpc.c | 55 static BOOL Initialize(Service *service, Identity identity); 61 static int32 ProcPutFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity); 62 static int32 ProcGetFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity); 64 static int RegisterSamgrEndpoint(SvcIdentity* identity, int token, const char *service, const char *feature); 65 static void TransmitPolicy(int ret, const SvcIdentity* identity, IpcIo *reply, 211 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 214 server->identity = identity; in Initialize() 216 SAMGR_AddRouter(server->samgr, &saName, &server->identity, GET_IUNKNOWN(*server)); in Initialize() 256 int AddEndpoint(SvcIdentity identity, cons argument 272 SvcIdentity identity = {(int32)INVALID_INDEX, (uint32)INVALID_INDEX, (uint32)INVALID_INDEX}; ProcEndpoint() local 300 ProcPutFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity) ProcPutFeature() argument 359 TransmitPolicy(int ret, const SvcIdentity* identity, IpcIo *reply, const PolicyTrans *policy, uint32 policyNum) TransmitPolicy() argument 404 ProcGetFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity) ProcGetFeature() argument 462 SvcIdentity identity = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; ProcFeature() local 617 RegisterSamgrEndpoint(SvcIdentity* identity, int token, const char *service, const char *feature) RegisterSamgrEndpoint() argument [all...] |
H A D | samgr_server.c | 49 static BOOL Initialize(Service *service, Identity identity);
55 static int32 ProcPutFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity);
56 static int32 ProcGetFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity);
58 static int RegisterSamgrEndpoint(const IpcContext* context, SvcIdentity* identity);
59 static void TransmitPolicy(int ret, const SvcIdentity* identity, IpcIo *reply,
116 static BOOL Initialize(Service *service, Identity identity)
in Initialize() argument 119 server->identity = identity;
in Initialize() 121 SAMGR_AddRouter(server->samgr, &saName, &server->identity, GET_IUNKNOWN(*server));
in Initialize() 171 SvcIdentity identity in ProcEndpoint() local 198 ProcPutFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity) ProcPutFeature() argument 249 TransmitPolicy(int ret, const SvcIdentity* identity, IpcIo *reply, const PolicyTrans *policy, uint32 policyNum) TransmitPolicy() argument 294 ProcGetFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity) ProcGetFeature() argument 352 SvcIdentity identity = {INVALID_INDEX, INVALID_INDEX, INVALID_INDEX}; ProcFeature() local 504 RegisterSamgrEndpoint(const IpcContext* context, SvcIdentity* identity) RegisterSamgrEndpoint() argument [all...] |
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/frame_aware_plugin/include/latency_control/ |
H A D | network_latency_controller.h | 36 void HandleRequest(long long value, const std::string &identity);
42 void HandleAddRequest(const std::string &identity);
43 void HandleDelRequest(const std::string &identity);
44 void AddRequest(const std::string &identity);
45 void DelRequest(const std::string &identity);
46 void AutoDisableTask(const std::string &identity);
|
/foundation/communication/ipc/ipc/native/src/c_api/source/ |
H A D | ipc_cskeleton.cpp | 79 int OH_IPCSkeleton_SetCallingIdentity(const char *identity) in OH_IPCSkeleton_SetCallingIdentity() argument 81 if (identity == nullptr) { in OH_IPCSkeleton_SetCallingIdentity() 85 std::string str = identity; in OH_IPCSkeleton_SetCallingIdentity() 89 int OH_IPCSkeleton_ResetCallingIdentity(char **identity, int32_t *len, OH_IPC_MemAllocator allocator) in OH_IPCSkeleton_ResetCallingIdentity() argument 91 if (identity == nullptr || len == nullptr || allocator == nullptr) { in OH_IPCSkeleton_ResetCallingIdentity() 97 *identity = static_cast<char*>(allocator(length)); in OH_IPCSkeleton_ResetCallingIdentity() 98 if (*identity == nullptr) { in OH_IPCSkeleton_ResetCallingIdentity() 102 if (memcpy_s(*identity, length, str.c_str(), length) != EOK) { in OH_IPCSkeleton_ResetCallingIdentity()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/render_context/ |
H A D | shader_cache_test.cpp | 62 const char* identity = nullptr; in HWTEST_F() local 67 cache.InitShaderCache(identity, 0, false); in HWTEST_F() 91 const char* identity = nullptr; in HWTEST_F() local 96 cache.InitShaderCache(identity, 0, false); in HWTEST_F() 123 const char* identity = nullptr; in HWTEST_F() local 130 cache.InitShaderCache(identity, 0, false); in HWTEST_F() 156 const char* identity = nullptr; in HWTEST_F() local 162 cache.InitShaderCache(identity, 0, false); in HWTEST_F() 189 const char* identity = nullptr; in HWTEST_F() local 195 cache.InitShaderCache(identity, in HWTEST_F() 222 const char* identity = nullptr; HWTEST_F() local 259 const char* identity = "testIdentity"; HWTEST_F() local 299 const char* identity = nullptr; HWTEST_F() local 315 const char* identity = nullptr; HWTEST_F() local 332 const char* identity = nullptr; HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/services/common/include/ |
H A D | in_process_call_wrapper.h | 23 std::string identity = IPCSkeleton::ResetCallingIdentity(); \ 25 IPCSkeleton::SetCallingIdentity(identity); \ 31 std::string identity = IPCSkeleton::ResetCallingIdentity(); \ 33 IPCSkeleton::SetCallingIdentity(identity); \
|
/foundation/multimedia/media_lite/services/player_lite/server/src/ |
H A D | samgr_player_server.cpp | 38 Identity identity;
member 47 static BOOL Initialize(Service* service, Identity identity)
in Initialize() argument 50 example->identity = identity;
in Initialize() 51 MEDIA_INFO_LOG("Initialize(%s)! Identity<%d, %d>\n", SERVICE_NAME, identity.serviceId, identity.featureId);
in Initialize()
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/frame_aware_plugin/test/unittest/ |
H A D | network_latency_controller_test.cpp | 89 const std::string identity("test.application.1"); in HWTEST_F() 92 ctrl.HandleRequest(NetworkLatencyController::NETWORK_LATENCY_REQUEST_LOW, identity); in HWTEST_F() 97 ctrl.HandleRequest(NetworkLatencyController::NETWORK_LATENCY_REQUEST_NORMAL, identity); in HWTEST_F() 102 ctrl.HandleRequest(-1, identity); in HWTEST_F() 146 const std::string identity("my.test.application"); in HWTEST_F() 149 ctrl.HandleRequest(NetworkLatencyController::NETWORK_LATENCY_REQUEST_LOW, identity); in HWTEST_F() 154 ctrl.HandleRequest(NetworkLatencyController::NETWORK_LATENCY_REQUEST_LOW, identity); in HWTEST_F() 167 const std::string identity("my.test.application"); in HWTEST_F() 170 ctrl.HandleRequest(NetworkLatencyController::NETWORK_LATENCY_REQUEST_NORMAL, identity); in HWTEST_F() 191 // cannot cancel the request using another identity in HWTEST_F() [all...] |
/foundation/ability/dmsfwk_lite/source/ |
H A D | dmslite_feature.c | 29 static void OnInitialize(Feature *feature, Service *parent, Identity identity); 30 static void OnStop(Feature *feature, Identity identity); 39 .identity = {-1, -1, NULL}, 59 static void OnInitialize(Feature *feature, Service *parent, Identity identity) in OnInitialize() argument 65 ((DmsLite*) feature)->identity = identity; in OnInitialize() 68 static void OnStop(Feature *feature, Identity identity) in OnStop() argument
|
/foundation/window/window_manager_lite/services/ims/ |
H A D | samgr_ims.cpp | 36 Identity identity; member 45 static BOOL Initialize(Service* service, Identity identity) in Initialize() argument 48 example->identity = identity; in Initialize() 50 identity.serviceId, identity.featureId, identity.queueId); in Initialize()
|
/foundation/systemabilitymgr/samgr_lite/communication/broadcast/source/ |
H A D | pub_sub_feature.c | 23 static void OnInitialize(Feature *feature, Service *parent, Identity identity);
24 static void OnStop(Feature *feature, Identity identity);
57 static void OnInitialize(Feature *feature, Service *parent, Identity identity)
in OnInitialize() argument 60 ((PubSubFeature *)feature)->identity = identity;
in OnInitialize() 63 static void OnStop(Feature *feature, Identity identity)
in OnStop() argument 66 (void)identity;
in OnStop() 82 if (item->consumer->identity == NULL) {
in OnMessage()
|
/foundation/systemabilitymgr/samgr_lite/samgr/source/ |
H A D | service.c | 90 void DEFAULT_MessageHandle(ServiceImpl *serviceImpl, const Identity *identity, Request *msg)
in DEFAULT_MessageHandle() argument 92 if (serviceImpl->serviceId != identity->serviceId) {
in DEFAULT_MessageHandle() 96 if (identity->featureId < 0) {
in DEFAULT_MessageHandle() 103 if (VECTOR_Size(&serviceImpl->features) <= identity->featureId) {
in DEFAULT_MessageHandle() 107 FeatureImpl *featureImpl = (FeatureImpl *)VECTOR_At(&(serviceImpl->features), identity->featureId);
in DEFAULT_MessageHandle() 146 Identity identity = {INVALID_INDEX, INVALID_INDEX, NULL};
in DEFAULT_GetFeatureId() local 148 return identity;
in DEFAULT_GetFeatureId() 151 identity.serviceId = serviceImpl->serviceId;
in DEFAULT_GetFeatureId() 153 identity.queueId = serviceImpl->taskPool->queueId;
in DEFAULT_GetFeatureId() 159 return identity;
in DEFAULT_GetFeatureId() [all...] |
/foundation/multimedia/audio_lite/services/server/src/ |
H A D | audio_capturer_samgr.cpp | 33 Identity identity; member 42 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 50 capturerSvc->identity = identity; in Initialize() 52 AUDIO_CAPTURER_SERVICE_NAME, identity.serviceId, in Initialize() 53 identity.featureId); in Initialize()
|
/foundation/multimedia/camera_lite/services/server/src/ |
H A D | samgr_camera.cpp | 39 Identity identity; member 48 static BOOL Initialize(Service* service, Identity identity) in Initialize() argument 54 example->identity = identity; in Initialize() 56 identity.serviceId, identity.featureId); in Initialize()
|
/foundation/multimedia/media_lite/services/recorder_lite/server/src/ |
H A D | recorder_samgr.cpp | 33 Identity identity; member 42 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument 45 recordSvc->identity = identity; in Initialize() 46 MEDIA_INFO_LOG("Initialize(%s)! Identity<%d, %d>", RECORDER_SERVICE_NAME, identity.serviceId, in Initialize() 47 identity.featureId); in Initialize()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_log_table_manager.h | 29 const std::string &identity) = 0; 31 // The parameter "identity" is a hash string that identifies a device 32 int AddRelationalLogTableTrigger(sqlite3 *db, const TableInfo &table, const std::string &identity); 42 virtual std::string GetInsertTrigger(const TableInfo &table, const std::string &identity) = 0; 43 virtual std::string GetUpdateTrigger(const TableInfo &table, const std::string &identity) = 0; 44 virtual std::string GetDeleteTrigger(const TableInfo &table, const std::string &identity) = 0;
|