Home
last modified time | relevance | path

Searched refs:isAllow (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_ext_seccomp_test.cpp91 static int CheckStatus(int status, bool isAllow) in CheckStatus() argument
100 return isAllow ? -1 : 0; in CheckStatus()
104 return isAllow ? 0 : -1; in CheckStatus()
110 …ic int CheckSyscall(SeccompFilterType type, const char *filterName, SyscallFunc func, bool isAllow) in CheckSyscall() argument
156 return CheckStatus(status, isAllow); in CheckSyscall()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/
H A Djs-apis-app-ability-dialogSession-sys.md139 let isAllow: boolean = true;
141 // isAllow为true时,用户请求结果targetWant为dialogSessionInfo.targetAbilityInfos之一
148 dialogSession.sendDialogResult(dialogSessionId, targetWant, isAllow, (err, data) => {
208 let isAllow: boolean = true;
210 // isAllow为true时,用户请求结果targetWant为dialogSessionInfo.targetAbilityInfos之一
217 dialogSession.sendDialogResult(dialogSessionId, targetWant, isAllow)
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/js_dialog_session/
H A Djs_dialog_session.cpp101 bool isAllow = false; in OnSendDialogResult() local
102 if (!ConvertFromJsValue(env, info.argv[ARGC_TWO], isAllow)) { in OnSendDialogResult()
108 [dialogSessionId, want, isAllow](napi_env env, NapiAsyncTask &task, int32_t status) { in OnSendDialogResult()
109 … errorcode = AbilityManagerClient::GetInstance()->SendDialogResult(want, dialogSessionId, isAllow); in OnSendDialogResult()
/ohos5.0/base/update/update_app/feature/ota/src/main/ets/util/
H A DRouterUtils.ts85 …let isAllow: boolean = StateManager.isAllowExecute(upgradeData.data?.status, UpdateAction.SHOW_NEW…
86 resolve(isAllow);
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/
H A Djs-apis-app-ability-dialogSession-sys.md139 let isAllow: boolean = true;
141 // When isAllow is true, targetWant is one of dialogSessionInfo.targetAbilityInfos.
148 dialogSession.sendDialogResult(dialogSessionId, targetWant, isAllow, (err, data) => {
208 let isAllow: boolean = true;
210 // When isAllow is true, targetWant is one of dialogSessionInfo.targetAbilityInfos.
217 dialogSession.sendDialogResult(dialogSessionId, targetWant, isAllow)
/ohos5.0/foundation/resourceschedule/device_standby/utils/test/fuzztest/configmanager_fuzzer/
H A Dconfigmanager_fuzzer.cpp138 bool isAllow = GetData<bool>(); in DoSomethingInterestingWithMyAPI() local
150 condition, debugMode, isAllow); in DoSomethingInterestingWithMyAPI()
152 condition, debugMode, isAllow); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/resourceschedule/device_standby/utils/policy/include/
H A Dstandby_config_manager.h93 uint32_t condition, bool isAllow, bool isApp);
95 uint32_t condition, bool isAllow, bool isApp);
108 uint32_t condition, bool isAllow, bool isApp, const std::function<void(bool, std::set<T>&,
/ohos5.0/foundation/bundlemanager/ecological_rule_manager/interfaces/innerkits/src/
H A Decological_rule_mgr_service_param.cpp32 if (!in.ReadBool(rule->isAllow)) { in Unmarshalling()
42 bool res = parcel.WriteBool(isAllow) && parcel.WriteParcelable(replaceWant); in Marshalling()
H A Decological_rule_mgr_service_client.cpp107 rule.isAllow = true; in QueryFreeInstallExperience()
141 rule.isAllow = true; in QueryStartExperience()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/free_install/
H A Dbms_ecological_rule_mgr_service_param.cpp37 if (!in.ReadBool(rule->isAllow)) { in Unmarshalling()
56 if (!parcel.WriteBool(isAllow)) { in Marshalling()
H A Dbms_ecological_rule_mgr_service_client.cpp112 LOG_D(BMS_TAG_DEFAULT, "isAllow = %{public}d, replaceWant = %{public}s", rule.isAllow, in QueryFreeInstallExperience()
/ohos5.0/base/startup/init/test/unittest/seccomp/
H A Dseccomp_unittest.cpp90 static int CheckStatus(int status, bool isAllow) in CheckStatus() argument
99 return isAllow ? -1 : 0; in CheckStatus()
103 return isAllow ? 0 : -1; in CheckStatus()
109 …ic int CheckSyscall(SeccompFilterType type, const char *filterName, SyscallFunc func, bool isAllow) in CheckSyscall() argument
159 return CheckStatus(status, isAllow); in CheckSyscall()
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/
H A Dnet_policy_callback_observer.cpp143 bool isAllow = *isAllowPtr; in CreateNetBackgroundPolicyChangeParam() local
144 napi_value jsValue = NapiUtils::GetBoolean(env, isAllow); in CreateNetBackgroundPolicyChangeParam()
/ohos5.0/foundation/resourceschedule/device_standby/utils/policy/src/
H A Dstandby_config_manager.cpp436 uint32_t condition, bool isAllow, bool isApp, const std::function<void(bool, std::set<T>&, in GetEligibleAllowConfig() argument
447 if (config.isAllow_ != isAllow) { in GetEligibleAllowConfig()
468 uint32_t condition, bool isAllow, bool isApp) in GetEligibleAllowTimeConfig() argument
480 return GetEligibleAllowConfig<TimeLtdProcess>(paramName, condition, isAllow, isApp, func); in GetEligibleAllowTimeConfig()
484 uint32_t condition, bool isAllow, bool isApp) in GetEligiblePersistAllowConfig() argument
494 return GetEligibleAllowConfig<std::string>(paramName, condition, isAllow, isApp, func); in GetEligiblePersistAllowConfig()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/free_install/
H A Dbms_ecological_rule_mgr_service_param.h30 bool isAllow = true; member
/ohos5.0/foundation/bundlemanager/ecological_rule_manager/interfaces/innerkits/include/
H A Decological_rule_mgr_service_param.h30 bool isAllow = true; member
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/include/
H A Dfirewall_rule.h114 virtual void SetUidFirewallRule(uint32_t uid, bool isAllow);
/ohos5.0/foundation/resourceschedule/device_standby/plugins/strategy/include/
H A Dbase_network_strategy.h108 virtual void SetNetAllowApps(bool isAllow);
/ohos5.0/foundation/resourceschedule/device_standby/plugins/strategy/src/
H A Dbase_network_strategy.cpp319 void BaseNetworkStrategy::SetNetAllowApps(bool isAllow) in SetNetAllowApps() argument
332 key, value.name_.c_str(), isAllow); in SetNetAllowApps()
336 SetFirewallAllowedList(uids, isAllow); in SetNetAllowApps()
/ohos5.0/foundation/communication/netmanager_base/
H A DREADME_zh.md107 | @ohos.net.policy | function setDeviceIdleAllowlist(uid: number, isAllow: boolean, callback: Async…
108 | @ohos.net.policy | function setDeviceIdleAllowlist(uid: number, isAllow: boolean): Promise\<void>…
H A DREADME.md86 | @ohos.net.policy | function setDeviceIdleAllowlist(uid: number, isAllow: boolean, callback: Async…
87 | @ohos.net.policy | function setDeviceIdleAllowlist(uid: number, isAllow: boolean): Promise\<void>…
/ohos5.0/foundation/resourceschedule/device_standby/services/core/include/
H A Dstandby_service_impl.h144 …llowList(uint32_t allowTypeIndex, std::vector<AllowInfo>& allowInfoList, bool isAllow, bool isApp);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/test/mock/include/
H A Dmock_ability_mgr_host.h256 virtual int SetShowOnLockScreen(bool isAllow) override in SetShowOnLockScreen() argument
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_native_test/ability_delegator/
H A Dmock_ability_delegator_stub.h100 MOCK_METHOD1(SetShowOnLockScreen, int(bool isAllow));
280 MOCK_METHOD1(SetShowOnLockScreen, int(bool isAllow));
/ohos5.0/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service_impl.cpp834 bool isAllow, bool isApp) in GetPersistAllowList() argument
843 AllowTypeName[allowTypeIndex], condition, isAllow, true); in GetPersistAllowList()
846 AllowTypeName[allowTypeIndex], condition, isAllow, false); in GetPersistAllowList()

12