Home
last modified time | relevance | path

Searched refs:set (Results 1 – 25 of 680) sorted by relevance

12345678910>>...28

/frameworks/base/libs/utils/tests/
DBlobCache_test.cpp44 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
54 mBC->set("ab", 2, "cd", 2); in TEST_F()
55 mBC->set("ef", 2, "gh", 2); in TEST_F()
66 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
78 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
86 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
92 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
93 mBC->set("abcd", 4, "ijkl", 4); in TEST_F()
103 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
104 mBC->set("abcd", 4, buf, MAX_VALUE_SIZE+1); in TEST_F()
[all …]
/frameworks/base/core/java/android/net/
DNetworkStats.java65 private int[] set; field in NetworkStats
76 public int set; field in NetworkStats.Entry
93 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets, in Entry() argument
97 this.set = set; in Entry()
111 builder.append(" set=").append(setToString(set)); in toString()
127 this.set = new int[initialSize]; in NetworkStats()
141 set = parcel.createIntArray(); in NetworkStats()
156 dest.writeIntArray(set); in writeToParcel()
173 public NetworkStats addValues(String iface, int uid, int set, int tag, long rxBytes, in addValues() argument
176 iface, uid, set, tag, rxBytes, rxPackets, txBytes, txPackets, operations)); in addValues()
[all …]
/frameworks/base/core/java/com/google/android/collect/
DSets.java66 HashSet<E> set = new HashSet<E>(capacity); in newHashSet() local
67 Collections.addAll(set, elements); in newHashSet()
68 return set; in newHashSet()
88 SortedSet<E> set = new TreeSet<E>(); in newSortedSet() local
89 Collections.addAll(set, elements); in newSortedSet()
90 return set; in newSortedSet()
/frameworks/base/libs/hwui/
DVertex.h29 static inline void set(Vertex* vertex, float x, float y) { in set() function
42 static inline void set(TextureVertex* vertex, float x, float y, float u, float v) { in set() function
61 static inline void set(AlphaVertex* vertex, float x, float y, float alpha) { in set() function
62 Vertex::set(vertex, x, y); in set()
78 static inline void set(AAVertex* vertex, float x, float y, float width, float length) { in set() function
79 Vertex::set(vertex, x, y); in set()
DLayerRenderer.cpp47 dirty.set(0.0f, 0.0f, width, height); in prepareDirty()
153 TextureVertex::set(mesh++, r->left, r->top, u1, v1); in generateMesh()
154 TextureVertex::set(mesh++, r->right, r->top, u2, v1); in generateMesh()
155 TextureVertex::set(mesh++, r->left, r->bottom, u1, v2); in generateMesh()
156 TextureVertex::set(mesh++, r->right, r->bottom, u2, v2); in generateMesh()
193 layer->layer.set(0.0f, 0.0f, width, height); in createLayer()
194 layer->texCoords.set(0.0f, height / float(layer->getHeight()), in createLayer()
243 layer->layer.set(0.0f, 0.0f, width, height); in resizeLayer()
244 layer->texCoords.set(0.0f, height / float(layer->getHeight()), in resizeLayer()
266 layer->layer.set(0.0f, 0.0f, 0.0f, 0.0f); in createTextureLayer()
[all …]
DSnapshot.h67 mClipRectRoot.set(*s->clipRect); in Snapshot()
155 clipRect->set(r);
171 clipRect->set(left, top, right, bottom); in setClip()
179 mLocalClip.set(*clipRect); in getLocalClip()
192 clipRect->set(left, top, right, bottom); in resetClip()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfo.java54 Set<Class<?>> set = Sets.newHashSet(); in getTopLevelClassesRecursive() local
55 addTopLevelClassesTo(set); in getTopLevelClassesRecursive()
56 return set; in getTopLevelClassesRecursive()
59 private void addTopLevelClassesTo(Set<Class<?>> set) { in addTopLevelClassesTo() argument
60 set.addAll(topLevelClasses); in addTopLevelClassesTo()
62 info.addTopLevelClassesTo(set); in addTopLevelClassesTo()
/frameworks/base/tools/localize/
Dmerge_res_and_xliff.cpp8 static set<StringResource>::const_iterator
9 find_id(const set<StringResource>& s, const string& id, int index) in find_id()
11 for (set<StringResource>::const_iterator it = s.begin(); it != s.end(); it++) { in find_id()
19 static set<StringResource>::const_iterator
20 find_in_xliff(const set<StringResource>& s, const string& filename, const string& id, int index, in find_in_xliff()
23 for (set<StringResource>::const_iterator it = s.begin(); it != s.end(); it++) { in find_in_xliff()
34 printit(const set<StringResource>& s, const set<StringResource>::const_iterator& it) in printit()
77 set<StringResource> en_cur = en_currentFile->GetStrings(); in merge_res_and_xliff()
78 set<StringResource> xx_cur = xx_currentFile->GetStrings(); in merge_res_and_xliff()
79 set<StringResource> xx_old = xx_oldFile->GetStrings(); in merge_res_and_xliff()
[all …]
DValuesFile.h31 set<StringResource> GetStrings() const;
48 set<StringResource> m_strings;
49 map<string,set<StringResource> > m_arrays;
/frameworks/base/core/tests/systemproperties/src/android/os/
DSystemPropertiesTest.java31 SystemProperties.set(PERSIST_KEY, Long.toString(i)); in testStressPersistPropertyConsistency()
40 SystemProperties.set(KEY, Long.toString(i)); in testStressMemoryPropertyConsistency()
50 SystemProperties.set(KEY, ""); in testProperties()
54 SystemProperties.set(KEY, "SA"); in testProperties()
61 SystemProperties.set(KEY, ""); in testProperties()
/frameworks/base/libs/rs/
DrsMatrix3x3.cpp59 set(i, 0, ri0); in loadMultiply()
60 set(i, 1, ri1); in loadMultiply()
61 set(i, 2, ri2); in loadMultiply()
71 set(i, j, get(j, i)); in transpose()
72 set(j, i, temp); in transpose()
DrsFBOCache.cpp55 mHal.state.colorTargets[slot].set(a); in bindColorTarget()
66 mHal.state.depthTarget.set(a); in bindDepthTarget()
72 mHal.state.colorTargets[i].set(NULL); in resetAll()
74 mHal.state.depthTarget.set(NULL); in resetAll()
DrsLocklessFifo.cpp41 mSignalToWorker.set(); in shutdown()
113 mSignalToWorker.set(); in commit()
148 mSignalToControl.set(); in wait()
183 mSignalToControl.set(); in next()
200 mSignalToWorker.set(); in makeSpaceNonBlocking()
223 mSignalToWorker.set(); in makeSpace()
DrsObjectBase.h120 set(ref);
129 void set(T *ref) { in set() function
139 void set(const ObjectBaseRef &ref) { in set() function
140 set(ref.mRef); in set()
/frameworks/base/core/java/android/util/
DMonthDisplayHelper.java54 mCalendar.set(Calendar.YEAR, year); in MonthDisplayHelper()
55 mCalendar.set(Calendar.MONTH, month); in MonthDisplayHelper()
56 mCalendar.set(Calendar.DAY_OF_MONTH, 1); in MonthDisplayHelper()
57 mCalendar.set(Calendar.HOUR_OF_DAY, 0); in MonthDisplayHelper()
58 mCalendar.set(Calendar.MINUTE, 0); in MonthDisplayHelper()
59 mCalendar.set(Calendar.SECOND, 0); in MonthDisplayHelper()
/frameworks/base/voip/java/android/net/sip/
DSimpleSessionDescription.java301 super.set("a=rtpmap:" + format, ' ', null); in setFormat()
302 super.set("a=fmtp:" + format, ' ', fmtp); in setFormat()
310 super.set("a=rtpmap:" + format, ' ', null); in removeFormat()
311 super.set("a=fmtp:" + format, ' ', null); in removeFormat()
355 super.set("a=rtpmap:" + format, ' ', rtpmap); in setRtpPayload()
356 super.set("a=fmtp:" + format, ' ', fmtp); in setRtpPayload()
422 set("c", '=', address); in setAddress()
454 set("k", '=', (method == null || key == null) ? in setEncryption()
485 set("b=" + type, ':', (value < 0) ? null : String.valueOf(value)); in setBandwidth()
509 set("a=" + name, ':', value); in setAttribute()
[all …]
/frameworks/base/core/java/android/hardware/
DCamera.java1819 public void set(String key, String value) { in set() method in Camera.Parameters
1838 public void set(String key, int value) { in set() method in Camera.Parameters
1842 private void set(String key, List<Area> areas) { in set() method in Camera.Parameters
1844 set(key, "(0,0,0,0,0)"); in set()
1863 set(key, buffer.toString()); in set()
1912 set(KEY_PREVIEW_SIZE, v); in setPreviewSize()
1990 set(KEY_JPEG_THUMBNAIL_WIDTH, width); in setJpegThumbnailSize()
1991 set(KEY_JPEG_THUMBNAIL_HEIGHT, height); in setJpegThumbnailSize()
2024 set(KEY_JPEG_THUMBNAIL_QUALITY, quality); in setJpegThumbnailQuality()
2043 set(KEY_JPEG_QUALITY, quality); in setJpegQuality()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DTimeUtilsTest.java45 c.set(2008, Calendar.OCTOBER, 20, 12, 00, 00); in testMainstream()
49 c.set(2009, Calendar.JANUARY, 20, 12, 00, 00); in testMainstream()
66 c.set(2008, Calendar.OCTOBER, 20, 12, 00, 00); in testWeird()
82 c.set(2005, Calendar.OCTOBER, 20, 12, 00, 00); in testOld()
396 c.set(2009, Calendar.JULY, 20, 12, 00, 00); in testWorld()
400 c.set(2009, Calendar.JANUARY, 20, 12, 00, 00); in testWorld()
420 c.set(2009, Calendar.JULY, 20, 12, 00, 00); in testWorldWeird()
/frameworks/base/core/java/android/os/
DSystemService.java24 SystemProperties.set("ctl.start", name); in start()
29 SystemProperties.set("ctl.stop", name); in stop()
34 SystemProperties.set("ctl.restart", name); in restart()
/frameworks/base/core/java/android/content/
DIntentFilter.java246 private static int findStringInSet(String[] set, String string, in findStringInSet() argument
248 if (set == null) return -1; in findStringInSet()
251 if (set[i].equals(string)) return i; in findStringInSet()
256 private static String[] addStringToSet(String[] set, String string, in addStringToSet() argument
258 if (findStringInSet(set, string, lengths, lenPos) >= 0) return set; in addStringToSet()
259 if (set == null) { in addStringToSet()
260 set = new String[2]; in addStringToSet()
261 set[0] = string; in addStringToSet()
263 return set; in addStringToSet()
266 if (N < set.length) { in addStringToSet()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/format/
DTimeTest.java185 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1()
202 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1()
207 local.set(millis); in testNormalize1()
224 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1()
245 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1()
252 local.set(millis); in testNormalize1()
334 t.set(0, 0, 0, 1, 1, 2006); in testMillis0()
337 t.set(1, 0, 0, 1, 1, 2006); in testMillis0()
345 t.set(1, 0, 0, 1, 0, 1970); in testMillis1()
442 t.set(1000L); in testSet0()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DAbsActionBarView.java134 AnimatorSet set = new AnimatorSet(); in animateToVisibility() local
137 set.addListener(mVisAnimListener.withFinalVisibility(visibility)); in animateToVisibility()
138 set.play(anim).with(splitAnim); in animateToVisibility()
139 set.start(); in animateToVisibility()
149 AnimatorSet set = new AnimatorSet(); in animateToVisibility() local
152 set.addListener(mVisAnimListener.withFinalVisibility(visibility)); in animateToVisibility()
153 set.play(anim).with(splitAnim); in animateToVisibility()
154 set.start(); in animateToVisibility()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListWithDisappearingItemBug.java61 AnimationSet set = new AnimationSet(true); in onCreate() local
65 set.addAnimation(animation); in onCreate()
72 set.addAnimation(animation); in onCreate()
75 new LayoutAnimationController(set, 0.5f); in onCreate()
/frameworks/base/core/tests/coretests/src/android/os/
DSystemPropertiesTest.java32 SystemProperties.set(KEY, ""); in testProperties()
36 SystemProperties.set(KEY, "AAA"); in testProperties()
43 SystemProperties.set(KEY, ""); in testProperties()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DRequestRectangleVisible.java61 rect.set(0, 0, childToMakeVisible.getLeft(), childToMakeVisible.getHeight()); in onCreate()
69 rect.set(0, 0, topBlob.getWidth(), topBlob.getHeight()); in onCreate()
77 rect.set(0, 0, childToMakeVisible.getLeft(), childToMakeVisible.getHeight()); in onCreate()
85 rect.set(0, 0, bottomBlob.getWidth(), bottomBlob.getHeight()); in onCreate()

12345678910>>...28