Skip to content

Instantly share code, notes, and snippets.

package com.noodoe.sunray.cmu.library;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import com.invisibi.iv01.cmu.utils.DLog;
import com.invisibi.iv01.cmu.utils.Helpers;
import com.noodoe.fwk.ble.v02.service.connection.NDBTService;
import com.noodoe.fwk.ble.v02.utils.CMUConstants;
2019-08-14 12:31:29.268 1664-1902/com.noodoe.sunray.dev D/OpenGLRenderer: endAllActiveAnimators on 0x7f723e8c00 (RelativeLayout) with handle 0x7f4fd903c0
2019-08-14 12:31:29.275 1664-1664/com.noodoe.sunray.dev I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@7861620 time:45395117
2019-08-14 12:31:29.311 1664-1664/com.noodoe.sunray.dev D/SunrayApplication:732: should init
2019-08-14 12:31:29.406 1664-3112/com.noodoe.sunray.dev D/SunrayTransferTaskManager$TransferTaskHandler:754: TransferTaskHandler handle message: 0x81504, messageName: RETRIEVE_NEW_PACKETS
2019-08-14 12:31:29.908 1664-3112/com.noodoe.sunray.dev D/SunrayTransferTaskManager$TransferTaskHandler:754: TransferTaskHandler handle message: 0x81504, messageName: RETRIEVE_NEW_PACKETS
2019-08-14 12:31:30.411 1664-3112/com.noodoe.sunray.dev D/SunrayTransferTaskManager$TransferTaskHandler:754: TransferTaskHandler handle message: 0x81504, messageName: RETRIEVE_NEW_PACKETS
2019-08-14 12:31:30.456 1664-1664/com.noodoe.sunray.dev D/DLog:20: QUERY
2019-07-23 15:10:44.793 17784-22849/com.noodoe.sunray.dev W/PacketSequenceProcessor:401: send packet failed: PacketStructure{mCommandType=CONTROL_COMMAND, mListener=com.noodoe.sunray.cmu.service.connection.handler.spp.command.ControlCommandProcessor@8844601, mPayloadCheckSum=22, mPacketIndex=3, mPacketAckIndex=136, mIsRetried=true}!!
2019-07-23 15:10:44.794 17784-22849/com.noodoe.sunray.dev W/PacketSequenceProcessor:430: onConnectionStatusBad
2019-07-23 15:10:44.794 17784-22849/com.noodoe.sunray.dev I/BaseCommandProcessor$CommandProcessorHandler:187: ControlCommandProcessor: CommandProcessorHandler handle message: 0x91803, messageName: COMMAND_OUTPUT_FAIL
2019-07-23 15:10:44.795 17784-22849/com.noodoe.sunray.dev I/PacketSequenceProcessor$SequenceHandler:480: SequenceHandler handle message: 0x92003, messageName: SEND_NEXT_PACKET
2019-07-23 15:10:44.796 17784-22848/com.noodoe.sunray.dev I/SunrayControlCommandV20Handler$ControlCommandInternalHandler:628: ControlCommandHandler handle message: 0x19101904, messageN
2019-07-03 14:51:59.000 15060-16310/com.noodoe.sunray.dev D/EmergencyReceiver:167: Got SOS operation START_COUNT_DOWN
2019-07-03 14:51:59.002 15060-16310/com.noodoe.sunray.dev D/EmergencyReceiver:179: Accident happened at 2019/07/03 02:51 PM
2019-07-03 14:51:59.003 15060-16310/com.noodoe.sunray.dev W/MessageQueue: Handler (android.media.MediaPlayer$EventHandler) {6acb285} sending message to a Handler on a dead thread
java.lang.IllegalStateException: Handler (android.media.MediaPlayer$EventHandler) {6acb285} sending message to a Handler on a dead thread
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:600)
at android.os.Handler.enqueueMessage(Handler.java:643)
at android.os.Handler.sendMessageAtTime(Handler.java:612)
at android.os.Handler.sendMessageDelayed(Handler.java:582)
at android.os.Handler.sendMessage(Handler.java:519)
at android.media.MediaPlayer.postEventFromNative(MediaPlayer.java:3094)
2019-07-02 11:24:07.910 22692-22692/com.noodoe.sunray.dev D/ServiceInvoker:305: SOSOperationListener removed
2019-07-02 11:24:07.910 22692-22837/com.noodoe.sunray.dev I/SunrayControlCommandV20Handler$ControlCommandInternalHandler:460: ControlCommandHandler handle message: 0x19101909, messageName: REMOVE_SOS_LISTENER
2019-07-02 11:24:08.766 22692-22692/com.noodoe.sunray.dev D/ServiceInvoker:118: Action: com.noodoe.sunray.intent.action.ACTION_DEVICE_CONNECTED_STATUS_NOTICE
2019-07-02 11:24:08.775 22692-22692/com.noodoe.sunray.dev W/MessageQueue: Handler (com.noodoe.sunray.cmu.service.task.SunrayControlCommandV20Handler$ControlCommandInternalHandler) {3ccf066} sending message to a Handler on a dead thread
java.lang.IllegalStateException: Handler (com.noodoe.sunray.cmu.service.task.SunrayControlCommandV20Handler$ControlCommandInternalHandler) {3ccf066} sending message to a Handler on a dead thread
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:600)
at android.os.Handler.enqueueMes
@cyberrob-zz
cyberrob-zz / emergency_happend
Created July 2, 2019 02:55
But not start count down!
2019-07-02 10:52:14.814 2128-2682/? E/LocSvc_eng: E/Calling gnss_sv_status_cb
2019-07-02 10:52:14.834 14617-14617/com.noodoe.sunray.dev W/MessageQueue: Handler (com.noodoe.sunray.cmu.service.device.DeviceStatusManager$DeviceStatusHandler) {214b5d8} sending message to a Handler on a dead thread
java.lang.IllegalStateException: Handler (com.noodoe.sunray.cmu.service.device.DeviceStatusManager$DeviceStatusHandler) {214b5d8} sending message to a Handler on a dead thread
at android.os.MessageQueue.enqueueMessage(MessageQueue.java:600)
at android.os.Handler.enqueueMessage(Handler.java:643)
at android.os.Handler.sendMessageAtTime(Handler.java:612)
at android.os.Handler.sendMessageDelayed(Handler.java:582)
at android.os.Handler.sendMessage(Handler.java:519)
at com.noodoe.sunray.cmu.service.device.DeviceStatusManager.updateGPSAccuracy(DeviceStatusManager.java:258)
at com.noodoe.sunray.cmu.library.version_1_5.BTCommandApiHandler.updateGPSAccuracy(BTCommandApiH
/**
* Created by robertwang on 2019/1/6.
*/
fun main(args: Array<String>) {
if (args.size > 3) return
val numOfCountries = args[0].toInt()
val numOfSystems = args[1].toInt()
@cyberrob-zz
cyberrob-zz / gist:2174f7dcfdc323046bb5e1ad1ddbd0b0
Created November 6, 2018 09:08
crash when clicking find my scooter
2018-11-06 17:03:46.120 28139-28385/com.noodoe.sunray.alpha I/InputCommandParser$InputCommandHandler:988: InputCommandHandler handle message: 0x90802, messageName: ADD_LISTENER
2018-11-06 17:03:46.121 28139-28385/com.noodoe.sunray.alpha I/InputCommandParser$InputCommandHandler:988: InputCommandHandler handle message: 0x90802, messageName: ADD_LISTENER
2018-11-06 17:03:46.122 28139-28139/com.noodoe.sunray.alpha D/SunrayTransferTaskManager:93: lifecycle
2018-11-06 17:03:46.123 28139-28139/com.noodoe.sunray.alpha I/SunrayBTService:145: onStartCommand, connected: false
2018-11-06 17:03:46.123 28139-28385/com.noodoe.sunray.alpha I/InputCommandParser$InputCommandHandler:988: InputCommandHandler handle message: 0x90802, messageName: ADD_LISTENER
2018-11-06 17:03:46.124 28139-28385/com.noodoe.sunray.alpha I/chatty: uid=10184(u0_a184) SunrayTransferT identical 2 lines
2018-11-06 17:03:46.125 28139-28385/com.noodoe.sunray.alpha I/InputCommandParser$InputCommandHandler:988: InputCommandHandler handle message: 0x90802, m
06-21 12:15:07.055 21677-21677/com.noodoe.sunray.alpha I/PolnavMapSurfaceView: MapSurfaceView construct
06-21 12:15:07.655 21677-21677/com.noodoe.sunray.alpha I/PolnavMapSurfaceView: surfaceCreated
06-21 12:15:07.665 21677-21677/com.noodoe.sunray.alpha I/PolnavMapSurfaceView: surfaceChanged
06-21 12:15:13.945 21677-21677/com.noodoe.sunray.alpha E/MessageQueue-JNI: android.view.InflateException: Binary XML file line #10: Error inflating class me.grantland.widget.AutofitTextView
at android.view.LayoutInflater.createView(LayoutInflater.java:620)
at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.createCustomViewInternal(CalligraphyLayoutInflater.java:211)
at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.access$000(CalligraphyLayoutInflater.java:20)
at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater$PrivateWrapperFactory2.onCreateView(CalligraphyLayoutInflater.java:302)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:689)
at
06-20 16:07:45.909 20691-20691/com.noodoe.sunray.alpha E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.noodoe.sunray.alpha, PID: 20691
java.lang.NullPointerException
at android.widget.ScrollBarDrawable.setAlpha(ScrollBarDrawable.java:225)
at android.view.View.onDrawScrollBars(View.java:11980)
at android.view.View.draw(View.java:14512)
at android.view.View.getDisplayList(View.java:13403)
at android.view.View.getDisplayList(View.java:13445)
at android.view.View.draw(View.java:14223)
at android.view.ViewGroup.drawChild(ViewGroup.java:3118)