/base/security/access_token/services/tokensyncmanager/src/service/ |
D | token_sync_manager_service.cpp | 40 ACCESSTOKEN_LOG_INFO(LABEL, "TokenSyncManagerService()"); in TokenSyncManagerService() 45 ACCESSTOKEN_LOG_INFO(LABEL, "~TokenSyncManagerService()"); in ~TokenSyncManagerService() 51 ACCESSTOKEN_LOG_INFO(LABEL, "TokenSyncManagerService has already started!"); in OnStart() 54 ACCESSTOKEN_LOG_INFO(LABEL, "TokenSyncManagerService is starting"); in OnStart() 65 ACCESSTOKEN_LOG_INFO(LABEL, "Congratulations, TokenSyncManagerService start successfully!"); in OnStart() 70 ACCESSTOKEN_LOG_INFO(LABEL, "stop service"); in OnStop() 88 ACCESSTOKEN_LOG_INFO(LABEL, "Params is wrong."); in GetRemoteHapTokenInfo() 94 ACCESSTOKEN_LOG_INFO(LABEL, "FindDeviceInfo failed"); in GetRemoteHapTokenInfo() 104 ACCESSTOKEN_LOG_INFO(LABEL, in GetRemoteHapTokenInfo() 108 ACCESSTOKEN_LOG_INFO(LABEL, "get resultCode: %{public}d", resultCode); in GetRemoteHapTokenInfo() [all …]
|
/base/security/access_token/services/common/database/test/unittest/ |
D | database_test.cpp | 200 ACCESSTOKEN_LOG_INFO(LABEL, "SqliteStorageAddTest001 begin"); 220 ACCESSTOKEN_LOG_INFO(LABEL, "SqliteStorageAddTest001 end"); 231 ACCESSTOKEN_LOG_INFO(LABEL, "SqliteStorageAddTest002 begin"); 241 ACCESSTOKEN_LOG_INFO(LABEL, "SqliteStorageAddTest002 end"); 252 ACCESSTOKEN_LOG_INFO(LABEL, "SqliteStorageModifyTest001 begin"); 295 ACCESSTOKEN_LOG_INFO(LABEL, "SqliteStorageModifyTest001 end"); 306 ACCESSTOKEN_LOG_INFO(LABEL, "SqliteStorageRefreshAllTest001 begin"); 317 ACCESSTOKEN_LOG_INFO(LABEL, "SqliteStorageRefreshAllTest001 end"); 328 ACCESSTOKEN_LOG_INFO(LABEL, "SqliteStorageCreateInsertPrepareSqlCmdTest001 begin"); 331 ACCESSTOKEN_LOG_INFO(LABEL, "SqliteStorageCreateInsertPrepareSqlCmdTest001 end"); [all …]
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/ |
D | accesstoken_manager_service.cpp | 65 ACCESSTOKEN_LOG_INFO(LABEL, "AccessTokenManagerService()"); in AccessTokenManagerService() 70 ACCESSTOKEN_LOG_INFO(LABEL, "~AccessTokenManagerService()"); in ~AccessTokenManagerService() 76 ACCESSTOKEN_LOG_INFO(LABEL, "AccessTokenManagerService has already started!"); in OnStart() 79 ACCESSTOKEN_LOG_INFO(LABEL, "AccessTokenManagerService is starting"); in OnStart() 90 ACCESSTOKEN_LOG_INFO(LABEL, "Congratulations, AccessTokenManagerService start successfully!"); in OnStart() 95 ACCESSTOKEN_LOG_INFO(LABEL, "stop service"); in OnStop() 115 ACCESSTOKEN_LOG_INFO(LABEL, "permission: %{public}s", permissionName.c_str()); in GetDefPermission() 121 ACCESSTOKEN_LOG_INFO(LABEL, "tokenID: 0x%{public}x", tokenID); in GetDefPermissions() 135 …ACCESSTOKEN_LOG_INFO(LABEL, "tokenID: 0x%{public}x, isSystemGrant: %{public}d", tokenID, isSystemG… in GetReqPermissions() 158 …ACCESSTOKEN_LOG_INFO(LABEL, "callingTokenID: %{public}d, apiVersion: %{public}d", callingTokenID, … in GetSelfPermissionsState() [all …]
|
/base/security/access_token/services/tokensyncmanager/src/remote/ |
D | remote_command_manager.cpp | 59 ACCESSTOKEN_LOG_INFO(LABEL, "add uniqueId"); in AddCommand() 68 ACCESSTOKEN_LOG_INFO(LABEL, "add command result: %{public}d ", result); in AddCommand() 74 ACCESSTOKEN_LOG_INFO(LABEL, "remove command"); in RemoveCommand() 86 ACCESSTOKEN_LOG_INFO(LABEL, "start with udid: %{public}s , uniqueId: %{public}s ", in ExecuteCommand() 96 … ACCESSTOKEN_LOG_INFO(LABEL, "remoteCommandExecutor processOneCommand result:%{public}d ", result); in ExecuteCommand() 106 …ACCESSTOKEN_LOG_INFO(LABEL, "start with udid:%{public}s ", ConstantCommon::EncryptDevId(udid).c_st… in ProcessDeviceCommandImmediately() 115 ACCESSTOKEN_LOG_INFO(LABEL, "RemoteCommandExecutor is null for udid %{public}s ", in ProcessDeviceCommandImmediately() 121 ACCESSTOKEN_LOG_INFO(LABEL, "processBufferedCommands result: %{public}d", result); in ProcessDeviceCommandImmediately() 127 ACCESSTOKEN_LOG_INFO(LABEL, "start"); in Loop() 129 … ACCESSTOKEN_LOG_INFO(LABEL, "udid:%{public}s", ConstantCommon::EncryptDevId(it->first).c_str()); in Loop() [all …]
|
D | remote_command_executor.cpp | 50 ACCESSTOKEN_LOG_INFO(LABEL, "CreateChannel: create channel failed, targetNodeId=%{public}s", in CreateChannel() 67 …ACCESSTOKEN_LOG_INFO(LABEL, "targetNodeId %{public}s, process one command start, uniqueId: %{publi… in ProcessOneCommand() 137 ACCESSTOKEN_LOG_INFO(LABEL, "begin, targetNodeId: %{public}s, standalone: %{public}d", in ProcessBufferedCommands() 153 ACCESSTOKEN_LOG_INFO(LABEL, "end with running flag == false, targetNodeId: %{public}s", in ProcessBufferedCommands() 160 ACCESSTOKEN_LOG_INFO(LABEL, "end, no command left, targetNodeId: %{public}s", in ProcessBufferedCommands() 199 …ACCESSTOKEN_LOG_INFO(LABEL, "begin, targetNodeId: %{public}s", ConstantCommon::EncryptDevId(target… in ProcessBufferedCommandsWithThread() 204 ACCESSTOKEN_LOG_INFO(LABEL, "No buffered commands. targetNodeId: %{public}s", in ProcessBufferedCommandsWithThread() 229 ACCESSTOKEN_LOG_INFO(LABEL, in ProcessBufferedCommandsWithThread() 239 ACCESSTOKEN_LOG_INFO(LABEL, in ExecuteRemoteCommand() 260 ACCESSTOKEN_LOG_INFO(LABEL, "command executed uniqueId %{public}s", uniqueId.c_str()); in ExecuteRemoteCommand() [all …]
|
D | soft_bus_device_connection_listener.cpp | 54 ACCESSTOKEN_LOG_INFO(LABEL, in OnDeviceOnline() 76 ACCESSTOKEN_LOG_INFO(LABEL, in OnDeviceOffline() 99 ACCESSTOKEN_LOG_INFO(LABEL, "there is no remote decice online, exit tokensync process"); in OnDeviceOffline() 111 ACCESSTOKEN_LOG_INFO(LABEL, "networkId: %{public}s", networkId.c_str()); in OnDeviceReady() 117 ACCESSTOKEN_LOG_INFO(LABEL, "networkId: %{public}s", networkId.c_str()); in OnDeviceChanged()
|
/base/security/access_token/services/privacymanager/src/sensitive/camera_manager/ |
D | camera_service_callback_stub.cpp | 29 ACCESSTOKEN_LOG_INFO(LABEL, "CameraServiceCallbackStub Instance create"); in CameraServiceCallbackStub() 34 ACCESSTOKEN_LOG_INFO(LABEL, "CameraServiceCallbackStub Instance destroy"); in ~CameraServiceCallbackStub() 41 ACCESSTOKEN_LOG_INFO(LABEL, "CameraServiceCallbackStub: ReadInterfaceToken failed"); in OnRemoteRequest() 52 ACCESSTOKEN_LOG_INFO(LABEL, "default case, need check AudioListenerStub"); in OnRemoteRequest() 60 ACCESSTOKEN_LOG_INFO(LABEL, "OnCameraMute(%{public}d)", muteMode); in OnCameraMute()
|
/base/security/access_token/services/privacymanager/src/sensitive/audio_manager/ |
D | audio_global_switch_change_stub.cpp | 29 ACCESSTOKEN_LOG_INFO(LABEL, "AudioRoutingManagerListenerStub Instance create"); in AudioRoutingManagerListenerStub() 34 ACCESSTOKEN_LOG_INFO(LABEL, "AudioRoutingManagerListenerStub Instance destroy"); in ~AudioRoutingManagerListenerStub() 41 ACCESSTOKEN_LOG_INFO(LABEL, "AudioRoutingManagerListenerStub: ReadInterfaceToken failed"); in OnRemoteRequest() 54 ACCESSTOKEN_LOG_INFO(LABEL, "default case, need check AudioListenerStub"); in OnRemoteRequest() 63 ACCESSTOKEN_LOG_INFO(LABEL, "OnCameraMute(%{public}d)", in OnMicStateUpdated()
|
/base/security/access_token/services/privacymanager/src/active/ |
D | active_status_callback_manager.cpp | 74 ACCESSTOKEN_LOG_INFO(LABEL, "recordInstance is added"); in AddCallback() 80 ACCESSTOKEN_LOG_INFO(LABEL, "called"); in RemoveCallback() 90 ACCESSTOKEN_LOG_INFO(LABEL, "find callback"); in RemoveCallback() 114 ACCESSTOKEN_LOG_INFO(LABEL, "entry"); in ExecuteCallbackAsync() 121 ACCESSTOKEN_LOG_INFO(LABEL, "callbackStart"); in ExecuteCallbackAsync() 128 … ACCESSTOKEN_LOG_INFO(LABEL, "tokenId %{public}u, permName %{public}s", tokenId, permName.c_str()); in ExecuteCallbackAsync() 142 ACCESSTOKEN_LOG_INFO(LABEL, "callback excute changeType %{public}d", changeType); in ExecuteCallbackAsync() 152 ACCESSTOKEN_LOG_INFO(LABEL, "Waiting for the callback execution complete..."); in ExecuteCallbackAsync() 157 ACCESSTOKEN_LOG_INFO(LABEL, "The callback execution is complete"); in ExecuteCallbackAsync()
|
D | perm_active_status_callback_death_recipient.cpp | 31 ACCESSTOKEN_LOG_INFO(LABEL, "enter"); in OnRemoteDied() 43 ACCESSTOKEN_LOG_INFO(LABEL, "end"); in OnRemoteDied()
|
/base/security/access_token/services/privacymanager/src/sensitive/app_manager/ |
D | app_status_change_callback.cpp | 31 ACCESSTOKEN_LOG_INFO(LABEL, "ApplicationStateObserverStub Instance create"); in ApplicationStateObserverStub() 36 ACCESSTOKEN_LOG_INFO(LABEL, "ApplicationStateObserverStub Instance destroy"); in ~ApplicationStateObserverStub() 43 ACCESSTOKEN_LOG_INFO(LABEL, "ApplicationStateObserverStub: ReadInterfaceToken failed"); in OnRemoteRequest() 73 ACCESSTOKEN_LOG_INFO(LABEL, "OnChange(accessTokenId=%{public}d, state=%{public}d)", in OnForegroundApplicationChanged()
|
/base/security/access_token/interfaces/innerkits/tokensync/src/ |
D | token_sync_kit.cpp | 36 ACCESSTOKEN_LOG_INFO(LABEL, "%{public}s called, deviceID=%{public}s tokenID=%{public}d", in GetRemoteHapTokenInfo() 43 ACCESSTOKEN_LOG_INFO(LABEL, "%{public}s called, tokenID=%{public}d", __func__, tokenID); in DeleteRemoteHapTokenInfo() 49 …ACCESSTOKEN_LOG_INFO(LABEL, "%{public}s called tokenID=%{public}d", __func__, tokenInfo.baseInfo.t… in UpdateRemoteHapTokenInfo()
|
/base/security/access_token/services/tokensyncmanager/src/command/ |
D | delete_remote_token_command.cpp | 71 ACCESSTOKEN_LOG_INFO(LABEL, "end as: DeleteRemoteTokenCommand"); in Prepare() 76 ACCESSTOKEN_LOG_INFO(LABEL, "execute: start as: DeleteRemoteTokenCommand"); in Execute() 84 ACCESSTOKEN_LOG_INFO(LABEL, "error: get remote uniqueDeviceId failed"); in Execute() 99 ACCESSTOKEN_LOG_INFO(LABEL, "execute: end as: DeleteRemoteTokenCommand"); in Execute() 105 ACCESSTOKEN_LOG_INFO(LABEL, "Finish: end as: DeleteUidPermissionCommand"); in Finish()
|
D | update_remote_hap_token_command.cpp | 71 ACCESSTOKEN_LOG_INFO(LABEL, "execute: start as: UpdateRemoteHapTokenCommand"); in Execute() 80 … ACCESSTOKEN_LOG_INFO(LABEL, "UpdateRemoteHapTokenCommand: get remote uniqueDeviceId failed"); in Execute() 95 ACCESSTOKEN_LOG_INFO(LABEL, "execute: end as: UpdateRemoteHapTokenCommand"); in Execute() 101 ACCESSTOKEN_LOG_INFO(LABEL, "Finish: end as: DeleteUidPermissionCommand"); in Finish()
|
D | sync_remote_native_token_command.cpp | 79 ACCESSTOKEN_LOG_INFO(LABEL, "execute: start as: SyncRemoteNativeTokenCommand"); in Execute() 92 ACCESSTOKEN_LOG_INFO(LABEL, "execute: end as: SyncRemoteNativeTokenCommand"); in Execute() 116 ACCESSTOKEN_LOG_INFO(LABEL, "Finish: end as: SyncRemoteNativeTokenCommand ret %{public}d", ret); in Finish()
|
/base/security/access_token/services/privacymanager/src/sensitive/window_manager/ |
D | window_manager_privacy_agent.cpp | 32 ACCESSTOKEN_LOG_INFO(LABEL, "%{public}s called, code: %{public}u", __func__, code); in OnRemoteRequest() 34 ACCESSTOKEN_LOG_INFO(LABEL, "%{public}s called, read desciptor error", __func__); in OnRemoteRequest() 53 …ACCESSTOKEN_LOG_INFO(LABEL, "OnChange(tokenId=%{public}d, isShow=%{public}d)", accessTokenId, isSh… in UpdateCameraFloatWindowStatus()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/callback/ |
D | callback_manager.cpp | 72 ACCESSTOKEN_LOG_INFO(LABEL, "recordInstance is added"); in AddCallback() 87 ACCESSTOKEN_LOG_INFO(LABEL, "find callback"); in RemoveCallback() 96 ACCESSTOKEN_LOG_INFO(LABEL, "callbackInfoList_ %{public}u", (uint32_t)callbackInfoList_.size()); in RemoveCallback() 121 ACCESSTOKEN_LOG_INFO(LABEL, "entry"); in ExecuteCallbackAsync() 123 ACCESSTOKEN_LOG_INFO(LABEL, "callbackStart"); in ExecuteCallbackAsync() 135 ACCESSTOKEN_LOG_INFO(LABEL, in ExecuteCallbackAsync() 145 ACCESSTOKEN_LOG_INFO(LABEL, "callback excute"); in ExecuteCallbackAsync()
|
D | perm_state_callback_death_recipient.cpp | 32 ACCESSTOKEN_LOG_INFO(LABEL, "enter"); in OnRemoteDied() 44 ACCESSTOKEN_LOG_INFO(LABEL, "end"); in OnRemoteDied()
|
/base/security/access_token/interfaces/innerkits/accesstoken/src/ |
D | accesstoken_manager_proxy.cpp | 109 ACCESSTOKEN_LOG_INFO(LABEL, "result from server data = %{public}d", result); in GetDefPermission() 138 ACCESSTOKEN_LOG_INFO(LABEL, "result from server data = %{public}d", result); in GetDefPermissions() 176 ACCESSTOKEN_LOG_INFO(LABEL, "result from server data = %{public}d", result); in GetReqPermissions() 213 ACCESSTOKEN_LOG_INFO(LABEL, "result from server data = %{public}d", result); in GetPermissionFlag() 255 ACCESSTOKEN_LOG_INFO(LABEL, "result from server data = %{public}d", result); in GetSelfPermissionsState() 282 ACCESSTOKEN_LOG_INFO(LABEL, "result from server data = %{public}d", result); in GrantPermission() 309 ACCESSTOKEN_LOG_INFO(LABEL, "result from server data = %{public}d", result); in RevokePermission() 328 ACCESSTOKEN_LOG_INFO(LABEL, "result from server data = %{public}d", result); in ClearUserGrantedPermissionState() 358 ACCESSTOKEN_LOG_INFO(LABEL, "result from server data = %{public}d", result); in RegisterPermStateChangeCallback() 384 ACCESSTOKEN_LOG_INFO(LABEL, "result from server data = %{public}d", result); in UnRegisterPermStateChangeCallback() [all …]
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | permission_grant_event_test.cpp | 52 ACCESSTOKEN_LOG_INFO(LABEL, "NotifyPermGrantStoreResult001!"); 74 ACCESSTOKEN_LOG_INFO(LABEL, "NotifyPermGrantStoreResult002!"); 96 ACCESSTOKEN_LOG_INFO(LABEL, "NotifyPermGrantStoreResult003!");
|
/base/security/access_token/frameworks/common/include/ |
D | accesstoken_log.h | 26 #define ACCESSTOKEN_LOG_INFO(fmt, ...) HILOG_INFO(LOG_CORE, "[%{public}s]:" fmt, __func__, ##__VA_A… macro 35 #define ACCESSTOKEN_LOG_INFO(label, fmt, ...) \ macro 62 #define ACCESSTOKEN_LOG_INFO(fmt, ...) printf("[%s] info: %s: " fmt "\n", LOG_TAG, __func__, ##__VA… macro
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
D | accesstoken_info_manager.cpp | 68 ACCESSTOKEN_LOG_INFO(LABEL, "init begin!"); in Init() 73 ACCESSTOKEN_LOG_INFO(LABEL, "Init success"); in Init() 118 ACCESSTOKEN_LOG_INFO(LABEL, in InitHapTokenInfos() 166 ACCESSTOKEN_LOG_INFO(LABEL, in InitNativeTokenInfos() 204 ACCESSTOKEN_LOG_INFO(LABEL, "token %{public}u Unique info has exist, update.", id); in AddHapTokenInfo() 241 ACCESSTOKEN_LOG_INFO(LABEL, "token info is added %{public}u.", id); in AddNativeTokenInfo() 356 ACCESSTOKEN_LOG_INFO(LABEL, "remove hap token %{public}u ok!", id); in RemoveHapTokenInfo() 393 ACCESSTOKEN_LOG_INFO(LABEL, "remove native token %{public}u ok!", id); in RemoveNativeTokenInfo() 425 ACCESSTOKEN_LOG_INFO(LABEL, "token Id create failed"); in CreateHapTokenInfo() 450 ACCESSTOKEN_LOG_INFO(LABEL, "alloc token info failed"); in CreateHapTokenInfo() [all …]
|
/base/security/access_token/services/privacymanager/src/record/ |
D | permission_record_manager.cpp | 79 ACCESSTOKEN_LOG_INFO(LABEL, in AddRecord() 166 ACCESSTOKEN_LOG_INFO(LABEL, "GetPermissionUsedRecordsAsync task called"); in GetPermissionUsedRecordsAsync() 302 ACCESSTOKEN_LOG_INFO(LABEL, "Already has delete task!"); in ExecuteDeletePermissionRecordTask() 362 ACCESSTOKEN_LOG_INFO(LABEL, "camera float window is close!"); in FindRecordsToUpdateAndExecuted() 387 ACCESSTOKEN_LOG_INFO(LABEL, "tokenId %{public}d, status %{public}d", tokenId, status); in NotifyAppStateChange() 425 ACCESSTOKEN_LOG_INFO(LABEL, "entry ExecuteCallbackAsync, int32_t status is %{public}d", status); in CallbackExecute() 440 …ACCESSTOKEN_LOG_INFO(LABEL, "permission is %{public}s, status is %{public}d", permissionName.c_str… in GetGlobalSwitchStatus() 453 ACCESSTOKEN_LOG_INFO(LABEL, "global switch is open, update record from inactive"); in SavePermissionRecords() 458 ACCESSTOKEN_LOG_INFO(LABEL, "global switch is close, update record to inactive"); in SavePermissionRecords() 474 ACCESSTOKEN_LOG_INFO(LABEL, "===========OnMicStateChange(%{public}d)", switchStatus); in NotifyMicChange() [all …]
|
/base/security/access_token/services/privacymanager/src/service/ |
D | privacy_manager_service.cpp | 42 ACCESSTOKEN_LOG_INFO(LABEL, "PrivacyManagerService()"); in PrivacyManagerService() 47 ACCESSTOKEN_LOG_INFO(LABEL, "~PrivacyManagerService()"); in ~PrivacyManagerService() 53 ACCESSTOKEN_LOG_INFO(LABEL, "PrivacyManagerService has already started!"); in OnStart() 66 ACCESSTOKEN_LOG_INFO(LABEL, "Congratulations, PrivacyManagerService start successfully!"); in OnStart() 71 ACCESSTOKEN_LOG_INFO(LABEL, "stop service"); in OnStop()
|
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
D | remote_token_kit_test.cpp | 165 ACCESSTOKEN_LOG_INFO(LABEL, "SetUp ok."); in SetUp() 209 ACCESSTOKEN_LOG_INFO(LABEL, "SetRemoteHapTokenInfo001 start."); 274 ACCESSTOKEN_LOG_INFO(LABEL, "SetRemoteHapTokenInfo002 start."); 344 ACCESSTOKEN_LOG_INFO(LABEL, "SetRemoteHapTokenInfo003 start."); 396 ACCESSTOKEN_LOG_INFO(LABEL, "SetRemoteHapTokenInfo004 start."); 454 ACCESSTOKEN_LOG_INFO(LABEL, "SetRemoteHapTokenInfo005 start."); 511 ACCESSTOKEN_LOG_INFO(LABEL, "SetRemoteHapTokenInfo006 start."); 568 ACCESSTOKEN_LOG_INFO(LABEL, "SetRemoteHapTokenInfo007 start."); 619 ACCESSTOKEN_LOG_INFO(LABEL, "SetRemoteHapTokenInfo008 start."); 673 ACCESSTOKEN_LOG_INFO(LABEL, "SetRemoteHapTokenInfo009 start."); [all …]
|