profile_get_num_of_standard() returns the size of standard_pattern array.
However, standard pattern array is only used at mobile and wearable profile.
Because this function cannot be tested in the 8.0 public image,
it is excluded from line coverage target.
Change-Id: If039e7b71465ad53e120256d40485886d96e426e
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
static int profile_get_num_of_standard(void)
{
static int size = -1;
static int profile_get_num_of_standard(void)
{
static int size = -1;
if (prof == PROFILE_MOBILE)
size = ARR_SIZE(mobile_str_standard);
else if (prof == PROFILE_WEARABLE)
size = ARR_SIZE(wearable_str_standard);
else
size = 0;
if (prof == PROFILE_MOBILE)
size = ARR_SIZE(mobile_str_standard);
else if (prof == PROFILE_WEARABLE)
size = ARR_SIZE(wearable_str_standard);
else
size = 0;
static const char *profile_str_pattern(int pattern)
{
static const char *profile_str_pattern(int pattern)
{