Searched refs:getDevice (Results 1 – 12 of 12) sorted by relevance
44 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 …]
76 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()
54 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()
61 assertTrue(((IManagedTestDevice) getDevice()).getMonitor().waitForBootComplete(60000)); in additionalCheck()68 getDevice().executeShellV2Command("dumpsys media.extractor"); in checkMediaExtractor()
47 assertTrue(((IManagedTestDevice) getDevice()).getMonitor().waitForBootComplete(60000)); in additionalCheck()
82 getDevice().executeShellV2Command("dumpsys runtime --proto"); in getRuntimeServiceInfoProto()
82 std::shared_ptr<KeymasterWorker> getDevice(SecurityLevel securityLevel) const {96 std::shared_ptr<KeymasterWorker> getDevice(const Blob& blob) {
309 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()
636 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()
498 auto teeKmDevice = keyStore_->getDevice(SecurityLevel::TRUSTED_ENVIRONMENT); in begin()
61 dev_t getDevice() const { return mDevice; } in getDevice() function
146 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()