Home
last modified time | relevance | path

Searched refs:getId (Results 1 – 21 of 21) sorted by relevance

/system/vold/model/
DPrivateVolume.cpp51 mRawDevPath = StringPrintf("/dev/block/vold/%s", getId().c_str()); in PrivateVolume()
60 if (listener) listener->onVolumeMetadataChanged(getId(), mFsType, mFsUuid, mFsLabel); in readMetadata()
72 if (!dm.DeleteDeviceIfExists(getId())) { in doCreate()
73 PLOG(ERROR) << "Cannot remove dm device " << getId(); in doCreate()
79 if (!setup_ext_volume(getId(), mRawDevPath, mKeyRaw, &mDmDevPath)) { in doCreate()
80 LOG(ERROR) << getId() << " failed to setup metadata encryption"; in doCreate()
89 if (!dm.DeleteDevice(getId())) { in doDestroy()
90 PLOG(ERROR) << "Cannot remove dm device " << getId(); in doDestroy()
98 LOG(ERROR) << getId() << " failed to read metadata"; in doMount()
106 PLOG(ERROR) << getId() << " failed to create mount point " << mPath; in doMount()
[all …]
DObbVolume.cpp55 PLOG(ERROR) << getId() << " failed to create loop"; in doCreate()
62 PLOG(ERROR) << getId() << " failed to get loop size"; in doCreate()
67 if (Devmapper::create(getId().c_str(), mLoopPath.c_str(), mSourceKey.c_str(), nr_sec, tmp, in doCreate()
69 PLOG(ERROR) << getId() << " failed to create dm"; in doCreate()
81 if (!mDmPath.empty() && Devmapper::destroy(getId().c_str())) { in doDestroy()
82 PLOG(WARNING) << getId() << " failed to destroy dm"; in doDestroy()
85 PLOG(WARNING) << getId() << " failed to destroy loop"; in doDestroy()
93 auto path = StringPrintf("/mnt/obb/%s", getId().c_str()); in doMount()
97 PLOG(ERROR) << getId() << " failed to create mount point"; in doMount()
104 PLOG(ERROR) << getId() << " failed to mount"; in doMount()
DVolumeBase.cpp52 listener->onVolumeStateChanged(getId(), static_cast<int32_t>(mState)); in setState()
58 LOG(WARNING) << getId() << " diskId change requires destroyed"; in setDiskId()
68 LOG(WARNING) << getId() << " partGuid change requires destroyed"; in setPartGuid()
78 LOG(WARNING) << getId() << " flags change requires state unmounted or unmountable"; in setMountFlags()
88 LOG(WARNING) << getId() << " user change requires state unmounted or unmountable"; in setMountUserId()
98 LOG(WARNING) << getId() << " silence change requires destroyed"; in setSilent()
108 LOG(WARNING) << getId() << " id change requires not created"; in setId()
118 LOG(WARNING) << getId() << " path change requires state checking"; in setPath()
125 if (listener) listener->onVolumePathChanged(getId(), mPath); in setPath()
132 LOG(WARNING) << getId() << " internal path change requires state checking"; in setInternalPath()
[all …]
DPublicVolume.cpp50 mDevPath = StringPrintf("/dev/block/vold/%s", getId().c_str()); in PublicVolume()
59 if (listener) listener->onVolumeMetadataChanged(getId(), mFsType, mFsUuid, mFsLabel); in readMetadata()
71 PLOG(WARNING) << getId() << " failed to rename legacy ASEC dir"; in initAsecStage()
77 PLOG(WARNING) << getId() << " creating ASEC stage failed"; in initAsecStage()
100 LOG(ERROR) << getId() << " failed filesystem check"; in doMount()
105 LOG(ERROR) << getId() << " failed filesystem check"; in doMount()
109 LOG(ERROR) << getId() << " unsupported filesystem " << mFsType; in doMount()
114 std::string stableName = getId(); in doMount()
134 PLOG(ERROR) << getId() << " failed to create mount points"; in doMount()
141 PLOG(ERROR) << getId() << " failed to mount " << mDevPath; in doMount()
[all …]
DDisk.cpp115 if (vol->getId() == id) { in findVolume()
129 list.push_back(vol->getId()); in listVolumes()
140 if (listener) listener->onDiskCreated(getId(), mFlags); in create()
153 if (listener) listener->onDiskDestroyed(getId()); in destroy()
170 vol->setDiskId(getId()); in createPublicVolume()
201 vol->setDiskId(getId()); in createPrivateVolume()
294 if (listener) listener->onDiskMetadataChanged(getId(), mSize, mLabel, mSysPath); in readMetadata()
320 if (listener) listener->onDiskScanned(getId()); in readPartitions()
400 if (listener) listener->onDiskScanned(getId()); in readPartitions()
DEmulatedVolume.cpp78 PLOG(ERROR) << getId() << " failed to create mount points"; in doMount()
106 PLOG(ERROR) << getId() << " failed to fork"; in doMount()
DStubVolume.cpp51 if (listener) listener->onVolumeMetadataChanged(getId(), mFsType, mFsUuid, mFsLabel); in doMount()
DDisk.h57 const std::string& getId() const { return mId; } in getId() function
DVolumeBase.h81 const std::string& getId() const { return mId; } in getId() function
/system/extras/verity/
DUtils.java69 ID_TO_ALG.put(X9ObjectIdentifiers.ecdsa_with_SHA256.getId(), "SHA256withECDSA"); in X9ObjectIdentifiers.ecdsa_with_SHA256.getId()
70 ID_TO_ALG.put(X9ObjectIdentifiers.ecdsa_with_SHA384.getId(), "SHA384withECDSA"); in X9ObjectIdentifiers.ecdsa_with_SHA384.getId()
71 ID_TO_ALG.put(X9ObjectIdentifiers.ecdsa_with_SHA512.getId(), "SHA512withECDSA"); in X9ObjectIdentifiers.ecdsa_with_SHA512.getId()
72 ID_TO_ALG.put(PKCSObjectIdentifiers.sha1WithRSAEncryption.getId(), "SHA1withRSA"); in PKCSObjectIdentifiers.sha1WithRSAEncryption.getId()
73 ID_TO_ALG.put(PKCSObjectIdentifiers.sha256WithRSAEncryption.getId(), "SHA256withRSA"); in PKCSObjectIdentifiers.sha256WithRSAEncryption.getId()
74 ID_TO_ALG.put(PKCSObjectIdentifiers.sha512WithRSAEncryption.getId(), "SHA512withRSA"); in PKCSObjectIdentifiers.sha512WithRSAEncryption.getId()
76 ALG_TO_ID.put("SHA256withECDSA", X9ObjectIdentifiers.ecdsa_with_SHA256.getId());
77 ALG_TO_ID.put("SHA384withECDSA", X9ObjectIdentifiers.ecdsa_with_SHA384.getId());
78 ALG_TO_ID.put("SHA512withECDSA", X9ObjectIdentifiers.ecdsa_with_SHA512.getId());
79 ALG_TO_ID.put("SHA1withRSA", PKCSObjectIdentifiers.sha1WithRSAEncryption.getId());
[all …]
/system/vold/
DVolumeManager.cpp301 if (disk->getId() == id) { in findDisk()
312 if (mInternalEmulated != nullptr && mInternalEmulated->getId() == id) { in findVolume()
322 if (vol->getId() == id) { in findVolume()
327 if (vol->getId() == id) { in findVolume()
699 *outVolId = vol->getId(); in createObb()
706 if ((*i)->getId() == volId) { in destroyObb()
725 *outVolId = vol->getId(); in createStubVolume()
732 if ((*i)->getId() == volId) { in destroyStubVolume()
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/
DTreeNodeTest.java41 ids.add(node.getId()); in visit()
58 assertEquals("id", testTreeNode.getId()); in testTreeNode_single()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DCountryZoneTree.java84 throw new IllegalStateException("No primary zone for " + getId() in getPrimaryZoneInfo()
167 BasicTimeZone basicTimeZone = getBasicTimeZone(timeZoneMapping.getId()); in create()
403 String childId = currentNode.getId() + "." + i; in growTree()
578 String nodeName = enquote(node.getId()); in createGraphvizFile()
605 writeLine(nodeName + " -> " + enquote(child.getId()) + ";"); in createGraphvizFile()
DTreeNode.java37 public final String getId() { in getId() method in TreeNode
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DCountryZonesFileSupport.java57 .map(CountryZonesFile.TimeZoneMapping::getId) in extractIds()
DTzLookupGenerator.java384 "id=" + timeZoneIn.getId() + ", offset=" + timeZoneIn.getUtcOffset() in processCountry()
387 String timeZoneInId = timeZoneIn.getId(); in processCountry()
434 String timeZoneId = mapping.getId(); in validateCountryZonesTzIdsAgainstIana()
480 defaultTimeZoneId = timeZonesIn.get(0).getId(); in determineCountryDefaultZoneId()
574 String timeZoneIdIn = timeZoneIn.getId(); in validateNonDstOffset()
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DTzLookupGeneratorTest.java127 .setDefaultTimeZoneId(validCountryGb.getTimeZoneMappings(0).getId()) in countryWithDuplicateTimeZoneMappings()
175 .setDefaultTimeZoneId(createValidCountryFr().getTimeZoneMappings(0).getId()) in explicitDefaultIdInvalid()
200 String gbTimeZoneId = validCountryGb.getTimeZoneMappings(0).getId(); in calculatedDefaultZone()
216 String gbTimeZoneId = validCountryGb.getTimeZoneMappings(0).getId(); in explicitDefaultZone()
366 gbWithBadIdBuilder.setDefaultTimeZoneId(validGbCountry.getTimeZoneMappings(0).getId()) in badTimeZoneMappingId()
/system/tools/xsdc/tests/resources/nested_type/api/
Dcurrent.txt8 method public byte getId();
/system/tools/xsdc/tests/
Dmain.cpp83 EXPECT_EQ(stringTypes.getId(), "abcd"); in TEST_F()
181 EXPECT_EQ((int)employee.getId(), 1); in TEST_F()
/system/tools/xsdc/tests/resources/predefined_types/api/
Dcurrent.txt104 method public String getId();
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/
DCameraAvgFragment.java899 switch (view.getId()) { in onClick()