ASACORE-551 Fix local discovery over non-local tranpsorts.

Change-Id: Iab2ad6636746e1632fadc78b2c7491475e2f4ead
Signed-off-by: M. Sanu <msanu@qce.qualcomm.com>
ASACORE-931: Fix GetListenAddresses() regression caused by iface config changes

Change-Id: I2030678cf85764483f2d0716b5f5cc7b70dcf1f7
Signed-off-by: Craig Dowell <cdowell@qce.qualcomm.com>
ASACORE-985 Remaining work necessary for the AllJoyn C API callbacks calling convention (unit-tests)

Change-Id: I698ac5777306de04524999409a450b90fb97e871
Signed-off-by: Marius Niculescu <mariusni@microsoft.com>
ASACORE-963 Cleanup AJ globals.

AJ 14.06 uses a number of global pointers (including singletons) that may
point to objects on the process heap. The issue is that the lifetime of these
objects in the heap may be longer than AJ code itself, thus we need to
provide a way to cleanup these global pointers before AJ is unloaded.

Here is the list as reported by Microsoft App Verifier tool:

1. [common\src\string.cc] line 56 - global pointer to an object on the heap
const String* emptyString = new String();

2. [common\src\logger.cc] line 98 - singleton
LoggerSetting* LoggerSetting::singleton

3. [common\os\windows\environ.cc] line 46 - singleton
static Environ* env

4. [common\crypto\cng\cryptoaes.cc] line 48-49 - global BCRYPT handles
static BCRYPT_ALG_HANDLE ecbHandle = 0;
static BCRYPT_ALG_HANDLE ccmHandle = 0;

5. [common\crypto\cng\cryptorsa.cc] line 47 - global BCRYPT handle
static BCRYPT_ALG_HANDLE rsaHandle = 0;

6. [common\crypto\cng\cryptohash.cc] line 42 - global BCRYPT handles
static BCRYPT_ALG_HANDLE algHandles[3][2] = { 0 };

We need to implement functions to clean these globals before unload or
else they could leak resources.

An AJ client that wishes to cleanly unload can call these new Cleanup
functions like so:

...
qcc::cngCache.Cleanup();
qcc::LoggerSetting::Cleanup();
qcc::Environ::Cleanup();

Change-Id: I9e9a1fb4546b115fa41e9285eb2b48896f6e43ce
Signed-off-by: Way Vadhanasin <wayvad@microsoft.com>
ASACORE-1004 fix segfault in SessionlessObj

Change-Id: I9862f37b7a6bb3bca9c3cf28658698dc8ff9c3b6
Signed-off-by: Meggan Ehret <meggan@qeo.org>
Merge "ASACORE-985 Remaining work necessary for the AllJoyn C API callbacks calling convention (unit-tests)"
Added new test app to validate AllJoyn Actions.

Discover Actions and have ability to invoke them dynamically.

Change-Id: I56d716bf5e8dfe59cb6d2127d262395ffcbe2102
Signed-off-by: Brian Spencer <bspencer@qce.qualcomm.com>
Added new test app to validate AllJoyn Events.

Discover Events and have ability to register to receive them dynamically.

Change-Id: I09645969a98e7e77e99128a2f8c5c25e09d3002a
Signed-off-by: Brian Spencer <bspencer@qce.qualcomm.com>
Updated the Event action sample for the following:

* Reworked the Event Action Android sample to make it easier
for a developer to modify the rules.
* Optimizes the design
so that a single signalHandler is added and multiple actions
can be attached to execute on this signal handler.
* Added ability to view the saved rules & delete individual items
* Deprecated the remote rule engine ability

Change-Id: Ife978e2a7ed716138c510a968f0938b3af355952
Signed-off-by: Brian Spencer <bspencer@qce.qualcomm.com>
Merge changes Ife978e2a,I09645969,I56d716bf

* changes:
  Updated the Event action sample for the following:
  Added new test app to validate AllJoyn Events.
  Added new test app to validate AllJoyn Actions.
Merge "ASACORE-963 Cleanup AJ globals."
ASACORE-996 Fixed issue in About Client sample code

The about client sample code improperly passed the local unique name
when it should have been passing the remote bus name.

Unknown if this will fully address the issue in ASACORE-996 but this
must be done to continue investigation.

Change-Id: I18b51831367caa47c60a0f95bf7c77901468fd7c
Signed-off-by: George Nash <georgen@qce.qualcomm.com>
ASACORE-1008: Resolved SConscript build issue for event and action sample
Corrected the nested folder jni install command

Change-Id: I67daef8b4f97dd8e402504a75bd65bf83feee1f5
Signed-off-by: Brian Spencer <bspencer@qce.qualcomm.com>
ASACORE-232: Remove references to Bluetooth

Change-Id: Icba4e4d2193e354bc9373a9f56b1dc483f6b0d1e
Signed-off-by: Steve Kinneberg <stevek@qce.qualcomm.com>
Merge "ASACORE-996 Fixed issue in About Client sample code"
Merge "ASACORE-232: Remove references to Bluetooth"
Merge "ASACORE-551 Fix local discovery over non-local tranpsorts."
Merge "ASACORE-1004 fix segfault in SessionlessObj"
ASACORE-1010 Reduce memory footprint on Windows

ASACORE-1010 Reduce memory footprint on Windows by taking advantage
of on-demand stack memory commit

Change-Id: I6d9d2ffd32fdb2d0fde849c7afb01332fdd7bc36
Signed-off-by: Dan Mihai <DMihai@microsoft.com>
Copy status codes from feature/about_rework

Change-Id: I3d2d8f5898dccc4a203519e81d61bceb4670fc29
Signed-off-by: Ry Jones <c_lawren@qce.qualcomm.com>