Lines Matching refs:reqHandle
38 AppSpawnReqMsgHandle reqHandle = 0;
39 int ret = AppSpawnReqMsgCreate(MSG_APP_SPAWN, bundleName, &reqHandle);
42 ret = AppSpawnReqMsgSetBundleInfo(reqHandle, 0, bundleName);
52 ret = AppSpawnReqMsgSetAppDacInfo(reqHandle, &dacInfo);
55 AppSpawnReqMsgSetAppFlag(reqHandle, static_cast<AppFlagsIndex>(10)); // 10 test
57 AppSpawnReqMsgSetAppFlag(reqHandle, static_cast<AppFlagsIndex>(23)); // 23 APP_FLAGS_ISOLATED_SANDBOX_TYPE
58 AppSpawnReqMsgSetAppFlag(reqHandle, static_cast<AppFlagsIndex>(26)); // 26 APP_FLAGS_ISOLATED_NETWORK
62 ret = AppSpawnReqMsgSetAppDomainInfo(reqHandle, 1, apl);
65 ret = AppSpawnReqMsgSetAppAccessToken(reqHandle, 12345678); // 12345678
76 ret = AppSpawnReqMsgAddPermission(reqHandle, permissions[i]);
79 return reqHandle;
81 AppSpawnReqMsgFree(reqHandle);
97 AppSpawnReqMsgHandle reqHandle = CreateMsg(clientHandle, "ohos.samples.clock", MODE_FOR_APP_SPAWN);
98 ASSERT_EQ(reqHandle != INVALID_REQ_HANDLE, 1);
101 int ret = AppSpawnClientSendMsg(clientHandle, reqHandle, &result);
112 AppSpawnReqMsgHandle reqHandle = CreateMsg(clientHandle, "ohos.samples.clock", MODE_FOR_NATIVE_SPAWN);
113 ASSERT_EQ(reqHandle != INVALID_REQ_HANDLE, 1);
116 int ret = AppSpawnClientSendMsg(clientHandle, reqHandle, &result);