gfx

Understand the time information of dumpsys gfxinfo

让人想犯罪 __ 提交于 2021-02-08 10:24:09
问题 I want to understand the time information on the dumpsys gfxinfo log. It looks like this: Applications Graphics Acceleration Info: Uptime: 16264702 Realtime: 28169900 Can anyone tell me how to associate these figures with System.currentTimeMillis()? 回答1: From ActivityManagerService.java: long uptime = SystemClock.uptimeMillis(); long realtime = SystemClock.elapsedRealtime(); pw.println("Applications Graphics Acceleration Info:"); pw.println("Uptime: " + uptime + " Realtime: " + realtime);

Understand the time information of dumpsys gfxinfo

青春壹個敷衍的年華 提交于 2021-02-08 10:23:15
问题 I want to understand the time information on the dumpsys gfxinfo log. It looks like this: Applications Graphics Acceleration Info: Uptime: 16264702 Realtime: 28169900 Can anyone tell me how to associate these figures with System.currentTimeMillis()? 回答1: From ActivityManagerService.java: long uptime = SystemClock.uptimeMillis(); long realtime = SystemClock.elapsedRealtime(); pw.println("Applications Graphics Acceleration Info:"); pw.println("Uptime: " + uptime + " Realtime: " + realtime);

Cargo, workspace and temporary local dependency

人走茶凉 提交于 2020-03-21 19:19:14
问题 I have two projects my_project and my_inner_project in one cargo workspace. They both depend on gfx (and gfx_core and gfx_device_gl). I've found a bug in gfx_device_core, so I've forked it, cloned, patched locally and want to test it before commit. Projects structure: -my_project --my_inner_project ---Cargo.toml --Cargo.toml -gfx --src ---core ----Cargo.toml #package gfx_core ---backend ----gl -----Cargo.toml #package gfx_device_gl ---render ----Cargo.toml #package gfx --Cargo.toml Now I want

android mediaRecorder.setAudioSource failed

天大地大妈咪最大 提交于 2019-12-17 07:26:46
问题 I have android G1 firmware 1.6, I am trying to record voice from the app with the follow code. MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); recorder.setOutputFile(PATH_NAME); recorder.prepare(); recorder.start(); my manifest.xml has: <uses-permission android:name="android.permission.RECORD_AUDIO" /> I got: 09-23

android mediaRecorder.setAudioSource failed

萝らか妹 提交于 2019-11-27 04:27:17
I have android G1 firmware 1.6, I am trying to record voice from the app with the follow code. MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); recorder.setOutputFile(PATH_NAME); recorder.prepare(); recorder.start(); my manifest.xml has: <uses-permission android:name="android.permission.RECORD_AUDIO" /> I got: 09-23 14:41:05.531: ERROR/AndroidRuntime(1718): Uncaught handler: thread main exiting due to uncaught