Home
last modified time | relevance | path

Searched refs:getName (Results 1 – 25 of 1628) sorted by relevance

12345678910>>...66

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNetworkTypeControllerTest.java257 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateLegacy()
262 assertEquals("legacy", getCurrentState().getName()); in testTransitionToCurrentStateLegacy()
267 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateRestricted()
273 assertEquals("restricted", getCurrentState().getName()); in testTransitionToCurrentStateRestricted()
278 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateIdle()
285 assertEquals("not_restricted_rrc_idle", getCurrentState().getName()); in testTransitionToCurrentStateIdle()
294 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateIdleSupportPhysicalChannelConfig1_6()
301 assertEquals("not_restricted_rrc_idle", getCurrentState().getName()); in testTransitionToCurrentStateIdleSupportPhysicalChannelConfig1_6()
313 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateIdle_usingUserDataForRrcDetection()
322 assertEquals("not_restricted_rrc_idle", getCurrentState().getName()); in testTransitionToCurrentStateIdle_usingUserDataForRrcDetection()
[all …]
/frameworks/base/test-runner/tests/src/android/test/
DAndroidTestRunnerTest.java50 mAndroidTestRunner.setTestClassName(TestSuite.class.getName(), null); in testLoadNoTestCases()
55 assertEquals("warning", testCases.get(0).getName()); in testLoadNoTestCases()
60 mAndroidTestRunner.setTestClassName(OneTestTestCase.class.getName(), null); in testSetTestSuiteWithOneTestCase()
65 assertEquals("testOne", testCases.get(0).getName()); in testSetTestSuiteWithOneTestCase()
70 mAndroidTestRunner.setTestClassName(OneTestTestCase.class.getName(), null); in testRunTest()
82 OneAndroidTestTestCase.class.getName(), "testOneAndroid"); in testRunTestWithAndroidTestCase()
97 mAndroidTestRunner.setTestClassName(OneAndroidTestTestCase.class.getName(), null); in testRunTestWithAndroidTestCaseInSuite()
113 mAndroidTestRunner.setTestClassName(AndroidTestCaseTestSuite.class.getName(), null); in testRunTestWithAndroidTestCaseInNestedSuite()
129 mAndroidTestRunner.setTestClassName(OneTestTestCase.class.getName(), null); in testRunTestWithNullListener()
140 mAndroidTestRunner.setTestClassName(SampleTestSuiteProvider.class.getName(), null); in testSetTestClassWithTestSuiteProvider()
[all …]
DInstrumentationTestRunnerTest.java52 String expectedTestClassName = PlaceHolderTest.class.getName(); in testOverrideTestToRunWithClassArgument()
60 String expectedTestClassName = PlaceHolderTest.class.getName(); in testOverrideTestToRunWithClassAndMethodArgument()
76 PlaceHolderTest.class.getName(), "testPlaceHolder"); in testUseSelfAsTestSuiteProviderWhenNoMetaDataOrClassArgument()
80 String classArg = PlaceHolderTest.class.getName() + "," + in testMultipleTestClass()
81 PlaceHolderTest2.class.getName(); in testMultipleTestClass()
88 new TestDescriptor(PlaceHolderTest.class.getName(), "testPlaceHolder"), in testMultipleTestClass()
89 new TestDescriptor(PlaceHolderTest2.class.getName(), "testPlaceHolder2")); in testMultipleTestClass()
120 String testClassName = PlaceHolderTest.class.getName(); in testBadMethodArgument()
134 PlaceHolderTest.class.getName() + "," + in testDelayParameter()
135 PlaceHolderTest2.class.getName()); in testDelayParameter()
[all …]
/frameworks/base/core/java/android/nfc/
DTag.java166 strings[i] = IsoDep.class.getName(); in generateTechStringList()
169 strings[i] = MifareClassic.class.getName(); in generateTechStringList()
172 strings[i] = MifareUltralight.class.getName(); in generateTechStringList()
175 strings[i] = Ndef.class.getName(); in generateTechStringList()
178 strings[i] = NdefFormatable.class.getName(); in generateTechStringList()
181 strings[i] = NfcA.class.getName(); in generateTechStringList()
184 strings[i] = NfcB.class.getName(); in generateTechStringList()
187 strings[i] = NfcF.class.getName(); in generateTechStringList()
190 strings[i] = NfcV.class.getName(); in generateTechStringList()
193 strings[i] = NfcBarcode.class.getName(); in generateTechStringList()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationManagerApiTest.kt80 .containsExactly(pkgWithDomains.getName()) in <lambda>()
107 val infoOne = service.getDomainVerificationInfo(pkgWithDomains.getName()) in <lambda>()
110 assertThat(infoOne.packageName).isEqualTo(pkgWithDomains.getName()) in <lambda>()
116 assertThat(service.getDomainVerificationInfo(pkgWithoutDomains.getName())).isNull() in <lambda>()
128 val map = mutableMapOf(pkg1.getName() to pkg1, pkg2.getName() to pkg2) in <lambda>()
170 val map = mutableMapOf(pkg1.getName() to pkg1, pkg2.getName() to pkg2) in <lambda>()
199 pkg1.getName() to pkg1, in <lambda>()
200 pkg2.getName() to pkg2, in <lambda>()
201 pkg3.getName() to pkg3 in <lambda>()
251 val infoOne = service.getDomainVerificationUserState(pkgWithDomains.getName(), 0) in <lambda>()
[all …]
DDomainVerificationPackageTest.kt84 val info = service.getInfo(pkg1.getName()) in <lambda>()
85 assertThat(info.packageName).isEqualTo(pkg1.getName()) in <lambda>()
92 val userState = service.getUserState(pkg1.getName()) in <lambda>()
93 assertThat(userState.packageName).isEqualTo(pkg1.getName()) in <lambda>()
103 .containsExactly(pkg1.getName()) in <lambda>()
112 systemConfiguredPackageNames = ArraySet(setOf(pkg1.getName(), pkg2.getName())), in <lambda>()
118 service.getInfo(pkg1.getName()).apply { in <lambda>()
119 assertThat(packageName).isEqualTo(pkg1.getName()) in <lambda>()
129 service.getUserState(pkg1.getName()).apply { in <lambda>()
130 assertThat(packageName).isEqualTo(pkg1.getName()) in <lambda>()
[all …]
/frameworks/compile/slang/
Dslang_rs_export_foreach.cpp45 return FD->getName().equals("root"); in isRootRSFunc()
67 << FD->getName() << SLANG_MINIMUM_TARGET_API in validateAndConstructParams()
100 << FD->getName(); in validateAndConstructOldStyleParams()
120 << FD->getName() << listSpecialKernelParameters(Context->getTargetAPI()) in validateAndConstructOldStyleParams()
121 << PVD->getName() << PVD->getType().getAsString(); in validateAndConstructOldStyleParams()
135 << FD->getName() << mOut->getName() << PVD->getName(); in validateAndConstructOldStyleParams()
147 << PVD->getName() << FD->getName(); in validateAndConstructOldStyleParams()
157 << FD->getName(); in validateAndConstructOldStyleParams()
175 << FD->getName() << SLANG_MINIMUM_TARGET_API in validateAndConstructKernelParams()
188 << FD->getName() << mResultType.getAsString(); in validateAndConstructKernelParams()
[all …]
Dslang_rs_export_reduce.cpp227 << S.DiagnosticDescription(getKey(Kind), Fn->getName()) << ReturnTy.getAsString(); in checkVoidReturn()
243 << Param->getName() << ParamQType.getAsString() in checkPointeeConstQualified()
269 if (isSpecialKernelParameter(S.FnInitializerParam->getName())) { in analyzeInitializer()
273 << S.FnInitializerParam->getName(); in analyzeInitializer()
284 << S.FnInitializerParam->getName() << S.FnInitializerParamTy.getAsString(); in analyzeInitializer()
319 << S.FnAccumulatorParamFirst->getName() << S.FnAccumulatorParamFirstTy.getAsString(); in analyzeAccumulator()
340 << S.FnAccumulatorParamFirst->getName() << S.FnAccumulatorParamFirstTy.getAsString() in analyzeAccumulator()
342 << S.FnInitializerParam->getName() << S.FnInitializerParamTy.getAsString(); in analyzeAccumulator()
350 << S.FnAccumulatorParamFirst->getName() << S.FnAccumulatorParamFirstTy.getAsString(); in analyzeAccumulator()
358 << S.FnAccumulatorParamFirst->getName() << S.FnAccumulatorParamFirstTy.getAsString(); in analyzeAccumulator()
[all …]
Dslang_rs_reflection_cpp.cpp243 << ev->getName() << ";\n"; in genFieldsToStoreExportVariableValues()
269 std::string FunctionStart = "void forEach_" + ForEach->getName() + "("; in genForEachDeclarations()
277 Arguments.push_back(Argument(kAllocationSp, (*BI)->getName())); in genForEachDeclarations()
291 Arguments.push_back(Argument(rtd.type->c_name, (*i)->getName())); in genForEachDeclarations()
324 "void " + mClassName + "::forEach_" + ef->getName() + "("; in genExportForEachBodies()
344 Arguments.push_back(Argument(rtd.type->c_name, (*i)->getName())); in genExportForEachBodies()
365 std::string FieldPackerName = ef->getName() + "_fp"; in genExportForEachBodies()
485 genInitExportVariable(EV->getType(), EV->getName(), EV->getInit()); in writeImplementationFile()
487 genZeroInitExportVariable(EV->getName()); in writeImplementationFile()
558 mOut.indent() << "void set_" << EV->getName() << "(" << TypeName << " v)"; in genGetterAndSetter()
[all …]
/frameworks/base/core/tests/coretests/src/android/graphics/
DGraphicsPerformanceTests.java41 DecodeBitmapTest.class.getName(), in children()
44 DrawBitmap7x7.class.getName(), in children()
45 DrawBitmap15x15.class.getName(), in children()
46 DrawBitmap31x31.class.getName(), in children()
47 DrawBitmap63x63.class.getName(), in children()
48 DrawBitmap127x127.class.getName(), in children()
49 DrawBitmap319x239.class.getName(), in children()
50 DrawBitmap319x479.class.getName(), in children()
53 DrawBitmap8x8.class.getName(), in children()
54 DrawBitmap16x16.class.getName(), in children()
[all …]
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java124 Method delegateMethod = delegateClass.getDeclaredMethod(originalMethod.getName(), in compare()
132 delegateClass.getName(), in compare()
134 originalMethod.getReturnType().getName())); in compare()
142 delegateMethod.getName(), in compare()
143 originalClass.getName())); in compare()
151 delegateMethod.getName(), in compare()
152 originalClass.getName()) in compare()
160 mErrors.add(String.format("Missing %1$s.%2$s", delegateClass.getName(), name)); in compare()
178 if ("constructor_after".equals(delegateMethod.getName())) { in compare()
185 delegateClass.getName(), in compare()
[all …]
/frameworks/base/test-base/src/junit/framework/
DTestSuite.java56 …return warning("Class "+theClass.getName()+" has no public constructor TestCase(String name) or Te… in createTest()
133 fName= theClass.getName();
137 …addTest(warning("Class "+theClass.getName()+" has no public constructor TestCase(String name) or T…
142 addTest(warning("Class "+theClass.getName()+" is not public"));
154 addTest(warning("No tests found in "+theClass.getName()));
227 public String getName() {
279 if (getName() != null)
280 return getName();
285 String name= m.getName();
290 …addTest(warning("Test method isn't public: "+ m.getName() + "(" + theClass.getCanonicalName() + ")…
[all …]
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectionCompanionGenerator.java145 properties.sort(Comparator.comparing(Property::getName)); in generateTypeSpec()
184 property.getName().substring(0, 1).toUpperCase(), in generateIdFieldSpecs()
185 property.getName().substring(1))); in generateIdFieldSpecs()
189 .addJavadoc("Property ID of {@code $L}.\n", property.getName()) in generateIdFieldSpecs()
237 mappingVariables.newName(property.getName() + "EnumMapping"))); in generateMapProperties()
243 mappingVariables.newName(property.getName() + "FlagMapping"))); in generateMapProperties()
277 property.getName(), in generateSimplePropertyMapperInvocation()
319 enumEntry.getName()); in generateIntEnumPropertyMapperInvocation()
325 property.getName(), in generateIntEnumPropertyMapperInvocation()
356 flagEntries.sort(Comparator.comparing(IntFlagEntry::getName)); in generateIntFlagPropertyMapperInvocation()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DInputSource.cpp33 ALOGV("%s: InputSource %s identifier 0x%X", __FUNCTION__, getName().c_str(), identifier); in setIdentifier()
57 __FUNCTION__, devices, getName().c_str()); in set()
60 ALOGV("%s: 0x%X for input source %s", __FUNCTION__, devices, getName().c_str()); in set()
68 ALOGV("%s: 0x%X for inputSource %s", __FUNCTION__, mApplicableDevices, getName().c_str()); in get()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphExporter.java67 dotFile.write(getDotName(" " + filter.getName()) + " [label=\"{"); in exportAsDot()
82 dotFile.write(filter.getName()); in exportAsDot()
111 getDotName(source.getFilter().getName()) + ":" + in exportAsDot()
112 getDotName(source.getName()) + "_OUT -> " + in exportAsDot()
113 getDotName(target.getFilter().getName()) + ":" + in exportAsDot()
114 getDotName(target.getName()) + "_IN;\n" ); in exportAsDot()
122 " " + getDotName(filter.getName()) + ":" + in exportAsDot()
141 getDotName(filter.getName()) + ":" + in exportAsDot()
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DMediaCodecBase.java174 if (codecInfo.getName().contains("software") || in selectCodecs()
175 codecInfo.getName().contains("android") || in selectCodecs()
176 codecInfo.getName().contains("google")) { in selectCodecs()
177 if (isOk) listOfCodecs.add(codecInfo.getName()); in selectCodecs()
180 if (codecInfo.getName().contains("software") || in selectCodecs()
181 codecInfo.getName().contains("android") || in selectCodecs()
182 codecInfo.getName().contains("google")) { in selectCodecs()
185 if (isOk) listOfCodecs.add(codecInfo.getName()); in selectCodecs()
/frameworks/base/test-runner/src/android/test/
DAndroidTestRunner.java122 runFailed("Could not access test class. Class: " + testClass.getName()); in newSingleTestMethod()
124 runFailed("Could not instantiate test class. Class: " + testClass.getName()); in newSingleTestMethod()
126 runFailed("Illegal argument passed to constructor. Class: " + testClass.getName()); in newSingleTestMethod()
128 runFailed("Constructor threw an exception. Class: " + testClass.getName()); in newSingleTestMethod()
145 runFailed("Could not instantiate test suite provider. Class: " + clazz.getName()); in getTest()
147 runFailed("Illegal access of test suite provider. Class: " + clazz.getName()); in getTest()
149 runFailed("Invocation exception test suite provider. Class: " + clazz.getName()); in getTest()
151 runFailed("No such method on test suite provider. Class: " + clazz.getName()); in getTest()
154 return getTest(clazz.getName()); in getTest()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapperTest.java41 assertEquals("RelativeLayout", parser.getName()); in testDataBindingLayout()
45 assertEquals("TextView", parser.getName()); in testDataBindingLayout()
54 … (next != END_TAG || !"RelativeLayout".equals(parser.getName())) && next != END_DOCUMENT; in testDataBindingLayout()
66 assertEquals("RelativeLayout", parser.getName()); in testNonDataBindingLayout()
70 assertEquals("TextView", parser.getName()); in testNonDataBindingLayout()
79 … (next != END_TAG || !"RelativeLayout".equals(parser.getName())) && next != END_DOCUMENT; in testNonDataBindingLayout()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreKeyFactorySpi.java52 "Unsupported key type: " + key.getClass().getName() in engineGetKeySpec()
63 "Unsupported key type: " + key.getClass().getName() in engineGetKeySpec()
73 "Unsupported key type: " + key.getClass().getName() in engineGetKeySpec()
115 throw new InvalidKeySpecException("Unsupported key spec: " + keySpecClass.getName()); in engineGetKeySpec()
123 + " " + KeyGenParameterSpec.class.getName()); in engineGeneratePrivate()
130 + " " + KeyGenParameterSpec.class.getName()); in engineGeneratePublic()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestMethod.java41 this(method.getName(), enclosingClass); in TestMethod()
46 this.enclosingClassname = enclosingClass.getName(); in TestMethod()
51 this(testCase.getName(), testCase.getClass()); in TestMethod()
54 public String getName() { in getName() method in TestMethod
64 return getEnclosingClass().getMethod(getName()).getAnnotation(annotationClass); in getAnnotation()
103 + testCaseClass.getName()); in instantiateTest()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java1060 if (parser.getName().equals(endTag)) { in readThisMapXml()
1064 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisMapXml()
1088 if (parser.getName().equals(endTag)) { in readThisArrayMapXml()
1092 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisArrayMapXml()
1146 if (parser.getName().equals(endTag)) { in readThisListXml()
1150 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisListXml()
1211 if (parser.getName().equals(endTag)) { in readThisSetXml()
1215 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisSetXml()
1260 if (parser.getName().equals(endTag)) { in readThisByteArrayXml()
1265 + parser.getName()); in readThisByteArrayXml()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java237 assertEquals("StartupState", getCurrentState().getName()); in transitionFromStartupToIdle()
243 assertEquals("IdleState", getCurrentState().getName()); in transitionFromStartupToIdle()
271 assertEquals("WaitingState", getCurrentState().getName()); in verifySmsIntentBroadcasts()
289 assertEquals("WaitingState", getCurrentState().getName()); in verifySmsIntentBroadcasts()
295 assertEquals("IdleState", getCurrentState().getName()); in verifySmsIntentBroadcasts()
321 assertEquals("IdleState", getCurrentState().getName()); in testNewSms()
338 assertEquals("IdleState", getCurrentState().getName()); in testNewSmsFromBlockedNumber_noBroadcastsSent()
357 assertEquals("IdleState", getCurrentState().getName()); in testNewSmsWithUserLocked_notificationShown()
387 assertEquals("IdleState", getCurrentState().getName()); in testNewSmsFromBlockedNumberWithUserLocked_noNotificationShown()
419 assertEquals("IdleState", getCurrentState().getName()); in testNewSms_filterInvoked_noBroadcastsSent()
[all …]
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanProperty.java23 public abstract String getName(); in getName() method in LowpanProperty
28 map.put(getName(), value); in putInMap()
32 return (T) map.get(getName()); in getFromMap()
/frameworks/base/packages/SystemUI/tests/src/com/android/
DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java92 fails.add(cls.getName() + " does not have size annotation, such as @SmallTest"); in testAllClassInheritance()
95 fails.add(cls.getName() + " does not extend any of " + getClsStr()); in testAllClassInheritance()
149 loadedClass.getName())); in isTestClass()
170 logDebug(String.format("Skipping class %s: not a test", loadedClass.getName())); in isTestClass()
180 loadedClass.getName())); in isTestClass()
185 loadedClass.getName())); in isTestClass()
206 return m.getParameterTypes().length == 0 && m.getName().startsWith("test") in isTestMethod()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaRecorderStateUnitTestTemplate.java89 …fail("setMediaRecorderToInitialStateAfterReset: Exception " + e.getClass().getName() + " was throw… in setMediaRecorderToInitialStateAfterReset()
111 …fail("setMediaRecorderToInitialStateAfterReset: Exception " + e.getClass().getName() + " was throw… in setMediaRecorderToInitialStateAfterStop()
122 … fail("setMediaRecorderToInitializedState: Exception " + e.getClass().getName() + " was thrown."); in setMediaRecorderToInitializedState()
135 … fail("setMediaRecorderToPreparedState: Exception " + e.getClass().getName() + " was thrown."); in setMediaRecorderToPreparedState()
149 … fail("setMediaRecorderToRecordingState: Exception " + e.getClass().getName() + " was thrown."); in setMediaRecorderToRecordingState()
171 …fail("setMediaRecorderToDataSourceConfiguredState: Exception " + e.getClass().getName() + " was th… in setMediaRecorderToDataSourceConfiguredState()
204 … fail("setMediaRecorderToErrorState: Exception " + e.getClass().getName() + " was thrown."); in setMediaRecorderToErrorState()

12345678910>>...66