Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 1968) sorted by relevance

12345678910>>...79

/frameworks/base/docs/html/reference/
Dgms_lists.js2 …droid.gms", link:"reference/com/google/android/gms/package-summary.html", type:"package", deprecat… property
3 …om.google.android.gms.R", link:"reference/com/google/android/gms/R.html", type:"class", deprecated… property
4 …android.gms.R.attr", link:"reference/com/google/android/gms/R.attr.html", type:"class", deprecated… property
5 …droid.gms.R.color", link:"reference/com/google/android/gms/R.color.html", type:"class", deprecated… property
6 …gms.R.drawable", link:"reference/com/google/android/gms/R.drawable.html", type:"class", deprecated… property
7 …gle.android.gms.R.id", link:"reference/com/google/android/gms/R.id.html", type:"class", deprecated… property
8 …d.gms.R.integer", link:"reference/com/google/android/gms/R.integer.html", type:"class", deprecated… property
9 …e.android.gms.R.raw", link:"reference/com/google/android/gms/R.raw.html", type:"class", deprecated… property
10 …oid.gms.R.string", link:"reference/com/google/android/gms/R.string.html", type:"class", deprecated… property
11 …droid.gms.R.style", link:"reference/com/google/android/gms/R.style.html", type:"class", deprecated… property
[all …]
Dlists.js2 …droid.gms", link:"reference/com/google/android/gms/package-summary.html", type:"package", deprecat… property
3 …om.google.android.gms.R", link:"reference/com/google/android/gms/R.html", type:"class", deprecated… property
4 …android.gms.R.attr", link:"reference/com/google/android/gms/R.attr.html", type:"class", deprecated… property
5 …droid.gms.R.color", link:"reference/com/google/android/gms/R.color.html", type:"class", deprecated… property
6 …gms.R.drawable", link:"reference/com/google/android/gms/R.drawable.html", type:"class", deprecated… property
7 …gle.android.gms.R.id", link:"reference/com/google/android/gms/R.id.html", type:"class", deprecated… property
8 …d.gms.R.integer", link:"reference/com/google/android/gms/R.integer.html", type:"class", deprecated… property
9 …oid.gms.R.string", link:"reference/com/google/android/gms/R.string.html", type:"class", deprecated… property
10 …droid.gms.R.style", link:"reference/com/google/android/gms/R.style.html", type:"class", deprecated… property
11 …s.R.styleable", link:"reference/com/google/android/gms/R.styleable.html", type:"class", deprecated… property
[all …]
Dgcm_lists.js2 …droid.gcm", link:"reference/com/google/android/gcm/package-summary.html", type:"package", deprecat… property
3 …vice", link:"reference/com/google/android/gcm/GCMBaseIntentService.html", type:"class", deprecated… property
4 …iver", link:"reference/com/google/android/gcm/GCMBroadcastReceiver.html", type:"class", deprecated… property
5 …GCMConstants", link:"reference/com/google/android/gcm/GCMConstants.html", type:"class", deprecated… property
6 …GCMRegistrar", link:"reference/com/google/android/gcm/GCMRegistrar.html", type:"class", deprecated… property
7 …er", link:"reference/com/google/android/gcm/server/package-summary.html", type:"package", deprecat… property
8 …onstants", link:"reference/com/google/android/gcm/server/Constants.html", type:"class", deprecated… property
9 …k:"reference/com/google/android/gcm/server/InvalidRequestException.html", type:"class", deprecated… property
10 …er.Message", link:"reference/com/google/android/gcm/server/Message.html", type:"class", deprecated… property
11 …er", link:"reference/com/google/android/gcm/server/Message.Builder.html", type:"class", deprecated… property
[all …]
/frameworks/base/tools/aapt2/
DResource_test.cpp24 const ResourceType* type = parseResourceType(u"anim"); in TEST() local
25 ASSERT_NE(type, nullptr); in TEST()
26 EXPECT_EQ(*type, ResourceType::kAnim); in TEST()
28 type = parseResourceType(u"animator"); in TEST()
29 ASSERT_NE(type, nullptr); in TEST()
30 EXPECT_EQ(*type, ResourceType::kAnimator); in TEST()
32 type = parseResourceType(u"array"); in TEST()
33 ASSERT_NE(type, nullptr); in TEST()
34 EXPECT_EQ(*type, ResourceType::kArray); in TEST()
36 type = parseResourceType(u"attr"); in TEST()
[all …]
DResourceTable.cpp37 return lhs->type < rhs; in lessThanType()
49 std::unique_ptr<ResourceTableType>& ResourceTable::findOrCreateType(ResourceType type) { in findOrCreateType() argument
51 auto iter = std::lower_bound(mTypes.begin(), last, type, lessThanType); in findOrCreateType()
53 if ((*iter)->type == type) { in findOrCreateType()
57 return *mTypes.emplace(iter, new ResourceTableType{ type }); in findOrCreateType()
61 std::unique_ptr<ResourceTableType>& type, const StringPiece16& name) { in findOrCreateEntry() argument
62 auto last = type->entries.end(); in findOrCreateEntry()
63 auto iter = std::lower_bound(type->entries.begin(), last, name, lessThanEntry); in findOrCreateEntry()
69 return *type->entries.emplace(iter, new ResourceEntry{ name }); in findOrCreateEntry()
196 std::unique_ptr<ResourceTableType>& type = findOrCreateType(name.type); in addResourceImpl() local
[all …]
/frameworks/base/core/java/android/hardware/camera2/utils/
DTypeReference.java87 private TypeReference(Type type) { in TypeReference() argument
88 mType = type; in TypeReference()
104 public SpecializedBaseTypeReference(Type type) { in SpecializedBaseTypeReference() argument
105 super(type); in SpecializedBaseTypeReference()
139 public static TypeReference<?> createSpecializedTypeReference(Type type) { in createSpecializedTypeReference() argument
140 return new SpecializedBaseTypeReference(type); in createSpecializedTypeReference()
162 private static final Class<?> getRawType(Type type) { in getRawType() argument
163 if (type == null) { in getRawType()
167 if (type instanceof Class<?>) { in getRawType()
168 return (Class<?>)type; in getRawType()
[all …]
/frameworks/av/media/img_utils/src/
DTiffEntry.cpp37 const sp<TiffIfd>* TiffEntry::forceValidType<sp<TiffIfd> >(TagType type, const sp<TiffIfd>* value) { in forceValidType() argument
38 if (type == LONG) { in forceValidType()
42 __FUNCTION__, type); in forceValidType()
47 const uint8_t* TiffEntry::forceValidType<uint8_t>(TagType type, const uint8_t* value) { in forceValidType() argument
48 if (type == BYTE || type == ASCII || type == UNDEFINED) { in forceValidType()
52 __FUNCTION__, type); in forceValidType()
57 const int8_t* TiffEntry::forceValidType<int8_t>(TagType type, const int8_t* value) { in forceValidType() argument
58 if (type == SBYTE || type == ASCII || type == UNDEFINED) { in forceValidType()
62 __FUNCTION__, type); in forceValidType()
67 const uint16_t* TiffEntry::forceValidType<uint16_t>(TagType type, const uint16_t* value) { in forceValidType() argument
[all …]
/frameworks/base/core/java/android/content/res/
DTypedArray.java154 final int type = data[index+AssetManager.STYLE_TYPE]; in getText() local
155 if (type == TypedValue.TYPE_NULL) { in getText()
157 } else if (type == TypedValue.TYPE_STRING) { in getText()
167 throw new RuntimeException("getText of bad type: 0x" + Integer.toHexString(type)); in getText()
191 final int type = data[index+AssetManager.STYLE_TYPE]; in getString() local
192 if (type == TypedValue.TYPE_NULL) { in getString()
194 } else if (type == TypedValue.TYPE_STRING) { in getString()
205 throw new RuntimeException("getString of bad type: 0x" + Integer.toHexString(type)); in getString()
230 final int type = data[index+AssetManager.STYLE_TYPE]; in getNonResourceString() local
231 if (type == TypedValue.TYPE_STRING) { in getNonResourceString()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DTonesAutoTest.java37 int type; in tonesDtmfTest() local
42 for (type = ToneGenerator.TONE_DTMF_0; type <= ToneGenerator.TONE_DTMF_D; type++) { in tonesDtmfTest()
43 if (toneGen.startTone(type)) { in tonesDtmfTest()
61 int type; in tonesSupervisoryTest() local
66 for (type = ToneGenerator.TONE_SUP_DIAL; in tonesSupervisoryTest()
67 type <= ToneGenerator.TONE_SUP_RINGTONE; type++) { in tonesSupervisoryTest()
68 if (toneGen.startTone(type)) { in tonesSupervisoryTest()
78 for (type = ToneGenerator.TONE_SUP_INTERCEPT; in tonesSupervisoryTest()
79 type <= ToneGenerator.TONE_SUP_PIP; type++) { in tonesSupervisoryTest()
80 if (toneGen.startTone(type)) { in tonesSupervisoryTest()
[all …]
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsProviderTest.java209 private void doTestQueryStringInBracketsViaProviderApiForType(int type) { in doTestQueryStringInBracketsViaProviderApiForType() argument
211 deleteStringViaProviderApi(type, FAKE_SETTING_NAME); in doTestQueryStringInBracketsViaProviderApiForType()
215 final Uri uri = insertStringViaProviderApi(type, FAKE_SETTING_NAME, in doTestQueryStringInBracketsViaProviderApiForType()
217 Uri expectUri = Uri.withAppendedPath(getBaseUriForType(type), FAKE_SETTING_NAME); in doTestQueryStringInBracketsViaProviderApiForType()
221 String firstValue = queryStringViaProviderApi(type, FAKE_SETTING_NAME, true, false); in doTestQueryStringInBracketsViaProviderApiForType()
225 deleteStringViaProviderApi(type, FAKE_SETTING_NAME); in doTestQueryStringInBracketsViaProviderApiForType()
229 private void toTestBulkInsertViaProviderApiForType(int type) { in toTestBulkInsertViaProviderApiForType() argument
231 deleteStringViaProviderApi(type, FAKE_SETTING_NAME); in toTestBulkInsertViaProviderApiForType()
232 deleteStringViaProviderApi(type, FAKE_SETTING_NAME_1); in toTestBulkInsertViaProviderApiForType()
233 deleteStringViaProviderApi(type, FAKE_SETTING_NAME_2); in toTestBulkInsertViaProviderApiForType()
[all …]
/frameworks/base/core/java/android/accounts/
DAuthenticatorDescription.java27 final public String type; field in AuthenticatorDescription
51 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, in AuthenticatorDescription() argument
53 if (type == null) throw new IllegalArgumentException("type cannot be null"); in AuthenticatorDescription()
55 this.type = type; in AuthenticatorDescription()
64 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, in AuthenticatorDescription() argument
66 this(type, packageName, labelId, iconId, smallIconId, prefId, false); in AuthenticatorDescription()
74 public static AuthenticatorDescription newKey(String type) { in newKey() argument
75 if (type == null) throw new IllegalArgumentException("type cannot be null"); in newKey()
76 return new AuthenticatorDescription(type); in newKey()
79 private AuthenticatorDescription(String type) { in AuthenticatorDescription() argument
[all …]
DAccount.java30 public final String type; field in Account
36 return name.equals(other.name) && type.equals(other.type); in equals()
42 result = 31 * result + type.hashCode(); in hashCode()
46 public Account(String name, String type) { in Account() argument
50 if (TextUtils.isEmpty(type)) { in Account()
51 throw new IllegalArgumentException("the type must not be empty: " + type); in Account()
54 this.type = type; in Account()
59 this.type = in.readString(); in Account()
68 dest.writeString(type); in writeToParcel()
82 return "Account {name=" + name + ", type=" + type + "}"; in toString()
/frameworks/base/drm/java/android/drm/
DDrmInfoEvent.java72 public DrmInfoEvent(int uniqueId, int type, String message) { in DrmInfoEvent() argument
73 super(uniqueId, type, message); in DrmInfoEvent()
74 checkTypeValidity(type); in DrmInfoEvent()
87 public DrmInfoEvent(int uniqueId, int type, String message, in DrmInfoEvent() argument
89 super(uniqueId, type, message, attributes); in DrmInfoEvent()
90 checkTypeValidity(type); in DrmInfoEvent()
98 private void checkTypeValidity(int type) { in checkTypeValidity() argument
99 if (type < TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNT || in checkTypeValidity()
100 type > TYPE_RIGHTS_REMOVED) { in checkTypeValidity()
102 if (type != TYPE_ALL_RIGHTS_REMOVED && in checkTypeValidity()
[all …]
DDrmErrorEvent.java82 public DrmErrorEvent(int uniqueId, int type, String message) { in DrmErrorEvent() argument
83 super(uniqueId, type, message); in DrmErrorEvent()
84 checkTypeValidity(type); in DrmErrorEvent()
96 public DrmErrorEvent(int uniqueId, int type, String message, in DrmErrorEvent() argument
98 super(uniqueId, type, message, attributes); in DrmErrorEvent()
99 checkTypeValidity(type); in DrmErrorEvent()
102 private void checkTypeValidity(int type) { in checkTypeValidity() argument
103 if (type < TYPE_RIGHTS_NOT_INSTALLED || in checkTypeValidity()
104 type > TYPE_ACQUIRE_DRM_INFO_FAILED) { in checkTypeValidity()
105 final String msg = "Unsupported type: " + type; in checkTypeValidity()
/frameworks/base/core/java/android/ddm/
DDdmHandleProfiling.java31 public static final int CHUNK_MPRS = type("MPRS");
32 public static final int CHUNK_MPRE = type("MPRE");
33 public static final int CHUNK_MPSS = type("MPSS");
34 public static final int CHUNK_MPSE = type("MPSE");
35 public static final int CHUNK_MPRQ = type("MPRQ");
36 public static final int CHUNK_SPSS = type("SPSS");
37 public static final int CHUNK_SPSE = type("SPSE");
76 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk"); in handleChunk()
77 int type = request.type; in handleChunk() local
79 if (type == CHUNK_MPRS) { in handleChunk()
[all …]
DDdmHandleHeap.java33 public static final int CHUNK_HPIF = type("HPIF");
34 public static final int CHUNK_HPSG = type("HPSG");
35 public static final int CHUNK_HPDU = type("HPDU");
36 public static final int CHUNK_HPDS = type("HPDS");
37 public static final int CHUNK_NHSG = type("NHSG");
38 public static final int CHUNK_HPGC = type("HPGC");
39 public static final int CHUNK_REAE = type("REAE");
40 public static final int CHUNK_REAQ = type("REAQ");
41 public static final int CHUNK_REAL = type("REAL");
81 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk"); in handleChunk()
[all …]
/frameworks/av/media/libstagefright/wifi-display/
DVideoFormats.cpp146 void VideoFormats::setNativeResolution(ResolutionType type, size_t index) { in setNativeResolution() argument
147 CHECK_LT(type, kNumResolutionTypes); in setNativeResolution()
148 CHECK(GetConfiguration(type, index, NULL, NULL, NULL, NULL)); in setNativeResolution()
150 mNativeType = type; in setNativeResolution()
153 setResolutionEnabled(type, index); in setNativeResolution()
157 ResolutionType *type, size_t *index) const { in getNativeResolution() argument
158 *type = mNativeType; in getNativeResolution()
182 ResolutionType type, size_t index, in enableResolutionUpto() argument
186 if (!GetConfiguration(type, index, &width, &height, in enableResolutionUpto()
205 ResolutionType type, size_t index, bool enabled) { in setResolutionEnabled() argument
[all …]
/frameworks/base/tools/aidl/
Daidl.cpp46 printf(" %s %s(", m->type.type.data, m->name.data); in test_document()
49 printf("%s %s",p->type.type.data,p->name.data); in test_document()
306 Type* type; local
309 type = new UserDataType(p->package ? p->package : "", p->name.data,
316 type = new InterfaceType(c->package ? c->package : "",
325 Type* old = NAMES.Find(type->QualifiedName());
327 NAMES.Add(type);
365 filename, type->DeclLine(),
366 type->QualifiedName().c_str());
369 else if (type->Kind() != old->Kind()) {
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp27 DeviceDescriptor::DeviceDescriptor(audio_devices_t type) : in DeviceDescriptor() argument
29 audio_is_output_device(type) ? AUDIO_PORT_ROLE_SINK : in DeviceDescriptor()
31 mTag(""), mAddress(""), mDeviceType(type), mId(0) in DeviceDescriptor()
74 mDeviceTypes |= itemAt(i)->type(); in refreshTypes()
99 ALOGW("DeviceVector::add device %08x already in", item->type()); in add()
111 ALOGW("DeviceVector::remove device %08x not in", item->type()); in remove()
126 devices |= itemAt(i)->type(); in getDevicesFromHwModule()
141 uint32_t type = 1 << i; in loadDevicesFromType() local
142 types &= ~type; in loadDevicesFromType()
143 add(new DeviceDescriptor(type | role_bit)); in loadDevicesFromType()
[all …]
/frameworks/base/core/res/
DMakeJavaSymbols.sed7 s|.*R.id.\([a-zA-Z0-9_]*\).*| <java-symbol type="id" name="\1" />|gp
8 s|.*R.attr.\([a-zA-Z0-9_]*\).*| <java-symbol type="attr" name="\1" />|gp
9 s|.*R.bool.\([a-zA-Z0-9_]*\).*| <java-symbol type="bool" name="\1" />|gp
10 s|.*R.integer.\([a-zA-Z0-9_]*\).*| <java-symbol type="integer" name="\1" />|gp
11 s|.*R.color.\([a-zA-Z0-9_]*\).*| <java-symbol type="color" name="\1" />|gp
12 s|.*R.dimen.\([a-zA-Z0-9_]*\).*| <java-symbol type="dimen" name="\1" />|gp
13 s|.*R.fraction.\([a-zA-Z0-9_]*\).*| <java-symbol type="fraction" name="\1" />|gp
14 s|.*R.string.\([a-zA-Z0-9_]*\).*| <java-symbol type="string" name="\1" />|gp
15 s|.*R.plurals.\([a-zA-Z0-9_]*\).*| <java-symbol type="plurals" name="\1" />|gp
16 s|.*R.array.\([a-zA-Z0-9_]*\).*| <java-symbol type="array" name="\1" />|gp
[all …]
/frameworks/base/media/mca/filterfw/native/core/
Dvalue.cpp35 return value.type == TYPEID ? *reinterpret_cast<POD*>(value.value) : POD(); in GetPODValue()
40 return value.type == TYPEID ? reinterpret_cast<PTR>(value.value) : NULL; in GetPtrValue()
46 result.type = TYPEID; in MakePODValue()
56 result.type = TYPEID; in MakePtrValue()
65 if (value->type == NULL_VALUE_TYPE) { in SetPODValue()
66 value->type = TYPEID; in SetPODValue()
70 if (value->type == TYPEID) { in SetPODValue()
79 if (value->type == NULL_VALUE_TYPE) { in SetPtrValue()
80 value->type = TYPEID; in SetPtrValue()
84 if (value->type == TYPEID && value->count == count) { in SetPtrValue()
[all …]
/frameworks/base/core/java/android/net/
DNetworkKey.java46 public final int type; field in NetworkKey
59 this.type = TYPE_WIFI; in NetworkKey()
64 type = in.readInt(); in NetworkKey()
65 switch (type) { in NetworkKey()
70 throw new IllegalArgumentException("Parcel has unknown type: " + type); in NetworkKey()
81 out.writeInt(type); in writeToParcel()
82 switch (type) { in writeToParcel()
87 throw new IllegalStateException("NetworkKey has unknown type " + type); in writeToParcel()
98 return type == that.type && Objects.equals(wifiKey, that.wifiKey); in equals()
103 return Objects.hash(type, wifiKey); in hashCode()
[all …]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DViewBindingAdapter.java30 …@BindingMethod(type = View.class, attribute = "android:backgroundTint", method = "setBackgroundTin…
31 …@BindingMethod(type = View.class, attribute = "android:fadeScrollbars", method = "setScrollbarFadi…
32 …@BindingMethod(type = View.class, attribute = "android:getOutline", method = "setOutlineProvider"),
33 …@BindingMethod(type = View.class, attribute = "android:nextFocusForward", method = "setNextFocusFo…
34 …@BindingMethod(type = View.class, attribute = "android:nextFocusLeft", method = "setNextFocusLeftI…
35 …@BindingMethod(type = View.class, attribute = "android:nextFocusRight", method = "setNextFocusRigh…
36 … @BindingMethod(type = View.class, attribute = "android:nextFocusUp", method = "setNextFocusUpId"),
37 …@BindingMethod(type = View.class, attribute = "android:nextFocusDown", method = "setNextFocusDownI…
38 …@BindingMethod(type = View.class, attribute = "android:requiresFadingEdge", method = "setVerticalF…
39 …@BindingMethod(type = View.class, attribute = "android:scrollbarDefaultDelayBeforeFade", method = …
[all …]
/frameworks/base/libs/androidfw/tests/
DBackupData_test.cpp90 int type; in TEST_F() local
91 reader->ReadNextHeader(&done, &type); in TEST_F()
92 EXPECT_EQ(BACKUP_HEADER_ENTITY_V1, type) in TEST_F()
129 int type; in TEST_F() local
134 reader->ReadNextHeader(&done, &type); in TEST_F()
141 reader->ReadNextHeader(&done, &type); in TEST_F()
142 EXPECT_EQ(BACKUP_HEADER_ENTITY_V1, type) in TEST_F()
179 int type; in TEST_F() local
184 reader->ReadNextHeader(&done, &type); in TEST_F()
191 reader->ReadNextHeader(&done, &type); in TEST_F()
[all …]
/frameworks/compile/slang/tests/F_root_compute_non_uint32_t_xyzar/
Dstderr.txt.expect1 …xyzar.rs:5:17: error: Special parameter 'x' must be of type 'int' or 'unsigned int'. It is of type
2 …xyzar.rs:5:26: error: Special parameter 'y' must be of type 'int' or 'unsigned int'. It is of type
3 … Special parameters 'x' and 'y' must be of the same type. 'x' is of type 'short' while 'y' is of t…
4 …xyzar.rs:5:36: error: Special parameter 'z' must be of type 'int' or 'unsigned int'. It is of type
5 … Special parameters 'x' and 'z' must be of the same type. 'x' is of type 'short' while 'z' is of t…

12345678910>>...79