src/sap.ui.fl/src/sap/ui/fl/context/ContextManager.js
function (aContextObjects, aRuntimeContextParameters) {
			var that = this;
			var aActiveContexts = [];

			aContextObjects.forEach(function (oContext) {
				if (that._isContextObjectActive(oContext, aRuntimeContextParameters)) {
					aActiveContexts.push(oContext.id);
				}
			});

			return aActiveContexts;
		}
function (aContextObjects, aRuntimeContextParameters) {
			var that = this;
			var aActiveContexts = [];

			aContextObjects.forEach(function (oContext) {
				if (that._isContextObjectActive(oContext, aRuntimeContextParameters)) {
					aActiveContexts.push(oContext.id);
				}
			});

			return aActiveContexts;
		}
function ( aContextObjects , aRuntimeContextParameters ) { var that = this ; var aActiveContexts = [ ] ; aContextObjects . forEach ( function ( oContext ) { if ( that . _isContextObjectActive ( oContext , aRuntimeContextParameters ) ) { aActiveContexts . push ( oContext . id ) ; } } ) ; return aActiveContexts ; }
Function to filter all contexts by the passed runtime context parameters.

@param {object[]} aContextObjects - context objects within the application
@param {object} aRuntimeContextParameters - map of context keys and their current values
@returns {string[]} aActiveContexts - id list of all active contexts
Function to filter all contexts by the passed runtime context parameters .