Skip to content

Instantly share code, notes, and snippets.

@andrew-aladev
Last active January 6, 2017 15:41
Show Gist options
  • Save andrew-aladev/868bbdc5a725fab35212ddc1a347772f to your computer and use it in GitHub Desktop.
Save andrew-aladev/868bbdc5a725fab35212ddc1a347772f to your computer and use it in GitHub Desktop.
toggle wifi
01-06 18:22:38.458 11616 11664 I jxcore-log: # setup
01-06 18:22:38.458 11616 11664 I jxcore-log:
01-06 18:22:39.567 11616 11664 I jxcore-log: # network changes emitted correctly
01-06 18:22:39.567 11616 11664 I jxcore-log:
01-06 18:22:40.761 11616 11664 I jxcore-log: 2017-01-06 15:22:40 - DEBUG thaliMobileNativeWrapper: 'listening 49422'
01-06 18:22:40.761 11616 11664 I jxcore-log:
01-06 18:22:40.764 11616 11664 I jxcore-log: 2017-01-06 15:22:40 - DEBUG createNativeListener: 'Creating Native Server'
01-06 18:22:40.764 11616 11664 I jxcore-log:
01-06 18:22:40.766 11616 11664 I jxcore-log: 2017-01-06 15:22:40 - DEBUG createNativeListener: 'listening 47698'
01-06 18:22:40.766 11616 11664 I jxcore-log:
01-06 18:22:40.768 915 7538 E WifiService: Invoking mWifiStateMachine.setWifiEnabled
01-06 18:22:40.784 915 3063 E WifiConfigStore: saveWifiConfigBSSID Setting BSSID for "Fits"NONE to any
01-06 18:22:40.839 540 540 E Parcel : Reading a NULL string not supported here.
01-06 18:22:40.844 11616 11664 I jxcore-log: 2017-01-06 15:22:40 - DEBUG CoordinatedClient: 'device disconnected from the test server'
01-06 18:22:40.844 11616 11664 I jxcore-log:
01-06 18:22:40.910 5203 5242 E SarUtils: getCurrentMCC,the netWorkOperator is invalid
01-06 18:22:40.911 11616 11664 I jxcore-log: 2017-01-06 15:22:40 - DEBUG thaliMobileNativeWrapper: 'networkChanged: {"bluetoothLowEnergy":"on","bluetooth":"on","wifi":"on","cellular":"doNotCare"}'
01-06 18:22:40.911 11616 11664 I jxcore-log:
01-06 18:22:40.914 5203 5242 E SarControlService: no key has been found,reset the power
01-06 18:22:40.924 11616 11664 I jxcore-log: not ok 1 wifi should be off
01-06 18:22:40.924 11616 11664 I jxcore-log:
01-06 18:22:40.924 11616 11664 I jxcore-log: ---
01-06 18:22:40.924 11616 11664 I jxcore-log:
01-06 18:22:40.925 915 930 E WifiService: reportActivityInfo: rxIdleCur=1 rxCur=100 txCur=250 voltage=3.8 on_time=-1857893095 tx_time=2424202 rx_time=74915128 rxIdleTime=-1935232425 energy=23416857325
01-06 18:22:40.925 11616 11664 I jxcore-log: operator: equal
01-06 18:22:40.925 11616 11664 I jxcore-log:
01-06 18:22:40.925 915 930 E BatteryStatsService: Reported WiFi energy data is invalid: WifiActivityEnergyInfo{ timestamp=2437551442 mStackState=3 mControllerTxTimeMs=2424202 mControllerRxTimeMs=74915128 mControllerIdleTimeMs=-1935232425 mControllerEnergyUsed=23416857325 }
01-06 18:22:40.925 11616 11664 I jxcore-log: expected: 'off'
01-06 18:22:40.925 11616 11664 I jxcore-log:
01-06 18:22:40.925 11616 11664 I jxcore-log: actual: 'on'
01-06 18:22:40.925 11616 11664 I jxcore-log:
01-06 18:22:40.925 11616 11664 I jxcore-log: ...
01-06 18:22:40.925 11616 11664 I jxcore-log:
01-06 18:22:40.926 11616 11664 I jxcore-log: ok 2 bssid should be null
01-06 18:22:40.926 11616 11664 I jxcore-log:
01-06 18:22:40.928 11616 11664 I jxcore-log: ok 3 ssid should be null
01-06 18:22:40.928 11616 11664 I jxcore-log:
01-06 18:22:40.933 915 3703 E WifiService: Invoking mWifiStateMachine.setWifiEnabled
01-06 18:22:40.937 11616 11664 I jxcore-log: 2017-01-06 15:22:40 - DEBUG thaliMobileNativeWrapper: 'networkChanged: {"bluetoothLowEnergy":"on","bluetooth":"on","wifi":"off","cellular":"doNotCare"}'
01-06 18:22:40.937 11616 11664 I jxcore-log:
01-06 18:22:40.941 11616 11664 I jxcore-log: not ok 4 wifi should be on
01-06 18:22:40.941 11616 11664 I jxcore-log:
01-06 18:22:40.942 11616 11664 I jxcore-log: ---
01-06 18:22:40.942 11616 11664 I jxcore-log:
01-06 18:22:40.942 11616 11664 I jxcore-log: operator: equal
01-06 18:22:40.942 11616 11664 I jxcore-log:
01-06 18:22:40.942 11616 11664 I jxcore-log: expected: 'on'
01-06 18:22:40.942 11616 11664 I jxcore-log:
01-06 18:22:40.942 11616 11664 I jxcore-log: actual: 'off'
01-06 18:22:40.942 11616 11664 I jxcore-log:
01-06 18:22:40.942 11616 11664 I jxcore-log: ...
01-06 18:22:40.942 11616 11664 I jxcore-log:
01-06 18:22:40.950 506 908 E Netd : netlink response contains error (No such file or directory)
01-06 18:22:41.309 11616 11664 I jxcore-log: 2017-01-06 15:22:41 - DEBUG thaliMobileNativeWrapper: 'networkChanged: {"bluetoothLowEnergy":"on","bluetooth":"on","wifi":"on","cellular":"doNotCare"}'
01-06 18:22:41.309 11616 11664 I jxcore-log:
01-06 18:22:41.312 11616 11664 I jxcore-log: ok 5 wifi should be on
01-06 18:22:41.312 11616 11664 I jxcore-log:
01-06 18:22:41.331 915 3063 E WifiConfigStore: readAutoJoinStatus: Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/autojoinconfig.txt: open failed: ENOENT (No such file or directory)
01-06 18:22:41.331 915 3063 E WifiConfigStore: buildPnoList sortedWifiConfigurations size 4
01-06 18:22:41.331 915 3063 E WifiConfigStore: found sortedWifiConfigurations : "T"WPA_PSK
01-06 18:22:41.332 915 3063 E WifiConfigStore: found sortedWifiConfigurations : "Eugene's iMac"WPA_PSK
01-06 18:22:41.332 915 3063 E WifiConfigStore: found sortedWifiConfigurations : "Eugene's iMac"NONE
01-06 18:22:41.332 915 3063 E WifiConfigStore: found sortedWifiConfigurations : "Fits"NONE
01-06 18:22:41.352 915 3062 E WifiP2pService: Unable to change interface settings: java.lang.IllegalStateException: command '36923 interface setcfg p2p0 0.0.0.0 0 up' failed with '400 36923 Failed to set address (No such device)'
01-06 18:22:41.357 915 930 E WifiService: reportActivityInfo: rxIdleCur=1 rxCur=100 txCur=250 voltage=3.8 on_time=-1857892662 tx_time=2424202 rx_time=74915128 rxIdleTime=-1935231992 energy=23416858970
01-06 18:22:41.357 915 930 E BatteryStatsService: Reported WiFi energy data is invalid: WifiActivityEnergyInfo{ timestamp=2437551874 mStackState=3 mControllerTxTimeMs=2424202 mControllerRxTimeMs=74915128 mControllerIdleTimeMs=-1935231992 mControllerEnergyUsed=23416858970 }
01-06 18:22:42.197 11616 11664 I jxcore-log: 2017-01-06 15:22:42 - WARN CoordinatedClient: 'connect_error error ignored for reconnect: 'Error: websocket error', description: 'Error: connect ENETUNREACH', stack: 'Transport.prototype.onError@/data/data/com.test.thalitest/files/www/jxcore/node_modules/engine.io-client/lib/transport.js:62:13
01-06 18:22:42.197 11616 11664 I jxcore-log: WS.prototype.addEventListeners/this.ws.onerror@/data/data/com.test.thalitest/files/www/jxcore/node_modules/engine.io-client/lib/transports/websocket.js:135:5
01-06 18:22:42.197 11616 11664 I jxcore-log: onError@/data/data/com.test.thalitest/files/www/jxcore/node_modules/ws/lib/WebSocket.js:428:5
01-06 18:22:42.197 11616 11664 I jxcore-log: emit@events.js:82:1
01-06 18:22:42.197 11616 11664 I jxcore-log: onerror@/data/data/com.test.thalitest/files/www/jxcore/node_modules/ws/lib/WebSocket.js:686:5
01-06 18:22:42.197 11616 11664 I jxcore-log: emit@events.js:82:1''
01-06 18:22:42.197 11616 11664 I jxcore-log:
01-06 18:22:42.200 11616 11664 I jxcore-log: 2017-01-06 15:22:42 - WARN CoordinatedClient: 'reconnect_error error ignored for reconnect: 'Error: websocket error', description: 'Error: connect ENETUNREACH', stack: 'Transport.prototype.onError@/data/data/com.test.thalitest/files/www/jxcore/node_modules/engine.io-client/lib/transport.js:62:13
01-06 18:22:42.200 11616 11664 I jxcore-log: WS.prototype.addEventListeners/this.ws.onerror@/data/data/com.test.thalitest/files/www/jxcore/node_modules/engine.io-client/lib/transports/websocket.js:135:5
01-06 18:22:42.200 11616 11664 I jxcore-log: onError@/data/data/com.test.thalitest/files/www/jxcore/node_modules/ws/lib/WebSocket.js:428:5
01-06 18:22:42.200 11616 11664 I jxcore-log: emit@events.js:82:1
01-06 18:22:42.200 11616 11664 I jxcore-log: onerror@/data/data/com.test.thalitest/files/www/jxcore/node_modules/ws/lib/WebSocket.js:686:5
01-06 18:22:42.200 11616 11664 I jxcore-log: emit@events.js:82:1''
01-06 18:22:42.200 11616 11664 I jxcore-log:
01-06 18:22:44.575 915 3063 E WifiConfigStore: saveWifiConfigBSSID Setting BSSID for "Fits"NONE to any
01-06 18:22:45.085 915 3063 E WifiConfigStore: saveWifiConfigBSSID Setting BSSID for "Fits"NONE to any
01-06 18:22:45.101 915 3063 E WifiConfigStore: saveWifiConfigBSSID Setting BSSID for "Fits"NONE to any
01-06 18:22:45.219 915 3063 E native : do suspend false
01-06 18:22:45.292 915 3063 E WifiStateMachine: Did not find remoteAddress {192.168.2.1} in /proc/net/arp
01-06 18:22:45.340 915 3065 E ConnectivityService: Unexpected mtu value: 0, wlan0
01-06 18:22:45.422 5203 5242 E SarUtils: getCurrentMCC,the netWorkOperator is invalid
01-06 18:22:45.422 5203 5242 E SarControlService: no key has been found,reset the power
01-06 18:22:45.423 11616 11664 I jxcore-log: 2017-01-06 15:22:45 - DEBUG thaliMobileNativeWrapper: 'networkChanged: {"bluetoothLowEnergy":"on","bluetooth":"on","wifi":"on","cellular":"doNotCare","bssidName":"e4:ce:8f:63:ab:2f","ssidName":"\"Fits\""}'
01-06 18:22:45.423 11616 11664 I jxcore-log:
01-06 18:22:45.425 11616 11664 I jxcore-log: ok 6 wifi should be on
01-06 18:22:45.425 11616 11664 I jxcore-log:
01-06 18:22:45.426 11616 11664 I jxcore-log: ok 7 bssid should be valid
01-06 18:22:45.426 11616 11664 I jxcore-log:
01-06 18:22:45.426 11616 11664 I jxcore-log: ok 8 ssid should exist
01-06 18:22:45.426 11616 11664 I jxcore-log:
01-06 18:22:45.435 11616 11664 I jxcore-log: # teardown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment