Home
last modified time | relevance | path

Searched refs:getDevice (Results 1 – 12 of 12) sorted by relevance

/system/core/fs_mgr/tests/src/com/android/tests/vendoroverlay/
DVendorOverlayHostTest.java44 wasRoot = getDevice().isAdbRoot(); in setup()
46 Assume.assumeTrue("Test requires root", getDevice().enableAdbRoot()); in setup()
52 getDevice().remountSystemWritable(); in setup()
56 CommandResult result = getDevice().executeShellV2Command("df"); in setup()
68 CommandResult result = getDevice().executeShellV2Command("mkdir -p " + dir); in assumeMkdirSuccess()
77 String vndkVersion = getDevice().executeShellV2Command("getprop ro.vndk.version").getStdout(); in testVendorOverlay()
80 CommandResult result = getDevice().executeShellV2Command( in testVendorOverlay()
87 result = getDevice().executeShellV2Command( in testVendorOverlay()
92 result = getDevice().executeShellV2Command( in testVendorOverlay()
96 getDevice().reboot(); in testVendorOverlay()
[all …]
/system/apex/tests/src/com/android/tests/apex/
DApexE2EBaseHostTest.java76 String installResult = getDevice().installPackage(testAppFile, false); in doTestStageActivateUninstallApexPackage()
86 CommandResult res = getDevice().executeShellV2Command("pm get-stagedsessions"); in doTestStageActivateUninstallApexPackage()
106 getDevice().reboot(); // for install to take affect in doTestStageActivateUninstallApexPackage()
108 Set<ApexInfo> activatedApexes = getDevice().getActiveApexes(); in doTestStageActivateUninstallApexPackage()
135 String uninstallResult = getDevice().uninstallPackage(apex.name); in uninstallApex()
142 getDevice().reboot(); // for the uninstall to take affect in uninstallApex()
DMediaSwCodecHostTest.java54 for (ApexInfo info : getDevice().getActiveApexes()) { in testStageActivateUninstallApexPackage()
66 assertTrue(((IManagedTestDevice) getDevice()).getMonitor().waitForBootComplete(60000)); in additionalCheck()
72 CommandResult commandResult = getDevice().executeShellV2Command(CMD_LSHAL_CODECS); in checkCodecs()
DMediaHostTest.java61 assertTrue(((IManagedTestDevice) getDevice()).getMonitor().waitForBootComplete(60000)); in additionalCheck()
68 getDevice().executeShellV2Command("dumpsys media.extractor"); in checkMediaExtractor()
DConscryptHostTest.java47 assertTrue(((IManagedTestDevice) getDevice()).getMonitor().waitForBootComplete(60000)); in additionalCheck()
DTimezoneDataHostTest.java82 getDevice().executeShellV2Command("dumpsys runtime --proto"); in getRuntimeServiceInfoProto()
/system/security/keystore/
DKeyStore.h82 std::shared_ptr<KeymasterWorker> getDevice(SecurityLevel securityLevel) const {
96 std::shared_ptr<KeymasterWorker> getDevice(const Blob& blob) {
DKeyStore.cpp309 auto dev = getDevice(keyBlob); in del()
344 if (getDevice(SecurityLevel::STRONGBOX)) return true; in isHardwareBacked()
345 if (!getDevice(SecurityLevel::TRUSTED_ENVIRONMENT)) { in isHardwareBacked()
350 auto version = getDevice(SecurityLevel::TRUSTED_ENVIRONMENT)->halVersion(); in isHardwareBacked()
Dkey_store_service.cpp636 auto device = mKeyStore->getDevice(flagsToSecurityLevel(flags)); in addRngEntropy()
682 auto dev = mKeyStore->getDevice(securityLevel); in generateKey()
738 auto dev = mKeyStore->getDevice(keyBlob); in getKeyCharacteristics()
782 auto dev = mKeyStore->getDevice(securityLevel); in importKey()
840 auto dev = mKeyStore->getDevice(keyBlob); in exportKey()
883 auto dev = mKeyStore->getDevice(keyBlob); in begin()
1042 auto dev = mKeyStore->getDevice(keyBlob); in attestKey()
1102 auto dev = mKeyStore->getDevice(SecurityLevel::TRUSTED_ENVIRONMENT); in attestDeviceIds()
1207 auto dev = mKeyStore->getDevice(securityLevel); in importWrappedKey()
Dkeymaster_worker.cpp498 auto teeKmDevice = keyStore_->getDevice(SecurityLevel::TRUSTED_ENVIRONMENT); in begin()
/system/vold/model/
DDisk.h61 dev_t getDevice() const { return mDevice; } in getDevice() function
/system/vold/
DVolumeManager.cpp146 dev_t device = mVirtualDisk->getDevice(); in updateVirtualDisk()
268 if (disk->getDevice() == device) { in handleDiskChanged()
281 if ((*i)->getDevice() == device) { in handleDiskRemoved()
290 if ((*j)->getDevice() == device) { in handleDiskRemoved()