/base/startup/init/services/modules/init_context/ |
H A D | init_context_static.c | 26 int InitSubInitContext(InitContextType type, const SubInitContext *context) in InitSubInitContext() argument 28 PLUGIN_CHECK(type < INIT_CONTEXT_MAIN, return -1, "Invalid type %d", type); in InitSubInitContext() 29 PLUGIN_CHECK(context != NULL, return -1, "Invalid context %d", type); in InitSubInitContext() 30 g_subInitContext[type].type = type; in InitSubInitContext() 31 g_subInitContext[type].startSubInit = context->startSubInit; in InitSubInitContext() 32 g_subInitContext[type] in InitSubInitContext() 45 StartSubInit(InitContextType type) StartSubInit() argument 101 GetSubInitContext(InitContextType type) GetSubInitContext() argument [all...] |
H A D | init_context.h | 37 InitContextType type;
member 45 InitContextType type;
member 46 int (*startSubInit)(InitContextType type);
48 int (*executeCmdInSubInit)(InitContextType type, const char *, const char *);
49 int (*setSubInitContext)(InitContextType type);
52 int StartSubInit(InitContextType type);
53 int InitSubInitContext(InitContextType type, const SubInitContext *context);
55 SubInitInfo *GetSubInitInfo(InitContextType type);
60 InitContextType type;
member
|
H A D | init_context.c | 44 static void SubInitMain(InitContextType type, int readFd, int writeFd); 47 static int SubInitSetSelinuxContext(InitContextType type); 51 PLUGIN_LOGW("SubInitRun %d ", arg->type); in SubInitRun() 52 SubInitSetSelinuxContext(arg->type); in SubInitRun() 56 SubInitMain(arg->type, arg->socket[1], arg->socket[1]); in SubInitRun() 76 static int SubInitStart(InitContextType type) in SubInitStart() argument 78 PLUGIN_CHECK(type < INIT_CONTEXT_MAIN, return -1, "Invalid type %d", type); in SubInitStart() 79 SubInitInfo *subInfo = &g_subInitInfo[type]; in SubInitStart() 117 SubInitExecuteCmd(InitContextType type, const char *name, const char *cmdContent) SubInitExecuteCmd() argument 221 SubInitMain(InitContextType type, int readFd, int writeFd) SubInitMain() argument 254 SubInitSetSelinuxContext(InitContextType type) SubInitSetSelinuxContext() argument 266 GetSubInitInfo(InitContextType type) GetSubInitInfo() argument [all...] |
/base/security/permission_lite/services/ipc_auth/include/ |
H A D | policy_preset.h | 26 .type = RANGE,
36 .type = RANGE,
49 .type = RANGE,
59 .type = FIXED,
71 .type = FIXED,
75 .type = RANGE,
85 .type = FIXED,
89 .type = RANGE,
102 .type = FIXED,
114 .type [all...] |
/base/hiviewdfx/hidumper/frameworks/native/src/common/ |
H A D | dump_cfg.cpp | 133 " name=%{public}s, type=%{public}d[%{public}s], expand_=%{public}d, target=%{public}s," in Dump() 154 std::string DumpCfg::ToStr(int type) in ToStr() argument 156 if (type == DumperConstant::NONE) { in ToStr() 158 } else if (type == DumperConstant::GROUP) { in ToStr() 160 } else if ((type >= DumperConstant::DUMPER_BEGIN) && (type <= DumperConstant::DUMPER_END)) { in ToStr() 161 return ToDumperStr(type); in ToStr() 162 } else if ((type >= DumperConstant::FILTER_BEGIN) && (type <= DumperConstant::FILTER_END)) { in ToStr() 163 return ToFilterStr(type); in ToStr() 176 ToDumperStr(int type) ToDumperStr() argument 210 ToFilterStr(int type) ToFilterStr() argument 220 ToOutputStr(int type) ToOutputStr() argument 234 ToLevelStr(int type) ToLevelStr() argument 248 ToTypeStr(int type) ToTypeStr() argument [all...] |
/base/msdp/device_status/libs/src/ |
H A D | devicestatus_algorithm_manager.cpp | 37 bool AlgoMgr::StartSensor(Type type) in StartSensor() argument 40 int32_t sensorType = GetSensorTypeId(type); in StartSensor() 46 FI_HILOGE("Sensor type mismatch"); in StartSensor() 83 FI_HILOGE("Unsupported algorithm type"); in RegisterCallback() 116 int32_t AlgoMgr::GetSensorTypeId(Type type) in GetSensorTypeId() argument 118 FI_HILOGI("Get sensor type: %{public}d", type); in GetSensorTypeId() 119 switch (type) { in GetSensorTypeId() 137 ErrCode AlgoMgr::Enable(Type type) in Enable() argument 140 if (!StartSensor(type)) { in Enable() 185 Disable(Type type) Disable() argument 230 DisableCount(Type type) DisableCount() argument 236 UnregisterSensor(Type type) UnregisterSensor() argument [all...] |
/base/msdp/device_status/intention/dfx/src/ |
H A D | cooperate_hisysevent.cpp | 61 FI_HILOGE("serialStr_ can't find the cooperate hisysevent type"); in WriteInputFunc() 78 int32_t CooperateDFX::WriteEnable(OHOS::HiviewDFX::HiSysEvent::EventType type) in WriteEnable() argument 80 if (type == OHOS::HiviewDFX::HiSysEvent::EventType::BEHAVIOR) { in WriteEnable() 81 return WriteInputFunc(CooperateType::ENABLE_SUCC, type); in WriteEnable() 83 return WriteInputFunc(CooperateType::ENABLE_FAIL, type); in WriteEnable() 86 int32_t CooperateDFX::WriteDisable(OHOS::HiviewDFX::HiSysEvent::EventType type) in WriteDisable() argument 88 if (type == OHOS::HiviewDFX::HiSysEvent::EventType::BEHAVIOR) { in WriteDisable() 89 return WriteInputFunc(CooperateType::DISABLE_SUCC, type); in WriteDisable() 91 return WriteInputFunc(CooperateType::DISABLE_FAIL, type); in WriteDisable() 94 int32_t CooperateDFX::WriteLocalStart(OHOS::HiviewDFX::HiSysEvent::EventType type) in WriteLocalStart() argument 102 WriteRemoteStart(OHOS::HiviewDFX::HiSysEvent::EventType type) WriteRemoteStart() argument 110 WriteLocalStop(OHOS::HiviewDFX::HiSysEvent::EventType type) WriteLocalStop() argument 118 WriteRemoteStop(OHOS::HiviewDFX::HiSysEvent::EventType type) WriteRemoteStop() argument 126 WriteOpenSession(OHOS::HiviewDFX::HiSysEvent::EventType type) WriteOpenSession() argument 134 WriteStart(OHOS::HiviewDFX::HiSysEvent::EventType type) WriteStart() argument 142 WriteStop(OHOS::HiviewDFX::HiSysEvent::EventType type) WriteStop() argument 159 auto type = OHOS::HiviewDFX::HiSysEvent::EventType::BEHAVIOR; WriteCooperateState() local [all...] |
/base/hiviewdfx/hilog/interfaces/native/innerkits/include/hilog/ |
H A D | log_c.h | 28 * Log type of LOG_APP: 0-0xFFFF
29 * Log type of LOG_CORE & LOG_INIT: 0xD000000-0xD0FFFFF
42 /* Log type */
44 /* min log type */
56 /* max log type */
89 int HiLogPrint(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...)
95 * @param type enum:LogType
97 #define HILOG_DEBUG(type, ...) ((void)HILOG_IMPL((type), LOG_DEBUG, LOG_DOMAIN, LOG_TAG, __VA_ARGS__))
99 #define HILOG_INFO(type, [all...] |
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_sensor_adapter_impl.cpp | 28 int32_t ArkSensorAdapterImpl::IsOhosSensorSupported(int32_t type) in IsOhosSensorSupported() argument 30 return real_->IsOhosSensorSupported(type); in IsOhosSensorSupported() 33 int32_t ArkSensorAdapterImpl::GetOhosSensorReportingMode(int32_t type) in GetOhosSensorReportingMode() argument 35 return real_->GetOhosSensorReportingMode(type); in GetOhosSensorReportingMode() 38 double ArkSensorAdapterImpl::GetOhosSensorDefaultSupportedFrequency(int32_t type) in GetOhosSensorDefaultSupportedFrequency() argument 40 return real_->GetOhosSensorDefaultSupportedFrequency(type); in GetOhosSensorDefaultSupportedFrequency() 43 double ArkSensorAdapterImpl::GetOhosSensorMinSupportedFrequency(int32_t type) in GetOhosSensorMinSupportedFrequency() argument 45 return real_->GetOhosSensorMinSupportedFrequency(type); in GetOhosSensorMinSupportedFrequency() 48 double ArkSensorAdapterImpl::GetOhosSensorMaxSupportedFrequency(int32_t type) in GetOhosSensorMaxSupportedFrequency() argument 50 return real_->GetOhosSensorMaxSupportedFrequency(type); in GetOhosSensorMaxSupportedFrequency() 53 SubscribeOhosSensor(int32_t type, int64_t samplingInterval) SubscribeOhosSensor() argument 68 UnsubscribeOhosSensor(int32_t type) UnsubscribeOhosSensor() argument [all...] |
/base/msdp/device_status/test/unittest/interfaces/src/ |
H A D | devicestatus_client_test.cpp | 43 GTEST_LOG_(INFO) << "DeviceStatusClientTestCallback type: " << devicestatusData.type; in OnDeviceStatusChanged() 45 EXPECT_TRUE(devicestatusData.type == Type::TYPE_VERTICAL_POSITION && in OnDeviceStatusChanged() 53 * @tc.type: FUNC 97 * @tc.type: FUNC 106 Type type = Type::TYPE_ABSOLUTE_STILL; in HWTEST_F() local 107 Data data = stationaryMgr->GetDeviceStatusData(type); in HWTEST_F() 108 EXPECT_TRUE(data.type == type && data.value >= invalidValue && data.value <= exitValue); in HWTEST_F() 110 type in HWTEST_F() [all...] |
/base/request/request/frameworks/native/src/ |
H A D | request.cpp | 29 void Request::AddListener(const SubscribeType &type, const std::shared_ptr<IResponseListener> &listener) in AddListener() argument 31 if (type == SubscribeType::RESPONSE) { in AddListener() 37 void Request::RemoveListener(const SubscribeType &type, const std::shared_ptr<IResponseListener> &listener) in RemoveListener() argument 39 if (type == SubscribeType::RESPONSE) { in RemoveListener() 48 if (notifyData->type == SubscribeType::REMOVE && notifyData->version != Version::API10 in NeedNotify() 52 if ((notifyData->type == SubscribeType::COMPLETED || notifyData->type == SubscribeType::FAILED) in NeedNotify() 59 void Request::AddListener(const SubscribeType &type, const std::shared_ptr<INotifyDataListener> &listener) in AddListener() argument 62 if (type != SubscribeType::RESPONSE && type < SubscribeTyp in AddListener() 73 RemoveListener(const SubscribeType &type, const std::shared_ptr<INotifyDataListener> &listener) RemoveListener() argument [all...] |
/base/msdp/device_status/test/unittest/services/moduletest/src/ |
H A D | devicestatus_module_test.cpp | 42 GTEST_LOG_(INFO) << "DeviceStatusModuleTestCallback type: " << devicestatusData.type; in OnDeviceStatusChanged() 44 EXPECT_EQ(true, devicestatusData.type == g_moduleTest && in OnDeviceStatusChanged() 54 * @tc.type: FUNC 59 Type type = g_moduleTest; in HWTEST_F() local 64 stationaryManager->SubscribeCallback(type, ActivityEvent::ENTER_EXIT, ReportLatencyNs::LONG, cb); in HWTEST_F() 66 stationaryManager->UnsubscribeCallback(type, ActivityEvent::ENTER_EXIT, cb); in HWTEST_F() 72 * @tc.type: FUNC 78 Type type = g_moduleTest; in HWTEST_F() local 80 Data data = stationaryManager->GetDeviceStatusData(type); in HWTEST_F() 97 Type type = g_moduleTest; HWTEST_F() local 116 Type type = g_moduleTest; HWTEST_F() local 135 Type type = g_moduleTest; HWTEST_F() local [all...] |
/base/hiviewdfx/hilog/interfaces/native/kits/include/hilog/ |
H A D | log.h | 24 * For example, you can use these functions to output logs of the specified log type, service domain, log tag, 38 * the specified log type and level, and specify the privacy identifier.\n 133 * You can use this function to output logs based on the specified log type, log level, service domain, log tag, 136 * @param type Indicates the log type. The type for third-party applications is defined by {@link LOG_APP}. 144 * @param ... Indicates a list of parameters. The number and type of parameters must map onto the format specifiers 150 int OH_LOG_Print(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...) 170 * @param type Indicates the log type [all...] |
/base/msdp/device_status/test/fuzztest/devicestatusagent_fuzzer/ |
H A D | devicestatusagent_fuzzer.cpp | 37 std::cout << "type: " << devicestatusData.type << std::endl; in OnEventResult() 45 int32_t type[1] { -1 }; in TestSubscribeAgentEvent() 47 errno_t ret = memcpy_s(type, sizeof(type), data, idSize); in TestSubscribeAgentEvent() 53 agent_->SubscribeAgentEvent(static_cast<Type>(type[0]), ActivityEvent::ENTER_EXIT, in TestSubscribeAgentEvent() 57 TestUnSubscribeAgentEvent(static_cast<Type>(type[0])); in TestSubscribeAgentEvent() 60 void DevicestatusAgentFuzzer::TestUnSubscribeAgentEvent(Type type) in TestUnSubscribeAgentEvent() argument 64 agent_->UnsubscribeAgentEvent(type, ActivityEvent::ENTER_EXIT); in TestUnSubscribeAgentEvent() 70 int32_t type[ in TestSubscribeAgentEventIsNullptr() 89 int32_t type[1]; TestSubscribeAgentEventTypeIsNullptr() local 104 TestUnSubscribeAgentEventTypeIsNullptr(Type type) TestUnSubscribeAgentEventTypeIsNullptr() argument [all...] |
/base/update/updater/test/unittest/updater_ui_test/driver/ |
H A D | keys_input_device_unittest.cpp | 47 input_event ev = {.type = EV_KEY + 1}; in HWTEST_F() 48 uint32_t type = 0; in HWTEST_F() local 49 EXPECT_EQ(KeysInputDevice::GetInstance().HandleKeyEvent(ev, type), 0); in HWTEST_F() 50 ev.type = EV_KEY; in HWTEST_F() 51 EXPECT_EQ(KeysInputDevice::GetInstance().HandleKeyEvent(ev, type), 0); in HWTEST_F() 53 EXPECT_EQ(KeysInputDevice::GetInstance().HandleKeyEvent(ev, type), 0); in HWTEST_F() 55 EXPECT_EQ(KeysInputDevice::GetInstance().HandleKeyEvent(ev, type), 0); in HWTEST_F() 57 EXPECT_EQ(KeysInputDevice::GetInstance().HandleKeyEvent(ev, type), 0); in HWTEST_F() 59 EXPECT_EQ(KeysInputDevice::GetInstance().HandleKeyEvent(ev, type), 0); in HWTEST_F() 61 EXPECT_EQ(KeysInputDevice::GetInstance().HandleKeyEvent(ev, type), in HWTEST_F() [all...] |
/base/update/updateservice/frameworks/js/napi/update/include/ |
H A D | update_result.h | 50 if (type == SessionType::SESSION_DOWNLOAD || type == SessionType::SESSION_UPGRADE) { in Release() 52 } else if (type == SessionType::SESSION_CHECK_VERSION) { in Release() 54 } else if (type == SessionType::SESSION_GET_NEW_VERSION) { in Release() 56 } else if (type == SessionType::SESSION_GET_NEW_VERSION_DESCRIPTION || in Release() 57 type == SessionType::SESSION_GET_CUR_VERSION_DESCRIPTION) { in Release() 59 } else if (type == SessionType::SESSION_GET_CUR_VERSION) { in Release() 61 } else if (type == SessionType::SESSION_GET_POLICY) { in Release() 64 ENGINE_LOGI("UpdateResult Release, unknow type"); in Release() 76 this->type in operator =() [all...] |
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/parse/ |
H A D | parse_smaps_rollup_info.cpp | 37 string type; in GetValue() local 39 bool success = MemoryUtil::GetInstance().GetTypeAndValue(str, type, value); in GetValue() 43 if (type == "Rss") { in GetValue() 47 string type; in GetValue() local 49 bool success = MemoryUtil::GetInstance().GetTypeAndValue(str, type, value); in GetValue() 53 if (type == "Pss") { in GetValue() 55 } else if (type == "Private_Clean") { in GetValue() 57 } else if (type == "Private_Dirty") { in GetValue() 61 string type; in GetValue() local 63 bool success = MemoryUtil::GetInstance().GetTypeAndValue(str, type, valu in GetValue() [all...] |
H A D | parse_smaps_info.cpp | 34 bool ParseSmapsInfo::GetHasPidValue(const string &str, string &type, uint64_t &value) in GetHasPidValue() argument 38 success = MemoryUtil::GetInstance().GetTypeAndValue(str, type, value); in GetHasPidValue() 40 if (type == "Rss") { in GetHasPidValue() 46 success = MemoryUtil::GetInstance().GetTypeAndValue(str, type, value); in GetHasPidValue() 48 if (type == "Pss" || type == "Private_Clean" || type == "Private_Dirty") { in GetHasPidValue() 54 success = MemoryUtil::GetInstance().GetTypeAndValue(str, type, value); in GetHasPidValue() 56 if (type == "Shared_Clean" || type in GetHasPidValue() 66 GetNoPidValue(const string &str, string &type, uint64_t &value) GetNoPidValue() argument 74 GetValue(const MemoryFilter::MemoryType &memType, const string &str, string &type, uint64_t &value) GetValue() argument 83 GetSmapsValue(const MemoryFilter::MemoryType &memType, const string &str, string &type, uint64_t &value) GetSmapsValue() argument [all...] |
/base/hiviewdfx/hilog/interfaces/native/innerkits/include/hilog_base/ |
H A D | log_base.h | 28 * Log type of LOG_APP: 0-0xFFFF 29 * Log type of LOG_CORE & LOG_INIT: 0xD000000-0xD0FFFFF 42 /* Log type */ 44 /* min log type */ 56 /* max log type */ 78 int HiLogBasePrint(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...) 89 * @param type enum:LogType 91 #define HILOG_BASE_DEBUG(type, ...) ((void)HiLogBasePrint((type), LOG_DEBUG, LOG_DOMAIN, LOG_TAG, __VA_ARGS__)) 93 #define HILOG_BASE_INFO(type, [all...] |
/base/msdp/device_status/frameworks/native/src/ |
H A D | devicestatus_agent.cpp | 33 FI_HILOGI("type:%{public}d, value:%{public}d", static_cast<Type>(devicestatusData.type), in OnDeviceStatusChanged() 41 int32_t DeviceStatusAgent::SubscribeAgentEvent(Type type, in SubscribeAgentEvent() argument 48 if (!(type > Type::TYPE_INVALID && type <= Type::TYPE_LID_OPEN) || in SubscribeAgentEvent() 53 RegisterServiceEvent(type, event, latency); in SubscribeAgentEvent() 58 int32_t DeviceStatusAgent::UnsubscribeAgentEvent(Type type, ActivityEvent event) in UnsubscribeAgentEvent() argument 60 if (type > Type::TYPE_INVALID && type <= Type::TYPE_LID_OPEN && event > ActivityEvent::EVENT_INVALID in UnsubscribeAgentEvent() 62 UnRegisterServiceEvent(type, even in UnsubscribeAgentEvent() 69 RegisterServiceEvent(Type type, ActivityEvent event, ReportLatencyNs latency) RegisterServiceEvent() argument 77 UnRegisterServiceEvent(Type type, ActivityEvent event) UnRegisterServiceEvent() argument [all...] |
/base/security/crypto_framework/frameworks/js/jsi/src/ |
H A D | jsi_list.cpp | 30 LOS_DL_LIST *GetListHeader(LiteAlgType type) in GetListHeader() argument 33 if (type == g_listMap[index].type) { in GetListHeader() 41 void ListObjInit(LiteAlgType type) in ListObjInit() argument 43 LOS_ListInit(GetListHeader(type)); in ListObjInit() 46 HcfResult ListAddObjNode(LiteAlgType type, uint32_t addAddr) in ListAddObjNode() argument 54 if (GetListHeader(type)->pstNext == nullptr) { in ListAddObjNode() 55 LOS_ListInit(GetListHeader(type)); in ListAddObjNode() 57 LOS_ListAdd(GetListHeader(type), &(obj->listNode)); in ListAddObjNode() 62 void ListDeleteObjNode(LiteAlgType type, uint32_ argument 80 ListDestroy(LiteAlgType type) ListDestroy() argument [all...] |
/base/msdp/device_status/services/native/src/ |
H A D | devicestatus_manager.cpp | 52 Data DeviceStatusManager::GetLatestDeviceStatusData(Type type) in GetLatestDeviceStatusData() argument 55 Data data = {type, OnChangedValue::VALUE_EXIT}; in GetLatestDeviceStatusData() 56 if ((type <= TYPE_INVALID) || (type >= TYPE_MAX)) { in GetLatestDeviceStatusData() 57 FI_HILOGE("GetLatestDeviceStatusData type_:%{public}d is error", type); in GetLatestDeviceStatusData() 67 if (data.type == iter->first) { in GetLatestDeviceStatusData() 72 return {type, OnChangedValue::VALUE_INVALID}; in GetLatestDeviceStatusData() 75 bool DeviceStatusManager::Enable(Type type) in Enable() argument 78 if ((type <= TYPE_INVALID) || (type > in Enable() 87 Disable(Type type) Disable() argument 100 InitAlgoMngrInterface(Type type) InitAlgoMngrInterface() argument 179 Subscribe(Type type, ActivityEvent event, ReportLatencyNs latency, sptr<IRemoteDevStaCallback> callback) Subscribe() argument 228 Unsubscribe(Type type, ActivityEvent event, sptr<IRemoteDevStaCallback> callback) Unsubscribe() argument [all...] |
H A D | devicestatus_msdp_client_impl.cpp | 46 for (int32_t type = 0; type < static_cast<int32_t>(Type::TYPE_MAX); ++type) { in DeviceStatusMsdpClientImpl() 47 algoCallCounts_[static_cast<Type>(type)] = 0; in DeviceStatusMsdpClientImpl() 48 mockCallCounts_[static_cast<Type>(type)] = 0; in DeviceStatusMsdpClientImpl() 52 ErrCode DeviceStatusMsdpClientImpl::InitMsdpImpl(Type type) in InitMsdpImpl() argument 55 if (GetSensorHdi(type) == RET_OK) { in InitMsdpImpl() 60 if (AlgoHandle(type) == RET_OK) { in InitMsdpImpl() 67 if (MockHandle(type) == RET_OK) { in InitMsdpImpl() 74 ErrCode DeviceStatusMsdpClientImpl::MockHandle(Type type) in MockHandle() argument 98 AlgoHandle(Type type) AlgoHandle() argument 129 StartAlgo(Type type) StartAlgo() argument 140 StartMock(Type type) StartMock() argument 154 GetSensorHdi(Type type) GetSensorHdi() argument 159 GetAlgoAbility(Type type) GetAlgoAbility() argument 170 Disable(Type type) Disable() argument 177 SensorHdiDisable(Type type) SensorHdiDisable() argument 182 AlgoDisable(Type type) AlgoDisable() argument 216 MockDisable(Type type) MockDisable() argument 398 GetMockInst(Type type) GetMockInst() argument 461 GetAlgoInst(Type type) GetAlgoInst() argument [all...] |
/base/customization/enterprise_device_management/common/native/include/ |
H A D | parcel_macro.h | 23 #define READ_PARCEL_AND_RETURN_FALSE_IF_FAIL(type, parcel, data) \ 25 if (!(parcel).Read##type(data)) { \ 26 EDMLOGE("fail to read %{public}s type from parcel", #type); \ 31 #define WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(type, parcel, data) \ 33 if (!(parcel).Write##type(data)) { \ 34 EDMLOGE("fail to write %{public}s type into parcel", #type); \
|
/base/startup/appspawn/interfaces/innerkits/permission/ |
H A D | appspawn_mount_permission.c | 33 AppSpawnClientType type;
member 62 static PermissionManager *GetPermissionMgrByType(AppSpawnClientType type)
in GetPermissionMgrByType() argument 64 APPSPAWN_CHECK_ONLY_EXPER(type < CLIENT_MAX, return NULL);
in GetPermissionMgrByType() 65 g_permissionMgr[type].type = type;
in GetPermissionMgrByType() 66 return &g_permissionMgr[type];
in GetPermissionMgrByType() 97 static PermissionManager *GetPermissionMgrByType(AppSpawnClientType type)
in GetPermissionMgrByType() argument 99 APPSPAWN_CHECK_ONLY_EXPER(type < CLIENT_MAX, return NULL);
in GetPermissionMgrByType() 100 g_permissionMgr[0].type in GetPermissionMgrByType() 122 PMGetPermissionIndex(AppSpawnClientType type, const char *permission) PMGetPermissionIndex() argument 129 PMGetMaxPermissionIndex(AppSpawnClientType type) PMGetMaxPermissionIndex() argument 136 PMGetPermissionByIndex(AppSpawnClientType type, int32_t index) PMGetPermissionByIndex() argument 147 LoadPermission(AppSpawnClientType type) LoadPermission() argument 172 DeletePermission(AppSpawnClientType type) DeletePermission() argument [all...] |