Home
last modified time | relevance | path

Searched refs:o (Results 1 – 25 of 167) sorted by relevance

1234567

/frameworks/base/core/java/android/os/
DBundle.java165 Object o = mMap.values().iterator().next(); in getPairValue() local
167 return (String) o; in getPairValue()
169 typeWarning("getPairValue()", o, "String", e); in getPairValue()
796 Object o = mMap.get(key); in getBoolean() local
797 if (o == null) { in getBoolean()
801 return (Boolean) o; in getBoolean()
803 typeWarning(key, o, "Boolean", defaultValue, e); in getBoolean()
829 Object o = mMap.get(key); in getByte() local
830 if (o == null) { in getByte()
834 return (Byte) o; in getByte()
[all …]
/frameworks/base/include/utils/
DResourceTypes.h984 inline void copyFromDeviceNoSwap(const ResTable_config& o) { in copyFromDeviceNoSwap()
985 const size_t size = dtohl(o.size); in copyFromDeviceNoSwap()
987 *this = o; in copyFromDeviceNoSwap()
989 memcpy(this, &o, size); in copyFromDeviceNoSwap()
994 inline void copyFromDtoH(const ResTable_config& o) { in copyFromDtoH()
995 copyFromDeviceNoSwap(o); in copyFromDtoH()
1023 inline int compare(const ResTable_config& o) const { in compare()
1024 int32_t diff = (int32_t)(imsi - o.imsi); in compare()
1026 diff = (int32_t)(locale - o.locale); in compare()
1028 diff = (int32_t)(screenType - o.screenType); in compare()
[all …]
DRefBase.h38 inline bool operator _op_ (const sp<T>& o) const { \
39 return m_ptr _op_ o.m_ptr; \
41 inline bool operator _op_ (const T* o) const { \
42 return m_ptr _op_ o; \
45 inline bool operator _op_ (const sp<U>& o) const { \
46 return m_ptr _op_ o.m_ptr; \
49 inline bool operator _op_ (const U* o) const { \
50 return m_ptr _op_ o; \
154 RefBase(const RefBase& o);
155 RefBase& operator=(const RefBase& o);
[all …]
DStrongPointer.h37 inline bool operator _op_ (const sp<T>& o) const { \
38 return m_ptr _op_ o.m_ptr; \
40 inline bool operator _op_ (const T* o) const { \
41 return m_ptr _op_ o; \
44 inline bool operator _op_ (const sp<U>& o) const { \
45 return m_ptr _op_ o.m_ptr; \
48 inline bool operator _op_ (const U* o) const { \
49 return m_ptr _op_ o; \
51 inline bool operator _op_ (const wp<T>& o) const { \
52 return m_ptr _op_ o.m_ptr; \
[all …]
/frameworks/base/core/java/android/util/
DDisplayMetrics.java157 public void setTo(DisplayMetrics o) { in setTo() argument
158 widthPixels = o.widthPixels; in setTo()
159 heightPixels = o.heightPixels; in setTo()
160 density = o.density; in setTo()
161 densityDpi = o.densityDpi; in setTo()
162 scaledDensity = o.scaledDensity; in setTo()
163 xdpi = o.xdpi; in setTo()
164 ydpi = o.ydpi; in setTo()
165 noncompatWidthPixels = o.noncompatWidthPixels; in setTo()
166 noncompatHeightPixels = o.noncompatHeightPixels; in setTo()
[all …]
DPair.java44 public boolean equals(Object o) { in equals() argument
45 if (o == this) return true; in equals()
46 if (!(o instanceof Pair)) return false; in equals()
49 other = (Pair<F, S>) o; in equals()
/frameworks/base/libs/rs/
DrsObjectBase.cpp205 const ObjectBase * o = rsc->mObjHead; in zeroAllUserRef() local
206 while (o) { in zeroAllUserRef()
208 if (o->zeroUserRef()) { in zeroAllUserRef()
210 o = rsc->mObjHead; in zeroAllUserRef()
213 o = o->mNext; in zeroAllUserRef()
230 ObjectBase * o = (ObjectBase *)rsc->mObjHead; in freeAllChildren() local
231 while (o) { in freeAllChildren()
232 if (o->freeChildren()) { in freeAllChildren()
234 o = (ObjectBase *)rsc->mObjHead; in freeAllChildren()
236 o = (ObjectBase *)o->mNext; in freeAllChildren()
[all …]
/frameworks/base/core/java/android/view/
DWindowManager.java1275 public final int copyFrom(LayoutParams o) { in copyFrom() argument
1278 if (width != o.width) { in copyFrom()
1279 width = o.width; in copyFrom()
1282 if (height != o.height) { in copyFrom()
1283 height = o.height; in copyFrom()
1286 if (x != o.x) { in copyFrom()
1287 x = o.x; in copyFrom()
1290 if (y != o.y) { in copyFrom()
1291 y = o.y; in copyFrom()
1294 if (horizontalWeight != o.horizontalWeight) { in copyFrom()
[all …]
/frameworks/compile/linkloader/tests/images/
Dgen-test-elf.sh19 clang -integrated-as -std=c89 -c test.c -o test-tegra2.o -ccc-host-triple armv7-none-linux-gnueabi …
20 clang -integrated-as -std=c89 -c test.c -o test-arm.o -ccc-host-triple armv7-none-linux-gnueabi
21 clang -integrated-as -std=c89 -c test.c -o test-x86_32.o -ccc-host-triple i686-none-linux
22 clang -integrated-as -std=c89 -c test.c -o test-x86_64.o -ccc-host-triple x86_64-none-linux
24 clang -integrated-as -std=c89 -c simple-test.c -o simple-test-arm.o -ccc-host-triple armv7-none-lin…
25 clang -integrated-as -std=c89 -c simple-test.c -o simple-test-x86_32.o -ccc-host-triple i686-none-l…
26 clang -integrated-as -std=c89 -c simple-test.c -o simple-test-x86_64.o -ccc-host-triple x86_64-none…
28 clang -integrated-as -std=c89 -c rodata-test.c -o rodata-test-tegra2.o -ccc-host-triple armv7-none-…
29 clang -integrated-as -std=c89 -c rodata-test.c -o rodata-test-arm.o -ccc-host-triple armv7-none-lin…
30 clang -integrated-as -std=c89 -c rodata-test.c -o rodata-test-x86_32.o -ccc-host-triple i686-none-l…
[all …]
/frameworks/base/tools/aapt/
DResourceTable.h231 Item(const Item& o) : sourcePos(o.sourcePos), in Item() argument
232 isId(o.isId), value(o.value), style(o.style), in Item()
233 format(o.format), bagKeyId(o.bagKeyId), evaluating(false) { in Item()
238 Item& operator=(const Item& o) {
239 sourcePos = o.sourcePos;
240 isId = o.isId;
241 value = o.value;
242 style = o.style;
243 format = o.format;
244 bagKeyId = o.bagKeyId;
[all …]
DAaptAssets.h107 int compare(const AaptGroupEntry& o) const;
111 inline bool operator<(const AaptGroupEntry& o) const { return compare(o) < 0; }
112 inline bool operator<=(const AaptGroupEntry& o) const { return compare(o) <= 0; }
113 inline bool operator==(const AaptGroupEntry& o) const { return compare(o) == 0; }
114 inline bool operator!=(const AaptGroupEntry& o) const { return compare(o) != 0; }
115 inline bool operator>=(const AaptGroupEntry& o) const { return compare(o) >= 0; }
116 inline bool operator>(const AaptGroupEntry& o) const { return compare(o) > 0; }
336 AaptSymbolEntry(const AaptSymbolEntry& o) in AaptSymbolEntry() argument
337 : name(o.name), sourcePos(o.sourcePos), isPublic(o.isPublic) in AaptSymbolEntry()
338 , comment(o.comment), typeComment(o.typeComment) in AaptSymbolEntry()
[all …]
DStringPool.h44 entry(const entry& o) : value(o.value), offset(o.offset), indices(o.indices) { } in entry()
59 entry_style(const entry_style& o) : offset(o.offset), spans(o.spans) { } in entry_style()
/frameworks/compile/libbcc/tests/data/src/
Dotcc-ansi.c12 void o() { in o() function
29 o(); in Y()
39 o(); in ad()
49 o(); in ad()
54 o(); in ad()
63 o(); in ad()
78 o(); in ad()
84 o(); in ad()
89 o(); in ad()
90 o(); in ad()
[all …]
Dotcc-noinclude.c23 o f{
38 o f;
46 o f;
56 o f;
61 o f;
70 o f;
86 o f;
93 o f;
98 o f;
99 o f;
[all …]
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLDisplayImpl.java29 public boolean equals(Object o) { in equals() argument
30 if (this == o) return true; in equals()
31 if (o == null || getClass() != o.getClass()) return false; in equals()
33 EGLDisplayImpl that = (EGLDisplayImpl) o; in equals()
DEGLSurfaceImpl.java34 public boolean equals(Object o) { in equals() argument
35 if (this == o) return true; in equals()
36 if (o == null || getClass() != o.getClass()) return false; in equals()
38 EGLSurfaceImpl that = (EGLSurfaceImpl) o; in equals()
DEGLContextImpl.java37 public boolean equals(Object o) { in equals() argument
38 if (this == o) return true; in equals()
39 if (o == null || getClass() != o.getClass()) return false; in equals()
41 EGLContextImpl that = (EGLContextImpl) o; in equals()
/frameworks/base/tools/preload/
DProc.java92 Operation o = new Operation( in startOperation() local
94 operations.add(o); in startOperation()
103 stack.getLast().subops.add(o); in startOperation()
106 stack.add(o); in startOperation()
125 Operation o = stack.getLast(); in endOperation() local
126 if (loadedClass != o.loadedClass) { in endOperation()
133 o.endTimeNanos = time; in endOperation()
134 return o; in endOperation()
/frameworks/base/libs/utils/
DString16.cpp99 String16::String16(const String16& o) in String16() argument
100 : mString(o.mString) in String16()
105 String16::String16(const String16& o, size_t len, size_t begin) in String16() argument
108 setTo(o, len, begin); in String16()
111 String16::String16(const char16_t* o) in String16() argument
113 size_t len = strlen16(o); in String16()
118 strcpy16(str, o); in String16()
126 String16::String16(const char16_t* o, size_t len) in String16() argument
132 memcpy(str, o, len*sizeof(char16_t)); in String16()
141 String16::String16(const String8& o) in String16() argument
[all …]
DString8.cpp146 String8::String8(const String8& o) in String8() argument
147 : mString(o.mString) in String8()
152 String8::String8(const char* o) in String8() argument
153 : mString(allocFromUTF8(o, strlen(o))) in String8()
160 String8::String8(const char* o, size_t len) in String8() argument
161 : mString(allocFromUTF8(o, len)) in String8()
168 String8::String8(const String16& o) in String8() argument
169 : mString(allocFromUTF16(o.string(), o.size())) in String8()
173 String8::String8(const char16_t* o) in String8() argument
174 : mString(allocFromUTF16(o, strlen16(o))) in String8()
[all …]
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/
DClassWithNative_Delegate.java27 public static int native_instance(ClassWithNative instance, int a, double d, Object[] o) { in native_instance() argument
28 if (o != null && o.length > 0) { in native_instance()
29 o[0] = instance; in native_instance()
/frameworks/base/core/tests/coretests/src/android/view/
DSetTagsTest.java54 Object o = new Object(); in testGetTag() local
55 mView.setTag(o); in testGetTag()
59 assertSame("The stored tag is inccorect", o, stored); in testGetTag()
69 Object o = new Object(); in testGetTagWithKey() local
70 mView.setTag(R.id.a, o); in testGetTagWithKey()
74 assertSame("The stored tag is inccorect", o, stored); in testGetTagWithKey()
/frameworks/compile/libbcc/tests/data/
Dotcc.c23 o f{
38 o f;
46 o f;
56 o f;
61 o f;
70 o f;
86 o f;
93 o f;
98 o f;
99 o f;
[all …]
/frameworks/base/core/java/android/content/res/
DConfiguration.java301 public Configuration(Configuration o) { in Configuration() argument
302 setTo(o); in Configuration()
305 public void setTo(Configuration o) { in setTo() argument
306 fontScale = o.fontScale; in setTo()
307 mcc = o.mcc; in setTo()
308 mnc = o.mnc; in setTo()
309 if (o.locale != null) { in setTo()
310 locale = (Locale) o.locale.clone(); in setTo()
311 textLayoutDirection = o.textLayoutDirection; in setTo()
313 userSetLocale = o.userSetLocale; in setTo()
[all …]
/frameworks/base/core/jni/
Dandroid_nfc_NdefRecord.cpp31 JNIEnv *e, jobject o, jshort flags, jshort tnf, jbyteArray type, in android_nfc_NdefRecord_generate() argument
85 static jint android_nfc_NdefRecord_parseNdefRecord(JNIEnv *e, jobject o, in android_nfc_NdefRecord_parseNdefRecord() argument
99 jclass record_cls = e->GetObjectClass(o); in android_nfc_NdefRecord_parseNdefRecord()
117 e->SetShortField(o, mTnf, record.Tnf); in android_nfc_NdefRecord_parseNdefRecord()
127 e->SetObjectField(o, mType, type); in android_nfc_NdefRecord_parseNdefRecord()
137 e->SetObjectField(o, mId, id); in android_nfc_NdefRecord_parseNdefRecord()
148 e->SetObjectField(o, mPayload, payload); in android_nfc_NdefRecord_parseNdefRecord()
152 e->SetIntField(o, mFlags, record.Flags); in android_nfc_NdefRecord_parseNdefRecord()

1234567