Home
last modified time | relevance | path

Searched refs:space (Results 1 – 25 of 64) sorted by relevance

123

/system/nvram/core/tests/
Dnvram_manager_test.cpp83 NvramSpace space; in TEST_F() local
84 ASSERT_TRUE(space.contents.Resize(10)); in TEST_F()
85 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreSpace(1, space)); in TEST_F()
123 NvramSpace space; in TEST_F() local
124 ASSERT_TRUE(space.contents.Resize(10)); in TEST_F()
125 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreSpace(1, space)); in TEST_F()
126 ASSERT_TRUE(space.contents.Resize(20)); in TEST_F()
127 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreSpace(2, space)); in TEST_F()
168 NvramSpace space; in TEST_F() local
169 ASSERT_TRUE(space.contents.Resize(10)); in TEST_F()
[all …]
/system/libbase/
Dstringprintf.cpp28 char space[1024] __attribute__((__uninitialized__)); in StringAppendV() local
35 int result = vsnprintf(space, sizeof(space), format, backup_ap); in StringAppendV()
38 if (result < static_cast<int>(sizeof(space))) { in StringAppendV()
41 dst->append(space, result); in StringAppendV()
/system/extras/simpleperf/scripts/
Dpprof_proto_generator.py97 def show_value_type(self, value_type, space=''): argument
99 (space, value_type.type, value_type.unit,
102 def show_sample(self, sample, space=''): argument
103 sub_space = space + ' '
105 print('%slocation_id[%d]: id %d' % (space, i, sample.location_id[i]))
108 print('%svalue[%d] = %d' % (space, i, sample.value[i]))
110 print('%slabel[%d] = ', (space, i))
112 def show_location_id(self, location_id, space=''): argument
114 self.show_location(location, space)
116 def show_location(self, location, space=''): argument
[all …]
/system/nvram/hal/tests/
Dnvram_hal_test.cc246 ScopedNvramSpace space(&device, kTestIndex1, 32); in TEST() local
264 ScopedNvramSpace space(&device, kTestIndex1, 17); in TEST() local
277 ScopedNvramSpace space(&device, kTestIndex1, 32); in TEST() local
291 ScopedNvramSpace space(&device, kTestIndex1, 32); in TEST() local
309 ScopedNvramSpace space(&device, kTestIndex1, 1); in TEST() local
318 ScopedNvramSpace space(&device, kTestIndex1, in TEST() local
327 ScopedNvramSpace space(&device, kTestIndex1, 32, kControlList); in TEST() local
339 ScopedNvramSpace space( in TEST() local
352 ScopedNvramSpace space(&device, kTestIndex1, 32); in TEST() local
360 ScopedNvramSpace space(&device, kTestIndex1, 32); in TEST() local
[all …]
/system/core/fs_mgr/
DREADME.overlayfs.md15 space limitations or support logistics.
59 a probe of the file-system types and space remaining.
78 - Backing storage requires more space than immutable storage, as backing is
79 done file by file. Be mindful of wasted space. For example, defining
81 right-sizing of images and requires more free dynamic partition space.
96 - If a dynamic partition runs out of space, making a logical partition larger
110 issue with the space taken, the backing storage will be cleared
113 - Space remaining threshold is hard coded. If 1% or more space
115 space remaining is problematic.
117 space fastbootd, is not detected, thus a partition may have
[all …]
/system/nvram/core/
Dpersistence.cpp117 storage::Status LoadSpace(uint32_t index, NvramSpace* space) { in LoadSpace() argument
123 return DecodeObject<kSpaceMagic>(blob, space); in LoadSpace()
126 storage::Status StoreSpace(uint32_t index, const NvramSpace& space) { in StoreSpace() argument
128 storage::Status status = EncodeObject<kSpaceMagic>(space, &blob); in StoreSpace()
Dnvram_manager.cpp50 nvram_result_t GetControlsVector(const NvramSpace& space, in GetControlsVector() argument
53 if (space.HasControl(control)) { in GetControlsVector()
252 NvramSpace space; in CreateSpace() local
253 space.flags = 0; in CreateSpace()
254 space.controls = controls; in CreateSpace()
257 if (space.HasControl(NV_CONTROL_WRITE_AUTHORIZATION) || in CreateSpace()
258 space.HasControl(NV_CONTROL_READ_AUTHORIZATION)) { in CreateSpace()
259 if (!space.authorization_value.Assign(request.authorization_value.data(), in CreateSpace()
267 if (!space.contents.Resize(request.size)) { in CreateSpace()
271 memset(space.contents.data(), 0, request.size); in CreateSpace()
[all …]
/system/nvram/core/include/nvram/core/
Dpersistence.h137 storage::Status LoadSpace(uint32_t index, NvramSpace* space);
140 storage::Status StoreSpace(uint32_t index, const NvramSpace& space);
Dnvram_manager.h139 nvram_result_t WriteSpace(uint32_t index, const NvramSpace& space);
/system/netd/
D.editorconfig12 indent_style = space
/system/tools/hidl/lint/test/interfaces/doc_comments/1.0/
DIReturnSpace.hal21 * This doc comment will have a space follow the @return
/system/tools/hidl/
DMethod.cpp161 const std::string space = (specifyNamespaces ? "::android::hardware::" : ""); in generateCppReturnType() local
164 out << space << "Return<void> "; in generateCppReturnType()
166 out << space in generateCppReturnType()
/system/nvram/
DREADME.md6 can be configured on each NVRAM space to prevent the contents from being
8 a locked NVRAM space. This can be used for various security features that
/system/update_engine/fuzz/
Dxml.dict18 attr_xml_space=" xml:space=\"1\""
/system/memory/lmkd/
DREADME.md68 total swap space used as a threshold to consider
69 the system as swap space starved. Default for
/system/extras/partition_tools/
Ddynamic_partitions_device_info.proto37 /** Used space of the filesystem. */
/system/memory/libmemunreachable/
DREADME.md60space of the parent - any writes by the original process are visible to the collection process, an…
78 - `PtracerThread.cpp`: Used to clone the collection process with shared address space.
/system/media/camera/docs/
Dcamera_device_info.mako82 ## Reserve 2^16 tag id space for each section
/system/sepolicy/prebuilts/api/28.0/private/
Dtraced.te1 # Perfetto user-space tracing daemon (unprivileged)
/system/sepolicy/prebuilts/api/30.0/private/
Dtraced_perf.te20 # symbols are usually not mapped into the process space). Not all such files
/system/sepolicy/prebuilts/api/26.0/private/
Dsystem_app.te22 # Access to vold-mounted storage for measuring free space
/system/sepolicy/private/
Dtraced_perf.te20 # symbols are usually not mapped into the process space). Not all such files
/system/sepolicy/prebuilts/api/26.0/public/
Dlogd.te1 # android user-space log manager
/system/sepolicy/prebuilts/api/28.0/public/
Dlogd.te1 # android user-space log manager
/system/sepolicy/prebuilts/api/27.0/public/
Dlogd.te1 # android user-space log manager

123