问题描述
com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testKeyManagement
fail
java.lang.AssertionError: On-device tests failed:
fail
java.lang.AssertionError: On-device tests failed:
解决方案
log里有如下报错.
01-14 15:59:36.322272: E/DevicePolicyManager(930): KeyChain error while generating a keypair
01-14 15:59:36.322272: E/DevicePolicyManager(930): android.os.DeadObjectException
01-14 15:59:36.322272: E/DevicePolicyManager(930): at android.os.BinderProxy.transactNative(Native Method)
01-14 15:59:36.322272: E/DevicePolicyManager(930): at android.os.BinderProxy.transact(Binder.java:1135)
01-14 15:59:36.322272: E/DevicePolicyManager(930): at android.security.IKeyChainService$Stub$Proxy.generateKeyPair(IKeyChainService.java:422)
01-14 15:59:36.322272: E/DevicePolicyManager(930): at com.android.server.devicepolicy.DevicePolicyManagerService.generateKeyPair(DevicePolicyManagerService.java:5453)
01-14 15:59:36.322272: E/DevicePolicyManager(930): at android.app.admin.IDevicePolicyManager$Stub.onTransact(IDevicePolicyManager.java:1473)
01-14 15:59:36.322272: E/DevicePolicyManager(930): at android.os.Binder.execTransact(Binder.java:731)
01-14 15:59:36.322789: E/DevicePolicyManager(9493): Error generating key via DevicePolicyManagerService.
01-14 15:59:36.322272: E/DevicePolicyManager(930): android.os.DeadObjectException
01-14 15:59:36.322272: E/DevicePolicyManager(930): at android.os.BinderProxy.transactNative(Native Method)
01-14 15:59:36.322272: E/DevicePolicyManager(930): at android.os.BinderProxy.transact(Binder.java:1135)
01-14 15:59:36.322272: E/DevicePolicyManager(930): at android.security.IKeyChainService$Stub$Proxy.generateKeyPair(IKeyChainService.java:422)
01-14 15:59:36.322272: E/DevicePolicyManager(930): at com.android.server.devicepolicy.DevicePolicyManagerService.generateKeyPair(DevicePolicyManagerService.java:5453)
01-14 15:59:36.322272: E/DevicePolicyManager(930): at android.app.admin.IDevicePolicyManager$Stub.onTransact(IDevicePolicyManager.java:1473)
01-14 15:59:36.322272: E/DevicePolicyManager(930): at android.os.Binder.execTransact(Binder.java:731)
01-14 15:59:36.322789: E/DevicePolicyManager(9493): Error generating key via DevicePolicyManagerService.
From the sys_log, I see keychain killed by DuraSpeed during running the cts case:
01-14 15:59:36.149369 930 973 D DuraSpeed: CPU total released about: 13.9%
01-14 15:59:36.149369 930 973 D DuraSpeed: Release com.android.vending, type: kill, CPU: 9.0%
01-14 15:59:36.149369 930 973 D DuraSpeed: Release com.google.android.apps.maps, type: kill, CPU: 4.1%
01-14 15:59:36.149369 930 973 D DuraSpeed: Release com.android.keychain, type: kill, CPU: 0.8%
请申请Patch id:
ALPS04271768 alps-mp-p0.mp3
ALPS04271316 alps-mp-p0.mp7
ALPS04271305 alps-mp-p0.mp6
ALPS04268907 alps-mp-p0.mp1
where are these patches ?
找方案公司申请