ASACORE-1177, ASACORE-1178 Add the setAnnounceFlag method

BusAttachment.setAnnounceFlag method has been added to the Java
language bindings.  This makes it possible to announce an interface
that does not have the announce annotation or prevent an interface
that does have the announce annotation from being announced.

Change-Id: I61463fa2368c52e6286adedb1a34425e0f34ae45
Signed-off-by: George Nash <georgen@qce.qualcomm.com>
ASACORE-1203 Fixed the Allow remote flag for the about samples

Change-Id: I80c95476fd9f6d4f7ae509390ec4fcb45227737c
Signed-off-by: George Nash <georgen@qce.qualcomm.com>
ASACORE-1202 Call Unannounce when AboutObj is freed

Change-Id: I5456cebcfe9a8b222c21f7f504fb0e586eb300fb
Signed-off-by: George Nash <georgen@qce.qualcomm.com>
ASACORE-682 Fix ping reply codes.

When a name has not been requested, ping to a locally connected node should return ER_ALLJOYN_PING_REPLY_UNREACHABLE.

Change-Id: I5244f117f90cb215dded5e80eb193b81b6a2a2cd
Signed-off-by: Sheshambika Venkateshwaran <sheshamb@qce.qualcomm.com>
ASACORE-1229 AppId can be larger or smaller than 128-bits

Let the user set the AppId to a value that is not 128-bits

Untill recently the requirement to have the AppId be 128-bits
was not clearly stated. This lead to developers creating
applications that had AppIds larger or smaller than 128-bits.

So that we don't break applications that are using a non-128-bit
AppId we will still send out an annouce signal that is not
128-bits.

If a user set the AppId to a value that is not 128-bits the
AboutData::SetAppId and the AboutObj::Announce member functions
will return ER_ABOUT_INVALID_ABOUTDATA_FIELD_APPID_SIZE status
if the AppId is not 128-bits.  The developer can choose to ignore
this warning.

Change-Id: I099333c8e62edae5c5c78efc7e1d7dcc4e720996
Signed-off-by: George Nash <georgen@qce.qualcomm.com>
ASACORE-782 Return consistent error codes for Ping

Remote routing node must return UNKNOWN_NAME if the unique name has
never been requested.

Note that if an app exits, ping to its unique name will return
UNREACHABLE as long as the remote routing node is advertising any
names or there is a session to the remote routing node. Otherwise
the ping will return UNKNOWN_NAME.

Change-Id: I9608302f9443b6a815555b611acc5dab7652db5f
Signed-off-by: Sheshambika Venkateshwaran <sheshamb@qce.qualcomm.com>
ASACORE-1119 Unit test should be using GUID::ToString function

The unit test was using the GUID::RenderByteString member function
which literally changes a byte array to a string array no conversion.

this meant if the first byte was `0` then the RenderByteString looked
like a NULL and would result in the code segfaulting.  The test code
should have use the GUID::ToString member function.  This converts
the array of bytes to a a string representation of the bytes. so a
'0' byte becomes "00" string.

Change-Id: I541cfff6353ebf3611d766e8ee4ea8c791fd33aa
Signed-off-by: George Nash <georgen@qce.qualcomm.com>
ASACORE-816, ASACORE-1200 Build About samples for android and OpenWrt

Change-Id: I5b0aba054e9ca869bb42dcf39deaa97e7f9a903e
Signed-off-by: George Nash <georgen@qce.qualcomm.com>
AJCORE-1261 Resolved issues found using static analysis tool

- Fixed possible null pointer dereference issues
- Fixed possible memory leak

Change-Id: I5b4a96e13f5aecf58456fd0279b41f36702851e2
Signed-off-by: George Nash <georgen@qce.qualcomm.com>
ASACORE-1216: Fix infinite loop bug when removing PropertiesChanged match rules.

Change-Id: I8cff7bcbb659e2a7081e372b77d358db779af17f
Signed-off-by: Steve Kinneberg <stevek@qce.qualcomm.com>
ASACORE-1214: Make sure propertiesChangeCBs stays in sync with matchRulesTracker.

Change-Id: I60a1d570bfd24f4eb2845bc29dada6a7d29cc38c
Signed-off-by: Steve Kinneberg <stevek@qce.qualcomm.com>
Merge "ASACORE-682 Fix ping reply codes." into RB14.12
Merge "ASACORE-1203 Fixed the Allow remote flag for the about samples" into RB14.12
Merge "ASACORE-816, ASACORE-1200 Build About samples for android and OpenWrt" into RB14.12
Merge "ASACORE-1119 Unit test should be using GUID::ToString function" into RB14.12
Merge "AJCORE-1261 Resolved issues found using static analysis tool" into RB14.12
Merge "ASACORE-782 Return consistent error codes for Ping" into RB14.12
Merge "ASACORE-1216: Fix infinite loop bug when removing PropertiesChanged match rules." into RB14.12
Merge "ASACORE-1214: Make sure propertiesChangeCBs stays in sync with matchRulesTracker." into RB14.12
Merge "ASACORE-1177, ASACORE-1178 Add the setAnnounceFlag method" into RB14.12