Home
last modified time | relevance | path

Searched refs:identity (Results 1 - 25 of 237) sorted by relevance

12345678910

/foundation/resourceschedule/resource_schedule_service/ressched/plugins/frame_aware_plugin/src/
H A Dnetwork_latency_controller.cpp77 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 DarkComponent.js193 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 Dsplit_device_log_table_manager.cpp20 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 Dcollaboration_log_table_manager.cpp26 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 Dwifi_scan_feature_lite.cpp39 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 Dwifi_device_feature_lite.cpp39 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 Ddhcp_client_feature_lite.cpp37 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 Ddhcp_server_feature_lite.cpp39 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 Dsamgr_wms.cpp37 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 Dsamgr_server_rpc.c55 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 Dsamgr_server.c49 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 Dnetwork_latency_controller.h36 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 Dipc_cskeleton.cpp79 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 Dshader_cache_test.cpp62 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 Din_process_call_wrapper.h23 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 Dsamgr_player_server.cpp38 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 Dnetwork_latency_controller_test.cpp89 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 Ddmslite_feature.c29 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 Dsamgr_ims.cpp36 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 Dpub_sub_feature.c23 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 Dservice.c90 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 Daudio_capturer_samgr.cpp33 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 Dsamgr_camera.cpp39 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 Drecorder_samgr.cpp33 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 Dsqlite_log_table_manager.h29 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;

Completed in 13 milliseconds

12345678910