Searched refs:apexFile (Results 1 – 6 of 6) 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() 1037 Result<ApexFile> apexFile = ApexFile::Open(full_path); in deactivatePackage() local 1038 if (!apexFile.ok()) { in deactivatePackage() 1039 return apexFile.error(); in deactivatePackage() 1042 return UnmountPackage(*apexFile, /* allow_latest= */ true); in deactivatePackage() 1053 Result<ApexFile> apexFile = ApexFile::Open(data.full_path); in getActivePackages() local 1054 if (!apexFile.ok()) { in getActivePackages() 1057 ret.emplace_back(std::move(*apexFile)); in getActivePackages()
|
/system/apex/tests/src/com/android/tests/apex/ |
D | ApexRollbackTests.java | 92 File apexFile = mUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testAutomaticBootLoopRecovery() local 103 String error = device.installPackage(apexFile, false, "--wait"); in testAutomaticBootLoopRecovery() 140 File apexFile = mUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testSessionNotRevertedWithCheckpointingDisabled() local 148 String error = device.installPackage(apexFile, false, "--wait"); in testSessionNotRevertedWithCheckpointingDisabled() 182 File apexFile = mUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testCheckpointingRevertsSession() local 189 String error = device.installPackage(apexFile, false, "--wait"); in testCheckpointingRevertsSession() 224 File apexFile = mUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testRebootingOnceDoesNotRevertSession() local 231 String error = device.installPackage(apexFile, false, "--wait"); in testRebootingOnceDoesNotRevertSession() 289 File apexFile = mUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testFailingUserspaceReboot_doesNotRevertUpdate() local 293 String error = getDevice().installPackage(apexFile, false, "--wait"); in testFailingUserspaceReboot_doesNotRevertUpdate() [all …]
|
D | ApexdHostTest.java | 253 File apexFile = mTestUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testApexSessionStateUnchangedBeforeReboot() local 254 String error = getDevice().installPackage(apexFile, false, "--wait"); in testApexSessionStateUnchangedBeforeReboot()
|
/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:
|