/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowToast.java | 12 import org.robolectric.shadow.api.Shadow; 39 ShadowToast shadowToast = Shadow.extract(toast); in makeText() 46 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in show() 132 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in reset() 144 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in shownToastCount() 157 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in showedCustomToast() 174 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in showedToast() 176 ShadowToast shadowToast = Shadow.extract(toast); in showedToast() 191 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in getTextOfLatestToast() 197 ShadowToast shadowToast = Shadow.extract(latestToast); in getTextOfLatestToast() [all …]
|
D | ShadowBluetoothGatt.java | 15 import org.robolectric.shadow.api.Shadow; 25 Shadow.class.getClassLoader().loadClass("android.bluetooth.IBluetoothGatt"); in newInstance() 30 Shadow.newInstance( in newInstance() 42 Shadow.newInstance( in newInstance() 50 Shadow.newInstance( in newInstance() 58 Shadow.newInstance( in newInstance()
|
D | ShadowAlertDialog.java | 12 import org.robolectric.shadow.api.Shadow; 32 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in getLatestAlertDialog() 48 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in reset() 59 ShadowListView shadowListView = Shadow.extract(realAlertDialog.getListView()); in clickOnItem() 94 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in show() 121 return (ShadowAlertController) Shadow.extract(alertController); in getShadowAlertController()
|
D | ShadowViewGroup.java | 3 import static org.robolectric.shadow.api.Shadow.directlyOn; 13 import org.robolectric.shadow.api.Shadow; 26 ShadowLooper shadowLooper = Shadow.extract(Looper.getMainLooper()); in addView() 45 ShadowView shadowView = Shadow.extract(child); in innerText() 67 ShadowView shadowChild = Shadow.extract(child); in dump() 89 ShadowView shadowView = Shadow.extract(child); in removedChild()
|
D | ShadowDrawable.java | 22 import org.robolectric.shadow.api.Shadow; 49 ShadowBitmapDrawable shadowBitmapDrawable = Shadow.extract(drawable); in createFromStream() 91 ShadowBitmapDrawable shadowBitmapDrawable = Shadow.extract(drawable); in createFromPath() 99 ShadowBitmap shadowBitmap = Shadow.extract(bitmap); in createFromResourceId() 102 ShadowBitmapDrawable shadowBitmapDrawable = Shadow.extract(drawable); in createFromResourceId() 150 Shadow.directlyOn(realDrawable, Drawable.class).setAlpha(alpha); in setAlpha() 156 Shadow.directlyOn(realDrawable, Drawable.class, "invalidateSelf"); in invalidateSelf()
|
D | ShadowListPopupWindow.java | 3 import static org.robolectric.shadow.api.Shadow.directlyOn; 10 import org.robolectric.shadow.api.Shadow; 20 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in show() 26 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in getLatestListPopupWindow()
|
D | ShadowBitmapFactory.java | 4 import static org.robolectric.shadow.api.Shadow.directlyOn; 27 import org.robolectric.shadow.api.Shadow; 67 ShadowBitmap shadowBitmap = Shadow.extract(bitmap); in decodeResource() 80 ShadowBitmap shadowBitmap = Shadow.extract(bitmap); in decodeFile() 90 ShadowBitmap shadowBitmap = Shadow.extract(bitmap); in decodeFileDescriptor() 106 ShadowAssetInputStream sais = Shadow.extract(is); in decodeStream() 129 ShadowBitmap shadowBitmap = Shadow.extract(bitmap); in decodeStream() 137 ShadowBitmap shadowBitmap = Shadow.extract(bitmap); in decodeByteArray() 164 Bitmap bitmap = Shadow.newInstanceOf(Bitmap.class); in create() 165 ShadowBitmap shadowBitmap = Shadow.extract(bitmap); in create()
|
D | ShadowBitmap.java | 23 import org.robolectric.shadow.api.Shadow; 68 ShadowBitmap shadowBitmap = Shadow.extract(bitmap); in visualize() 214 ShadowBitmap shadowBitmap = Shadow.extract(scaledBitmap); in createBitmap() 230 ShadowBitmap shadowBitmap = Shadow.extract(src); in createBitmap() 243 ShadowBitmap shadowBitmap = Shadow.extract(scaledBitmap); in createScaledBitmap() 245 ShadowBitmap shadowSrcBitmap = Shadow.extract(src); in createScaledBitmap() 267 ShadowBitmap shadowBitmap = Shadow.extract(newBitmap); in createBitmap() 269 ShadowBitmap shadowSrcBitmap = Shadow.extract(src); in createBitmap() 305 ShadowBitmap shadowNewBitmap = Shadow.extract(newBitmap); in createBitmap() 307 ShadowBitmap shadowSrcBitmap = Shadow.extract(src); in createBitmap() [all …]
|
D | ShadowPopupMenu.java | 3 import static org.robolectric.shadow.api.Shadow.directlyOn; 10 import org.robolectric.shadow.api.Shadow; 45 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in getLatestPopupMenu() 51 ShadowApplication shadowApplication = Shadow.extract(RuntimeEnvironment.application); in setLatestPopupMenu()
|
D | ShadowBitmapDrawable.java | 3 import static org.robolectric.shadow.api.Shadow.directlyOn; 14 import org.robolectric.shadow.api.Shadow; 43 ShadowBitmapDrawable shadow = Shadow.extract(real); in mutate() 65 ShadowBitmap shadowBitmap = Shadow.extract(realBitmapDrawable.getBitmap()); in getCreatedFromResId()
|
D | ShadowInputDevice.java | 6 import org.robolectric.shadow.api.Shadow; 13 InputDevice inputDevice = Shadow.newInstanceOf(InputDevice.class); in makeInputDeviceNamed() 14 ShadowInputDevice shadowInputDevice = Shadow.extract(inputDevice); in makeInputDeviceNamed()
|
D | ShadowMessage.java | 6 import static org.robolectric.shadow.api.Shadow.directlyOn; 21 import org.robolectric.shadow.api.Shadow; 137 return Shadow.extract(looper); in shadowOf() 141 return Shadow.extract(mq); in shadowOf()
|
D | ShadowSensor.java | 8 import org.robolectric.shadow.api.Shadow; 19 Sensor sensor = Shadow.newInstanceOf(Sensor.class); in newInstance() 21 Shadow.directlyOn(sensor, Sensor.class, "setType", ClassParameter.from(int.class, type)); in newInstance()
|
D | ShadowAccessibilityWindowInfo.java | 16 import org.robolectric.shadow.api.Shadow; 68 final ShadowAccessibilityWindowInfo shadowInfo = Shadow.extract(window); in obtain() 78 final ShadowAccessibilityWindowInfo newShadow = Shadow.extract(newInfo); in getClone() 114 final ShadowAccessibilityWindowInfo shadow = Shadow.extract(wrapper.mInfo); in areThereUnrecycledWindows() 136 final ShadowAccessibilityWindowInfo otherShadow = Shadow.extract(window); in equals() 287 ((ShadowAccessibilityWindowInfo) Shadow.extract(child)).parent = in addChild()
|
/external/compiler-rt/lib/esan/ |
D | working_set.cpp | 92 byte *Shadow = (byte *)appToShadow(Addr); in processRangeAccessWorkingSet() local 94 while (I < NumLines && (uptr)Shadow % 4 != 0) { in processRangeAccessWorkingSet() 95 if ((*Shadow & ShadowAccessedVal) != ShadowAccessedVal) in processRangeAccessWorkingSet() 96 *Shadow |= ShadowAccessedVal; in processRangeAccessWorkingSet() 97 ++Shadow; in processRangeAccessWorkingSet() 106 if ((*(u32*)Shadow & WordValue) != WordValue) in processRangeAccessWorkingSet() 107 *(u32*)Shadow |= WordValue; in processRangeAccessWorkingSet() 108 Shadow += 4; in processRangeAccessWorkingSet() 113 if ((*Shadow & ShadowAccessedVal) != ShadowAccessedVal) in processRangeAccessWorkingSet() 114 *Shadow |= ShadowAccessedVal; in processRangeAccessWorkingSet() [all …]
|
/external/robolectric-shadows/processor/src/test/resources/org/robolectric/ |
D | Robolectric_InnerClassCollision.java | 15 import org.robolectric.shadow.api.Shadow; 32 return (ShadowDummy) Shadow.extract(actual); in shadowOf() 36 return (ShadowOuterDummy) Shadow.extract(actual); in shadowOf() 40 return (ShadowOuterDummy.ShadowInnerDummy) Shadow.extract(actual); in shadowOf() 44 return (ShadowUniqueDummy) Shadow.extract(actual); in shadowOf() 48 return (ShadowUniqueDummy.ShadowInnerDummy) Shadow.extract(actual); in shadowOf() 52 return (ShadowUniqueInnerDummy) Shadow.extract(actual); in shadowOf()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_update_shadow_word_inl.h | 30 if (Shadow::Addr0AndSizeAreEqual(cur, old)) { 33 if (Shadow::TidsAreEqual(old, cur)) { 50 if (Shadow::TwoRangesIntersect(old, cur, kAccessSize)) { 52 if (Shadow::TidsAreEqual(old, cur)) {
|
D | tsan_rtl.h | 159 friend class Shadow; 176 class Shadow : public FastState { 178 explicit Shadow(u64 x) in Shadow() function 182 explicit Shadow(const FastState &s) in Shadow() function 218 static inline bool TidsAreEqual(const Shadow s1, const Shadow s2) { in TidsAreEqual() 225 bool Addr0AndSizeAreEqual(const Shadow s1, const Shadow s2) { in Addr0AndSizeAreEqual() 230 static ALWAYS_INLINE bool TwoRangesIntersect(Shadow s1, Shadow s2, in TwoRangesIntersect() 307 static bool TwoRangesIntersectSlow(const Shadow s1, const Shadow s2) { in TwoRangesIntersectSlow() 561 void AddMemoryAccess(uptr addr, Shadow s, StackTrace stack, 663 u64 *shadow_mem, Shadow cur);
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowTest.java | 11 import org.robolectric.shadow.api.Shadow; 25 assertThat(Shadow.newInstanceOf(Activity.class.getName()).getClass().getClassLoader()) in newInstanceOf() 32 assertThat((ShadowActivity) Shadow.extract(activity)).isSameAs(shadowOf(activity)); in extractor() 38 assertThat(Shadow.<Object>extract(activity)).isSameAs(shadowOf(activity)); in otherDeprecated_extractor()
|
D | ShadowPaintTest.java | 13 import org.robolectric.shadow.api.Shadow; 20 Paint paint = Shadow.newInstanceOf(Paint.class); in shouldGetIsDitherInfo() 29 Paint paint = Shadow.newInstanceOf(Paint.class); in shouldGetIsAntiAlias() 59 Paint paint = Shadow.newInstanceOf(Paint.class); in shouldGetAndSetTextAlignment() 67 Paint paint = Shadow.newInstanceOf(Paint.class); in measureTextActuallyMeasuresLength()
|
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/ |
D | ThreadSafetyTest.java | 14 import org.robolectric.shadow.api.Shadow; 27 Object shadowFromThisThread = Shadow.extract(instrumentedThread); in shadowCreationShouldBeThreadsafe() 41 shadowFromOtherThread = Shadow.extract(this); in run() 50 Shadow.directlyOn(realObject, InstrumentedThread.class, "run"); in run()
|
D | RobolectricInternalsTest.java | 12 import org.robolectric.shadow.api.Shadow; 31 Shadow.invokeConstructor(Constructors.class, a); in getConstructor_withNoParams() 43 Shadow.invokeConstructor(Constructors.class, a, ClassParameter.from(String.class, PARAM1)); in getConstructor_withOneClassParam() 57 …Shadow.invokeConstructor(Constructors.class, a, ClassParameter.from(String.class, PARAM1), ClassPa… in getConstructor_withTwoClassParams() 74 …Shadow.invokeConstructor(Constructors.class, a, ClassParameter.from(String.class, PARAM1), ClassPa… in getConstructor_withThreeClassParams() 81 Object shadow = Shadow.extract(realObject); in shadowOf()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 301 Value *Shadow; member 320 void setShadow(Instruction *I, Value *Shadow); 325 void storeShadow(Value *Addr, uint64_t Size, uint64_t Align, Value *Shadow, 893 Value *&Shadow = ValShadowMap[V]; in getShadow() local 894 if (!Shadow) { in getShadow() 905 Shadow = IRB.CreateLoad(getArgTLS(A->getArgNo(), ArgTLSPos)); in getShadow() 913 Shadow = &*i; in getShadow() 914 assert(Shadow->getType() == DFS.ShadowTy); in getShadow() 918 NonZeroChecks.push_back(Shadow); in getShadow() 920 Shadow = DFS.ZeroShadow; in getShadow() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 401 Value *Shadow; member 419 void setShadow(Instruction *I, Value *Shadow); 424 void storeShadow(Value *Addr, uint64_t Size, uint64_t Align, Value *Shadow, 1005 Value *&Shadow = ValShadowMap[V]; in getShadow() local 1006 if (!Shadow) { in getShadow() 1017 Shadow = IRB.CreateLoad(getArgTLS(A->getArgNo(), ArgTLSPos)); in getShadow() 1025 Shadow = &*i; in getShadow() 1026 assert(Shadow->getType() == DFS.ShadowTy); in getShadow() 1030 NonZeroChecks.push_back(Shadow); in getShadow() 1032 Shadow = DFS.ZeroShadow; in getShadow() [all …]
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_shadow_test.cc | 19 TEST(Shadow, FastState) { in TEST() argument 20 Shadow s(FastState(11, 22)); in TEST() 49 TEST(Shadow, Mapping) { in TEST() argument 64 TEST(Shadow, Celling) { in TEST() argument
|