#ifndef _FIO_FILE_LOCK_H_
#define _FIO_FILE_LOCK_H_
+#include <FBaseObject.h>
+
namespace Tizen { namespace Io
{
#include <FBaseDataType.h>
#include <FBaseString.h>
#include <FBaseColIList.h>
+#include <FBaseColIMap.h>
#include <FAppDataControlProviderManager.h>
#include <FIoDbEnumerator.h>
#include <FBaseInteger.h>
#include <FBaseColArrayList.h>
#include <FBaseColHashMap.h>
+#include <FBaseByteBuffer.h>
#include <FBaseUtilStringTokenizer.h>
-
#include <FBaseSysLog.h>
+
#include <FBase_StringConverter.h>
#include "FApp_MapDataControlImpl.h"
*/
#include <FBaseSysLog.h>
+#include <FBaseColIMap.h>
#include "FApp_AppControlEvent.h"
#include "FApp_AppControlEventArg.h"
__appControlEvent.Construct();
__appControlEvent.AddListener(*dynamic_cast<_IAppControlSysEventListener*>(this));
__listenerList.Construct();
- __pAppControlResponseEventContainer = new (std::nothrow)HashMapT<int, _AppControlResponseEvent*>;
- __pAppControlResponseEventContainer->Construct();
+ __appControlResponseEventContainer.Construct();
__appControlResponseEventList.Construct();
}
{
int reqId;
pEnum->GetCurrent(reqId);
- if (__pAppControlResponseEventContainer != null)
- {
- _AppControlResponseEvent* pResponseEvent = null;
- __pAppControlResponseEventContainer->GetValue(reqId, pResponseEvent);
- delete pResponseEvent;
+ _AppControlResponseEvent* pResponseEvent = null;
+ __appControlResponseEventContainer.GetValue(reqId, pResponseEvent);
+ delete pResponseEvent;
- __pAppControlResponseEventContainer->Remove(reqId);
- SysLog(NID_APP, "pResponseEvent gets deleted. reqId(%d)", reqId);
- }
+ __appControlResponseEventContainer.Remove(reqId);
+ SysLog(NID_APP, "pResponseEvent gets deleted. reqId(%d)", reqId);
}
}
- delete __pAppControlResponseEventContainer;
delete pEnum;
}
SysLog(NID_APP, "Invoking callback 0x%x.", pListener);
_AppControlResponseEvent* pResponseEvent = null;
- __pAppControlResponseEventContainer->GetValue(reqId, pResponseEvent);
+ __appControlResponseEventContainer.GetValue(reqId, pResponseEvent);
SysLog(NID_APP, "StartResponseReceived Request Id(%d), ResponseEvent 0x%x.", reqId, pResponseEvent);
if (pResponseEvent != null)
{
{
_AppControlResponseEvent* pResponseEvent = null;
int responseEventRequestId = RESPONSE_EVENT_REQID_MAGIC + reqId;
- __pAppControlResponseEventContainer->GetValue(responseEventRequestId, pResponseEvent);
+ __appControlResponseEventContainer.GetValue(responseEventRequestId, pResponseEvent);
if (pResponseEvent != null)
{
Tizen::Base::Collection::IMapT<int,_AppControlResponseEvent*>*
_AppControlManager::GetAppControlResponseEventContainer(void)
{
- return __pAppControlResponseEventContainer;
+ return &__appControlResponseEventContainer;
}
SysLog(NID_APP, "App: %ls.", appId.GetPointer());
String actualAppId = appId;
+#if 0
if (appId.GetLength() == 10)
{
const String& execName = _PackageManagerImpl::GetInstance()->GetDefaultAppExecutableName(appId);
actualAppId.Append(execName);
}
}
+#endif
pArg->UpdateRequestId(req);
actualAppId.SubString(0, 10, tempId);
- if (_IsDefaultApplication(tempId, appId))
+ const int type = _AppInfo::GetAppType();
+ if ((!(type & _APP_TYPE_SERVICE_APP)) && _IsDefaultApplication(tempId, appId))
{
tempId += L'.';
tempId += L"_AppControl";
#include <FBaseSysLog.h>
#include <FBaseString.h>
#include <FBaseColIList.h>
+#include <FBaseColIMap.h>
#include <FBaseColIEnumerator.h>
+#include <FBaseColArrayList.h>
#include <FBase_StringConverter.h>
#include <FBaseInteger.h>
#include <FBaseString.h>
#include <FBaseColLinkedList.h>
+#include <FBaseColArrayList.h>
#include <FBaseRtIEventArg.h>
#include <FIoFile.h>
#include <FAppMapDataControl.h>
#include <FAppIMapDataControlResponseListener.h>
-
#include <FBaseSysLog.h>
#include "FApp_AppControlManager.h"
#include <app_service.h>
#include <FOspConfig.h>
-#include <FBaseColIListT.h>
-#include <FBaseColIList.h>
+#include <FBaseColArrayListT.h>
#include <FBaseObject.h>
#include <FBaseString.h>
#include <FBaseRtIEventListener.h>
-#include <FAppAppManager.h>
+#include <FAppTypes.h>
#include <FAppIAppControlEventListener.h>
#include <FAppIAppControlResponseListener.h>
#include <FBaseSysLog.h>
namespace Collection
{
class IMap;
+class IList;
}
}}
namespace Tizen { namespace Io
_RequestManagerT<_ResultInfo> __resultManager;
Tizen::Base::Collection::ArrayListT<void*> __listenerList;
- Tizen::Base::Collection::HashMapT<int, _AppControlResponseEvent*>* __pAppControlResponseEventContainer;
+ Tizen::Base::Collection::HashMapT<int, _AppControlResponseEvent*> __appControlResponseEventContainer;
Tizen::Base::Collection::ArrayListT<int> __appControlResponseEventList;
- //friend class AppManager;
friend class _AppControlImpl;
- //friend class _SqlDataControlImpl;
- //friend class _MapDataControlImpl;
friend class _DataControlProviderManagerImpl;
friend class _AppControlProviderManagerImpl;
friend class Tizen::Io::_DataControlResultSetImpl;
namespace Tizen { namespace Base { namespace Collection { class IList; } } }
+namespace Tizen { namespace Base { namespace Collection { class IMap; } } }
+namespace Tizen { namespace Base { namespace Collection { class ArrayList; } } }
namespace Tizen { namespace App
{
#include <new>
#include <unique_ptr.h>
#include <FBaseColLinkedList.h>
+#include <FBaseColArrayList.h>
#include <FBaseResult.h>
#include <FBaseSysLog.h>
#include <message-port.h>
#include <FBaseSysLog.h>
+#include <FBaseByteBuffer.h>
+
#include <FBase_StringConverter.h>
#include <FApp_AppInfo.h>
class String;
class ByteBuffer;
class DateTime;
+namespace Collection
+{
+class ArrayList;
+}
}}
namespace Tizen { namespace Io
#include <new>
#include <unique_ptr.h>
-#include <FSecPrivacyInfo.h>
+
#include <FBaseSysLog.h>
+#include <FBaseString.h>
+#include <FSecPrivacyInfo.h>
+
#include "FSec_PrivacyInfoImpl.h"
using namespace Tizen::Base;
-using namespace Tizen::Base::Collection;
using namespace Tizen::Security;
namespace Tizen { namespace Security
#include "FSec_PrivilegeInfoImpl.h"
using namespace Tizen::Base;
-using namespace Tizen::Base::Collection;
using namespace Tizen::Security;
namespace Tizen { namespace Security
#include "FSec_PrivacyInfoImpl.h"
using namespace Tizen::Base;
-using namespace Tizen::Base::Collection;
using namespace Tizen::Security;
namespace Tizen { namespace Security
*/
#include <new>
+
#include <privacy_manager_client.h>
+
#include <FSecPrivacyManager.h>
#include <FBaseSysLog.h>
+#include <FBaseColArrayList.h>
+#include <FSecPrivacyInfo.h>
+
#include "FSec_PrivacyManagerImpl.h"
#include <FBase_StringConverter.h>
-#include <FSecPrivacyInfo.h>
using namespace Tizen::Base;
using namespace Tizen::Base::Collection;
#define _FSEC_CERT_INTERNAL_CERT_CHAIN_H_
#include "unique_ptr.h"
+
+#include <FBaseColArrayList.h>
+
#include "FSecCert_Certificate.h"
#include "FSecCert_CertPrivateKeyInfo.h"
#include <FBaseByteBuffer.h>
#include <FBaseResult.h>
#include <FBaseSysLog.h>
+#include <FBaseColArrayList.h>
#include <FSecPkcsPkcs08Attribute.h>
#include <FSecPkcsPkcs08AttributeValue.h>
+
#include "FSecPkcs_Pkcs08AttributeImpl.h"
using namespace Tizen::Base;
#include <FBaseByteBuffer.h>
#include <FBaseResult.h>
+#include <FBaseColArrayList.h>
#include <FSecPkcsPkcs08Attribute.h>
#include <FSecPkcsPkcs08AttributeValue.h>
#define _FSEC_PKCS_INTERNAL_PKCS_08_PRIVATE_KEY_INFO_H_
#include <FBaseByteBuffer.h>
+#include <FBaseColArrayList.h>
#include <FSecPkcsAlgorithmIdentifier.h>
#include <FSecPkcsPkcs08Attribute.h>
#include <FSecPkcsPkcs08AttributeValue.h>
#include <FBaseSysLog.h>
#include <FSysSystemTime.h>
+#include <FAppApp.h>
+#include <FBaseColArrayList.h>
#include <FBase_NativeError.h>
-#include <FAppApp.h>
#include <FBase_StringConverter.h>
#include "inc/FSys_AlarmManager.h"
#include <FBaseInteger.h>
#include <FBaseColHashMap.h>
#include <FBaseUtilStringUtil.h>
+#include <FIoRegistry.h>
#include <FBase_NativeError.h>
#include <FBase_StringConverter.h>