Home
last modified time | relevance | path

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

12

/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.py104 def show_value_type(self, value_type, space=''): argument
106 (space, value_type.type, value_type.unit,
109 def show_sample(self, sample, space=''): argument
110 sub_space = space + ' '
112 print('%slocation_id[%d]: id %d' % (space, i, sample.location_id[i]))
115 print('%svalue[%d] = %d' % (space, i, sample.value[i]))
117 print('%slabel[%d] = ', (space, i))
119 def show_location_id(self, location_id, space=''): argument
121 self.show_location(location, space)
123 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/tpm/tpm_manager/server/
Dmock_tpm_nvram.cc152 NvSpace& space = nvram_map_[index]; in FakeGetSpaceInfo() local
153 *size = space.data.size(); in FakeGetSpaceInfo()
154 *is_read_locked = space.read_locked; in FakeGetSpaceInfo()
155 *is_write_locked = space.write_locked; in FakeGetSpaceInfo()
156 *attributes = space.attributes; in FakeGetSpaceInfo()
157 *policy = space.policy; in FakeGetSpaceInfo()
/system/tpm/tpm_manager/common/
Dtpm_manager.proto42 // This may be because a space is locked or because an operation has been
55 // The space can be locked for writing until it is destroyed. Without TPM
59 // The space can be locked for writing until the next boot.
61 // The space can be locked for reading until the next boot.
63 // The space requires an authorization value for writing.
65 // The space requires an authorization value for reading.
67 // The space can not be written directly, only extended.
70 // The space is tied to the global lock (bGlobalLock). This global lock is
74 // The space is tied to the platform rather than the TPM owner. The 'platform'
79 // The space can only be written by the TPM owner. For TPM 2.0 this can be
[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/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/tools/hidl/
DCompoundType.cpp552 std::string space = prefix.empty() ? "" : (prefix + "::"); in emitTypeDefinitions() local
553 Scope::emitTypeDefinitions(out, space + localName()); in emitTypeDefinitions()
808 std::string space = prefix.empty() ? "" : (prefix + "::"); in emitStructReaderWriter() local
830 out << "const " << space << localName() << " &" << name << ",\n"; in emitStructReaderWriter()
833 out << "const " << space << localName() << " &" << name << ",\n"; in emitStructReaderWriter()
879 const std::string space(prefix.empty() ? "" : (prefix + "::")); in emitResolveReferenceDef() local
895 out << space + localName() + " *obj,\n" in emitResolveReferenceDef()
903 out << "const " << space + localName() + " &obj,\n" in emitResolveReferenceDef()
DMethod.cpp175 const std::string space = (specifyNamespaces ? "::android::hardware::" : ""); in generateCppReturnType() local
178 out << space << "Return<void> "; in generateCppReturnType()
180 out << space in generateCppReturnType()
/system/tools/hidl/utils/
DFormatter.cpp186 void Formatter::setNamespace(const std::string &space) { in setNamespace() argument
187 mSpace = space; in setNamespace()
/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/core/libmemunreachable/
DREADME.md39space of the parent - any writes by the original process are visible to the collection process, an…
57 - `PtracerThread.cpp`: Used to clone the collection process with shared address space.
/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/media/camera/docs/
Dcamera_device_info.mako82 ## Reserve 2^16 tag id space for each section
/system/tools/hidl/utils/include/hidl-util/
DFormatter.h132 void setNamespace(const std::string &space);
/system/sepolicy/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/28.0/private/
Dtraced.te1 # Perfetto user-space tracing daemon (unprivileged)
/system/sepolicy/public/
Dlogd.te1 # android user-space log manager
/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/private/
Dsystem_app.te25 # Access to vold-mounted storage for measuring free space

12