这段日志主要是 OnePlus 手机上的 Gallery 应用启动时的日志信息。可以看出:
1. Gallery 应用在启动时请求了读写存储以及网络连接的权限:
OPGalleryApplication zygote64 D [Property] IsH2PermissionRequested(id=6) : false -> true
OPGalleryApplication zygote64 D [Property] IsWriteStoragePermissionGranted(id=3) : false -> true
OPGalleryApplication zygote64 D [Property] IsReadStoragePermissionGranted(id=1) : false -> true
OPGalleryApplication zygote64 D [Property] IsNetworkConnected(id=9) : false -> true
2. Gallery 启动了几个服务,如 CloudGalleryService 、SceneDetectorService 等:
ActivityManager system_server I Start proc 21979:
com.oneplus.gallery:cloud/u0a167 for service {
com.oneplus.gallery/com.oneplus.gallery2.cloud.CloudGalleryService}
ActivityManager system_server I Start proc 22027:
com.oneplus.gallery:contentdetector/u0a167 for service {
com.oneplus.gallery/com.oneplus.gallery2.contentdetection.service.SceneDetectorService}
3. Gallery 加载了图像分类和人脸检测的模型:
ClassifyAPI
com.oneplus.gallery:contentdetector D classify model path:/data/user/0/
com.oneplus.gallery/files/gallery_v0.7.0.modelSTVideoClipAPI
com.oneplus.gallery:contentdetector I classify model path :/data/user/0/
com.oneplus.gallery/files/M_Video_Keyclip_Cnn_v2.0.0_1280.model4. Gallery 启动 RenderScript 进行图像处理:
RenderScri...Adaptation
com.oneplus.gallery:contentdetector D IRenderScriptDevice::getService()
RenderScri...Adaptation
com.oneplus.gallery:contentdetector D Using Fallback Path.
RenderScript
com.oneplus.gallery:contentdetector D Setting cache dir: /data/user_de/0/
com.oneplus.gallery/code_cache5. Gallery 加载了人脸检测所需要的 Gallery group 与 SDK group 的映射表:
STFaceDetectorImpl
com.oneplus.gallery:contentdetector E initGalleryGroupTable() - Gallery Group ID -> SDK Group ID : 1 -> 3
STFaceDetectorImpl
com.oneplus.gallery:contentdetector E initGalleryGroupTable() - Gallery Group ID -> SDK Group ID : 2 -> 4
所以,整段日志主要描述了 OnePlus Gallery 应用在启动过程中加载所需资源、启动服务、申请权限等步骤。