static _IpcClient ipcClient;
static bool isConstructed = false;
+static pthread_once_t onceBlock = PTHREAD_ONCE_INIT;
namespace Tizen { namespace Security
{
AccessController::CheckPrivilege(int privilege)
{
result r = E_SUCCESS;
- static pthread_once_t onceBlock = PTHREAD_ONCE_INIT;
-
bool ret = false;
ClearLastResult();
AccessController::CheckPrivilege(const String& privilege)
{
result r = E_SUCCESS;
- static pthread_once_t onceBlock = PTHREAD_ONCE_INIT;
-
bool ret = false;
ClearLastResult();
#include "FSec_PrivilegeManagerMessage.h"
#include "FSec_PrivilegeInfo.h"
-
using namespace Tizen::App;
using namespace Tizen::App::Package;
using namespace Tizen::Base;
static _IpcClient ipcClient;
static bool isConstructed = false;
+static pthread_once_t onceBlock = PTHREAD_ONCE_INIT;
namespace Tizen { namespace Security
{
_AccessController::CheckUserPrivilege(_Privilege privilege)
{
result r = E_SUCCESS;
- static pthread_once_t onceBlock = PTHREAD_ONCE_INIT;
-
bool ret = false;
_PrivilegeInfo privilegeInfo;
_AccessController::CheckUserPrivilege(_Privilege privilege1, _Privilege privilege2)
{
result r = E_SUCCESS;
- static pthread_once_t onceBlock = PTHREAD_ONCE_INIT;
-
bool ret = false;
_PrivilegeInfo privilegeInfo;
_AccessController::CheckPrivilege(const String& privilege)
{
result r = E_SUCCESS;
- static pthread_once_t onceBlock = PTHREAD_ONCE_INIT;
-
bool ret = false;
_PrivilegeInfo privilegeInfo;