/ohos5.0/base/powermgr/power_manager/services/native/src/wakeup_action/ |
H A D | wakeup_action_controller.cpp | 50 std::string reason; in IsLowCapacityWakeup() local 67 std::string reason; in ExecuteByGetReason() local 89 void WakeupActionController::HandleAction(const std::string& reason) in HandleAction() 104 void WakeupActionController::HandleHibernate(SuspendDeviceType reason) in HandleHibernate()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/efficiency_resources_jsunittest/ |
H A D | efficiency_resources_jsunit.test.js | 61 reason: "applyEfficiencyResourcesJsTest001", property in AnonymousFunction336a7b000100.AnonymousFunction336a7b000600.resRequest 86 reason: "applyEfficiencyResourcesJsTest002" property in AnonymousFunction336a7b000100.AnonymousFunction336a7b000700.resRequest 108 reason: "applyEfficiencyResourcesJsTest003" property in AnonymousFunction336a7b000100.AnonymousFunction336a7b000800.resRequest 130 reason: "applyEfficiencyResourcesJsTest004" property in AnonymousFunction336a7b000100.AnonymousFunction336a7b000900.resRequest 152 reason: "applyEfficiencyResourcesJsTest005" property in AnonymousFunction336a7b000100.AnonymousFunction336a7b000a00.resRequest 197 reason: "applyEfficiencyResourcesJsTest007", property in AnonymousFunction336a7b000100.AnonymousFunction336a7b000c00.resRequest 221 reason: "applyEfficiencyResourcesJsTest008", property in AnonymousFunction336a7b000100.AnonymousFunction336a7b000d00.resRequest 244 reason: "applyEfficiencyResourcesJsTest009", property in AnonymousFunction336a7b000100.AnonymousFunction336a7b000e00.resRequest 268 reason: "applyEfficiencyResourcesJsTest010", property in AnonymousFunction336a7b000100.AnonymousFunction336a7b000f00.resRequest
|
/ohos5.0/base/powermgr/power_manager/services/native/src/actions/default/ |
H A D | device_power_action.cpp | 32 void DevicePowerAction::Reboot(const std::string& reason) in Reboot() 43 void DevicePowerAction::Shutdown(const std::string& reason) in Shutdown() 49 std::string DevicePowerAction::Updater(const std::string& reason) in Updater()
|
/ohos5.0/foundation/window/window_manager/wmserver/src/ |
H A D | minimize_app.cpp | 31 void MinimizeApp::AddNeedMinimizeApp(const sptr<WindowNode>& node, MinimizeReason reason) in AddNeedMinimizeApp() 61 std::vector<wptr<WindowNode>> MinimizeApp::GetNeedMinimizeAppNodesWithReason(MinimizeReason reason) in GetNeedMinimizeAppNodesWithReason() 88 void MinimizeApp::ClearNodesWithReason(MinimizeReason reason) in ClearNodesWithReason() 127 bool MinimizeApp::IsNodeNeedMinimizeWithReason(const sptr<WindowNode>& node, MinimizeReason reason) in IsNodeNeedMinimizeWithReason() 147 bool MinimizeApp::EnableMinimize(MinimizeReason reason) in EnableMinimize() 160 MinimizeReason reason = static_cast<MinimizeReason>(reasons & (~reasons + 1)); in ExecuteMinimizeTargetReasons() local
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/samples/StageManualTestSuite/entry/ |
H A D | package.json | 15 "reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", string 19 "reason":"need use ohos.permission.GET_BUNDLE_INFO", string 23 "reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE", string
|
/ohos5.0/base/request/request/test/unittest/js_test/requestSystemQueryTest/entry/src/main/ |
H A D | module.json | 47 "reason": "$string:permission_reason", string 55 "reason": "$string:permission_reason", string 63 "reason":"need use ohos.permission.INTERNET." string 67 "reason":"need use ohos.permission.DOWNLOAD_SESSION_MANAGER." string 71 "reason":"need use ohos.permission.UPLOAD_SESSION_MANAGER." string 74 "reason": "need use ohos.permission.WRITE_MEDIA", string 83 "reason": "need use ohos.permission.WRITE_MEDIA", string
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/MediaLibraryExt/entry/src/main/ |
H A D | module.json | 58 "reason": "$string:permission_distributed_datasync", string 70 "reason": "$string:permission_used_stats", string 94 "reason": "$string:permission_cloudfile_sync", string 106 "reason": "$string:permission_proxy_authorization_uri", string 130 "reason": "$string:permission_access_rdb_and_kvdb", string 142 "reason": "$string:permission_read_cloud_sync_config", string 154 "reason": "$string:permission_get_appkey2", string 165 "reason": "$string:permission_read_imagevideo", string 177 "reason": "$string:permission_get_wifi_info", string 188 "reason": "$string:permission_get_app_state", string [all …]
|
/ohos5.0/base/telephony/cellular_data/services/include/ |
H A D | data_disconnect_params.h | 28 DataDisconnectParams(const std::string &apnType, DisConnectionReason reason) in DataDisconnectParams() 49 void SetReason(DisConnectionReason reason) in SetReason()
|
/ohos5.0/base/powermgr/power_manager/services/native/src/suspend/ |
H A D | suspend_controller.cpp | 163 … monitor->RegisterListener([this](SuspendDeviceType reason, uint32_t action, uint32_t delay) { in Init() 180 void SuspendController::ExecSuspendMonitorByReason(SuspendDeviceType reason) in ExecSuspendMonitorByReason() 385 void SuspendController::SuspendWhenScreenOff(SuspendDeviceType reason, uint32_t action, uint32_t de… in RegisterSettingsObserver() 427 void SuspendController::ControlListener(SuspendDeviceType reason, uint32_t action, uint32_t delay) in RegisterSettingsObserver() 464 void SuspendController::StartSleepTimer(SuspendDeviceType reason, uint32_t action, uint32_t delay) in RegisterSettingsObserver() 505 void SuspendController::HandleAction(SuspendDeviceType reason, uint32_t action) in RegisterSettingsObserver() 530 void SuspendController::HandleAutoSleep(SuspendDeviceType reason) in RegisterSettingsObserver() 549 void SuspendController::HandleForceSleep(SuspendDeviceType reason) in RegisterSettingsObserver() 587 void SuspendController::HandleHibernate(SuspendDeviceType reason) in RegisterSettingsObserver() 603 void SuspendController::HandleShutdown(SuspendDeviceType reason) in RegisterSettingsObserver() [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/non_mock/ |
H A D | block_connect_service_test.cpp | 102 DisabledReason reason = DisabledReason::DISABLED_AUTHENTICATION_FAILURE; variable 129 DisabledReason reason = DisabledReason::DISABLED_DISASSOC_REASON; variable 153 DisabledReason reason = DisabledReason::DISABLED_DISASSOC_REASON; variable 218 DisabledReason reason = DisabledReason::DISABLED_AUTHENTICATION_FAILURE; variable
|
/ohos5.0/foundation/communication/netstack/frameworks/native/websocket_client/ |
H A D | websocket_client.cpp | 76 int HttpDummy(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) in HttpDummy() 83 lws_callback_reasons reason; member 112 int LwsCallbackWsPeerInitiatedClose(lws *wsi, lws_callback_reasons reason, void *user, void *in, si… in LwsCallbackWsPeerInitiatedClose() 132 int LwsCallbackClientWritable(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t l… in LwsCallbackClientWritable() 172 int LwsCallbackClientConnectionError(lws *wsi, lws_callback_reasons reason, void *user, void *in, s… in LwsCallbackClientConnectionError() 186 int LwsCallbackClientReceive(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t le… in LwsCallbackClientReceive() 238 int LwsCallbackClientEstablished(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_… in LwsCallbackClientEstablished() 254 int LwsCallbackClientClosed(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) in LwsCallbackClientClosed() 276 int LwsCallbackWsiDestroy(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t len) in LwsCallbackWsiDestroy() 287 int LwsCallbackProtocolDestroy(lws *wsi, lws_callback_reasons reason, void *user, void *in, size_t … in LwsCallbackProtocolDestroy() [all …]
|
/ohos5.0/foundation/barrierfree/accessibility/services/test/mock/powermanager/src/ |
H A D | mock_power_mgr_client.cpp | 39 PowerErrors PowerMgrClient::RebootDevice(const std::string& reason) in RebootDevice() 44 PowerErrors PowerMgrClient::ShutDownDevice(const std::string& reason) in ShutDownDevice() 49 PowerErrors PowerMgrClient::SuspendDevice(SuspendDeviceType reason, bool suspendImmed) in SuspendDevice() 54 PowerErrors PowerMgrClient::WakeupDevice(WakeupDeviceType reason, const std::string& detail) in WakeupDevice()
|
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/ |
H A D | hisysevent_base_query_callback.h | 46 virtual void OnComplete(int32_t reason, int32_t total) in OnComplete() 53 virtual void OnComplete(int32_t reason, int32_t total, int64_t seq) in OnComplete()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/recovery/ |
H A D | ability_recovery.cpp | 244 bool AbilityRecovery::ScheduleSaveAbilityState(StateReason reason) in ScheduleSaveAbilityState() 284 bool AbilityRecovery::ScheduleRecoverAbility(StateReason reason, const Want *want) in ScheduleRecoverAbility() 337 bool AbilityRecovery::LoadSavedState(StateReason reason) in LoadSavedState() 370 bool AbilityRecovery::ScheduleRestoreAbilityState(StateReason reason, const Want &want) in ScheduleRestoreAbilityState() 396 std::string AbilityRecovery::GetSavedPageStack(StateReason reason) in GetSavedPageStack() 410 bool AbilityRecovery::IsSaveAbilityState(StateReason reason) in IsSaveAbilityState()
|
H A D | app_recovery.cpp | 162 bool AppRecovery::ScheduleSaveAppState(StateReason reason, uintptr_t ability) in ScheduleSaveAppState() 221 bool AppRecovery::ScheduleRecoverApp(StateReason reason) in ScheduleRecoverApp() 264 bool AppRecovery::TryRecoverApp(StateReason reason) in TryRecoverApp() 275 void AppRecovery::DoRecoverApp(StateReason reason) in DoRecoverApp() 302 void AppRecovery::DoSaveAppState(StateReason reason, uintptr_t ability) in DoSaveAppState() 335 bool AppRecovery::ShouldSaveAppState(StateReason reason) in ShouldSaveAppState() 361 bool AppRecovery::ShouldRecoverApp(StateReason reason) in ShouldRecoverApp()
|
/ohos5.0/base/request/request/test/unittest/js_test/requestAgentTaskTest/entry/src/main/ |
H A D | module.json | 48 "reason": "$string:permission_reason", string 56 "reason": "$string:permission_reason", string 64 "reason":"need use ohos.permission.INTERNET." string 67 "reason": "need use ohos.permission.WRITE_MEDIA", string 76 "reason": "need use ohos.permission.WRITE_MEDIA", string
|
/ohos5.0/base/request/request/test/unittest/js_test/requestQueryTaskTest/entry/src/main/ |
H A D | module.json | 48 "reason": "$string:permission_reason", string 56 "reason": "$string:permission_reason", string 64 "reason":"need use ohos.permission.INTERNET." string 67 "reason": "need use ohos.permission.WRITE_MEDIA", string 76 "reason": "need use ohos.permission.WRITE_MEDIA", string
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | sta_monitor_test.cpp | 228 std::string reason = "null"; in OnBssidChangedCallBackSuccess() local 235 std::string reason = "null"; in OnBssidChangedCallBackFail() local 243 std::string reason = "null"; in OnBssidChangedCallBackFail1() local 255 std::string reason = "null"; in OnBssidChangedCallBackFail2() local 324 int reason = 1; in OnReportDisConnectReasonCallBackSuccess() local 331 int reason = 1; in OnReportDisConnectReasonCallBackFail() local
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/include/ |
H A D | lnn_connection_mock.h | 84 static void onVerifyFailed(uint32_t requestId, int32_t reason) in onVerifyFailed() 96 static void onConnOpenFailed(uint32_t requestId, int32_t reason) in onConnOpenFailed()
|
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | session_stage_proxy_lifecycle_test.cpp | 107 uint32_t reason = 1; variable 119 uint32_t reason = 1; variable
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/permission_bundle/bmsGrantPermission3/src/main/ |
H A D | config.json | 79 "reason": "use ohos.permission.READ_CALENDAR", string 83 "reason": "use ohos.permission.USE_BLUETOOTH", string 87 "reason": "use ohos.permission.ANSWER_CALL", string 91 "reason": "use ohos.permission.GET_TELEPHONY_STATE", string 95 "reason": "use ohos.permission.POWER_MANAGER", string
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/permission_bundle/bmsGrantPermission6/src/main/ |
H A D | config.json | 79 "reason": "use ohos.permission.ANSWER_CALL", string 83 "reason": "use ohos.permission.GET_TELEPHONY_STATE", string 87 "reason": "use ohos.permission.READ_CALENDAR", string 91 "reason": "use ohos.permission.USE_BLUETOOTH", string 95 "reason": "use ohos.permission.POWER_MANAGER", string
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/permission_bundle/bmsGrantPermission7/src/main/ |
H A D | config.json | 79 "reason": "use ohos.permission.READ_CALENDAR", string 83 "reason": "use ohos.permission.USE_BLUETOOTH", string 87 "reason": "use ohos.permission.ANSWER_CALL", string 91 "reason": "use ohos.permission.GET_TELEPHONY_STATE", string 95 "reason": "use ohos.permission.POWER_MANAGER", string
|
/ohos5.0/base/sensors/sensor/test/unittest/interfaces/js/sensor/ |
H A D | config.json | 19 "reason": "", string 29 "reason": "need user ohos.permission.ACTIVITY_MOTION", string 39 "reason": "", string 49 "reason": "user ohos.permission.GRANT_SENSITIVE_PERMISSIONS" string 53 "reason": "user ohos.permission.REVOKE_SENSITIVE_PERMISSIONS" string
|
/ohos5.0/base/powermgr/power_manager/services/native/src/ |
H A D | power_state_machine.cpp | 184 bool PowerStateMachine::CanTransitTo(PowerState to, StateChangeReason reason) in CanTransitTo() 461 bool PowerStateMachine::IsPreBrightAuthReason(StateChangeReason reason) in IsPreBrightAuthReason() 519 StateChangeReason reason = GetReasonByWakeType(type); in HandlePreBrightWakeUp() local 905 void PowerStateMachine::NotifyPowerStateChanged(PowerState state, StateChangeReason reason) in WakeupDeviceInner() 1472 std::shared_ptr<FFRTTimer> ffrtTimer, PowerState state, StateChangeReason reason) : in WakeupDeviceInner() 1549 void PowerStateMachine::UpdateSettingStateFlag(PowerState state, StateChangeReason reason) in WakeupDeviceInner() 1567 void PowerStateMachine::HandleProximityScreenOffTimer(PowerState state, StateChangeReason reason) in WakeupDeviceInner() 1591 bool PowerStateMachine::HandlePreBrightState(StateChangeReason reason) in WakeupDeviceInner() 1634 bool PowerStateMachine::SetState(PowerState state, StateChangeReason reason, bool force) in WakeupDeviceInner() 1895 std::string reason = "UNKNOWN"; in WakeupDeviceInner() local [all …]
|