Home
last modified time | relevance | path

Searched refs:clientExt (Results 1 – 4 of 4) sorted by relevance

/base/startup/appspawn/standard/
Dappspawn_service.h76 #define SHOW_CLIENT(info, clientExt) \ argument
79 … info, (clientExt)->client.id, (clientExt)->property.code); \
81 … (clientExt)->property.processName, (clientExt)->property.flags); \
83 … (clientExt)->client.flags, (clientExt)->client.cloneFlags, (clientExt)->property.hapFlags); \
85 … (clientExt)->property.bundleName, (clientExt)->property.soPath); \
87 … (clientExt)->property.apl, (clientExt)->property.renderCmd, (clientExt)->property.ownerId); \
89 … (clientExt)->property.uid, (clientExt)->property.gid, (clientExt)->property.gidCount); \
91 … (clientExt)->property.setAllowInternet, (clientExt)->property.allowInternet); \
/base/startup/appspawn/adapter/
Dappspawn_sandbox.cpp76 AppSpawnClientExt *clientExt = reinterpret_cast<AppSpawnClientExt *>(client); in SetAppSandboxProperty() local
78 if (clientExt->property.flags & APP_NO_SANDBOX) { in SetAppSandboxProperty()
96 if (clientExt->property.extraInfo.data != nullptr) { in SetAppSandboxProperty()
97 free(clientExt->property.extraInfo.data); in SetAppSandboxProperty()
98 clientExt->property.extraInfo = {}; in SetAppSandboxProperty()
102 if (strncmp(clientExt->property.bundleName, in SetAppSandboxProperty()
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
Dapp_spawn_standard_test.cpp493 std::unique_ptr<AppSpawnClientExt> clientExt = std::make_unique<AppSpawnClientExt>(); variable
497 int ret = DoStartApp((AppSpawnContent_*)content, &clientExt->client, (char*)"", 0);
500 … if (strcpy_s(clientExt->property.bundleName, APP_LEN_BUNDLE_NAME, "moduleTestProcessName") != 0) {
505 ret = SetAppSandboxProperty((AppSpawnContent_*)content, &clientExt->client);
509 clientExt->property.flags |= APP_NO_SANDBOX;
510 ret = SetAppSandboxProperty((AppSpawnContent_*)content, &clientExt->client);
513 clientExt->property.flags &= ~APP_NO_SANDBOX;
515 clientExt->property.extraInfo.data = strdup("{ \
520 clientExt->property.extraInfo.totalLength = strlen(clientExt->property.extraInfo.data);
521 ret = SetAppSandboxProperty((AppSpawnContent_*)content, &clientExt->client);
/base/startup/appspawn/util/src/
Dsandbox_utils.cpp1282 AppSpawnClientExt *clientExt = reinterpret_cast<AppSpawnClientExt *>(client); in SetAppSandboxProperty() local
1283 ClientSocket::AppProperty *appProperty = &clientExt->property; in SetAppSandboxProperty()
1322 AppSpawnClientExt *clientExt = reinterpret_cast<AppSpawnClientExt *>(client); in SetAppSandboxPropertyNweb() local
1323 ClientSocket::AppProperty *appProperty = &clientExt->property; in SetAppSandboxPropertyNweb()