のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

Android

fastboot

> fastboot flashall -------------------------------------------- Bootloader Version...: b1c1-0.1-4948814 Baseband Version.....: g845-00023-180815-B-4956438 Serial Number........: 89PX0CZ87 -------------------------------------------- fastb…

android monitor 動かない

C:\Users\m_fujii\AppData\Local\Android\Sdk\tools>.\android.bat ************************************************************************** The "android" command is deprecated. For manual SDK, AVD, and project management, please use Android …

android monitor 'lib\monitor-\monitor'が見つかりません。

'lib\monitor-\monitor'が見つかりません。 名前を正しく入力したかどうかを確認してから、やり直してください。C:\Android\sdk\tools>monitor.bat Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/archquery/Main : Unsup…

opengapps-app-v9.apk

opengapps-app adb install opengapps-app-v9.apk

No editor info for this field. Bug?

Cross Reference: /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/InputAttributes.java 57 public InputAttributes(final EditorInfo editorInfo, final boolean isFullscreenMode, 58 final String packageNameForPrivateImeOpt…

android.os.DeadObjectException

12-23 07:42:00.782: W/LoaderManager(6579): Called doRetain when not started: LoaderManager{f3478ec in HostCallbacks{a38d233}} 12-23 07:42:00.782: W/LoaderManager(6579): java.lang.RuntimeException: here 12-23 07:42:00.782: W/LoaderManager(6…

python which

$ which pylint /Users/m/.pyenv/shims/pylint$ which pep8 /Users/m/.pyenv/shims/pep8$ which python /Users/m/.pyenv/shims/python $ python -V Python 3.4.5 :: Anaconda 2.3.0 (x86_64)

pylint error

[pylint] E0401:Unable to import 'dataset.mnist' [pylint] C0413:Import "from dataset.mnist import load_mnist" should be placed at the top of the module[pylint] E0401:Unable to import 'dataset.mnist'

conda config --show

$ conda config --show add_anaconda_token: True add_pip_as_python_dependency: True allow_softlinks: True always_copy: False always_yes: False auto_update_conda: True binstar_upload: None changeps1: True channel_alias: https://conda.anaconda…

mac anaconda

# Anacondaのインストール pyenv install anaconda3-2.1.0qiita.com $ pyenv versions system * 2.7.10 (set by /Users/u01/.pyenv/version) 2.7.9 3.4.3 anaconda3-2.3.0 $ pyenv global anaconda3-2.3.0 $ pyenv versions system 2.7.10 2.7.9 3.4.3 * ana…

Font collection must have at least one valid typeface

Cross Reference: /frameworks/minikin/libs/minikin/FontCollection.cpp 78 FontCollection::FontCollection(const vector<FontFamily*>& typefaces) : 79 mMaxChar(0) { 80 AutoMutex _l(gMinikinLock); 81 mId = sNextId++; 82 vector<uint32_t> lastChar; 83 size_t nTypefaces </uint32_t></fontfamily*>…

getClosestMatch

Cross Reference: /frameworks/minikin/libs/minikin/FontFamily.cpp 129 FakedFont FontFamily::getClosestMatch(FontStyle style) const { 130 const Font* bestFont = NULL; 131 int bestMatch = 0; 132 for (size_t i = 0; i < mFonts.size(); i++) { 13…

Android 7.0 AOSP make 時間

CPU:i7-6700K@4.00GHz Memory:24GBVmwareにUbuntu1604をインストールして計測。 Android 7.0 AOSPをビルドしたときの時間。VmWareのプロセッサ数を4にして計測。 CPUの物理コア数と同じときが速い。 make -j4 #### make completed successfully (01:34:24 (…

adb logcat

adb logcat $ adb logcat -h Unrecognized Option h Usage: logcat [options] [filterspecs] options include: -s Set default filter to silent. Like specifying filterspec '*:S' -f <filename> Log to file. Default is stdout --file=<filename> -r <kbytes> Rotate log every kbyte</kbytes></filename></filename>…

android bugreportの見方

"------"で検索すると、区切りがわかる。 ------ DUMPSYS MEMINFO (dumpsys -t 30 meminfo -a) ------ ------ 3.393s was the duration of 'DUMPSYS MEMINFO' ------ ------ DUMPSYS CPUINFO (dumpsys -t 10 cpuinfo -a) ------ ------ 0.055s was the durat…

android zoneinfo

# cat /proc/zoneinfo Node 0, zone DMA pages free 37112 min 1482 low 8023 high 8394 scanned 0 spanned 524288 present 482752 managed 420380 nr_free_pages 37112 nr_inactive_anon 39717 nr_active_anon 74593 nr_inactive_file 121583 nr_active_fil…

android procrank

# procrank PID Vss Rss Pss Uss Swap PSwap USwap ZSwap cmdline 714 2459924K 245344K 125515K 85416K 0K 0K 0K 0K system_server 899 1677284K 138224K 73528K 64364K 0K 0K 0K 0K com.android.systemui 2013 1747972K 133692K 62348K 49736K 0K 0K 0K 0K…

android dumpsys dumpstate

Cross Reference: /frameworks/native/cmds/dumpstate/dumpstate.cpp 638 static void dumpstate(const std::string& screenshot_path, const std::string& version) { 639 DurationReporter duration_reporter("DUMPSTATE"); 640 unsigned long timeout; 64…

android pss

gntm-mdk.hatenadiary.com

com.google.android.com.gms

Google Mobile Services (GMS) Android – Google Mobile Servicesstackoverflow.com

dumpMemoryUsage

379 #if DEBUG_MEMORY_USAGE 380 mCaches.dumpMemoryUsage(); 381 #else 382 if (CC_UNLIKELY(Properties::debugLevel & kDebugMemory)) { 383 caches.dumpMemoryUsage(); 384 } 385 #endif

flush

227 void Caches::clearGarbage() { 228 textureCache.clearGarbage(); 229 pathCache.clearGarbage(); 230 patchCache.clearGarbage(); 231 } 233 void Caches::flush(FlushMode mode) { 234 FLUSH_LOGD("Flushing caches (mode %d)", mode); 235 236 switc…

OpenGL renderer

http://tools.oesf.biz/android-7.0.0_r1.0/xref/frameworks/base/libs/hwui/OpenGLRenderer.cpp#609 174 void OpenGLRenderer::clear(float left, float top, float right, float bottom, bool opaque) { 175 if (!opaque) { 176 mRenderState.scissor().se…

logCache

Cross Reference: /frameworks/base/libs/hwui/ResourceCache.cpp 31 void ResourceCache::logCache() { 32 ALOGD("ResourceCache: cacheReport:"); 33 for (size_t i = 0; i < mCache->size(); ++i) { 34 ResourceReference* ref = mCache->valueAt(i); 35 …

flushLargeCaches

Cross Reference: /frameworks/base/libs/hwui/FontRenderer.cpp 195 void FontRenderer::flushLargeCaches() { 196 flushLargeCaches(mACacheTextures); 197 flushLargeCaches(mRGBACacheTextures); 198 }

cr_Ime cr_AwContents

ChromeのWebViewのことかな?このログが似てるな stackoverflow.com

pss

D/ActivityManager: Requesting PSS of: ProcessRecord{d148fde 5260:jp.dip.sys1.aozora/u0a101} D/ActivityManager: Requesting PSS of: ProcessRecord{7e939fd 13747:com.android.launcher3/u0a14} D/ActivityManager: Requesting PSS of: ProcessRecord{…

Did OOM ADJ in 0ms

長い関数だなー。 Cross Reference: /frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java 20500 final void updateOomAdjLocked() { 20501 final ActivityRecord TOP_ACT = resumedAppLocked(); 20502 final ProcessRec…

android monitor logcat filter

^(?!.*(QC-QMI|QCALOG|QMI_FW|ACDB-LOADER|WifiHAL|Fitness|QCOMPowerHAL)).*$

validate_display:99 error 3008 (EGL_BAD_DISPLAY)

E/libEGL(12869): validate_display:99 error 3008 (EGL_BAD_DISPLAY)Cross Reference: /frameworks/native/opengl/libs/EGL/egl.cpp 96 egl_display_ptr validate_display(EGLDisplay dpy) { 97 egl_display_ptr dp = get_display(dpy); 98 if (!dp) 99 ret…