CtsMediaTranscodingTestCases
services/ core/ java/ com/ android/ server/ am/ ActivityManagerService. java
final void finishBooting ( ) {
+ SystemProperties. set ( "sys.fuse.transcode_enabled" , "false" ) ;
CtsMediaDecoderTestCases
vendor/ qcom/ proprietary/ video/ ship/ codec2/ platform/ target/ android/ ravelin/ data/ media_codecs_performance. xml
根据提示修改帧率范围
[ CTSV] [ IR] CameraIntentsActivity
播放视频时播不出来 media not found
权限问题
diff -- git a/ core/ java/ android/ content/ ContentProvider. java b/ core/ java/ android/ content/ ContentProvider. java
index 5584f 45. . f949d75 100644
-- - a/ core/ java/ android/ content/ ContentProvider. java
++ + b/ core/ java/ android/ content/ ContentProvider. java
@@ - 875 , 6 + 875 , 10 @@
} else {
suffix = " requires the provider be exported, or grantUriPermission()" ;
}
+ if ( ( uri. toString ( ) ) . contains ( "com.android.cts.verifier.managedprovisioning.fileprovider" ) ) {
+
+ return PermissionChecker. PERMISSION_GRANTED;
+ }
throw new SecurityException ( "Permission Denial: reading "
+ ContentProvider. this. getClass ( ) . getName ( ) + " uri " + uri + " from pid=" + pid
+ ", uid=" + uid + suffix) ;
diff -- git a/ services/ core/ java/ com/ android/ server/ am/ ContentProviderHelper. java b/ services/ core/ java/ com/ android/ server/ am/ ContentProviderHelper. java
index 212793 a3. . df34e9a 100644
-- - a/ services/ core/ java/ com/ android/ server/ am/ ContentProviderHelper. java
++ + b/ services/ core/ java/ com/ android/ server/ am/ ContentProviderHelper. java
@@ - 1577 , 6 + 1577 , 9 @@
+ " from " + ( appName != null ? appName : "(null)" )
+ " (pid=" + callingPid + ", uid=" + callingUid + ")" + suffix;
Slog. w ( TAG, msg) ;
+ if ( appName. contains ( "com.google.android.apps.photos" ) ) {
+ return null;
+ }
return msg;
}