Home
last modified time | relevance | path

Searched refs:before (Results 1 – 25 of 359) sorted by relevance

12345678910>>...15

/frameworks/av/media/libmedia/
DSingleStateQueue.cpp66 int32_t before = shared->mSequence; in poll() local
67 if (before == mSequence) { in poll()
72 if (before & 1) { in poll()
76 before = shared->mSequence; in poll()
81 if (after == before) { in poll()
83 shared->mAck = before; in poll()
84 mSequence = before; in poll()
90 before = after; in poll()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRootCursorWrapper.java57 final String[] before = cursor.getColumnNames(); in RootCursorWrapper() local
58 mColumnNames = new String[before.length + 2]; in RootCursorWrapper()
59 System.arraycopy(before, 0, mColumnNames, 0, before.length); in RootCursorWrapper()
60 mAuthorityIndex = before.length; in RootCursorWrapper()
61 mRootIdIndex = before.length + 1; in RootCursorWrapper()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java57 long before = System.currentTimeMillis(); in testAddText() local
68 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before); in testAddText()
73 assertTrue(e0.getTimeMillis() > before); in testAddText()
91 long before = System.currentTimeMillis();
95 DropBoxManager.Entry e = dropbox.getNextEntry("DropBoxTest", before);
99 assertTrue(e.getTimeMillis() >= before);
111 long before = System.currentTimeMillis();
141 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before);
147 assertTrue(e0.getTimeMillis() > before);
178 long before = System.currentTimeMillis(); in testAddEntriesInTheFuture() local
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkStatsTest.java119 final NetworkStats before = new NetworkStats(TEST_START, 2) in testSubtractIdenticalData() local
127 final NetworkStats result = after.subtract(before); in testSubtractIdenticalData()
135 final NetworkStats before = new NetworkStats(TEST_START, 2) in testSubtractIdenticalRows() local
143 final NetworkStats result = after.subtract(before); in testSubtractIdenticalRows()
151 final NetworkStats before = new NetworkStats(TEST_START, 2) in testSubtractNewRows() local
160 final NetworkStats result = after.subtract(before); in testSubtractNewRows()
169 final NetworkStats before = new NetworkStats(TEST_START, 2) in testSubtractMissingRows() local
176 final NetworkStats result = after.subtract(before); in testSubtractMissingRows()
282 final NetworkStats before = new NetworkStats(TEST_START, 3) in testWithoutUid() local
290 final NetworkStats after = before.withoutUids(new int[] { 100 }); in testWithoutUid()
[all …]
DNetworkStatsHistoryTest.java381 final NetworkStatsHistory before = new NetworkStatsHistory(MINUTE_IN_MILLIS, 40, FIELD_ALL); in testSerialize() local
382 before.recordData(0, 4 * MINUTE_IN_MILLIS, in testSerialize()
384 before.recordData(DAY_IN_MILLIS, DAY_IN_MILLIS + MINUTE_IN_MILLIS, in testSerialize()
388 before.writeToStream(new DataOutputStream(out)); in testSerialize()
395 assertFullValues(before, 5 * MINUTE_IN_MILLIS, 1034L, 30L, 2078L, 60L, 54L); in testSerialize()
455 NetworkStatsHistory stats, int before, int after, long time) { in assertIndexBeforeAfter() argument
456 assertEquals("unexpected before", before, stats.getIndexBefore(time)); in assertIndexBeforeAfter()
460 private static long performVarLong(long before) throws Exception { in performVarLong() argument
462 writeVarLong(new DataOutputStream(out), before); in performVarLong()
/frameworks/base/core/java/android/text/
DDynamicLayout.java189 private void reflow(CharSequence s, int where, int before, int after) { in reflow() argument
206 before += diff; in reflow()
220 before += change; in reflow()
243 before += diff; in reflow()
252 before += diff; in reflow()
264 int endline = getLineForOffset(where + before); in reflow()
318 mInts.adjustValuesBelow(startline, START, after - before); in reflow()
635 private void reflow(CharSequence s, int where, int before, int after) { in reflow() argument
639 ml.reflow(s, where, before, after); in reflow()
644 public void beforeTextChanged(CharSequence s, int where, int before, int after) { in beforeTextChanged() argument
[all …]
DTextWatcher.java40 public void onTextChanged(CharSequence s, int start, int before, int count); in onTextChanged() argument
/frameworks/compile/mclinker/
Dmcld.mk2 $(error Must set variable MCLD_ROOT_PATH before including this! $(LOCAL_PATH))
9 $(error Must set variable LLVM_ROOT_PATH before including this! $(LOCAL_PATH))
/frameworks/base/services/core/java/com/android/server/am/
DUriPermission.java152 final int before = persistedModeFlags; in takePersistableModes() local
160 return persistedModeFlags != before; in takePersistableModes()
167 final int before = persistedModeFlags; in releasePersistableModes() local
177 return persistedModeFlags != before; in releasePersistableModes()
188 final int before = persistedModeFlags; in revokeModes() local
224 return persistedModeFlags != before; in revokeModes()
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
DSubActivity.java30 long before = SystemClock.currentThreadTimeMillis(); in onCreate() local
34 while (SystemClock.currentThreadTimeMillis() - before < 100) { in onCreate()
/frameworks/base/docs/html/training/multiple-apks/
Dindex.jd43 and know how to catch mistakes <em>before</em> your app goes live.</p>
53 configuration using the <code>aapt</code> tool before pushing live.</dd>
58 using the <code>aapt</code> tool before pushing live.</dd>
63 configuration using the <code>aapt</code> tool before pushing live.</dd>
69 manifest, and how to investigate your APK configuration using the <code>aapt</code> tool before
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DStaggeredGridLayoutManagerTest.java560 Map<Item, Rect> before = mLayoutManager.collectChildCoordinates(); in testSpanReassignmentsOnItemChange() local
563 for (Map.Entry<Item, Rect> entry : before.entrySet()) { in testSpanReassignmentsOnItemChange()
571 + "should not affect the layout if it is not visible", before, in testSpanReassignmentsOnItemChange()
579 + "layout", before, mLayoutManager.collectChildCoordinates()); in testSpanReassignmentsOnItemChange()
824 Map<Item, Rect> before = mLayoutManager.collectChildCoordinates(); in savedStateTest() local
864 before, mLayoutManager.collectChildCoordinates() in savedStateTest()
884 Map<Item, Rect> before = mLayoutManager.collectChildCoordinates(); in scrollToPositionWithOffsetTest() local
887 before, mLayoutManager.collectChildCoordinates()); in scrollToPositionWithOffsetTest()
1158 Map<Item, Rect> before = mLayoutManager.collectChildCoordinates(); in scrollByTest() local
1164 before, after in scrollByTest()
[all …]
DLinearLayoutManagerTest.java156 Map<Item, Rect> before = mLayoutManager.collectChildCoordinates(); in scrollToPositionWithOffsetTest() local
164 before, mLayoutManager.collectChildCoordinates()); in scrollToPositionWithOffsetTest()
740 Map<Item, Rect> before = mLayoutManager.collectChildCoordinates(); in savedStateTest() local
782 before, mLayoutManager.collectChildCoordinates()); in savedStateTest()
788 before, mLayoutManager.collectChildCoordinates()); in savedStateTest()
803 public void assertRectSetsNotEqual(String message, Map<Item, Rect> before, in assertRectSetsNotEqual() argument
807 assertRectSetsEqual("NOT " + message, before, after); in assertRectSetsNotEqual()
814 public void assertRectSetsEqual(String message, Map<Item, Rect> before, Map<Item, Rect> after) { in assertRectSetsEqual() argument
818 for (Map.Entry<Item, Rect> entry : before.entrySet()) { in assertRectSetsEqual()
826 assertEquals(message + ":\nitem counts should be equal", before.size() in assertRectSetsEqual()
[all …]
/frameworks/base/docs/html/sdk/installing/
Dadding-packages.jd18 ol.large > li:before {
34 ol.large > li:nth-child(1):before {
37 ol.large > li:nth-child(2):before {
40 ol.large > li:nth-child(3):before {
43 ol.large > li:nth-child(4):before {
46 ol.large > li:nth-child(5):before {
49 ol.large > li:nth-child(6):before {
60 So before you can start, there are a few packages you should add to your Android SDK.</p>
/frameworks/base/tools/preload/
DRecord.java152 String before = result.substring(0, offset); in decode() local
156 result = String.format("%s%c%s", before, Integer.parseInt(escaped, 16), after); in decode()
/frameworks/base/core/java/android/content/
DSyncRequest.java320 private void setupInterval(long at, long before) { in setupInterval() argument
321 if (before > at) { in setupInterval()
326 mSyncFlexTimeSecs = before; in setupInterval()
/frameworks/base/services/core/java/com/android/server/
DDiskStatsService.java56 long before = SystemClock.uptimeMillis(); in dump() local
74 pw.print(after - before); in dump()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DChildHelper.java405 final long before = mData & mask; in insert() local
407 mData = before | after; in insert()
429 final long before = mData & mask; in remove() local
432 mData = before | after; in remove()
/frameworks/base/docs/html/tools/testing/
Dservice_testing.jd88 allows you to set up your test environment, particularly your mock objects, before the Service
100 is called before each test. It sets up the test fixture by making a copy of the current system
101 Context before any test methods touch it. You can retrieve this Context by calling
108 a mock Context or mock Application (or both) for the Service, before you start it. These mock
114 the base test case class successfully set up a Context before running.
120 rest of the system. If you don't provide your own instances of these objects before you
123 injecting your own instances before starting the Service
/frameworks/compile/libbcc/
Dlibbcc.mk18 $(error Must set variable LIBBCC_ROOT_PATH before including this! $(LOCAL_PATH))
/frameworks/base/core/tests/systemproperties/
Drun_core_systemproperties_test.sh12 echo You must lunch before running this test.
/frameworks/base/core/jni/android/graphics/
DShader.cpp45 #error Need to convert float array to SkScalar array before calling the following function. in Color_HSVToColor()
104 #error Need to convert float array to SkScalar array before calling the following function. in LinearGradient_create1()
148 #error Need to convert float array to SkScalar array before calling the following function. in RadialGradient_create1()
187 #error Need to convert float array to SkScalar array before calling the following function. in SweepGradient_create1()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagRelocations.inc1 …Fatal, "Please call mcld::Linker::config before creating relocations", "Please call mcld::Linker::…
/frameworks/base/core/tests/inputmethodtests/
Drun_core_inputmethod_test.sh12 echo You must lunch before running this test.
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java461 public static String replaceEnd(String str, String before, String after) { in replaceEnd() argument
462 if (!str.endsWith(before)) { in replaceEnd()
464 "Expected " + str + " to end with " + before); in replaceEnd()
466 return str.substring(0, str.length() - before.length()) + after; in replaceEnd()

12345678910>>...15