Lines Matching refs:APPSPAWN_CHECK
149 APPSPAWN_CHECK(json != NULL, return 0, "Invalid json");
150 APPSPAWN_CHECK(name != NULL, return 0, "Invalid name");
151 APPSPAWN_CHECK(dataArray != NULL, return 0, "Invalid dataArray");
152 APPSPAWN_CHECK(cJSON_IsObject(json), return 0, "json is not object.");
155 APPSPAWN_CHECK(cJSON_IsArray(array), return 0, "json is not object.");
177 APPSPAWN_CHECK(ret == 0, return ret, "Failed to add bundle info req %{public}s", bundleName);
193 APPSPAWN_CHECK(ret == 0, return ret, "Failed to add userName info req %{public}s", userName);
226 APPSPAWN_CHECK(ret == 0, return ret, "Failed to domain info");
244 APPSPAWN_CHECK(ret == 0, return ret, "Failed to add ext name %{public}s", name);
256 APPSPAWN_CHECK(ret == 0, return ret, "Failed to add ext name app-info");
263 APPSPAWN_CHECK(ret == 0, return ret, "Failed to add dac %{public}s", processName_.c_str());
266 APPSPAWN_CHECK(ret == 0, return ret, "Failed to add dac %{public}s", processName_.c_str());
269 APPSPAWN_CHECK(ret == 0, return ret, "Failed to add dac %{public}s", processName_.c_str());
272 APPSPAWN_CHECK(ret == 0, return ret, "Failed to add access token %{public}s", processName_.c_str());
281 APPSPAWN_CHECK(ret == 0, return ret, "Failed to permission %{public}s", value);
286 APPSPAWN_CHECK(ret == 0, return ret, "Failed to internet info %{public}s", processName_.c_str());
291 APPSPAWN_CHECK(ret == 0, return ret, "Failed to ownerid %{public}s", processName_.c_str());
297 APPSPAWN_CHECK(ret == 0, return -1, "Failed to add renderCmd %{public}s", renderCmd.c_str());
306 APPSPAWN_CHECK(ret == 0, return ret, "Failed to termination message req %{public}s", processName_.c_str());
310 APPSPAWN_CHECK(ret == 0, return ret, "Failed to dump req %{public}s", processName_.c_str());
312 APPSPAWN_CHECK(ret == 0, return -1, "Failed to add ptyName_ %{public}s", ptyName_.c_str());
341 APPSPAWN_CHECK(ret == 0, return -1, "Failed to create client %{public}d", appSpawn_);
374 APPSPAWN_CHECK(ret == 0, return ret, "Failed to create req %{public}s", processName_.c_str());
383 APPSPAWN_CHECK(ret == 0, AppSpawnReqMsgFree(reqHandle);
447 APPSPAWN_CHECK(ret == 0, return 0, "Failed to add task ");
562 APPSPAWN_CHECK(ret == 0, return -1, "Failed to create client %{public}s", name);
568 APPSPAWN_CHECK(ret == 0, return -1, "Failed to create thread manager");
571 APPSPAWN_CHECK(ret == 0, return 0, "Failed to add task for thread ");
576 APPSPAWN_CHECK(ret == 0, return 0, "Failed to add task for thread ");
601 APPSPAWN_CHECK(pfd >= 0, return -1, "Failed open pty err=%{public}d", errno);
602 APPSPAWN_CHECK(grantpt(pfd) >= 0, close(pfd); return -1, "Failed to call grantpt");
603 APPSPAWN_CHECK(unlockpt(pfd) >= 0, close(pfd); return -1, "Failed to call unlockpt");
606 APPSPAWN_CHECK(ret >= 0, close(pfd);
609 APPSPAWN_CHECK(chmod(ptsbuffer, S_IRWXU | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) == 0, close(pfd);