[[ Bug 12192 ]] Added cases for ExecutableWrite mode in device and FD opening
Fixes compilation issue on Android