Home
last modified time | relevance | path

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

12345678910>>...67

/aosp14/frameworks/base/tools/aapt2/
H A DResource_test.cpp28 ASSERT_NE(type, nullptr); in TEST()
32 ASSERT_NE(type, nullptr); in TEST()
36 ASSERT_NE(type, nullptr); in TEST()
40 ASSERT_NE(type, nullptr); in TEST()
44 ASSERT_NE(type, nullptr); in TEST()
48 ASSERT_NE(type, nullptr); in TEST()
52 ASSERT_NE(type, nullptr); in TEST()
56 ASSERT_NE(type, nullptr); in TEST()
60 ASSERT_NE(type, nullptr); in TEST()
64 ASSERT_NE(type, nullptr); in TEST()
[all …]
/aosp14/system/core/property_service/libpropertyinfoserializer/
H A Dproperty_info_serializer_test.cpp149 const char* type; in TEST() local
162 EXPECT_STREQ("1st", type); in TEST()
165 EXPECT_STREQ("1st", type); in TEST()
168 EXPECT_STREQ("1st", type); in TEST()
172 EXPECT_STREQ("5th", type); in TEST()
175 EXPECT_STREQ("2nd", type); in TEST()
178 EXPECT_STREQ("2nd", type); in TEST()
181 EXPECT_STREQ("2nd", type); in TEST()
782 const char* type; in TEST() local
827 const char* type; in TEST() local
[all …]
/aosp14/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
H A DSettingsProviderTest.java263 resetToDefaultsViaShell(type, "root"); in testResetModePackageDefaultsCommon()
277 resetToDefaultsViaShell(type, "root"); in testResetModePackageDefaultsCommon()
354 putSetting(type, FAKE_SETTING_NAME, null); in testResetModeUntrustedDefaultsCommon()
370 resetSettingsViaShell(type, in testResetModeUntrustedDefaultsCommon()
396 putSetting(type, FAKE_SETTING_NAME, null); in testResetModeUntrustedClearCommon()
412 resetSettingsViaShell(type, in testResetModeUntrustedClearCommon()
438 putSetting(type, FAKE_SETTING_NAME, null); in testResetModeTrustedDefaultsCommon()
454 resetSettingsViaShell(type, in testResetModeTrustedDefaultsCommon()
519 Uri uri = getBaseUriForType(type); in toTestBulkInsertViaProviderApiForType()
629 }, type, name, value, userId); in setSettingViaFrontEndApiAndAssertSuccessfulChange()
[all …]
H A DBaseSettingsProviderTest.java82 switch (type) { in setStringViaFrontEndApiSetting()
104 switch (type) { in getStringViaFrontEndApiSetting()
125 Uri uri = getBaseUriForType(type); in insertStringViaProviderApi()
137 Uri uri = getBaseUriForType(type); in deleteStringViaProviderApi()
142 Uri uri = getBaseUriForType(type); in updateStringViaProviderApiSetting()
209 switch (type) { in resetSettingsViaShell()
230 switch (type) { in resetToDefaultsViaShell()
253 switch (type) { in getSetting()
273 switch (type) { in putSetting()
299 switch (type) { in setSettingViaShell()
[all …]
/aosp14/frameworks/base/core/java/android/hardware/camera2/utils/
H A DTypeReference.java91 private TypeReference(Type type) { in TypeReference() argument
92 mType = type; in TypeReference()
109 super(type); in SpecializedBaseTypeReference()
168 if (type == null) { in getRawType()
172 if (type instanceof Class<?>) { in getRawType()
173 return (Class<?>)type; in getRawType()
194 for (Type type : types) { in getRawType()
224 if (type instanceof Class<?>) { in getComponentType()
277 if (type == null) { in containsTypeVariable()
375 if (type == null) { in toString()
[all …]
/aosp14/frameworks/base/core/java/android/os/health/
H A DUidHealthStats.java63 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
71 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
74 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
82 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
89 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
96 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
102 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMER)
109 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
116 @HealthKeys.Constant(type=HealthKeys.TYPE_STATS)
123 @HealthKeys.Constant(type=HealthKeys.TYPE_STATS)
[all …]
/aosp14/frameworks/base/libs/androidfw/tests/
H A DResourceUtils_test.cpp24 StringPiece package, type, entry; in TEST() local
27 EXPECT_EQ("string", type); in TEST()
32 EXPECT_EQ("string", type); in TEST()
37 EXPECT_EQ("string", type); in TEST()
42 EXPECT_EQ("string", type); in TEST()
45 ASSERT_TRUE(ExtractResourceName("foo", &package, &type, &entry)); in TEST()
47 EXPECT_EQ("", type); in TEST()
50 ASSERT_TRUE(ExtractResourceName("@foo", &package, &type, &entry)); in TEST()
52 EXPECT_EQ("", type); in TEST()
57 EXPECT_EQ("", type); in TEST()
[all …]
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DTonesAutoTest.java37 int type; in tonesDtmfTest() local
42 for (type = ToneGenerator.TONE_DTMF_0; type <= ToneGenerator.TONE_DTMF_D; type++) { in tonesDtmfTest()
61 int type; in tonesSupervisoryTest() local
67 type <= ToneGenerator.TONE_SUP_RINGTONE; type++) { in tonesSupervisoryTest()
68 if (toneGen.startTone(type)) { in tonesSupervisoryTest()
79 type <= ToneGenerator.TONE_SUP_PIP; type++) { in tonesSupervisoryTest()
98 int type; in tonesProprietaryTest() local
103 for (type = ToneGenerator.TONE_PROP_BEEP; type <= ToneGenerator.TONE_PROP_BEEP2; type++) { in tonesProprietaryTest()
123 int type; in tonesSimultaneousTest() local
153 int type; in tonesStressTest() local
[all …]
/aosp14/frameworks/base/core/java/android/content/res/
H A DTypedArray.java231 if (type == TypedValue.TYPE_NULL) { in getText()
268 if (type == TypedValue.TYPE_NULL) { in getString()
344 if (type == TypedValue.TYPE_NULL) { in getNonConfigurationString()
386 if (type == TypedValue.TYPE_NULL) { in getBoolean()
425 if (type == TypedValue.TYPE_NULL) { in getInt()
462 if (type == TypedValue.TYPE_NULL) { in getFloat()
513 if (type == TypedValue.TYPE_NULL) { in getColor()
634 if (type == TypedValue.TYPE_NULL) { in getInteger()
683 if (type == TypedValue.TYPE_NULL) { in getDimension()
732 if (type == TypedValue.TYPE_NULL) { in getDimensionPixelOffset()
[all …]
/aosp14/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java39 int type; field in MtpPropertyGroup.Property
44 this.type = type; in Property()
76 int type; in createProperty() local
92 type = MtpConstants.TYPE_STR; in createProperty()
95 type = MtpConstants.TYPE_STR; in createProperty()
98 type = MtpConstants.TYPE_STR; in createProperty()
101 type = MtpConstants.TYPE_STR; in createProperty()
105 type = MtpConstants.TYPE_STR; in createProperty()
122 type = MtpConstants.TYPE_STR; in createProperty()
126 type = MtpConstants.TYPE_STR; in createProperty()
[all …]
/aosp14/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/parcel/
H A DCallMigrators.kt84 var type = when (parent) { regex
92 is UVariable -> parent.type
99 return type
105 if (type is PsiIntersectionType) {
108 if (type == null || type.canonicalText in rejects) {
111 if (type is PsiClassType && type.resolve() is PsiTypeParameter) {
114 return type
118 type.superTypes.flatMap(::getParentTypes).toSet() + type
156 if (type.parameters.isNotEmpty()) {
157 val rawType = type.rawType()
[all …]
/aosp14/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
H A Dcow_format.cpp28 if (op.type == kCowCopyOp) in operator <<()
32 else if (op.type == kCowZeroOp) in operator <<()
34 else if (op.type == kCowFooterOp) in operator <<()
36 else if (op.type == kCowLabelOp) in operator <<()
40 else if (op.type == kCowXorOp) in operator <<()
47 os << (int)op.type << "?,"; in operator <<()
60 if (op.type == kCowXorOp) in operator <<()
67 if (op.type == kCowClusterOp) { in GetNextOpOffset()
69 } else if ((op.type == kCowReplaceOp || op.type == kCowXorOp) && cluster_ops == 0) { in GetNextOpOffset()
87 switch (op.type) { in IsMetadataOp()
[all …]
/aosp14/frameworks/base/core/java/android/accounts/
H A DAuthenticatorDescription.java30 final public String type; field in AuthenticatorDescription
58 this.type = type; in AuthenticatorDescription()
77 public static AuthenticatorDescription newKey(String type) { in newKey() argument
79 return new AuthenticatorDescription(type); in newKey()
83 private AuthenticatorDescription(String type) { in AuthenticatorDescription() argument
84 this.type = type; in AuthenticatorDescription()
95 this.type = source.readString(); in AuthenticatorDescription()
111 return type.hashCode(); in hashCode()
119 return type.equals(other.type); in equals()
123 return "AuthenticatorDescription {type=" + type + "}"; in toString()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardIndicationRotateTextViewController.java148 mIndicationMessages.remove(type); in updateIndication()
152 mIndicationQueue.add(type); in updateIndication()
167 showIndication(type); in updateIndication()
170 showIndication(type); in updateIndication()
181 showIndication(type); in updateIndication()
191 if (mCurrIndicationType == type in updateIndication()
216 updateIndication(type, null, true); in hideIndication()
269 mCurrIndicationType = type; in showIndication()
356 showIndication(type); in ShowNextIndication()
386 pw.println(" type=" + type + " " + mIndicationMessages.get(type)); in dump()
[all …]
/aosp14/frameworks/base/drm/java/android/drm/
H A DDrmInfoEvent.java75 super(uniqueId, type, message); in DrmInfoEvent()
76 checkTypeValidity(type); in DrmInfoEvent()
89 public DrmInfoEvent(int uniqueId, int type, String message, in DrmInfoEvent() argument
91 super(uniqueId, type, message, attributes); in DrmInfoEvent()
92 checkTypeValidity(type); in DrmInfoEvent()
100 private void checkTypeValidity(int type) { in checkTypeValidity() argument
101 if (type < TYPE_ALREADY_REGISTERED_BY_ANOTHER_ACCOUNT || in checkTypeValidity()
102 type > TYPE_RIGHTS_REMOVED) { in checkTypeValidity()
104 if (type != TYPE_ALL_RIGHTS_REMOVED && in checkTypeValidity()
105 type != TYPE_DRM_INFO_PROCESSED) { in checkTypeValidity()
[all …]
H A DDrmErrorEvent.java84 public DrmErrorEvent(int uniqueId, int type, String message) { in DrmErrorEvent() argument
85 super(uniqueId, type, message); in DrmErrorEvent()
86 checkTypeValidity(type); in DrmErrorEvent()
98 public DrmErrorEvent(int uniqueId, int type, String message, in DrmErrorEvent() argument
100 super(uniqueId, type, message, attributes); in DrmErrorEvent()
101 checkTypeValidity(type); in DrmErrorEvent()
104 private void checkTypeValidity(int type) { in checkTypeValidity() argument
105 if (type < TYPE_RIGHTS_NOT_INSTALLED || in checkTypeValidity()
106 type > TYPE_ACQUIRE_DRM_INFO_FAILED) { in checkTypeValidity()
107 final String msg = "Unsupported type: " + type; in checkTypeValidity()
/aosp14/frameworks/base/tools/aapt2/compile/
H A DIdAssigner.cpp81 ResourceType type; member
85 return (type != other.type) ? type < other.type : id < other.id; in operator <()
89 return type == other.type && id == other.id; in operator ==()
98 return out << type.type; in operator <<()
278 auto key = ResourceTypeKey{name.type.type, id.type_id()}; in ReserveId()
280 if (type == types_.end()) { in ReserveId()
294 auto non_staged_type = non_staged_type_ids_.emplace(name.type.type, id.type_id()); in ReserveId()
320 auto non_staged_type = non_staged_type_ids_.find(name.type.type); in NextId()
324 non_staged_type = non_staged_type_ids_.emplace(name.type.type, *next_type_id).first; in NextId()
327 ResourceTypeKey key{name.type.type, non_staged_type->second}; in NextId()
[all …]
/aosp14/frameworks/base/core/java/android/ddm/
H A DDdmHandleProfiling.java34 public static final int CHUNK_MPRS = ChunkHandler.type("MPRS");
35 public static final int CHUNK_MPRE = ChunkHandler.type("MPRE");
80 int type = request.type; in handleChunk() local
82 if (type == CHUNK_MPRS) { in handleChunk()
84 } else if (type == CHUNK_MPRE) { in handleChunk()
86 } else if (type == CHUNK_MPSS) { in handleChunk()
88 } else if (type == CHUNK_MPSE) { in handleChunk()
90 } else if (type == CHUNK_MPRQ) { in handleChunk()
92 } else if (type == CHUNK_SPSS) { in handleChunk()
94 } else if (type == CHUNK_SPSE) { in handleChunk()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceUserTypeTest.java116 assertEquals("a.name", type.getName()); in testUserTypeBuilder_createUserType()
117 assertTrue(type.isEnabled()); in testUserTypeBuilder_createUserType()
118 assertEquals(21, type.getMaxAllowed()); in testUserTypeBuilder_createUserType()
120 assertEquals(28, type.getIconBadge()); in testUserTypeBuilder_createUserType()
121 assertEquals(29, type.getBadgePlain()); in testUserTypeBuilder_createUserType()
123 assertEquals(31, type.getLabel()); in testUserTypeBuilder_createUserType()
164 assertEquals(23, type.getBadgeLabel(0)); in testUserTypeBuilder_createUserType()
165 assertEquals(24, type.getBadgeLabel(1)); in testUserTypeBuilder_createUserType()
177 assertTrue(type.hasBadge()); in testUserTypeBuilder_createUserType()
187 assertTrue(type.isEnabled()); in testUserTypeBuilder_defaults()
[all …]
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
H A DUsbACInterface.java84 public UsbACInterface(int length, byte type, byte subtype, int subclass) { in UsbACInterface() argument
85 super(length, type); in UsbACInterface()
154 return new UsbACSelectorUnit(length, type, subtype, subClass); in allocAudioControlDescriptor()
160 return new UsbACFeatureUnit(length, type, subtype, subClass); in allocAudioControlDescriptor()
196 return new Usb20ASGeneral(length, type, subtype, subClass); in allocAudioStreamingDescriptor()
198 return new Usb10ASGeneral(length, type, subtype, subClass); in allocAudioStreamingDescriptor()
218 return new UsbMSMidiHeader(length, type, subtype, subClass); in allocMidiStreamingDescriptor()
221 return new UsbMSMidiInputJack(length, type, subtype, subClass); in allocMidiStreamingDescriptor()
242 int length, byte type) { in allocDescriptor() argument
252 parser, stream, length, type, subtype, subClass); in allocDescriptor()
[all …]
/aosp14/frameworks/base/core/proto/android/os/
H A Dincident.proto96 (section).type = SECTION_LOG,
101 (section).type = SECTION_LOG,
106 (section).type = SECTION_LOG,
111 (section).type = SECTION_LOG,
116 (section).type = SECTION_LOG,
121 (section).type = SECTION_LOG,
126 (section).type = SECTION_LOG,
131 (section).type = SECTION_LOG,
138 (section).type = SECTION_LOG,
143 (section).type = SECTION_LOG,
[all …]
/aosp14/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/
H A DTimeReceiver.java48 public void addTimeForTypeToQueue(String type, long timeNs) { in addTimeForTypeToQueue() argument
49 if (type == null) { in addTimeForTypeToQueue()
56 mQueue.add(new ReceivedMessage(type, timeNs)); in addTimeForTypeToQueue()
63 public void sendTime(String type, long timeNs) throws RemoteException { in createReceiveTimeExtraBinder()
64 addTimeForTypeToQueue(type, timeNs); in createReceiveTimeExtraBinder()
70 public long getReceivedTimeNs(String type) { in getReceivedTimeNs() argument
71 return getReceivedTimeNs(type, DEFAULT_RECEIVE_TIME_TIMEOUT_MILLIS); in getReceivedTimeNs()
78 public long getReceivedTimeNs(String type, long timeoutMs) { in getReceivedTimeNs() argument
87 Log.i(TAG, "waiting for message " + type); in getReceivedTimeNs()
96 if (!type.equals(message.mReceivedMessageType)) { in getReceivedTimeNs()
[all …]
/aosp14/frameworks/base/core/res/
H A 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
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
14 s|.*R.string.\([a-zA-Z0-9_]*\).*| <java-symbol type="string" name="\1" />|gp
16 s|.*R.array.\([a-zA-Z0-9_]*\).*| <java-symbol type="array" name="\1" />|gp
19 s|.*R.anim.\([a-zA-Z0-9_]*\).*| <java-symbol type="anim" name="\1" />|gp
22 s|.*R.menu.\([a-zA-Z0-9_]*\).*| <java-symbol type="menu" name="\1" />|gp
23 s|.*R.xml.\([a-zA-Z0-9_]*\).*| <java-symbol type="xml" name="\1" />|gp
[all …]
/aosp14/frameworks/base/media/mca/filterfw/native/core/
H A Dvalue.cpp46 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()
80 value->type = TYPEID; in SetPtrValue()
105 return (value.type == BUFFER_VALUE_TYPE || value.type == MUTABLE_BUFFER_VALUE_TYPE) in GetBufferValue()
139 return value.type == BUFFER_VALUE_TYPE || value.type == MUTABLE_BUFFER_VALUE_TYPE; in ValueIsBuffer()
152 result.type = NULL_VALUE_TYPE; in MakeNullValue()
176 result.type = BUFFER_VALUE_TYPE; in MakeBufferValueNoCopy()
[all …]
/aosp14/frameworks/base/tools/aapt2/link/
H A DPrivateAttributeMover_test.cpp45 ASSERT_NE(type, nullptr); in TEST()
46 ASSERT_EQ(type->entries.size(), 2u); in TEST()
47 EXPECT_NE(type->FindEntry("publicA"), nullptr); in TEST()
48 EXPECT_NE(type->FindEntry("publicB"), nullptr); in TEST()
51 ASSERT_NE(type, nullptr); in TEST()
52 ASSERT_EQ(type->entries.size(), 2u); in TEST()
53 EXPECT_NE(type->FindEntry("privateA"), nullptr); in TEST()
54 EXPECT_NE(type->FindEntry("privateB"), nullptr); in TEST()
72 ASSERT_NE(type, nullptr); in TEST()
73 ASSERT_EQ(type->entries.size(), 2u); in TEST()
[all …]

12345678910>>...67