Home
last modified time | relevance | path

Searched refs:archive (Results 1 – 25 of 34) sorted by relevance

12

/packages/modules/adb/fastdeploy/deployagent/test/com/android/fastdeploy/
DApkArchiveTest.java42 ApkArchive archive = new ApkArchive(SAMPLE_APK); in testApkArchiveSizes() local
44 ApkArchive.Location cdLoc = archive.getCDLocation(); in testApkArchiveSizes()
50 ApkArchive.Location sigLoc = archive.getSignatureLocation(cdLoc.offset); in testApkArchiveSizes()
58 ApkArchive archive = new ApkArchive(SAMPLE_APK); in testApkArchiveDump() local
60 ApkArchive.Dump dump = archive.extractMetadata(); in testApkArchiveDump()
70 ApkArchive archive = new ApkArchive(WRONG_APK); in testApkArchiveDumpWrongApk() local
72 archive.extractMetadata(); in testApkArchiveDumpWrongApk()
/packages/modules/Virtualization/libs/apkzip/src/
Dziputil.rs47 let archive = ZipArchive::new(reader)?; in zip_sections() localVariable
48 let eocd_size = archive.comment().len() + EOCD_SIZE_WITHOUT_COMMENT; in zip_sections()
49 ensure!(archive.offset() == 0, "Invalid ZIP: offset should be 0, but {}.", archive.offset()); in zip_sections()
51 reader = archive.into_inner(); in zip_sections()
95 let mut archive = ZipArchive::new(reader)?; in read_file() localVariable
96 let mut file = archive.by_name(file_name)?; in read_file()
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/
DPluginArchiveManager.java80 private File createArchiveFileInCacheDir(ArchiveInfo archive) { in createArchiveFileInCacheDir() argument
82 if (archive.filename() != null) { in createArchiveFileInCacheDir()
83 filename = archive.filename(); in createArchiveFileInCacheDir()
85 filename = archive.packageName() + ".apk"; in createArchiveFileInCacheDir()
142 (ArchiveInfo archive) -> in copyPluginArchivesToCacheAndAwaitService()
144 createArchiveFileInCacheDir(archive), in copyPluginArchivesToCacheAndAwaitService()
145 getArchiveChecksum(archive)))); in copyPluginArchivesToCacheAndAwaitService()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DReadableArchiveTest.java121 loadArchive(mTestUtils.getNonSeekableDescriptor(R.raw.archive)); in testQueryChildDocument()
276 loadArchive(mTestUtils.getNonSeekableDescriptor(R.raw.archive)); in testGetDocumentType()
285 loadArchive(mTestUtils.getNonSeekableDescriptor(R.raw.archive)); in testIsChildDocument()
300 loadArchive(mTestUtils.getNonSeekableDescriptor(R.raw.archive)); in testQueryDocument()
380 loadArchive(mTestUtils.getSeekableDescriptor(R.raw.archive)); in testOpenDocument()
387 loadArchive(mTestUtils.getNonSeekableDescriptor(R.raw.archive)); in testOpenDocument_NonSeekable()
408 assertTrue(Archive.canSeek(mTestUtils.getSeekableDescriptor(R.raw.archive))); in testCanSeek()
409 assertFalse(Archive.canSeek(mTestUtils.getNonSeekableDescriptor(R.raw.archive))); in testCanSeek()
414 loadArchive(mTestUtils.getNonSeekableDescriptor(R.raw.archive)); in testBrokenArchive()
DResourcesProvider.java55 RESOURCES.put("archive.zip", R.raw.archive);
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/util/
DApkReader.java48 try (ZipInputStream archive = new ZipInputStream(pluginArchive)) { in loadPluginCode() argument
50 while ((entry = archive.getNextEntry()) != null) { in loadPluginCode()
57 while ((length = archive.read(buffer, /*off=*/ 0, buffer.length)) in loadPluginCode()
/packages/modules/adb/fastdeploy/deploypatchgenerator/
Dpatch_utils.cpp59 ApkArchive archive(apkPath); in GetHostAPKMetaData() local
60 auto dump = archive.ExtractMetadata(); in GetHostAPKMetaData()
71 archive.CalculateLocalFileEntrySize(apkEntry.dataoffset(), apkEntry.datasize()); in GetHostAPKMetaData()
Ddeploy_patch_generator_test.cpp73 ApkArchive archive(apkPath); in TEST() local
74 auto dump = archive.ExtractMetadata(); in TEST()
/packages/services/Car/tools/telemetry/lua-interpreter/
DWORKSPACE7 url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.9.0.tar.gz",
13 … url = "https://github.com/google/googletest/archive/15460959cbbfa20e66ef0b5ab497367e47fc0a04.zip",
/packages/modules/DeviceLock/DeviceLockController/proto/
Dconfiguration_info.proto29 // The configuration was initially active but the user decided to archive the
30 // configuration. In order to archive the configuration, there has to be no
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListFragment.java321 final MenuItem archive = menu.findItem(R.id.action_show_archived); in onPrepareOptionsMenu() local
322 if (archive != null) { in onPrepareOptionsMenu()
323 archive.setVisible(true); in onPrepareOptionsMenu()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppButtonsTest.kt165 composeTestRule.onNodeWithText(context.getString(R.string.archive)).assertIsDisplayed() in archiveButton_displayed_whenAppIsNotArchived()
182 composeTestRule.onNodeWithText(context.getString(R.string.archive)).assertIsNotDisplayed() in restoreButton_displayed_whenAppIsArchived()
DAppArchiveButtonTest.kt135 assertThat(actionButton.text).isEqualTo(context.getString(R.string.archive)) in appArchiveButton_displaysRightTextAndIcon()
/packages/modules/Virtualization/zipfuse/src/
Dinode.rs178 archive: &mut zip::ZipArchive<R>, in from_zip()
188 for i in 0..archive.len() { in from_zip()
189 let file = archive.by_index(i)?; in from_zip()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchivesProvider.java161 final Archive archive = getLoaderOrThrow(documentId).get(); in getDocumentMetadata() local
162 final String mimeType = archive.getDocumentType(documentId); in getDocumentMetadata()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/backup/
DKitchenSinkBackupTransport.java568 File archive = new File(mCurrentSetFullDir, mFullTargetPackage); in cancelFullBackup() local
570 if (archive.exists()) { in cancelFullBackup()
571 archive.delete(); in cancelFullBackup()
/packages/modules/Virtualization/vm/src/
Drun.rs341 let mut archive = ZipArchive::new(File::open(apk)?)?; in parse_extra_apk_list() localVariable
342 let config_file = archive.by_name(config_path)?; in parse_extra_apk_list()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppArchiveButton.kt73 text = context.getString(R.string.archive), in <lambda>()
/packages/services/Car/car_product/car_ui_portrait/bootanimation/
DREADME10 The `bootanimation.zip` archive file includes:
/packages/modules/Virtualization/docs/debug/
Dramdump.md76 $ wget https://github.com/crash-utility/crash/archive/refs/tags/8.0.2.tar.gz -O - | tar xzv
/packages/modules/Virtualization/docs/
Dcustom_vm.md72 …[Here](https://pantheon.corp.google.com/storage/browser/chromiumos-image-archive/ferrochrome-publi…
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
DNotificationFragment.java976 Icon.createWithResource(this.getContext(), R.drawable.archive), in initButtonWithCustomActionIcon()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec1674 * https://research.google.com/pubs/archive/43905.pdf
2410 * https://research.google.com/pubs/archive/43813.pdf
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/classifier/
Dprecomputed_test_app_list.csv4773 com.freedomlabs.free.music.archive 10035
/packages/modules/AdServices/adservices/apk/assets/classifier/
Dprecomputed_app_list.csv4773 com.freedomlabs.free.music.archive 10035

12