Home
last modified time | relevance | path

Searched refs:processData (Results 1 – 25 of 32) sorted by relevance

12

/base/security/security_component_manager/services/security_component_service/sa/sa_main/
Dapp_state_observer.cpp78 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 …]
Dapp_state_observer.h39 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/
Dapp_state_observer_test.cpp140 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/
Dapplication_state_observer.cpp21 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/
Dprocess_data.cpp51 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()
Dapp_status_change_callback.cpp65 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/
Dapplication_state_observer.cpp95 …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/
Ddump_app_state_observer.cpp104 …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/
Dapplication_state_observer.h29 void OnProcessCreated(const AppExecFwk::ProcessData &processData) override;
30 void OnProcessDied(const AppExecFwk::ProcessData &processData) override;
/base/hiviewdfx/hidumper/services/native/include/
Ddump_app_state_observer.h42 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/
Dapplication_state_observer_stub.h61 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/
Dapplication_state_observer.h44 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/
Dapp_state_observer.cpp200 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()
Dapp_state_observer.h36 void OnProcessDied(const AppExecFwk::ProcessData& processData) override;
/base/security/access_token/services/privacymanager/src/seccomp/
Dprivacy_sec_comp_enhance_agent.cpp32 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/
Dmock_app_mgr_service.h126 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/
Dprocessbinddata_fuzzer.cpp32 gmInstance->processData(*authReqId, data, (uint32_t)size); in FuzzDoProcessData()
/base/security/access_token/services/privacymanager/include/sensitive/app_manager/
Dapp_status_change_callback.h36 virtual void OnProcessDied(const ProcessData &processData) override {}; in OnProcessDied() argument
Dapp_manager_privacy_proxy.h33 virtual void OnProcessDied(const ProcessData &processData) = 0;
/base/security/access_token/services/privacymanager/include/seccomp/
Dprivacy_sec_comp_enhance_agent.h32 void OnProcessDied(const ProcessData &processData) override;
/base/security/device_auth/test/fuzztest/group_auth/processauthdata_fuzzer/
Dprocessauthdata_fuzzer.cpp54 gaInstance->processData(*authReqId, data, (uint32_t)size, &gaCallback); in FuzzDoProcessData()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservprocessauthdata_fuzzer/
Ddevauthservprocessauthdata_fuzzer.cpp75 gaInstance->processData(reqId, authData, size, &g_gaCallback); in FuzzDoProcessAuthData()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservprocessbinddata_fuzzer/
Ddevauthservprocessbinddata_fuzzer.cpp77 gmInstance->processData(reqId, bindData, size); in FuzzDoProcessBindData()
/base/security/device_auth/interfaces/inner_api/
Ddevice_auth.h208 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/
Ddevice_auth_ipc_test.cpp1443 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,

12