Lines Matching refs:NO_ERROR
640 return NO_ERROR; in writeBlob()
698 return ::NO_ERROR; in readBlob()
771 if (response != NO_ERROR) { in initialize()
775 return ::NO_ERROR; in initialize()
787 return ::NO_ERROR; in copyMasterKey()
829 if (response == NO_ERROR && masterKeyBlob.getLength() == MASTER_KEY_SIZE_BYTES) { in readMasterKey()
837 if (response == NO_ERROR) { in readMasterKey()
986 return ::NO_ERROR; in initialize()
1036 if (saw(prefix, &aliases, uid) != ::NO_ERROR) { in reset()
1094 if (rc != NO_ERROR) { in get()
1105 if ((rc = this->put(filename, keyBlob, uid)) != NO_ERROR in get()
1107 userState->getState())) != NO_ERROR) { in get()
1117 if (rc == NO_ERROR && type == TYPE_KEY_PAIR in get()
1125 if (imported == NO_ERROR) { in get()
1147 if (rc != ::NO_ERROR) { in del()
1159 if (rc != ::NO_ERROR) { in del()
1163 return (unlink(filename) && errno != ENOENT) ? ::SYSTEM_ERROR : ::NO_ERROR; in del()
1206 return ::NO_ERROR; in saw()
1294 if (responseCode == NO_ERROR) { in getKeyForName()
1303 if (responseCode == NO_ERROR) { in getKeyForName()
1476 if (rc != NO_ERROR) { in importBlobAsKey()
1626 if (responseCode != ::NO_ERROR) { in get()
1637 return ::NO_ERROR; in get()
1709 return ::NO_ERROR; in exist()
1729 if (mKeyStore->saw(filename, matches, targetUid) != ::NO_ERROR) { in saw()
1732 return ::NO_ERROR; in saw()
1743 return mKeyStore->reset(callingUid) ? ::NO_ERROR : ::SYSTEM_ERROR; in reset()
1795 return ::NO_ERROR; in lock()
1824 return mKeyStore->isEmpty(callingUid) ? ::KEY_NOT_FOUND : ::NO_ERROR; in zero()
2023 if (responseCode != ::NO_ERROR) { in sign()
2054 return ::NO_ERROR; in sign()
2078 if (responseCode != ::NO_ERROR) { in verify()
2105 return ::NO_ERROR; in verify()
2135 if (responseCode != ::NO_ERROR) { in get_pubkey()
2161 return ::NO_ERROR; in get_pubkey()
2205 return ::NO_ERROR; in grant()
2229 return mKeyStore->removeGrant(filename.string(), granteeUid) ? ::NO_ERROR : ::KEY_NOT_FOUND; in ungrant()
2318 if (responseCode != ::NO_ERROR) { in duplicate()
2353 if (mKeyStore->saw(prefix, &aliases, targetUid) != ::NO_ERROR) { in clear_uid()
2362 return ::NO_ERROR; in clear_uid()
2378 return mKeyStore->reset(targetUid) ? ::NO_ERROR : ::SYSTEM_ERROR; in reset_uid()