/foundation/ability/ability_runtime/interfaces/inner_api/wantagent/src/ |
H A D | want_agent_client.cpp | 46 CHECK_POINTER_AND_RETURN(abms, ERR_ABILITY_RUNTIME_EXTERNAL_SERVICE_BUSY); in GetWantSender() 85 CHECK_POINTER_AND_RETURN(target, ERR_ABILITY_RUNTIME_EXTERNAL_INVALID_WANTAGENT); in SendWantSender() 87 CHECK_POINTER_AND_RETURN(abms, ERR_ABILITY_RUNTIME_EXTERNAL_SERVICE_BUSY); in SendWantSender() 113 CHECK_POINTER_AND_RETURN(sender, ERR_ABILITY_RUNTIME_EXTERNAL_INVALID_PARAMETER); in CancelWantSender() 115 CHECK_POINTER_AND_RETURN(abms, ERR_ABILITY_RUNTIME_EXTERNAL_SERVICE_BUSY); in CancelWantSender() 127 CHECK_POINTER_AND_RETURN(target, ERR_ABILITY_RUNTIME_EXTERNAL_INVALID_WANTAGENT); in GetPendingWantUid() 129 CHECK_POINTER_AND_RETURN(abms, ERR_ABILITY_RUNTIME_EXTERNAL_SERVICE_BUSY); in GetPendingWantUid() 142 CHECK_POINTER_AND_RETURN(target, INVALID_PARAMETERS_ERR); in GetPendingWantUserId() 144 CHECK_POINTER_AND_RETURN(abms, ABILITY_SERVICE_NOT_CONNECTED); in GetPendingWantUserId() 157 CHECK_POINTER_AND_RETURN(targe in GetPendingWantBundleName() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/scene_board/ |
H A D | status_bar_delegate_manager.cpp | 41 CHECK_POINTER_AND_RETURN(statusBarDelegate, false); in IsCallerInStatusBar() 56 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); in DoProcessAttachment() 58 CHECK_POINTER_AND_RETURN(sessionInfo, ERR_INVALID_VALUE); in DoProcessAttachment() 66 CHECK_POINTER_AND_RETURN(callerRecord, ERR_INVALID_VALUE); in DoProcessAttachment() 73 CHECK_POINTER_AND_RETURN(statusBarDelegate, ERR_INVALID_VALUE); in DoProcessAttachment() 92 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); in DoCallerProcessAttachment() 94 CHECK_POINTER_AND_RETURN(statusBarDelegate, ERR_INVALID_VALUE); in DoCallerProcessAttachment()
|
H A D | ui_ability_lifecycle_manager.cpp | 93 CHECK_POINTER_AND_RETURN(uiAbilityRecord, ERR_INVALID_VALUE); in StartUIAbility() 246 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); in AttachAbilityThread() 316 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); in AbilityTransactionDone() 333 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); in AbilityWindowConfigTransactionDone() 489 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); in DispatchForeground() 540 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); in DispatchBackground() 562 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); in DispatchTerminate() 800 CHECK_POINTER_AND_RETURN(sessionInfo, nullptr); in GetUIAbilityRecordBySessionInfo() 801 CHECK_POINTER_AND_RETURN(sessionInfo->sessionToken, nullptr); in GetUIAbilityRecordBySessionInfo() 823 CHECK_POINTER_AND_RETURN(abilityRecor in NotifySCBToMinimizeUIAbility() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | app_scheduler.cpp | 75 CHECK_POINTER_AND_RETURN(appMgrClient_, INNER_ERR); in LoadAbility() 97 CHECK_POINTER_AND_RETURN(appMgrClient_, INNER_ERR); in TerminateAbility() 110 CHECK_POINTER_AND_RETURN(appMgrClient_, INNER_ERR); in UpdateApplicationInfoInstalled() 242 CHECK_POINTER_AND_RETURN(appMgrClient_, INNER_ERR); in KillApplication() 256 CHECK_POINTER_AND_RETURN(appMgrClient_, INNER_ERR); in ForceKillApplication() 269 CHECK_POINTER_AND_RETURN(appMgrClient_, INNER_ERR); in KillProcessesByAccessTokenId() 283 CHECK_POINTER_AND_RETURN(appMgrClient_, INNER_ERR); in KillApplicationByUid() 386 CHECK_POINTER_AND_RETURN(appMgrClient_, INNER_ERR); in GetProcessRunningInfos() 392 CHECK_POINTER_AND_RETURN(appMgrClient_, INNER_ERR); in GetProcessRunningInfosByUserId() 404 CHECK_POINTER_AND_RETURN(appMgrClient in StartUserTest() [all...] |
H A D | call_container.cpp | 101 CHECK_POINTER_AND_RETURN(connect, nullptr); in GetCallRecord() 102 CHECK_POINTER_AND_RETURN(connect->AsObject(), nullptr); in GetCallRecord() 111 CHECK_POINTER_AND_RETURN(connect, false); in RemoveCallRecord() 112 CHECK_POINTER_AND_RETURN(connect->AsObject(), false); in RemoveCallRecord() 151 CHECK_POINTER_AND_RETURN(callStub, false); in CallRequestDone()
|
H A D | extension_record.cpp | 31 CHECK_POINTER_AND_RETURN(abilityRecord_, nullptr); in GetCallToken() 33 CHECK_POINTER_AND_RETURN(sessionInfo, nullptr); in GetCallToken()
|
H A D | ability_manager_service.cpp | 1113 CHECK_POINTER_AND_RETURN(implicitStartProcessor_, ERR_IMPLICIT_START_ABILITY_FAIL); in StartAbilityInner() 1158 CHECK_POINTER_AND_RETURN(implicitStartProcessor_, ERR_IMPLICIT_START_ABILITY_FAIL); in StartAbilityInner() 1264 CHECK_POINTER_AND_RETURN(uiAbilityManager, ERR_INVALID_VALUE); in StartAbilityInner() 1454 CHECK_POINTER_AND_RETURN(implicitStartProcessor_, ERR_IMPLICIT_START_ABILITY_FAIL); in StartAbilityDetails() 1543 CHECK_POINTER_AND_RETURN(uiAbilityManager, ERR_INVALID_VALUE); in StartAbilityDetails() 1619 CHECK_POINTER_AND_RETURN(connectManager, ERR_NO_INIT); in StartAbilityForResultAsCaller() 1633 CHECK_POINTER_AND_RETURN(connectManager, ERR_NO_INIT); in StartAbilityForResultAsCaller() 1777 CHECK_POINTER_AND_RETURN(implicitStartProcessor_, ERR_IMPLICIT_START_ABILITY_FAIL); in StartAbilityForOptionInner() 1927 CHECK_POINTER_AND_RETURN(uiAbilityManager, ERR_INVALID_VALUE); in StartAbilityForOptionInner() 2100 CHECK_POINTER_AND_RETURN(bundleMgrHelpe in SetWantForSessionInfo() [all...] |
H A D | app_exit_reason_helper.cpp | 55 CHECK_POINTER_AND_RETURN(subManagersHelper_, ERR_NULL_OBJECT); in RecordAppExitReason() 59 CHECK_POINTER_AND_RETURN(uiAbilityManager, ERR_NULL_OBJECT); in RecordAppExitReason() 63 CHECK_POINTER_AND_RETURN(missionListManager, ERR_NULL_OBJECT); in RecordAppExitReason() 159 CHECK_POINTER_AND_RETURN(subManagersHelper_, ERR_NULL_OBJECT); in RecordProcessExtensionExitReason() 161 CHECK_POINTER_AND_RETURN(connectManager, ERR_NULL_OBJECT); in RecordProcessExtensionExitReason()
|
H A D | call_record.cpp | 49 CHECK_POINTER_AND_RETURN(callRecord, nullptr); in CreateCallRecord() 132 CHECK_POINTER_AND_RETURN(handler, false); in SchedulerConnectDone() 158 CHECK_POINTER_AND_RETURN(handler, false); in SchedulerDisconnectDone()
|
H A D | extension_record_manager.cpp | 157 CHECK_POINTER_AND_RETURN(abilityRequest.sessionInfo, ERR_INVALID_VALUE); in GetOrCreateExtensionRecord() 188 CHECK_POINTER_AND_RETURN(sessionInfo, nullptr); in GetAbilityRecordBySessionInfo() 290 CHECK_POINTER_AND_RETURN(extensionRecord, ERR_INVALID_VALUE); in GetHostBundleNameForExtensionId() 301 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); in AddPreloadUIExtensionRecord() 306 CHECK_POINTER_AND_RETURN(extensionRecord, ERR_INVALID_VALUE); in AddPreloadUIExtensionRecord() 441 CHECK_POINTER_AND_RETURN(extensionRecord, ERR_NULL_OBJECT); in GetOrCreateExtensionRecordInner() 443 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_NULL_OBJECT); in GetOrCreateExtensionRecordInner() 532 CHECK_POINTER_AND_RETURN(extensionRecord, ERR_NULL_OBJECT); in CreateExtensionRecord() 534 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_NULL_OBJECT); in CreateExtensionRecord()
|
H A D | ability_connect_manager.cpp | 116 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); in TerminateAbilityInner() 171 CHECK_POINTER_AND_RETURN(targetService, ERR_INVALID_VALUE); in StartAbilityLocked() 309 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); in TerminateAbilityLocked() 351 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); in StopServiceAbilityLocked() 376 CHECK_POINTER_AND_RETURN(uiExtensionAbilityRecordMgr_, ERR_NULL_OBJECT); in GetOrCreateExtensionRecord() 479 CHECK_POINTER_AND_RETURN(targetService, ERR_INVALID_VALUE); in GetOrCreateTargetServiceRecord() 504 CHECK_POINTER_AND_RETURN(uiExtensionAbilityRecordMgr_, ERR_NULL_OBJECT); in PreloadUIExtensionAbilityInner() 512 CHECK_POINTER_AND_RETURN(extensionRecord, ERR_NULL_OBJECT); in PreloadUIExtensionAbilityInner() 528 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_INVALID_VALUE); in UnloadUIExtensionAbility() 533 CHECK_POINTER_AND_RETURN(uiExtensionAbilityRecordMgr in UnloadUIExtensionAbility() [all...] |
H A D | implicit_start_processor.cpp | 103 CHECK_POINTER_AND_RETURN(abilityMgr, ERR_INVALID_VALUE); in CheckImplicitCallPermission() 126 CHECK_POINTER_AND_RETURN(sysDialogScheduler, ERR_INVALID_VALUE); in ImplicitStartAbility() 384 CHECK_POINTER_AND_RETURN(bundleMgrHelper, GET_ABILITY_SERVICE_FAILED); in GenerateAbilityRequestByAction() 541 CHECK_POINTER_AND_RETURN(bms, GET_ABILITY_SERVICE_FAILED); in GenerateAbilityRequestByAppIndexes() 581 CHECK_POINTER_AND_RETURN(bms, GET_ABILITY_SERVICE_FAILED); in FindExtensionInfo() 673 CHECK_POINTER_AND_RETURN(abilityMgr, ERR_INVALID_VALUE); in ImplicitStartAbilityInner() 688 CHECK_POINTER_AND_RETURN(request.startSetting, ERR_INVALID_VALUE); in ImplicitStartAbilityInner()
|
H A D | extension_record_factory.cpp | 70 CHECK_POINTER_AND_RETURN(callerAbilityRecord, ERR_INVALID_VALUE); in PreCheck()
|
H A D | connection_record.cpp | 49 CHECK_POINTER_AND_RETURN(connRecord, nullptr); in CreateConnectionRecord() 98 CHECK_POINTER_AND_RETURN(targetService_, ERR_INVALID_VALUE); in DisconnectAbility()
|
H A D | lifecycle_deal.cpp | 134 CHECK_POINTER_AND_RETURN(abilityScheduler, false); in ForegroundNew()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/data_ability/ |
H A D | data_ability_record.cpp | 72 CHECK_POINTER_AND_RETURN(ability_, ERR_INVALID_STATE); in WaitForLoaded() 95 CHECK_POINTER_AND_RETURN(ability_, nullptr); in GetScheduler() 96 CHECK_POINTER_AND_RETURN(scheduler_, nullptr); in GetScheduler() 152 CHECK_POINTER_AND_RETURN(ability_, ERR_INVALID_STATE); in OnTransitionDone() 153 CHECK_POINTER_AND_RETURN(scheduler_, ERR_INVALID_STATE); in OnTransitionDone() 340 CHECK_POINTER_AND_RETURN(ability_, 0); in GetClientCount() 341 CHECK_POINTER_AND_RETURN(scheduler_, 0); in GetClientCount() 358 CHECK_POINTER_AND_RETURN(ability_, ERR_INVALID_STATE); in KillBoundClientProcesses() 359 CHECK_POINTER_AND_RETURN(scheduler_, ERR_INVALID_STATE); in KillBoundClientProcesses()
|
H A D | data_ability_manager.cpp | 126 CHECK_POINTER_AND_RETURN(scheduler, ERR_NULL_OBJECT); in Release() 127 CHECK_POINTER_AND_RETURN(client, ERR_NULL_OBJECT); in Release() 152 CHECK_POINTER_AND_RETURN(abilityRecord, ERR_UNKNOWN_OBJECT); in Release() 154 CHECK_POINTER_AND_RETURN(abilityMs, GET_ABILITY_SERVICE_FAILED); in Release() 181 CHECK_POINTER_AND_RETURN(scheduler, ERR_NULL_OBJECT); in ContainsDataAbility() 198 CHECK_POINTER_AND_RETURN(scheduler, ERR_NULL_OBJECT); in AttachAbilityThread() 199 CHECK_POINTER_AND_RETURN(token, ERR_NULL_OBJECT); in AttachAbilityThread() 249 CHECK_POINTER_AND_RETURN(token, ERR_NULL_OBJECT); in AbilityTransitionDone() 397 CHECK_POINTER_AND_RETURN(token, nullptr); in GetAbilityRecordByToken() 425 CHECK_POINTER_AND_RETURN(schedule in GetAbilityRecordByScheduler() [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/runtime/include/ |
H A D | js_utils.h | 31 #define CHECK_POINTER_AND_RETURN(object, value) \ macro
|
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_runtime.cpp | 432 CHECK_POINTER_AND_RETURN(vm, false); in LoadRepairPatch() 480 CHECK_POINTER_AND_RETURN(vm, false); in UnLoadRepairPatch() 520 CHECK_POINTER_AND_RETURN(jsEnv_, false); in LoadScript() 528 CHECK_POINTER_AND_RETURN(jsEnv_, false); in LoadScript() 531 CHECK_POINTER_AND_RETURN(vm, false); in LoadScript() 659 CHECK_POINTER_AND_RETURN(nativeEngine, false); in Initialize() 662 CHECK_POINTER_AND_RETURN(vm, false); in Initialize() 670 CHECK_POINTER_AND_RETURN(globalObj, false); in Initialize() 845 CHECK_POINTER_AND_RETURN(jsEnv_, false); in InitLoop() 914 CHECK_POINTER_AND_RETURN(en in LoadJsBundle() [all...] |
H A D | ohos_js_environment_impl.cpp | 131 CHECK_POINTER_AND_RETURN(engine, false); in InitLoop()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/ |
H A D | start_ability_utils.cpp | 65 CHECK_POINTER_AND_RETURN(bms, false); in GetApplicationInfo() 119 CHECK_POINTER_AND_RETURN(abilityInfo, GET_ABILITY_SERVICE_FAILED); in CheckAppProvisionMode() 136 CHECK_POINTER_AND_RETURN(bms, appIndexes); in GetCloneAppIndexes() 200 CHECK_POINTER_AND_RETURN(bms, nullptr); in CreateStartAbilityInfo() 252 CHECK_POINTER_AND_RETURN(bms, nullptr); in CreateStartExtensionInfo()
|
H A D | multi_instance_utils.cpp | 88 CHECK_POINTER_AND_RETURN(appMgr, false); in IsInstanceKeyExist()
|
H A D | want_utils.cpp | 29 CHECK_POINTER_AND_RETURN(bundleMgrHelper, ERR_INVALID_VALUE); in GetCallerBundleName()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/ |
H A D | disposed_rule_interceptor.cpp | 180 CHECK_POINTER_AND_RETURN(disposedObserver, ERR_INVALID_VALUE); in StartNonBlockRule() 182 CHECK_POINTER_AND_RETURN(appManager, ERR_INVALID_VALUE); in StartNonBlockRule()
|
H A D | ecological_rule_interceptor.cpp | 99 CHECK_POINTER_AND_RETURN(bundleMgrHelper, false); in DoProcess()
|