- 18 Nov, 2019 1 commit
-
-
liujk2 authored
1. on Android N, get temperature would need be set as device manager, and name of this App would be display on view, but App Name just have little translation (English and Chinese), so now we do not need support Android N, so remove the action of been set as device manager to fix translation issue Change-Id: I21dca477485b73041f1c2c7f98117e4b403af0bf
-
- 24 Oct, 2019 2 commits
-
-
liujk2 authored
1. before wifi lost, capabilities change would override wifi info 2. add is_lost to A803 Change-Id: Ia47e307880340b9353f7891553def178ce22d9bc
-
liujk2 authored
1. fix screen on duration issue, when screen on more than one day, duration may be error 2. make sure duration do not more than one day in one event Change-Id: Idc1e9f6ce39a9b7a588dca95c04c32f14f718ba2
-
- 22 Oct, 2019 1 commit
-
-
liujk2 authored
1. do not control dropbox info by User Experience Plan Change-Id: Ie379e18c9deb8ed5a50725a395fc2383be526c14
-
- 21 Oct, 2019 7 commits
-
-
liujk2 authored
1. Collector stopCollection do not controlled by CTA 2. TriggerManager has some issue when do init Change-Id: Id3d08f0594a7b27cb7069bb069ecc61ffea58936
-
liujk2 authored
1. add count duration when shutdown 2. add some log for debug Change-Id: I03bf08ca44489148fea82b624a2a4f3d9b2bf6af
-
liujk2 authored
1. sometimes wifi would lost ssid before disconnect Change-Id: I2f3eb4ffc394534097c2628a7294fb1211bdd0dd
-
liujk2 authored
1. do not upload once more after delay upload 2. add more debug info Change-Id: Icc25cbbd9ea676514ffa1a793f3315fd132510cd
-
liujk2 authored
1. optimize name of sharedPreferences create used by Cache 2. do not use sharedPreferences to save recent upload info, instead of use database 3. save 7 days upload info 4. change recent upload info order on UI Change-Id: I486bd0ce2d75fea64961bde9531a3eaa321122a3
-
liujk2 authored
1. follow duration do not use utc time, just use elapsed time with sleep and add daily check, make sure duration can not bigger than 24 hours. 1) bluetooth device connection duration 2) headset device plug duration 3) usb port plug duration 2. add debug info for A206 Change-Id: Ic37f8dcc3840271d20a07a1510d6a051bfb4bf5d
-
liujk2 authored
1. use new interface to collect net event 2. increase minSdkVersion to 26 Change-Id: Ibaf7d2044f9efd025e348de9a5e742289b5d6841
-
- 22 Aug, 2019 2 commits
- 01 Aug, 2019 1 commit
-
-
JackyLiu authored
1. optimize duration collection of screen on/off, screen orientation 2. optimize duration collection of app usage Change-Id: I0147a3dc4f3c839b8204e17cac0fee8c93b8c643
-
- 31 Jul, 2019 1 commit
-
-
JackyLiu authored
prepare for optimize collector Change-Id: I2496cb7d6fca4ce8346b7063d8da459a5190c97d
-
- 19 Jul, 2019 1 commit
-
-
JackyLiu authored
sometimes data count is big than real count Change-Id: I00e88d12c701bca1da1fd6690bccab5425d14305
-
- 15 Jul, 2019 2 commits
-
-
JackyLiu authored
change provider as singleUser=true Change-Id: I7ba2a6c1be43df1351bed93dfc7632dc339628ff
-
JackyLiu authored
maybe has some exception when cursor.moveToNext() and then upload interrupted 07-15 08:21:14.662 1982 2320 E SQLiteConnection: startPos 3192 > actual rows 3109 07-15 08:21:14.663 1982 2320 E SQLiteQuery: exception: Row too big to fit into CursorWindow requiredPos=4788, totalRows=3109; query: SELECT DISTINCT * FROM committed 07-15 08:21:14.666 1982 2320 W UserExperience: ULog.b() android.database.sqlite.SQLiteBlobTooBigException: Row too big to fit into CursorWindow requiredPos=4788, totalRows=3109 07-15 08:21:14.666 1982 2320 W UserExperience: at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method) 07-15 08:21:14.666 1982 2320 W UserExperience: at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:859) 07-15 08:21:14.666 1982 2320 W UserExperience: at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:836) 07-15 08:21:14.666 1982 2320 W UserExperience: at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62) 07-15 08:21:14.666 1982 2320 W UserExperience: at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:157) 07-15 08:21:14.666 1982 2320 W UserExperience: at android.database.sqlite.SQLiteCursor.onMove(SQLiteCursor.java:128) 07-15 08:21:14.666 1982 2320 W UserExperience: at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:237) 07-15 08:21:14.666 1982 2320 W UserExperience: at android.database.AbstractCursor.moveToNext(AbstractCursor.java:269) 07-15 08:21:14.666 1982 2320 W UserExperience: at com.lenovo.ue.device.uploader.UploadService.b(UploadService.java:345) 07-15 08:21:14.666 1982 2320 W UserExperience: at com.lenovo.ue.device.uploader.UploadService.a(UploadService.java:305) 07-15 08:21:14.666 1982 2320 W UserExperience: at com.lenovo.ue.device.uploader.UploadService.b(UploadService.java:289) 07-15 08:21:14.666 1982 2320 W UserExperience: at com.lenovo.ue.device.uploader.UploadService.a(UploadService.java:274) 07-15 08:21:14.666 1982 2320 W UserExperience: at com.lenovo.ue.device.uploader.UploadService.a(UploadService.java:53) 07-15 08:21:14.666 1982 2320 W UserExperience: at com.lenovo.ue.device.uploader.UploadService$1.run(UploadService.java:240) 07-15 08:21:14.666 1982 2320 W UserExperience: at android.os.Handler.handleCallback(Handler.java:873) 07-15 08:21:14.666 1982 2320 W UserExperience: at android.os.Handler.dispatchMessage(Handler.java:99) 07-15 08:21:14.666 1982 2320 W UserExperience: at android.os.Looper.loop(Looper.java:193) 07-15 08:21:14.666 1982 2320 W UserExperience: at android.os.HandlerThread.run(HandlerThread.java:65) Change-Id: I080fcb35038a1659bcd32119f2f46a62dd2bab2b
-
- 12 Jul, 2019 3 commits
-
-
JackyLiu authored
because init ue earlier, so boot complete point is later than A101 collect, so just collect memory after init over Change-Id: I6ff34374a43ff281a76cb56919b9cf1dab9abde2
-
JackyLiu authored
1. add special event to record upload count of events by day 2. all data would be count, but one count event just contain one day 3. add upload_day to every event data Change-Id: Icee04e42e9fc150bf597bdd77f6f53cf34707578
-
JackyLiu authored
should remove twoHourJob when ActiveInfoCollector stop collection 07-09 22:27:05.528 19146 19146 E AndroidRuntime: FATAL EXCEPTION: main 07-09 22:27:05.528 19146 19146 E AndroidRuntime: Process: com.lenovo.ue.device, PID: 19146 07-09 22:27:05.528 19146 19146 E AndroidRuntime: java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.os.Handler.removeCallbacks(java.lang.Runnable)' on a null object reference 07-09 22:27:05.528 19146 19146 E AndroidRuntime: at android.app.job.JobServiceEngine$JobHandler.handleMessage(JobServiceEngine.java:112) 07-09 22:27:05.528 19146 19146 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106) 07-09 22:27:05.528 19146 19146 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193) 07-09 22:27:05.528 19146 19146 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6714) 07-09 22:27:05.528 19146 19146 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 07-09 22:27:05.528 19146 19146 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:503) 07-09 22:27:05.528 19146 19146 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911) 07-09 22:27:05.528 19146 19146 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.os.Handler.removeCallbacks(java.lang.Runnable)' on a null object reference 07-09 22:27:05.528 19146 19146 E AndroidRuntime: at com.lenovo.ue.device.collector.a.a(ActiveInfoCollector.java:191) 07-09 22:27:05.528 19146 19146 E AndroidRuntime: at com.lenovo.ue.device.collector.a.o(ActiveInfoCollector.java:181) 07-09 22:27:05.528 19146 19146 E AndroidRuntime: at com.lenovo.ue.device.collector.a.d(ActiveInfoCollector.java:94) 07-09 22:27:05.528 19146 19146 E AndroidRuntime: at com.lenovo.ue.device.collector.CollectorService.b(CollectorService.java:287) 07-09 22:27:05.528 19146 19146 E AndroidRuntime: at com.lenovo.ue.device.collector.CollectorService.d(CollectorService.java:314) 07-09 22:27:05.528 19146 19146 E AndroidRuntime: at com.lenovo.ue.device.collector.CollectorService.onStartJob(CollectorService.java:300) 07-09 22:27:05.528 19146 19146 E AndroidRuntime: at android.app.job.JobService$1.onStartJob(JobService.java:62) 07-09 22:27:05.528 19146 19146 E AndroidRuntime: at android.app.job.JobServiceEngine$JobHandler.handleMessage(JobServiceEngine.java:108) 07-09 22:27:05.528 19146 19146 E AndroidRuntime: ... 6 more Change-Id: I537b7a06ed486f476df3b77d9e20a98b3069c2bc
-
- 08 Jul, 2019 2 commits
-
-
JackyLiu authored
java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Handler.post(java.lang.Runnable)' on a null object reference at android.app.job.JobServiceEngine$JobHandler.handleMessage(JobServiceEngine.java:112) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6518) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Handler.post(java.lang.Runnable)' on a null object reference at com.lenovo.ue.device.uploader.UploadService.onStartJob(UploadService.java:235) at android.app.job.JobService$1.onStartJob(JobService.java:71) at android.app.job.JobServiceEngine$JobHandler.handleMessage(JobServiceEngine.java:108) ... 6 more Change-Id: I6f63d9e252f85d915dfbbf4e7cac3e6526515a81
-
JackyLiu authored
java.lang.RuntimeException: Error receiving broadcast Intent { act=android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED flg=0x4000010 (has extras) } in com.lenovo.ue.device.collector.h@6501866 at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$-android_app_LoadedApk$ReceiverDispatcher$Args_53034(LoadedApk.java:1333) at android.app.-$Lambda$aS31cHIhRx41653CMnd4gZqshIQ.$m$7(Unknown Source:4) at android.app.-$Lambda$aS31cHIhRx41653CMnd4gZqshIQ.run(Unknown Source:39) at android.os.Handler.handleCallback(Handler.java:790) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:164) at android.os.HandlerThread.run(HandlerThread.java:65) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.bluetooth.BluetoothClass.toString()' on a null object reference at com.lenovo.ue.device.collector.g.a(BluetoothCollector.java:462) at com.lenovo.ue.device.collector.g.c(BluetoothCollector.java:431) at com.lenovo.ue.device.collector.g.c(BluetoothCollector.java:47) at com.lenovo.ue.device.collector.h.onReceive(BluetoothCollector.java:79) at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$-android_app_LoadedApk$ReceiverDispatcher$Args_53034(LoadedApk.java:1323) ... 6 more Change-Id: I67f643edc7ca278c179ffd330401f1040883097e
-
- 01 Jul, 2019 1 commit
-
-
JackyLiu authored
1. add country code info 2. add memory storage Change-Id: I54cd5424ac47c75b50b1eb052405fd6bc29abf73
-
- 25 Jun, 2019 2 commits
-
-
JackyLiu authored
sometimes free space of storage may be wrong, such as format Change-Id: I5c50ec7e6e48c46d4fd158742553f96818d6edb2
-
JackyLiu authored
when plug in usb device and then plug out immediately maybe casue this FC 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: FATAL EXCEPTION: main 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: Process: com.lenovo.ue.device, PID: 1366 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: at java.lang.AbstractStringBuilder.deleteCharAt(AbstractStringBuilder.java:842) 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: at java.lang.StringBuilder.deleteCharAt(StringBuilder.java:254) 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: at com.lenovo.ue.device.collector.aj$b.d(JacksCollector.java:431) 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: at com.lenovo.ue.device.collector.aj.a(JacksCollector.java:320) 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: at com.lenovo.ue.device.collector.aj.a(JacksCollector.java:36) 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: at com.lenovo.ue.device.collector.an.run(JacksCollector.java:330) 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:873) 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193) 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6702) 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) 06-22 13:55:25.726271 1366 1366 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911) Change-Id: I133f253b05c1b1a80424e102a8be30a7edb53fb6
-
- 20 Jun, 2019 1 commit
-
-
JackyLiu authored
1. when app send the same events quickly one by one, may be lost some so add serial to table name to resolve it Change-Id: I760b599c62ae3f00ce4357ac441d8f601929f1ea
-
- 19 Jun, 2019 2 commits
-
-
JackyLiu authored
1. BOOT_COMPLETE broadcast is too late for other app to collect data to UE, so add Application class UEApp and move setup UE actions to UEApp.onCreate() 2. event A404 collect boot up info, is depending on BootReceiver, so make sure A404 can be collected correctly Change-Id: Id2285c6b9e613dafb040e933c377caf4d67c3ef4 -
JackyLiu authored
1. add more log, about receive/collect/save/upload/lost 2. add package version when receive data from app 3. add platform data collect for framework Change-Id: Ic8a7251e42223e1b20f73d4363405a4f1a1679f6
-
- 15 Jun, 2019 2 commits
-
-
JackyLiu authored
1. sometimes maybe lost some data, fix it 2. make database ops more stable Change-Id: I6822c410cf5c605c1d89ce6cf5d00299e637b1c2
-
JackyLiu authored
modify flush code from tracker.forceFlush(false); to tracker.forceFlush(true); because 'forceFlush(false)' is useless Change-Id: I06531812f11e0a7bdd50d8e452bb1aa0261b6a46
-
- 13 Jun, 2019 1 commit
-
-
JackyLiu authored
1. fix version error of gradle 2. upgrade gradle tools version to 3.2.0 Change-Id: I80128c2141b7a526e652303b8b355681af303bbf
-
- 11 Jun, 2019 1 commit
-
-
JackyLiu authored
because sendType 1 means upload data just when app start and UE would not start again when device running so remove send type config, so data would be upload OK Change-Id: Id0a95ffdac97e4bfc264626b1c449910f04d0856
-
- 06 Jun, 2019 1 commit
-
-
JackyLiu authored
1. remove unused collectors Change-Id: I6982d000235d6c797653b66ac853bf13aea4b7ef
-
- 07 May, 2019 1 commit
-
-
JackyLiu authored
1. output device id in log, when resume UE debug UI Change-Id: Ic109e34ac195a1f31fb29f28e865356172d85caf
-
- 05 May, 2019 5 commits
-
-
JackyLiu authored
1. change deviceID just as SN Change-Id: I7ee55264459a05103131f35ada713004bdb54a39
-
JackyLiu authored
1. do not directly use SN or IMEI, but encrypted SN and IMEI Change-Id: I13f0cf2501ff5c005f3a012507ccc3a4513884d3
-
JackyLiu authored
1. add description for permissions defined by UE Change-Id: I44052608896524ff4e01fab23446554a12dfe556
-
JackyLiu authored
1. add test key and remove unused key Change-Id: Ic6e7bf6029454570e82745340206214d9d2a9ab5
-
JackyLiu authored
1. remove lenovoID collection, we just need to know if lenovoID is register 2. fix eventTime of events which uploaded by HttpInterface Change-Id: I7606910b85a7259498c121134d78486ce15d32f4
-