Searched refs:shadowInfo (Results 1 – 7 of 7) sorted by relevance
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/generator/ |
D | ShadowProviderGenerator.java | 79 for (ShadowInfo shadowInfo : model.getAllShadowTypes()) { in generate() 80 final String shadow = shadowInfo.getShadowBinaryName(); in generate() 81 final String actual = shadowInfo.getActualName(); in generate() 82 if (shadowInfo.getShadowPickerBinaryName() == null) { in generate() 96 for (ShadowInfo shadowInfo : model.getVisibleShadowTypes()) { in generate() 97 if (!shadowInfo.actualIsPublic()) { in generate() 101 if (shadowInfo.getShadowPickerBinaryName() != null) { in generate() 105 if (shadowInfo.shadowIsDeprecated()) { in generate() 108 String paramDefStr = shadowInfo.getParamDefStr(); in generate() 109 final String shadow = shadowInfo.getShadowTypeWithParams(); in generate() [all …]
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | ShadowMap.java | 58 ShadowInfo shadowInfo = overriddenShadows.get(instrumentedClassName); in getShadowInfo() local 59 if (shadowInfo == null) { in getShadowInfo() 60 shadowInfo = checkShadowPickers(instrumentedClassName, clazz); in getShadowInfo() 63 if (shadowInfo == null && clazz.getClassLoader() != null) { in getShadowInfo() 68 shadowInfo = obtainShadowInfo(shadowClass); in getShadowInfo() 69 if (!shadowInfo.shadowedClassName.equals(instrumentedClassName)) { in getShadowInfo() 71 shadowInfo = null; in getShadowInfo() 79 if (shadowInfo != null && !shadowInfo.supportsSdk(apiLevel)) { in getShadowInfo() 83 return shadowInfo; in getShadowInfo() 102 ShadowInfo shadowInfo = obtainShadowInfo(selectedShadowClass); in checkShadowPickers() local [all …]
|
D | ShadowWrangler.java | 226 ShadowInfo shadowInfo = getExactShadowInfo(definingClass); 227 if (shadowInfo == null) { 233 shadowClass = Class.forName(shadowInfo.shadowClassName, false, classLoader); 238 Method method = findShadowMethod(definingClass, name, paramTypes, shadowInfo, shadowClass); 240 return shadowInfo.callThroughByDefault ? CALL_REAL_CODE : DO_NOTHING_METHOD; 260 ShadowInfo shadowInfo, 264 if (method == null && shadowInfo.looseSignatures) { 406 ShadowInfo shadowInfo = getShadowInfo(theClass); 407 if (shadowInfo == null) { 411 Class<?> shadowClass = loadClass(shadowInfo.shadowClassName, theClass.getClassLoader()); [all …]
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/ |
D | RobolectricModel.java | 104 ShadowInfo shadowInfo = in addShadowType() local 107 if (shadowInfo.isInAndroidSdk()) { in addShadowType() 108 registerType(shadowInfo.shadowType); in addShadowType() 109 registerType(shadowInfo.actualType); in addShadowType() 110 registerType(shadowInfo.shadowBaseClass); in addShadowType() 113 shadowTypes.put(shadowType.getQualifiedName().toString(), shadowInfo); in addShadowType() local 234 shadowTypes.values().forEach(shadowInfo -> shadowInfo.prepare(referentResolver, helpers)); in prepare() 284 .forEach(shadowInfo -> { in getShadowPickers() 285 String actualName = shadowInfo.getActualName(); in getShadowPickers() 286 String shadowPickerClassName = shadowInfo.getShadowPickerBinaryName(); in getShadowPickers() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowAccessibilityWindowInfo.java | 68 final ShadowAccessibilityWindowInfo shadowInfo = Shadow.extract(window); in obtain() local 69 final AccessibilityWindowInfo obtainedInstance = shadowInfo.getClone(); in obtain()
|
D | ShadowAccessibilityNodeInfo.java | 193 final ShadowAccessibilityNodeInfo shadowInfo = Shadow.extract(info); in obtain() local 194 final AccessibilityNodeInfo obtainedInstance = shadowInfo.getClone(); in obtain() 197 if (shadowInfo.mOriginNodeId == 0) { in obtain() 198 shadowInfo.mOriginNodeId = sAllocationCount; in obtain()
|
/external/robolectric-shadows/junit/src/main/java/org/robolectric/internal/ |
D | SandboxTestRunner.java | 174 ShadowInfo shadowInfo = ShadowMap.obtainShadowInfo(shadowClass); 175 builder.addInstrumentedClass(shadowInfo.shadowedClassName);
|