(keys)
| 81 | } |
| 82 | |
| 83 | function isBluetoothConnected(keys) { |
| 84 | if (!keys) { |
| 85 | return false; |
| 86 | } |
| 87 | const allKeys = keys.allKeys; |
| 88 | const size = allKeys.count; |
| 89 | let isBlueTooth = false; |
| 90 | for (let i = 0; i < size; i++) { |
| 91 | const key = allKeys.objectAtIndex(i); |
| 92 | if (key === 'en4') { |
| 93 | isBlueTooth = true; |
| 94 | break; |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | return isBlueTooth; |
| 99 | } |
| 100 | |
| 101 | function isVPNConnected(keys) { |
| 102 | if (!keys) { |
no outgoing calls
no test coverage detected