Searched refs:apexFile (Results 1 – 5 of 5) sorted by relevance
/system/apex/apexd/ |
D | apex_file_test.cpp | 39 Result<ApexFile> apexFile = ApexFile::Open(filePath); in TEST() local 40 ASSERT_TRUE(apexFile.ok()); in TEST() 61 EXPECT_EQ(zip_image_offset, apexFile->GetImageOffset()); in TEST() 62 EXPECT_EQ(zip_image_size, apexFile->GetImageSize()); in TEST() 67 Result<ApexFile> apexFile = ApexFile::Open(filePath); in TEST() local 68 ASSERT_FALSE(apexFile.ok()); in TEST() 70 apexFile.error().message().find("Failed to open package")) in TEST() 71 << apexFile.error(); in TEST() 76 Result<ApexFile> apexFile = ApexFile::Open(filePath); in TEST() local 77 ASSERT_RESULT_OK(apexFile); in TEST() [all …]
|
D | apexd.cpp | 161 auto apexFile = ApexFile::Open(path); in preAllocateLoopDevices() local 162 if (!apexFile.ok()) { in preAllocateLoopDevices() 167 if (isBootstrapApex(*apexFile)) { in preAllocateLoopDevices() 1030 Result<ApexFile> apexFile = ApexFile::Open(full_path); in deactivatePackage() local 1031 if (!apexFile.ok()) { in deactivatePackage() 1032 return apexFile.error(); in deactivatePackage() 1035 return UnmountPackage(*apexFile, /* allow_latest= */ true); in deactivatePackage() 1046 Result<ApexFile> apexFile = ApexFile::Open(data.full_path); in getActivePackages() local 1047 if (!apexFile.ok()) { in getActivePackages() 1051 ret.emplace_back(std::move(*apexFile)); in getActivePackages()
|
/system/apex/tests/src/com/android/tests/apex/ |
D | ApexRollbackTests.java | 86 File apexFile = mUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testAutomaticBootLoopRecovery() local 98 String error = device.installPackage(apexFile, false, "--wait"); in testAutomaticBootLoopRecovery() 135 File apexFile = mUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testSessionNotRevertedWithCheckpointingDisabled() local 143 String error = device.installPackage(apexFile, false, "--wait"); in testSessionNotRevertedWithCheckpointingDisabled() 177 File apexFile = mUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testCheckpointingRevertsSession() local 184 String error = device.installPackage(apexFile, false, "--wait"); in testCheckpointingRevertsSession() 219 File apexFile = mUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testRebootingOnceDoesNotRevertSession() local 226 String error = device.installPackage(apexFile, false, "--wait"); in testRebootingOnceDoesNotRevertSession() 284 File apexFile = mUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testFailingUserspaceReboot_doesNotRevertUpdate() local 288 String error = getDevice().installPackage(apexFile, false, "--wait"); in testFailingUserspaceReboot_doesNotRevertUpdate() [all …]
|
/system/apex/tests/src/com/android/tests/util/ |
D | ModuleTestUtilsTest.java | 56 File apexFile = mUtils.getTestFile(SHIM_V2); in testAbandonActiveStagedSession() local 59 String installResult = getDevice().installPackage(apexFile, false, "--wait"); in testAbandonActiveStagedSession() 67 installResult = getDevice().installPackage(apexFile, false, "--wait"); in testAbandonActiveStagedSession()
|
/system/apex/apexer/ |
D | apex_manifest.py | 49 with zipfile.ZipFile(apexFilePath, 'r') as apexFile: 50 with apexFile.open('apex_manifest.pb') as manifestFile:
|