/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowQueuedWork.java | 26 Handler queuedWorkHandler = ReflectionHelpers.getStaticField(QueuedWork.class, "sHandler"); in resetStateApi26() 30 ((List) ReflectionHelpers.getStaticField(QueuedWork.class, "sFinishers")).clear(); in resetStateApi26() 31 ((List) ReflectionHelpers.getStaticField(QueuedWork.class, "sWork")).clear(); in resetStateApi26()
|
D | ShadowUsbManager.java | 10 import static org.robolectric.util.ReflectionHelpers.getStaticField; 179 from(int.class, getStaticField(UsbPort.class, "MODE_DUAL"))), in addPort() 181 getStaticField(UsbPort.class, "MODE_DUAL"), in addPort() 182 getStaticField(UsbPort.class, "POWER_ROLE_SINK"), in addPort() 183 getStaticField(UsbPort.class, "DATA_ROLE_DEVICE"), in addPort()
|
D | ShadowValueAnimator.java | 35 ReflectionHelpers.getStaticField(AnimationHandler.class, "sAnimatorHandler"); in reset() 40 ReflectionHelpers.getStaticField(ValueAnimator.class, "sAnimationHandler"); in reset()
|
D | ShadowMediaRouter.java | 59 ReflectionHelpers.getStaticField(MediaRouter.class, "sStatic"), "mBluetoothA2dpRoute"); in getBluetoothA2dpRoute() 87 ReflectionHelpers.getStaticField(MediaRouter.class, "sStatic"), in callUpdateAudioRoutes()
|
D | ShadowMessage.java | 8 import static org.robolectric.util.ReflectionHelpers.getStaticField; 29 private static final Object lock = getStaticField(Message.class, "sPoolSync");
|
D | ShadowEnvironment.java | 188 ReflectionHelpers.getStaticField(Environment.class, "sCurrentUser"); in addExternalDir() 194 ReflectionHelpers.getStaticField(Environment.class, "sCurrentUser"); in addExternalDir()
|
D | ShadowBackgroundThread.java | 15 … BackgroundThread instance = ReflectionHelpers.getStaticField(BackgroundThread.class, "sInstance"); in reset()
|
D | ShadowSystemServiceRegistry.java | 20 ReflectionHelpers.getStaticField( in reset()
|
D | ShadowWindowManagerImpl.java | 100 ReflectionHelpers.getStaticField(WindowManagerImpl.class, "sCompatWindowManagers"); in reset()
|
D | ShadowSmsManager.java | 25 ReflectionHelpers.getStaticField(SmsManager.class, "sSubInstances"); in reset()
|
D | ShadowAccessibilityNodeInfo.java | 1195 …if (((id & (int)ReflectionHelpers.getStaticField(AccessibilityNodeInfo.class, "ACTION_TYPE_MASK"))… in __constructor__() 1259 return (int)ReflectionHelpers.getStaticField(AccessibilityNodeInfo.class, "ACTION_TYPE_MASK"); in getActionTypeMaskFromFramework() 1269 …return (int)ReflectionHelpers.getStaticField(AccessibilityNodeInfo.class, "LAST_LEGACY_STANDARD_AC… in getLastLegacyActionFromFrameWork()
|
D | ShadowAudioManager.java | 130 …if (ringerMode < 0 || ringerMode > (int)ReflectionHelpers.getStaticField(AudioManager.class, "RING… in isValidRingerMode()
|
D | ShadowArscApkAssets9.java | 56 ReflectionHelpers.getStaticField(AssetManager.class, "FRAMEWORK_APK_PATH");
|
D | ShadowContextImpl.java | 288 ReflectionHelpers.getStaticField(contextImplClass, "SYSTEM_SERVICE_MAP"); in reset()
|
D | ShadowAppOpsManager.java | 120 String[] sOpToString = ReflectionHelpers.getStaticField(AppOpsManager.class, "sOpToString"); in setMode()
|
D | ShadowArscAssetManager10.java | 206 AssetManager sSystem = ReflectionHelpers.getStaticField(AssetManager.class, "sSystem"); in createSystemAssetsInZygoteLocked() 216 ReflectionHelpers.getStaticField(AssetManager.class, "sSystemApkAssets"); in createSystemAssetsInZygoteLocked() 218 ReflectionHelpers.getStaticField(AssetManager.class, "sSystemApkAssetsSet"); in createSystemAssetsInZygoteLocked()
|
D | ShadowArscAssetManager9.java | 200 AssetManager sSystem = ReflectionHelpers.getStaticField(AssetManager.class, "sSystem"); in createSystemAssetsInZygoteLocked() 210 ReflectionHelpers.getStaticField(AssetManager.class, "sSystemApkAssets"); in createSystemAssetsInZygoteLocked() 212 ReflectionHelpers.getStaticField(AssetManager.class, "sSystemApkAssetsSet"); in createSystemAssetsInZygoteLocked()
|
/external/robolectric-shadows/shadowapi/src/test/java/org/robolectric/util/ |
D | ReflectionHelpersTest.java | 75 int result = ReflectionHelpers.getStaticField(field); in getStaticFieldReflectively_withField_getsStaticField() 81 assertThat((int) ReflectionHelpers.getStaticField(ExampleDescendant.class, "DESCENDANT")) in getStaticFieldReflectively_withFieldName_getsStaticField() 88 int startingValue = ReflectionHelpers.getStaticField(field); in setStaticFieldReflectively_withField_setsStaticFields() 100 int startingValue = ReflectionHelpers.getStaticField(ExampleDescendant.class, "DESCENDANT"); in setStaticFieldReflectively_withFieldName_setsStaticFields()
|
/external/deqp/framework/platform/android/ |
D | tcuAndroidUtil.cpp | 269 FieldType getStaticField (JNIEnv* env, const char* className, const char* fieldName) in getStaticField() function 341 …<< ": " << getStaticField<string>(env, s_stringFields[ndx].classPath, s_stringFields[ndx].fieldNam… in describePlatform() 344 dst << "Build.VERSION.SDK_INT: " << getStaticField<int>(env, versionClass, "SDK_INT") << "\n"; in describePlatform() 347 …const vector<string> supportedAbis = getStaticField<vector<string> >(env, buildClass, "SUPPORTED_A… in describePlatform() 360 return getStaticField<vector<string> >(env, "android/os/Build", "SUPPORTED_ABIS"); in getSupportedABIs()
|
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/util/ |
D | ReflectionHelpers.java | 172 public static <R> R getStaticField(Field field) { 189 public static <R> R getStaticField(Class<?> clazz, String fieldName) { 191 return getStaticField(clazz.getDeclaredField(fieldName));
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowSQLiteConnectionTest.java | 177 CONNECTIONS = ReflectionHelpers.getStaticField(ShadowSQLiteConnection.class, "CONNECTIONS"); in getSQLiteConnection()
|
D | ShadowMediaPlayerTest.java | 1314 …Map<DataSource,Exception> exceptions = ReflectionHelpers.getStaticField(ShadowMediaPlayer.class, "… in testSetDataSourceExceptionWithWrongExceptionTypeAsserts()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/ |
D | DrawableResourceLoaderNoRunnerTest.java | 148 originalSeparator = ReflectionHelpers.getStaticField(field); in setFileSeparator()
|