/base/security/security_component_manager/services/security_component_service/sa/sa_main/ |
D | app_state_observer.cpp | 78 void AppStateObserver::AddProcessToForegroundSet(const AppExecFwk::ProcessData &processData) in AddProcessToForegroundSet() argument 81 .bundleName = processData.bundleName, in AddProcessToForegroundSet() 82 .pid = processData.pid, in AddProcessToForegroundSet() 83 .uid = processData.uid in AddProcessToForegroundSet() 85 AddProcessToForegroundSet(processData.pid, proc); in AddProcessToForegroundSet() 88 void AppStateObserver::RemoveProcessFromForegroundSet(const AppExecFwk::ProcessData &processData) in RemoveProcessFromForegroundSet() argument 92 if (processData.pid == iter->pid) { in RemoveProcessFromForegroundSet() 99 void AppStateObserver::OnProcessStateChanged(const AppExecFwk::ProcessData &processData) in OnProcessStateChanged() argument 101 if (processData.state == AppExecFwk::AppProcessState::APP_STATE_FOREGROUND) { in OnProcessStateChanged() 102 AddProcessToForegroundSet(processData); in OnProcessStateChanged() [all …]
|
D | app_state_observer.h | 39 void OnProcessStateChanged(const AppExecFwk::ProcessData& processData) override; 40 void OnProcessDied(const AppExecFwk::ProcessData& processData) override; 43 void AddProcessToForegroundSet(const AppExecFwk::ProcessData& processData); 48 void RemoveProcessFromForegroundSet(const AppExecFwk::ProcessData& processData);
|
/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/ |
D | app_state_observer_test.cpp | 140 AppExecFwk::ProcessData processData; variable 141 processData.state = AppExecFwk::AppProcessState::APP_STATE_CREATE; 142 observer_->OnProcessStateChanged(processData); 145 processData.state = AppExecFwk::AppProcessState::APP_STATE_FOREGROUND; 146 processData.pid = ServiceTestCommon::TEST_PID_1; 147 observer_->OnProcessStateChanged(processData); 150 processData.state = AppExecFwk::AppProcessState::APP_STATE_BACKGROUND; 151 processData.pid = ServiceTestCommon::TEST_PID_1; 152 observer_->OnProcessStateChanged(processData); 164 AppExecFwk::ProcessData processData; variable [all …]
|
/base/customization/enterprise_device_management/services/edm/src/ |
D | application_state_observer.cpp | 21 void ApplicationStateObserver::OnProcessCreated(const AppExecFwk::ProcessData &processData) in OnProcessCreated() argument 23 listener_.ConnectAbilityOnSystemEvent(processData.bundleName, ManagedEvent::APP_START); in OnProcessCreated() 26 void ApplicationStateObserver::OnProcessDied(const AppExecFwk::ProcessData &processData) in OnProcessDied() argument 28 listener_.ConnectAbilityOnSystemEvent(processData.bundleName, ManagedEvent::APP_STOP); in OnProcessDied()
|
/base/security/access_token/services/privacymanager/src/sensitive/app_manager/ |
D | process_data.cpp | 51 ProcessData *processData = new (std::nothrow) ProcessData(); in Unmarshalling() local 52 if (processData && !processData->ReadFromParcel(parcel)) { in Unmarshalling() 53 delete processData; in Unmarshalling() 54 processData = nullptr; in Unmarshalling() 56 return processData; in Unmarshalling()
|
D | app_status_change_callback.cpp | 65 std::unique_ptr<AppStateData> processData(data.ReadParcelable<AppStateData>()); in HandleOnForegroundApplicationChanged() local 66 if (processData == nullptr) { in HandleOnForegroundApplicationChanged() 71 OnForegroundApplicationChanged(*processData); in HandleOnForegroundApplicationChanged() 77 std::unique_ptr<ProcessData> processData(data.ReadParcelable<ProcessData>()); in HandleOnProcessDied() local 78 if (processData == nullptr) { in HandleOnProcessDied() 83 OnProcessDied(*processData); in HandleOnProcessDied()
|
/base/request/request/services/service/rust/src/c_wrapper/source/ |
D | application_state_observer.cpp | 95 …icationStateObserver::AppProcessState::OnProcessCreated(const AppExecFwk::ProcessData &processData) in OnProcessCreated() argument 99 …pplicationStateObserver::AppProcessState::OnProcessDied(const AppExecFwk::ProcessData &processData) in OnProcessDied() argument 101 …T_HILOGD("OnProcessDied uid=%{public}d, bundleName=%{public}s, state=%{public}d", processData.uid, in OnProcessDied() 102 processData.bundleName.c_str(), static_cast<int32_t>(processData.state)); in OnProcessDied() 103 RunCallback(processData.uid, static_cast<int32_t>(processData.state)); in OnProcessDied()
|
/base/hiviewdfx/hidumper/services/native/src/ |
D | dump_app_state_observer.cpp | 104 …DumpAppStateObserver::AppProcessState::OnProcessCreated(const AppExecFwk::ProcessData &processData) in OnProcessCreated() argument 106 …R_HILOGI(MODULE_SERVICE, "OnProcessCreated pid=%{public}d, bundleName=%{public}s", processData.pid, in OnProcessCreated() 107 processData.bundleName.c_str()); in OnProcessCreated() 111 …id DumpAppStateObserver::AppProcessState::OnProcessDied(const AppExecFwk::ProcessData &processData) in OnProcessDied() argument 113 …MPER_HILOGI(MODULE_SERVICE, "OnProcessDied pid=%{public}d, bundleName=%{public}s", processData.pid, in OnProcessDied() 114 processData.bundleName.c_str()); in OnProcessDied()
|
/base/customization/enterprise_device_management/services/edm/include/ |
D | application_state_observer.h | 29 void OnProcessCreated(const AppExecFwk::ProcessData &processData) override; 30 void OnProcessDied(const AppExecFwk::ProcessData &processData) override;
|
/base/hiviewdfx/hidumper/services/native/include/ |
D | dump_app_state_observer.h | 42 void OnProcessCreated(const AppExecFwk::ProcessData &processData) override; 43 void OnProcessDied(const AppExecFwk::ProcessData &processData) override;
|
/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/ |
D | application_state_observer_stub.h | 61 virtual void OnProcessStateChanged(const ProcessData &processData) {} in OnProcessStateChanged() argument 62 virtual void OnProcessDied(const ProcessData &processData) = 0;
|
/base/request/request/services/service/rust/src/c_wrapper/include/ |
D | application_state_observer.h | 44 void OnProcessCreated(const AppExecFwk::ProcessData &processData) override; 45 void OnProcessDied(const AppExecFwk::ProcessData &processData) override;
|
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/ |
D | app_state_observer.cpp | 200 void AppStateObserver::OnProcessDied(const AppExecFwk::ProcessData& processData) in OnProcessDied() argument 202 …LOG_INFO(LABEL, "%{public}s is died, uid: %{public}d", processData.bundleName.c_str(), processData… in OnProcessDied() 205 if (processData.bundleName == "com.ohos.dlpmanager") { in OnProcessDied() 207 if (GetUserIdFromUid(processData.uid, &userId) != 0) { in OnProcessDied() 210 …DLP_LOG_INFO(LABEL, "%{public}s in userId %{public}d is died", processData.bundleName.c_str(), use… in OnProcessDied() 217 if (RemoveCallbackListener(processData.pid)) { in OnProcessDied() 224 if (!GetSandboxInfo(processData.uid, appInfo)) { in OnProcessDied()
|
D | app_state_observer.h | 36 void OnProcessDied(const AppExecFwk::ProcessData& processData) override;
|
/base/security/access_token/services/privacymanager/src/seccomp/ |
D | privacy_sec_comp_enhance_agent.cpp | 32 void PrivacyAppUsingSecCompStateObserver::OnProcessDied(const ProcessData &processData) in OnProcessDied() argument 34 ACCESSTOKEN_LOG_INFO(LABEL, "OnProcessDied die pid %{public}d", processData.pid); in OnProcessDied() 36 int pid = processData.pid; in OnProcessDied()
|
/base/security/access_token/services/test/mock/aafwk/ |
D | mock_app_mgr_service.h | 126 AppProcessData processData; in UpdateState() local 127 processData.pid = 1; in UpdateState() 128 processData.appState = ApplicationState::APP_STATE_BEGIN; in UpdateState() 129 callback_->OnAppStateChanged(processData); in UpdateState()
|
/base/security/device_auth/test/fuzztest/group_manage/processbinddata_fuzzer/ |
D | processbinddata_fuzzer.cpp | 32 gmInstance->processData(*authReqId, data, (uint32_t)size); in FuzzDoProcessData()
|
/base/security/access_token/services/privacymanager/include/sensitive/app_manager/ |
D | app_status_change_callback.h | 36 virtual void OnProcessDied(const ProcessData &processData) override {}; in OnProcessDied() argument
|
D | app_manager_privacy_proxy.h | 33 virtual void OnProcessDied(const ProcessData &processData) = 0;
|
/base/security/access_token/services/privacymanager/include/seccomp/ |
D | privacy_sec_comp_enhance_agent.h | 32 void OnProcessDied(const ProcessData &processData) override;
|
/base/security/device_auth/test/fuzztest/group_auth/processauthdata_fuzzer/ |
D | processauthdata_fuzzer.cpp | 54 gaInstance->processData(*authReqId, data, (uint32_t)size, &gaCallback); in FuzzDoProcessData()
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservprocessauthdata_fuzzer/ |
D | devauthservprocessauthdata_fuzzer.cpp | 75 gaInstance->processData(reqId, authData, size, &g_gaCallback); in FuzzDoProcessAuthData()
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservprocessbinddata_fuzzer/ |
D | devauthservprocessbinddata_fuzzer.cpp | 77 gmInstance->processData(reqId, bindData, size); in FuzzDoProcessBindData()
|
/base/security/device_auth/interfaces/inner_api/ |
D | device_auth.h | 208 int32_t (*processData)(int64_t authReqId, const uint8_t *data, uint32_t dataLen, member 240 int32_t (*processData)(int64_t requestId, const uint8_t *data, uint32_t dataLen); member
|
/base/security/device_auth/test/unittest/deviceauth/source/ |
D | device_auth_ipc_test.cpp | 1443 int32_t ret = gm->processData(TEST_REQ_ID, nullptr, 0); 1451 int32_t ret = gm->processData(TEST_REQ_ID, (const uint8_t *)g_processData, 0); 1459 int32_t ret = gm->processData(TEST_REQ_ID, (const uint8_t *)g_processData, 4097); 1469 ret = gm->processData(TEST_REQ_ID, (const uint8_t *)g_processData, strlen(g_processData) + 1); 1704 int32_t ret = ga->processData(TEST_REQ_ID, nullptr, 0, &g_gaCallback); 1712 int32_t ret = ga->processData(TEST_REQ_ID, (const uint8_t *)g_processData, 0, &g_gaCallback); 1720 int32_t ret = ga->processData(TEST_REQ_ID, (const uint8_t *)g_processData, 4097, &g_gaCallback); 1728 …int32_t ret = ga->processData(TEST_REQ_ID, (const uint8_t *)g_processData, strlen(g_processData) +… 1736 int32_t ret = ga->processData(TEST_REQ_ID, (const uint8_t *)g_processData,
|