/frameworks/base/services/net/java/android/net/util/ |
H A D | PacketReader.java | 45 * [1] start() calls createFd() and (if all goes well) onStart() 96 public final void start() { method in class:PacketReader 101 logError("start() called from off-thread", null); 153 * Called by start(), if successful, just prior to returning.
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | AccessibilityGestureDetectorTest.java | 156 /** Fill in movement points from start to end, appending points to path. */ 157 private void fillPath(PointF start, PointF end, ArrayList<PointF> path) { argument 159 float deltaX = end.x - start.x; 160 float deltaY = end.y - start.y; 166 // For each path step from start (non-inclusive) to end ... add a motion point. 169 (start.x + (stepX * (float) step)), 170 (start.y + (stepY * (float) step))));
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | InstallerTest.java | 57 public void start() { method in class:InstallerTest.Timer 119 mManual.start(); 124 mQuota.start(); 141 mManual.start(); 146 mQuota.start(); 159 mManual.start(); 163 mQuota.start();
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | RateEstimatorTest.java | 73 long eventStart = mTestStartTime + 1000; // start event a long time after initialization 82 long eventStart = mTestStartTime + 1000; // start event a long time after initialization 91 long eventStart = mTestStartTime + 1000; // start event a long time after initialization 100 long eventStart = mTestStartTime + 1000; // start event a long time after initialization 110 long eventStart = mTestStartTime + 1000; // start event a long time after initialization 119 long eventStart = mTestStartTime + 1000; // start event a long time after initialization 147 private long postEvents(long start, long dt, int num) { argument 148 long time = start;
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
H A D | ServiceInfo.java | 53 String newServiceId, Date start, Date end) { 56 || start == null || end == null) { 71 sessionStartTime = (Date)start.clone(); 170 * The start time indicating when this service will be available. 52 ServiceInfo(Map<Locale, String> newNames, String newClassName, List<Locale> newLocales, String newServiceId, Date start, Date end) argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | ExponentialBackoff.java | 82 public void start() { method in class:ExponentialBackoff
|
/frameworks/base/test-runner/src/junit/textui/ |
H A D | TestRunner.java | 67 * This method can be used to start a test run 138 TestResult r= aTestRunner.start(args); 152 public TestResult start(String args[]) throws Exception { method in class:TestRunner
|
/frameworks/base/tests/JankBench/app/src/main/jni/ |
H A D | test.cpp | 126 uint64_t start = GetTime(); local 127 while((GetTime() - start) < 1000000000) {
|
/frameworks/base/tools/aapt2/compile/ |
H A D | Image.h | 67 * A range of pixel values, starting at 'start' and ending before 'end' 71 int32_t start = 0; member in struct:aapt::Range 75 inline explicit Range(int32_t s, int32_t e) : start(s), end(e) {} 79 return left.start == right.start && left.end == right.end;
|
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
H A D | LockFindingClassVisitor.java | 199 LabelNode start = new LabelNode(); 200 instructions.insert(node, start); 203 updateCatchHandler(mn, handlers, start, end, handlersMap); 221 LabelNode start = new LabelNode(); 222 instructions.insert(node, start); 226 updateCatchHandler(mn, handlers, start, end, handlersMap); 231 LabelNode start, LabelNode end, List<List<TryCatchBlockNode>> handlersMap) { 239 if (!(instructions.indexOf(handler.start) <= instructions.indexOf(start) 242 new TryCatchBlockNode(start, en 230 updateCatchHandler(MethodNode mn, List<TryCatchBlockNode> handlers, LabelNode start, LabelNode end, List<List<TryCatchBlockNode>> handlersMap) argument [all...] |
/frameworks/base/tools/split-select/ |
H A D | RuleGenerator.cpp | 80 Vector<abi::Variant>::const_iterator start = local 85 end = std::find(start, familyVariants.end(), splitAbis[index + 1]); 91 while (start != end) { 92 abiRule->stringArgs.add(String8(abi::toString(*start))); 93 ++start;
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/ |
H A D | Location.java | 35 * Note that, unlike antlr4 tokens, the line positions start from 0 (to be compatible with Studio). 37 * Both start and end line/column indices are inclusive. 65 public Location(Token start, Token end) { argument 66 if (start == null) { 69 startLine = start.getLine() - 1; //token lines start from 1 70 startOffset = start.getCharPositionInLine(); 76 endLine = end.getLine() - 1; // token lines start from 1 203 String start = str.substring(0, glue); 207 parsePoint(start, poin [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | ObservableArrayListTest.java | 49 public void onItemRangeChanged(ObservableList sender, int start, int count) { 50 mNotifications.add(new ListChange(CHANGE, start, count)); 54 public void onItemRangeInserted(ObservableList sender, int start, int count) { 55 mNotifications.add(new ListChange(INSERT, start, count)); 64 public void onItemRangeRemoved(ObservableList sender, int start, int count) { 65 mNotifications.add(new ListChange(REMOVE, start, count)); 71 public ListChange(int change, int start, int count) { argument 72 this.start = start; 83 this.start 87 public final int start; field in class:ObservableArrayListTest.ListChange [all...] |
/frameworks/layoutlib/bridge/src/android/text/ |
H A D | OptimizingLineBreaker.java | 155 private LineMetrics computeMetrics(int start, int end) { argument 158 for (int i = start; i < end; i++) { 183 private int desperateBreak(int start, int limit, float maxWidth, argument 188 for (int i = start; i < limit; i++) { 206 if (i > start && 216 lineMetrics.mHasTabs = (start <= firstTabIndex && firstTabIndex < breakIndex);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | SparseWeakArray.java | 306 private static int binarySearch(long[] a, int start, int len, long key) { argument 307 int high = start + len, low = start - 1, guess; 318 if (high == start + len) 319 return ~(start + len);
|
/frameworks/minikin/include/minikin/ |
H A D | Range.h | 31 // start must be smaller than or equal to end otherwise the behavior is undefined. 32 Range(uint32_t start, uint32_t end) : mStart(start), mEnd(end) {} argument 42 inline void setStart(uint32_t start) { mStart = start; } // inclusive argument
|
/frameworks/minikin/libs/minikin/ |
H A D | WordBreaker.h | 115 const uint32_t start = wordStart(); local 117 return start < end ? Range(start, end) : Range(end, end);
|
/frameworks/minikin/tests/util/ |
H A D | FontTestUtils.cpp | 40 const size_t start = in.find_first_not_of(XML_SPACES); // inclusive local 42 MINIKIN_ASSERT(start != std::string::npos, "Not a valid file name \"%s\"", in.c_str()); 44 return in.substr(start, end - start + 1 /* +1 since end is inclusive */);
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
H A D | InvisibleRecipientChip.java | 96 public void draw(final Canvas canvas, final CharSequence text, final int start, final int end, argument 102 public int getSize(final Paint paint, final CharSequence text, final int start, final int end, argument
|
H A D | ReplacementDrawableSpan.java | 51 public void draw(Canvas canvas, CharSequence charSequence, int start, int end, float x, int top, argument
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
H A D | EthernetServiceImpl.java | 78 public void start() { method in class:EthernetServiceImpl 82 handlerThread.start(); 86 mTracker.start();
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/ |
H A D | NavigationBarButton.java | 73 public void setCompoundDrawablesRelative(Drawable start, Drawable top, Drawable end, argument 75 if (start != null) start = TintedDrawable.wrap(start); 79 super.setCompoundDrawablesRelative(start, top, end, bottom); 110 drawables[4] = compoundDrawablesRelative[0]; // start
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | GlifListLayout.java | 124 * Sets the start inset of the divider. This will use the default divider drawable set in the 127 * @param start The number of pixels to inset on the "start" side of the list divider. Typically 134 public void setDividerInsets(int start, int end) { argument 135 mListMixin.setDividerInsets(start, end);
|
H A D | SetupWizardListLayout.java | 108 * Sets the start inset of the divider. This will use the default divider drawable set in the 111 * @param inset The number of pixels to inset on the "start" side of the list divider. Typically 124 * Sets the start inset of the divider. This will use the default divider drawable set in the 127 * @param start The number of pixels to inset on the "start" side of the list divider. Typically 134 public void setDividerInsets(int start, int end) { argument 135 mListMixin.setDividerInsets(start, end);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
H A D | ListMixin.java | 157 * Sets the start inset of the divider. This will use the default divider drawable set in the 160 * @param start The number of pixels to inset on the "start" side of the list divider. Typically 165 public void setDividerInsets(int start, int end) { argument 166 mDividerInsetStart = start; 172 * @return The number of pixels inset on the start side of the divider. 181 * @return The number of pixels inset on the start side of the divider. 209 mDividerInsetStart /* start */,
|