2 * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
21 #include <tzplatform_config.h>
27 #define GLOBAL_USER tzplatform_getuid(TZ_SYS_GLOBALAPP_USER)
33 #define _E(fmt, arg...) LOGE(fmt, ##arg)
36 #define _D(fmt, arg...) LOGD(fmt, ##arg)
39 #define _W(fmt, arg...) LOGW(fmt, ##arg)
42 #define _I(fmt, arg...) LOGI(fmt, ##arg)
44 #define AUL_UTIL_PID -2
45 #define MAX_LOCAL_BUFSZ 128
46 #define MAX_PACKAGE_STR_SIZE 512
47 #define MAX_PID_STR_BUFSZ 20
48 #define MAX_UID_STR_BUFSZ 20
49 #define REGULAR_UID_MIN 5000
50 #define MAX_RUNNING_INSTANCE 10000
53 TIZEN_PROFILE_UNKNOWN = 0,
54 TIZEN_PROFILE_MOBILE = 0x1,
55 TIZEN_PROFILE_WEARABLE = 0x2,
56 TIZEN_PROFILE_TV = 0x4,
57 TIZEN_PROFILE_IVI = 0x8,
58 TIZEN_PROFILE_COMMON = 0x10,
61 tizen_profile_t _get_tizen_profile(void);
63 #define TIZEN_FEATURE_SOCKET_TIMEOUT (_get_tizen_profile() & TIZEN_PROFILE_TV)
64 #define TIZEN_FEATURE_SHARE_PANEL (_get_tizen_profile() & TIZEN_PROFILE_MOBILE)