Searched refs:space (Results 1 - 21 of 21) sorted by relevance

/system/nvram/core/tests/
H A Dnvram_manager_test.cpp82 // Set up a pre-existing space and add some trailing bytes.
83 NvramSpace space; local
84 ASSERT_TRUE(space.contents.Resize(10));
85 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreSpace(1, space));
102 // Initialize the |NvramManager| and check that the header and space blobs get
123 NvramSpace space; local
124 ASSERT_TRUE(space.contents.Resize(10));
125 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreSpace(1, space));
126 ASSERT_TRUE(space.contents.Resize(20));
127 ASSERT_EQ(storage::Status::kSuccess, persistence::StoreSpace(2, space));
168 NvramSpace space; local
204 NvramSpace space; local
223 NvramSpace space; local
276 NvramSpace space; local
449 NvramSpace space; local
466 NvramSpace space; local
487 NvramSpace space; local
531 NvramSpace space; local
569 NvramSpace space; local
674 NvramSpace space; local
700 NvramSpace space; local
718 NvramSpace space; local
742 NvramSpace space; local
770 NvramSpace space; local
797 NvramSpace space; local
825 NvramSpace space; local
851 NvramSpace space; local
885 NvramSpace space; local
919 NvramSpace space; local
942 NvramSpace space; local
975 NvramSpace space; local
1009 NvramSpace space; local
1039 NvramSpace space; local
1062 NvramSpace space; local
1093 NvramSpace space; local
1111 NvramSpace space; local
1146 NvramSpace space; local
1194 NvramSpace space; local
[all...]
/system/core/base/
H A Dstringprintf.cpp28 char space[1024]; local
35 int result = vsnprintf(space, sizeof(space), format, backup_ap);
38 if (result < static_cast<int>(sizeof(space))) {
41 dst->append(space, result);
/system/update_engine/
H A Dchrome_browser_proxy_resolver.cc61 // Start by finding the first space (if any).
62 string::iterator space; local
63 for (space = token.begin(); space != token.end(); ++space) {
64 if (base::IsAsciiWhitespace(*space)) {
69 string scheme = base::ToLowerASCII(string(token.begin(), space));
81 string host_and_port = string(space, token.end());
/system/extras/simpleperf/scripts/
H A Dpprof_proto_generator.py99 def show_value_type(self, value_type, space=''):
101 (space, value_type.type, value_type.unit,
104 def show_sample(self, sample, space=''):
105 sub_space = space + ' '
107 print('%slocation_id[%d]: id %d' % (space, i, sample.location_id[i]))
110 print('%svalue[%d] = %d' % (space, i, sample.value[i]))
112 print('%slabel[%d] = ', (space, i))
114 def show_location_id(self, location_id, space=''):
116 self.show_location(location, space)
118 def show_location(self, location, space
[all...]
/system/tpm/tpm_manager/server/
H A Dmock_tpm_nvram.cc152 NvSpace& space = nvram_map_[index]; local
153 *size = space.data.size();
154 *is_read_locked = space.read_locked;
155 *is_write_locked = space.write_locked;
156 *attributes = space.attributes;
157 *policy = space.policy;
/system/nvram/core/include/nvram/core/
H A Dpersistence.h72 // * On space creation, we add the new space's index both to
74 // header is written, followed by the space data. If we crash in between,
76 // whether that space is present on disk or not. If not, it'll clear the
78 // space is as good as never created.
79 // * On space deletion, the deleted space's index is removed from
81 // gets written, followed by the space deletion. If we crash in between ,
82 // the next load will find the provisional index set, but the space is
84 // code will make sure to delete the space dat
[all...]
H A Dnvram_manager.h87 // Holds transient state corresponding to an allocated NVRAM space, i.e. meta
96 // |SpaceRecord| holds all information known about a space. It includes both
99 // state held in permanent storage. We only load the persistent space data
101 // writing space contents.
103 // Access control check for write access to the space. The
104 // |authorization_value| is only relevant if the space was configured to
109 // Access control check for read access to the space. The
110 // |authorization_value| is only relevant if the space was configured to
126 // Returns |kMaxSpaces| if there is no matching space.
129 // Loads space dat
[all...]
/system/nvram/core/
H A Dpersistence.cpp117 storage::Status LoadSpace(uint32_t index, NvramSpace* space) { argument
123 return DecodeObject<kSpaceMagic>(blob, space);
126 storage::Status StoreSpace(uint32_t index, const NvramSpace& space) { argument
128 storage::Status status = EncodeObject<kSpaceMagic>(space, &blob);
H A Dnvram_manager.cpp34 // Maximum size of a single space's contents.
49 // Convert the |space.controls| bitmask to vector representation.
50 nvram_result_t GetControlsVector(const NvramSpace& space, argument
53 if (space.HasControl(control)) {
216 NVRAM_LOG_INFO("Create request exceeds max space size.");
240 NVRAM_LOG_INFO("Write-extended space size must be %zu.",
251 // Create a space record.
252 NvramSpace space; local
253 space.flags = 0;
254 space
680 NvramSpace space; local
844 WriteSpace(uint32_t index, const NvramSpace& space) argument
[all...]
/system/nvram/hal/tests/
H A Dnvram_hal_test.cc34 // Once we run a test that locks writing, that space is burned until reboot.
42 // as the value so the space can be cleaned up later.
173 // Returns the next available burn space index. If using authorization, the
244 // Add a test space and check it gets reported.
246 ScopedNvramSpace space(&device, kTestIndex1, 32);
264 ScopedNvramSpace space(&device, kTestIndex1, 17);
277 ScopedNvramSpace space(&device, kTestIndex1, 32);
291 ScopedNvramSpace space(&device, kTestIndex1, 32);
309 ScopedNvramSpace space(&device, kTestIndex1, 1);
318 ScopedNvramSpace space(
[all...]
/system/tools/hidl/
H A DCompoundType.cpp497 std::string space = prefix.empty() ? "" : (prefix + "::"); local
498 status_t err = Scope::emitTypeDefinitions(out, space + localName());
807 std::string space = prefix.empty() ? "" : (prefix + "::"); local
829 out << "const " << space << localName() << " &" << name << ",\n";
832 out << "const " << space << localName() << " &" << name << ",\n";
878 const std::string space(prefix.empty() ? "" : (prefix + "::"));
894 out << space + localName() + " *obj,\n"
902 out << "const " << space + localName() + " &obj,\n"
1111 // An empty struct still occupies a byte of space in C++.
H A DMethod.cpp125 const std::string space = (specifyNamespaces ? "::android::hardware::" : ""); local
128 out << space << "Return<void> "; local
130 out << space
H A DArrayType.cpp73 std::string space = specifyNamespaces ? "::android::hardware::" : ""; local
74 std::string arrayType = space + "hidl_array<" + base;
H A DInterface.cpp737 std::string space = prefix.empty() ? "" : (prefix + "::"); local
738 status_t err = Scope::emitTypeDefinitions(out, space + localName());
/system/tools/hidl/utils/
H A DFormatter.cpp181 void Formatter::setNamespace(const std::string &space) { argument
182 mSpace = space;
/system/core/rootdir/
H A DAndroid.mk163 $(eval p := $(subst :,$(space),$(s)))\
215 llndk_libraries := $(subst $(space),:,$(addsuffix .so,$(LLNDK_LIBRARIES)))
217 vndk_sameprocess_libraries := $(subst $(space),:,$(addsuffix .so,$(VNDK_SAMEPROCESS_LIBRARIES)))
219 vndk_core_libraries := $(subst $(space),:,$(addsuffix .so,$(VNDK_CORE_LIBRARIES)))
221 sanitizer_runtime_libraries := $(subst $(space),:,$(addsuffix .so,\
/system/tools/hidl/utils/include/hidl-util/
H A DFormatter.h54 // * No space will be added before the opening brace.
77 // note that there will be a space before the "else"-s.
94 // note that there will be a space before the "catch"-s.
129 // Any substrings matching "space" will be stripped out of the output.
130 void setNamespace(const std::string &space);
/system/core/logd/
H A DLogStatistics.cpp829 char space = 0; local
830 if ((sscanf(buffer, "Uid: %d%c", &uid, &space) == 2) &&
831 isspace(space)) {
848 char space = 0; local
849 if ((sscanf(buffer, "Tgid: %d%c", &pid, &space) == 2) &&
850 isspace(space)) {
/system/media/camera/docs/
H A Dcamera_metadata_tags.mako60 * Hierarchy positions in enum space. All vendor extension tags must be
H A Dndk_camera_metadata_tags.mako68 * Hierarchy positions in enum space.
/system/core/logcat/tests/
H A Dlogcat_test.cpp569 // NB: crash log only available in user space
586 // NB: crash log can be very small, not hit a Kb of consumed space
1542 char space; local
1545 int ret = sscanf(buffer, expect.c_str(), &p, &space, &newline);
1546 if ((ret == 3) && (p == pid) && (space == ' ') && (newline == '\n')) {

Completed in 578 milliseconds