Lines Matching refs:ERR

369     return ERR(INVALID_ENVIRONMENT);  in IsModifiableClassGeneric()
376 return ERR(INVALID_CLASS); in IsModifiableClassGeneric()
381 Redefiner::CanRedefineClass<kType>(h_klass, &err_unused) != ERR(UNMODIFIABLE_CLASS) in IsModifiableClassGeneric()
404 return ERR(INVALID_CLASS); in CanRedefineClass()
422 return ERR(INTERNAL); in CanRedefineClass()
430 return ERR(UNMODIFIABLE_CLASS); in CanRedefineClass()
433 return ERR(UNMODIFIABLE_CLASS); in CanRedefineClass()
436 return ERR(UNMODIFIABLE_CLASS); in CanRedefineClass()
439 return ERR(UNMODIFIABLE_CLASS); in CanRedefineClass()
442 return ERR(UNMODIFIABLE_CLASS); in CanRedefineClass()
448 return ERR(UNMODIFIABLE_CLASS); in CanRedefineClass()
462 return ERR(INTERNAL); in CanRedefineClass()
471 return ERR(INVALID_CLASS); in CanRedefineClass()
477 return ERR(UNMODIFIABLE_CLASS); in CanRedefineClass()
485 return ERR(UNMODIFIABLE_CLASS); in CanRedefineClass()
505 return ERR(UNMODIFIABLE_CLASS); in CanRedefineClass()
518 res = ERR(UNMODIFIABLE_CLASS); in CanRedefineClass()
592 return ERR(INVALID_ENVIRONMENT); in RedefineClassesGeneric()
595 return ERR(ILLEGAL_ARGUMENT); in RedefineClassesGeneric()
601 return ERR(NULL_POINTER); in RedefineClassesGeneric()
639 return ERR(INVALID_ENVIRONMENT); in StructurallyRedefineClasses()
641 return ERR(MUST_POSSESS_CAPABILITY); in StructurallyRedefineClasses()
669 r.RecordFailure(ERR(INTERNAL), "Another redefinition is in progress"); in RedefineClassesDirect()
715 return ERR(OUT_OF_MEMORY); in AddRedefinition()
719 return ERR(INVALID_CLASS_FORMAT); in AddRedefinition()
731 return ERR(INVALID_CLASS_FORMAT); in AddRedefinition()
944 RecordFailure(bigger ? ERR(UNSUPPORTED_REDEFINITION_METHOD_ADDED) in CheckMethods()
945 : ERR(UNSUPPORTED_REDEFINITION_METHOD_DELETED), in CheckMethods()
979 ERR(UNSUPPORTED_REDEFINITION_METHOD_ADDED), in CheckMethods()
985 ERR(UNSUPPORTED_REDEFINITION_METHOD_MODIFIERS_CHANGED), in CheckMethods()
1006 ERR(UNSUPPORTED_REDEFINITION_METHOD_DELETED), in CheckMethods()
1041 RecordFailure(ERR(UNSUPPORTED_REDEFINITION_SCHEMA_CHANGED), in CheckFields()
1047 ERR(UNSUPPORTED_REDEFINITION_SCHEMA_CHANGED), in CheckFields()
1065 ERR(UNSUPPORTED_REDEFINITION_SCHEMA_CHANGED), in CheckFields()
1077 RecordFailure(ERR(ILLEGAL_ARGUMENT), in CheckClass()
1090 RecordFailure(ERR(UNSUPPORTED_REDEFINITION_CLASS_MODIFIERS_CHANGED), in CheckClass()
1102 RecordFailure(ERR(NAMES_DONT_MATCH), in CheckClass()
1110 RecordFailure(ERR(UNSUPPORTED_REDEFINITION_HIERARCHY_CHANGED), "Superclass added!"); in CheckClass()
1117 RecordFailure(ERR(UNSUPPORTED_REDEFINITION_HIERARCHY_CHANGED), "Superclass changed"); in CheckClass()
1125 RecordFailure(ERR(UNSUPPORTED_REDEFINITION_HIERARCHY_CHANGED), "Interfaces added"); in CheckClass()
1133 RecordFailure(ERR(UNSUPPORTED_REDEFINITION_HIERARCHY_CHANGED), "Interfaces added or removed"); in CheckClass()
1142 RecordFailure(ERR(UNSUPPORTED_REDEFINITION_HIERARCHY_CHANGED), in CheckClass()
1655 RecordFailure(ERR(FAILS_VERIFICATION), "Failed to verify class. Error was: " + error); in CheckVerification()
1764 RecordFailure(ERR(OUT_OF_MEMORY), "Could not allocate old_instance arrays!"); in CollectAndCreateNewInstances()
1778 RecordFailure(ERR(OUT_OF_MEMORY), "Could not allocate new_instance arrays!"); in CollectAndCreateNewInstances()
1815 RecordFailure(ERR(OUT_OF_MEMORY), msg); in CollectAndCreateNewInstances()
1837 RecordFailure(ERR(INTERNAL), "Unable to find dex file!"); in FinishRemainingCommonAllocations()
1844 RecordFailure(ERR(OUT_OF_MEMORY), "Unable to allocate dex file array for class loader"); in FinishRemainingCommonAllocations()
1852 RecordFailure(ERR(OUT_OF_MEMORY), "Unable to allocate DexCache"); in FinishRemainingCommonAllocations()
1861 RecordFailure(ERR(OUT_OF_MEMORY), "Unable to allocate array for original dex file"); in FinishRemainingCommonAllocations()
1930 RecordFailure(ERR(OUT_OF_MEMORY), "Could not allocate old_classes arrays!"); in FinishNewClassAllocations()
1957 RecordFailure(ERR(OUT_OF_MEMORY), "Could not allocate new_classes arrays!"); in FinishNewClassAllocations()
2071 ERR(OUT_OF_MEMORY), in AllocateNewClassObject()
2102 RecordFailure(ERR(INTERNAL), oss.str()); in AllocateNewClassObject()
2133 ERR(OUT_OF_MEMORY), in AllocateNewClassObject()
2472 RecordFailure(ERR(OUT_OF_MEMORY), "Could not allocate storage for temporaries"); in Run()
3116 RecordFailure(ERR(INVALID_CLASS), "Unable to decode class argument!"); in EnsureClassAllocationsFinished()
3126 RecordFailure(ERR(OUT_OF_MEMORY), "Could not allocate ClassExt"); in EnsureClassAllocationsFinished()
3147 RecordFailure(ERR(OUT_OF_MEMORY), "Unable to allocate/extend obsolete methods map"); in EnsureClassAllocationsFinished()