Home
last modified time | relevance | path

Searched refs:gsi (Results 1 – 25 of 49) sorted by relevance

12

/system/gsid/
Dgsid.rc9 mkdir /metadata/gsi 0771 root system
10 mkdir /metadata/gsi/dsu 0771 root system
11 mkdir /metadata/gsi/ota 0771 root system
12 mkdir /metadata/gsi/remount 0771 root system
13 chmod 0664 /metadata/gsi/dsu/active
14 chmod 0664 /metadata/gsi/dsu/booted
15 chmod 0664 /metadata/gsi/dsu/lp_names
20 mkdir /data/gsi 0700 root root encryption=None
21 mkdir /data/gsi/dsu 0700 root root
22 mkdir /data/gsi/ota 0700 root root
[all …]
DAndroid.bp138 "aidl/android/gsi/AvbPublicKey.aidl",
139 "aidl/android/gsi/GsiProgress.aidl",
140 "aidl/android/gsi/IGsiService.aidl",
141 "aidl/android/gsi/IGsiServiceCallback.aidl",
142 "aidl/android/gsi/IImageService.aidl",
143 "aidl/android/gsi/IProgressCallback.aidl",
144 "aidl/android/gsi/MappedImage.aidl",
Ddaemon.cpp33 auto service = android::gsi::GetGsiService(); in DumpDeviceMapper()
57 android::gsi::GsiService::RunStartupTasks(); in main()
65 android::gsi::GsiService::Register(); in main()
Dlibgsi_private.h22 namespace gsi {
Dfile_paths.h22 namespace gsi {
Dlibgsid.cpp23 namespace gsi { namespace
Dgsi_service.h35 namespace gsi {
48 binder::Status getInstallProgress(::android::gsi::GsiProgress* _aidl_return) override;
Dpartition_installer.h31 namespace gsi {
/system/core/rootdir/avb/
DAndroid.bp8 "q-gsi.avbpubkey",
15 "r-gsi.avbpubkey",
22 "s-gsi.avbpubkey",
29 "qcar-gsi.avbpubkey",
DAndroid.mk21 LOCAL_MODULE := q-gsi.avbpubkey
34 LOCAL_MODULE := q-developer-gsi.avbpubkey
47 LOCAL_MODULE := r-gsi.avbpubkey
60 LOCAL_MODULE := r-developer-gsi.avbpubkey
73 LOCAL_MODULE := s-gsi.avbpubkey
86 LOCAL_MODULE := s-developer-gsi.avbpubkey
99 LOCAL_MODULE := qcar-gsi.avbpubkey
/system/gsid/aidl/android/gsi/
DIGsiService.aidl17 package android.gsi;
19 import android.gsi.AvbPublicKey;
20 import android.gsi.GsiProgress;
21 import android.gsi.IGsiServiceCallback;
22 import android.gsi.IImageService;
DIImageService.aidl17 package android.gsi;
19 import android.gsi.AvbPublicKey;
20 import android.gsi.MappedImage;
21 import android.gsi.IProgressCallback;
DIProgressCallback.aidl17 package android.gsi;
DAvbPublicKey.aidl17 package android.gsi;
DIGsiServiceCallback.aidl17 package android.gsi;
DMappedImage.aidl17 package android.gsi;
DGsiProgress.aidl17 package android.gsi;
/system/gsid/tests/
DDSUEndtoEndTest.java110 File gsi = new File(mSystemImagePath); in testDSU() local
111 Assert.assertTrue("not a valid file", gsi.isFile()); in testDSU()
117 gsi = mUnsparseSystemImage; in testDSU()
129 … " --gsi-size " + gsi.length() + " && sleep 10000000", gsi, null, 10, TimeUnit.MINUTES, 1); in testDSU()
/system/gsid/include/libgsi/
Dlibgsid.h22 namespace gsi {
Dlibgsi.h25 namespace gsi {
/system/core/init/
Dfirst_stage_mount.cpp623 std::filesystem::remove_all(gsi::kDsuAvbKeyDir, ec); in CopyDsuAvbKeys()
625 LOG(ERROR) << "Failed to remove directory " << gsi::kDsuAvbKeyDir << ": " << ec.message(); in CopyDsuAvbKeys()
629 std::filesystem::copy(kRamdiskAvbKeyDir, gsi::kDsuAvbKeyDir, ec); in CopyDsuAvbKeys()
631 LOG(ERROR) << "Failed to copy " << kRamdiskAvbKeyDir << " into " << gsi::kDsuAvbKeyDir in CopyDsuAvbKeys()
639 if (!android::gsi::CanBootIntoGsi(&error)) { in UseDsuIfPresent()
651 if (!gsi::GetActiveDsu(&active_dsu)) { in UseDsuIfPresent()
662 if (!android::gsi::MarkSystemAsGsi()) { in UseDsuIfPresent()
674 WriteFile(gsi::kGsiLpNamesFile, lp_names); in UseDsuIfPresent()
/system/core/fs_mgr/libfiemap/
DREADME.md19 16GiB and on FAT32 it's 4GiB. Images are saved into `/data/gsi/<name>/`
22 At the same time, a file called `/metadata/gsi/<name>/lp_metadata` is created.
53 Since `/data/gsi` has encryption disabled, this means the raw blocks will be
72 Additionally, we create a `/metadata/gsi/<subdir>/<name>.status` file. Each
/system/core/fs_mgr/
Dfs_mgr_fstab.cpp605 userdata.blk_device = android::gsi::kDsuUserdata; in TransformFstabForDsu()
609 userdata.metadata_key_dir = android::gsi::GetDsuMetadataKeyDir(dsu_slot); in TransformFstabForDsu()
621 if (!EndsWith(partition, gsi::kDsuPostfix)) { in TransformFstabForDsu()
625 if (partition == android::gsi::kDsuUserdata) { in TransformFstabForDsu()
629 if (partition == android::gsi::kDsuScratch) { in TransformFstabForDsu()
637 std::string lp_name = partition.substr(0, partition.length() - strlen(gsi::kDsuPostfix)); in TransformFstabForDsu()
707 if (!access(android::gsi::kGsiBootedIndicatorFile, F_OK)) { in ReadFstabFromFile()
713 if (!android::gsi::GetActiveDsu(&dsu_slot) && errno != ENOENT) { in ReadFstabFromFile()
723 if (!ReadFileToString(gsi::kGsiLpNamesFile, &lp_names) && errno != ENOENT) { in ReadFstabFromFile()
/system/sepolicy/prebuilts/api/30.0/private/
Dfile.te24 # /data/gsi/ota
/system/sepolicy/prebuilts/api/29.0/private/
Dgsid.te32 # Needed to stat /data/gsi/* and realpath on /dev/block/by-name/*
75 # gsid uses /metadata/gsi to communicate GSI boot information to first-stage
79 # gsid uses /metadata/gsi to store three files:

12