Home
last modified time | relevance | path

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

12

/system/vold/model/
DPrivateVolume.cpp53 mRawDevPath = StringPrintf("/dev/block/vold/%s", getId().c_str()); in PrivateVolume()
62 if (listener) listener->onVolumeMetadataChanged(getId(), mFsType, mFsUuid, mFsLabel); in readMetadata()
79 ret = dm.DeleteDeviceIfExists(getId()); in doCreate()
83 PLOG(ERROR) << "Cannot remove dm device " << getId(); in doCreate()
92 if (!setup_ext_volume(getId(), mRawDevPath, mKeyRaw, &mDmDevPath)) { in doCreate()
93 LOG(ERROR) << getId() << " failed to setup metadata encryption"; in doCreate()
107 ret = dm.DeleteDevice(getId()); in doDestroy()
111 PLOG(ERROR) << "Cannot remove dm device " << getId(); in doDestroy()
122 LOG(ERROR) << getId() << " failed to read metadata"; in doMount()
130 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.cpp52 mDevPath = StringPrintf("/dev/block/vold/%s", getId().c_str()); in PublicVolume()
63 if (listener) listener->onVolumeMetadataChanged(getId(), mFsType, mFsUuid, mFsLabel); in readMetadata()
75 PLOG(WARNING) << getId() << " failed to rename legacy ASEC dir"; in initAsecStage()
81 PLOG(WARNING) << getId() << " creating ASEC stage failed"; in initAsecStage()
105 LOG(ERROR) << getId() << " failed filesystem check"; in doMount()
110 LOG(ERROR) << getId() << " failed filesystem check"; in doMount()
114 LOG(ERROR) << getId() << " unsupported filesystem " << mFsType; in doMount()
119 std::string stableName = getId(); in doMount()
139 PLOG(ERROR) << getId() << " failed to create mount points"; in doMount()
146 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()
151 if (listener) listener->onDiskCreated(getId(), mFlags); in create()
168 if (listener) listener->onDiskDestroyed(getId()); in destroy()
185 vol->setDiskId(getId()); in createPublicVolume()
216 vol->setDiskId(getId()); in createPrivateVolume()
224 if (listener) listener->onDiskMetadataChanged(getId(), mSize, mLabel, mSysPath); in createStubVolume()
225 if (listener) listener->onDiskScanned(getId()); in createStubVolume()
226 mVolumes[0]->setDiskId(getId()); in createStubVolume()
318 if (listener) listener->onDiskMetadataChanged(getId(), mSize, mLabel, mSysPath); in readMetadata()
[all …]
DStubVolume.cpp53 if (listener) listener->onVolumeMetadataChanged(getId(), mFsType, mFsUuid, mFsLabel); in doMount()
DDisk.h64 const std::string& getId() const { return mId; } in getId() function
DVolumeBase.h82 const std::string& getId() const { return mId; } in getId() function
DEmulatedVolume.cpp263 PLOG(ERROR) << getId() << " failed to create mount points"; in doMount()
296 PLOG(ERROR) << getId() << " failed to fork"; in doMount()
/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/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.java85 throw new IllegalStateException("No primary zone for " + getId() in getPrimaryZoneInfo()
168 BasicTimeZone basicTimeZone = getBasicTimeZone(timeZoneMapping.getId()); in create()
404 String childId = currentNode.getId() + "." + i; in growTree()
591 String nodeName = enquote(node.getId()); in createGraphvizFile()
618 writeLine(nodeName + " -> " + enquote(child.getId()) + ";"); in createGraphvizFile()
DTreeNode.java37 public final String getId() { in getId() method in TreeNode
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubGeneralTestExecutor.java217 mThreadId = Thread.currentThread().getId(); in run()
294 if (Thread.currentThread().getId() == mThreadId) { in assertEquals()
307 if (Thread.currentThread().getId() == mThreadId) { in assertTrue()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DCountryZonesFileSupport.java57 .map(CountryZonesFile.TimeZoneMapping::getId) in extractIds()
DTzLookupGenerator.java413 "id=" + timeZoneIn.getId() + ", offset=" + timeZoneIn.getUtcOffset() in processCountry()
416 String timeZoneInId = timeZoneIn.getId(); in processCountry()
469 String timeZoneId = mapping.getId(); in validateCountryZonesTzIdsAgainstIana()
515 defaultTimeZoneId = timeZonesIn.get(0).getId(); in determineCountryDefaultZoneId()
609 String timeZoneIdIn = timeZoneIn.getId(); in validateNonDstOffset()
/system/chre/host/common/test/power_test/
Dchre_power_test_client.cc461 inline uint64_t getId(std::vector<string> &args) { in getId() function
509 uint64_t id = getId(args); in isLoaded()
915 success = unloadNanoapp(client, callbacks, getId(args)); in main()
921 loadNanoapp(client, callbacks, getPath(args).c_str(), getId(args), in main()
932 success = sendMessageToNanoapp(client, callbacks, fbb, getId(args), in main()
/system/vold/
DVolumeManager.cpp316 if (disk->getId() == id) { in findDisk()
325 if (vol->getId() == id) { in findVolume()
336 if (vol->getId() == id) { in findVolume()
1110 *outVolId = vol->getId(); in createObb()
1117 if ((*i)->getId() == volId) { in destroyObb()
1149 *outVolId = vol->getId(); in createStubVolume()
/system/tools/xsdc/tests/resources/nested_type/api/
Dcurrent.txt8 method public byte getId();
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DTzLookupGeneratorTest.java132 .setDefaultTimeZoneId(validCountryGb.getTimeZoneMappings(0).getId()) in countryWithDuplicateTimeZoneMappings()
182 .setDefaultTimeZoneId(createValidCountryFr().getTimeZoneMappings(0).getId()) in explicitDefaultIdInvalid()
208 String gbTimeZoneId = validCountryGb.getTimeZoneMappings(0).getId(); in calculatedDefaultZone()
224 String gbTimeZoneId = validCountryGb.getTimeZoneMappings(0).getId(); in explicitDefaultZone()
380 gbWithBadIdBuilder.setDefaultTimeZoneId(validGbCountry.getTimeZoneMappings(0).getId()) in badTimeZoneMappingId()
/system/tools/xsdc/tests/
Dtests.cpp55 EXPECT_EQ(stringTypes.getId(), "abcd"); in TEST_F()
153 EXPECT_EQ((int)employee.getId(), 1); in TEST_F()
/system/chre/java/test/permissions/src/com/google/android/chre/test/permissions/
DContextHubFrameworkPermissionsTestExecutor.java136 "cmd contexthub deny " + mContextHubInfo.getId() in permissionsDisabledTest()
/system/tools/xsdc/tests/src/com/android/xsdc/tests/
DXmlParserTest.java131 assertThat(stringTypes.getId(), is("abcd")); in testPredefinedTypes()
/system/incremental_delivery/incfs/
Dincfs.cpp958 static IncFsFileId getId(GetterFunc getter, Param param) { in getId() function
977 return getId(::getxattr, path); in IncFs_GetId()
1535 const auto id = getId(::fgetxattr, fd); in IncFs_IsFullyLoaded()
1556 const auto id = getId(::getxattr, path); in IncFs_IsFullyLoadedByPath()
/system/tools/xsdc/tests/resources/predefined_types/api/
Dcurrent.txt110 method public String getId();

12