Home
last modified time | relevance | path

Searched refs:getId (Results 1 – 25 of 33) 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 …]
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 …]
DObbVolume.cpp52 PLOG(ERROR) << getId() << " failed to create loop"; in doCreate()
60 PLOG(WARNING) << getId() << " failed to destroy loop"; in doDestroy()
67 auto path = StringPrintf("/mnt/obb/%s", getId().c_str()); in doMount()
71 PLOG(ERROR) << getId() << " failed to create mount point"; in doMount()
78 PLOG(ERROR) << getId() << " failed to mount"; in doMount()
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.h88 const std::string& getId() const { return mId; } in getId() function
DEmulatedVolume.cpp348 PLOG(ERROR) << getId() << " failed to create mount points"; in doMount()
381 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/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubHostEndpointInfoTestExecutor.java70 int firstClientHubId = firstClient.getId(); in testGetHostEndpointInfo()
71 int secondClientHubId = secondClient.getId(); in testGetHostEndpointInfo()
128 int clientHostEndpointId = client.getId(); in testGetHostEndpointNotificationOnDisconnect()
DContextHubNanoAppRequirementsTestExecutor.java77 public int getId() { in getId() method in ContextHubNanoAppRequirementsTestExecutor.ChreAudioDataFormat
194 && response.getFormat() == format.getId()) { in findAudioSourceAndAssertItExists()
DContextHubGeneralTestExecutor.java216 mThreadId = Thread.currentThread().getId(); in run()
293 if (Thread.currentThread().getId() == mThreadId) { in assertEquals()
306 if (Thread.currentThread().getId() == mThreadId) { in assertTrue()
/system/chre/platform/linux/task_util/
Dtask_manager.cc78 } else if (mCurrentTask != nullptr && mCurrentTask->getId() == taskId) { in cancelTask()
84 if (iter->getId() == taskId) { in cancelTask()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DTzLookupGenerator.java235 … .filter(timeZoneId -> !Tzdb.areEquivalent(timeZoneId, timeZoneMapping.getId())) in validateCountryZonesIntegrity()
237 + timeZoneMapping.getId() + ", but is listed as alternative") in validateCountryZonesIntegrity()
273 builder.add(timeZoneMapping.getId()); in allTimeZoneIds()
477 "id=" + timeZoneIn.getId() + ", offset=" + timeZoneIn.getUtcOffset() in processCountry()
480 String timeZoneInId = timeZoneIn.getId(); in processCountry()
534 Stream.of(mapping.getId()))) in validateCountryZonesTzIdsAgainstIana()
568 defaultTimeZoneId = timeZonesIn.get(0).getId(); in determineCountryDefaultZoneId()
660 String timeZoneIdIn = timeZoneIn.getId(); in validateNonDstOffset()
DCountryZonesFileSupport.java57 .map(CountryZonesFile.TimeZoneMapping::getId) in extractIds()
/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()
601 String nodeName = enquote(node.getId()); in createGraphvizFile()
628 writeLine(nodeName + " -> " + enquote(child.getId()) + ";"); in createGraphvizFile()
DTreeNode.java37 public final String getId() { in getId() method in TreeNode
/system/chre/java/utils/pigweed/src/com/google/android/chre/utils/pigweed/
DChreChannelOutput.java70 return (CHANNEL_ID_HOST_CLIENT | mClient.getId()); in getChannelId()
DChreRpcClient.java116 if (service.getId() == serviceId) { in hasService()
/system/chre/platform/linux/include/chre/platform/linux/task_util/
Dtask.h97 inline uint32_t getId() const { in getId() function
/system/vold/
DVolumeManager.cpp316 if (disk->getId() == id) { in findDisk()
325 if (vol->getId() == id) { in findVolume()
336 if (vol->getId() == id) { in findVolume()
1138 *outVolId = vol->getId(); in createObb()
1145 if ((*i)->getId() == volId) { in destroyObb()
1177 *outVolId = vol->getId(); in createStubVolume()
/system/chre/host/common/test/power_test/
Dchre_power_test_client.cc474 inline uint64_t getId(std::vector<string> &args) { in getId() function
522 uint64_t id = getId(args); in isLoaded()
964 success = unloadNanoapp(client, callbacks, getId(args)); in main()
986 success = sendMessageToNanoapp(client, callbacks, fbb, getId(args), in main()
/system/tools/xsdc/tests/resources/nested_type/api/
Dcurrent.txt8 method public byte getId();

12