Home
last modified time | relevance | path

Searched refs:space (Results 1 – 25 of 56) 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/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/core/base/
Dstringprintf.cpp28 char space[1024]; 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/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/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/core/fs_mgr/
DREADME.overlayfs.md16 little or no utility because of remaining space limitations or
70 a probe of the filesystem types and space remaining.
90 and will require more space than if updated in place. As such
91 it is important to be mindful of any wasted space, for instance
94 and thus free dynamic partition space.
114 - If dynamic partitions runs out of space, resizing a logical
/system/netd/
D.editorconfig12 indent_style = space
/system/tools/hidl/host_utils/
DFormatter.cpp186 void Formatter::setNamespace(const std::string &space) { in setNamespace() argument
187 mSpace = space; in setNamespace()
/system/tools/hidl/
DMethod.cpp173 const std::string space = (specifyNamespaces ? "::android::hardware::" : ""); in generateCppReturnType() local
176 out << space << "Return<void> "; in generateCppReturnType()
178 out << space in generateCppReturnType()
DCompoundType.cpp1312 std::string space = prefix.empty() ? "" : (prefix + "::"); in emitTypeDefinitions() local
1313 Scope::emitTypeDefinitions(out, space + localName()); in emitTypeDefinitions()
1872 std::string space = prefix.empty() ? "" : (prefix + "::"); in emitStructReaderWriter() local
1883 out << "const " << space << localName() << " &" << name << ",\n"; in emitStructReaderWriter()
1886 out << "const " << space << localName() << " &" << name << ",\n"; in emitStructReaderWriter()
1960 const std::string space(prefix.empty() ? "" : (prefix + "::")); in emitResolveReferenceDef() local
1976 out << space + localName() + " *obj,\n" in emitResolveReferenceDef()
1984 out << "const " << space + localName() + " &obj,\n" in emitResolveReferenceDef()
/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/extras/perfprofd/
Dperfprofd_perf.cc310 const size_t space = line.find(' ', 2); in FindSupportedPerfCounters() local
311 size_t end = std::min(space, comment); in FindSupportedPerfCounters()
/system/update_engine/fuzz/
Dxml.dict18 attr_xml_space=" xml:space=\"1\""
/system/extras/partition_tools/
Ddynamic_partitions_device_info.proto37 /** Used space of the filesystem. */
/system/core/logd/
DLogStatistics.cpp829 char space = 0; in pidToUid() local
830 if ((sscanf(buffer, "Uid: %d%c", &uid, &space) == 2) && in pidToUid()
831 isspace(space)) { in pidToUid()
848 char space = 0; in tidToPid() local
849 if ((sscanf(buffer, "Tgid: %d%c", &pid, &space) == 2) && in tidToPid()
850 isspace(space)) { in tidToPid()
/system/core/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/tools/hidl/host_utils/include/hidl-util/
DFormatter.h132 void setNamespace(const std::string &space);
/system/sepolicy/prebuilts/api/28.0/private/
Dtraced.te1 # Perfetto user-space tracing daemon (unprivileged)
/system/sepolicy/prebuilts/api/26.0/private/
Dsystem_app.te22 # Access to vold-mounted storage for measuring free space
/system/sepolicy/prebuilts/api/27.0/private/
Dsystem_app.te25 # Access to vold-mounted storage for measuring free space
/system/sepolicy/prebuilts/api/28.0/public/
Dlogd.te1 # android user-space log manager

123