/system/nvram/core/tests/ |
D | nvram_manager_test.cpp | 83 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/ |
D | pprof_proto_generator.py | 100 def show_value_type(self, value_type, space=''): argument 102 (space, value_type.type, value_type.unit, 105 def show_sample(self, sample, space=''): argument 106 sub_space = space + ' ' 108 print('%slocation_id[%d]: id %d' % (space, i, sample.location_id[i])) 111 print('%svalue[%d] = %d' % (space, i, sample.value[i])) 113 print('%slabel[%d] = ', (space, i)) 115 def show_location_id(self, location_id, space=''): argument 117 self.show_location(location, space) 119 def show_location(self, location, space=''): argument [all …]
|
/system/core/base/ |
D | stringprintf.cpp | 28 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/update_engine/ |
D | chrome_browser_proxy_resolver.cc | 166 string::iterator space; in ParseProxyString() local 167 for (space = token.begin(); space != token.end(); ++space) { in ParseProxyString() 168 if (base::IsAsciiWhitespace(*space)) { in ParseProxyString() 173 string scheme = base::ToLowerASCII(string(token.begin(), space)); in ParseProxyString() 185 string host_and_port = string(space, token.end()); in ParseProxyString()
|
/system/tpm/tpm_manager/server/ |
D | mock_tpm_nvram.cc | 152 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/ |
D | tpm_manager.proto | 42 // 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/ |
D | nvram_hal_test.cc | 246 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/ |
D | persistence.cpp | 117 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()
|
D | nvram_manager.cpp | 50 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/ |
D | persistence.h | 137 storage::Status LoadSpace(uint32_t index, NvramSpace* space); 140 storage::Status StoreSpace(uint32_t index, const NvramSpace& space);
|
D | nvram_manager.h | 139 nvram_result_t WriteSpace(uint32_t index, const NvramSpace& space);
|
/system/tools/hidl/ |
D | CompoundType.cpp | 487 std::string space = prefix.empty() ? "" : (prefix + "::"); in emitTypeDefinitions() local 488 status_t err = Scope::emitTypeDefinitions(out, space + localName()); in emitTypeDefinitions() 797 std::string space = prefix.empty() ? "" : (prefix + "::"); in emitStructReaderWriter() local 819 out << "const " << space << localName() << " &" << name << ",\n"; in emitStructReaderWriter() 822 out << "const " << space << localName() << " &" << name << ",\n"; in emitStructReaderWriter() 868 const std::string space(prefix.empty() ? "" : (prefix + "::")); in emitResolveReferenceDef() local 884 out << space + localName() + " *obj,\n" in emitResolveReferenceDef() 892 out << "const " << space + localName() + " &obj,\n" in emitResolveReferenceDef()
|
D | Method.cpp | 126 std::string space = (specifyNamespaces ? "::android::hardware::" : ""); in generateCppSignature() local 129 out << space << "Return<void> "; in generateCppSignature() 131 out << space in generateCppSignature()
|
D | ArrayType.cpp | 69 std::string space = specifyNamespaces ? "::android::hardware::" : ""; in getCppType() local 70 std::string arrayType = space + "hidl_array<" + base; in getCppType()
|
D | Interface.cpp | 742 std::string space = prefix.empty() ? "" : (prefix + "::"); in emitTypeDefinitions() local 743 status_t err = Scope::emitTypeDefinitions(out, space + localName()); in emitTypeDefinitions()
|
/system/tools/hidl/utils/ |
D | Formatter.cpp | 181 void Formatter::setNamespace(const std::string &space) { in setNamespace() argument 182 mSpace = space; in setNamespace()
|
/system/nvram/ |
D | README.md | 6 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/tools/hidl/utils/include/hidl-util/ |
D | Formatter.h | 130 void setNamespace(const std::string &space);
|
/system/media/camera/docs/ |
D | camera_device_info.mako | 82 ## Reserve 2^16 tag id space for each section
|
D | camera_metadata_tags.mako | 60 * Hierarchy positions in enum space. All vendor extension tags must be
|
/system/sepolicy/private/ |
D | system_app.te | 22 # Access to vold-mounted storage for measuring free space
|
/system/sepolicy/public/ |
D | logd.te | 1 # android user-space log manager
|
/system/core/libmemunreachable/ |
D | README.md | 39 …lar to a normal `fork()` child process, except that it shares the address space of the parent - an… 57 - `PtracerThread.cpp`: Used to clone the collection process with shared address space.
|
/system/core/rootdir/ |
D | Android.mk | 148 $(eval p := $(subst :,$(space),$(s)))\
|
/system/libufdt/utils/ |
D | README.md | 157 The `global_options` and `entryX_options` must start with one or more space
|