Jooyung Han c65e303681 APK signature verification: use FileChannel#size
RandomAccessFile#length returns 0 for block devices while
FileChannel#size returns the correct size.

APK signature verification utils should work with block-device zip files
when Android is running as a guest OS and APK/APEX files are passed via
block devices.

This is a follow-up of 1257f1505c.

Bug: 193592496
Bug: 192366904
Test: FrameworksServicesTests
Merged-In: I3015fc30574c36c18c0d0c9ae7453d33a1349927
Change-Id: I3015fc30574c36c18c0d0c9ae7453d33a1349927
(cherry picked from commit 310edbe3c7)
2021-08-03 01:26:54 +09:00
2021-06-23 14:44:10 +01:00
2021-07-26 22:05:17 +00:00
2021-06-25 09:46:53 +01:00
2021-04-06 00:49:51 +00:00
2021-07-15 18:48:20 +00:00
2021-06-14 22:01:46 -07:00
2021-07-22 10:12:29 +00:00
2019-10-09 19:38:32 +00:00
2020-07-15 13:02:35 +01:00
2020-02-19 19:36:25 -08:00
2021-01-27 12:09:16 -08:00
…
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%