Home
last modified time | relevance | path

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

12345678910>>...53

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNetworkTypeControllerTest.java171 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateLegacy()
176 assertEquals("legacy", getCurrentState().getName()); in testTransitionToCurrentStateLegacy()
181 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateRestricted()
187 assertEquals("restricted", getCurrentState().getName()); in testTransitionToCurrentStateRestricted()
192 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateIdle()
199 assertEquals("not_restricted_rrc_idle", getCurrentState().getName()); in testTransitionToCurrentStateIdle()
204 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateLteConnected()
211 assertEquals("not_restricted_rrc_con", getCurrentState().getName()); in testTransitionToCurrentStateLteConnected()
216 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateNrConnected()
222 assertEquals("connected", getCurrentState().getName()); in testTransitionToCurrentStateNrConnected()
[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.java165 strings[i] = IsoDep.class.getName(); in generateTechStringList()
168 strings[i] = MifareClassic.class.getName(); in generateTechStringList()
171 strings[i] = MifareUltralight.class.getName(); in generateTechStringList()
174 strings[i] = Ndef.class.getName(); in generateTechStringList()
177 strings[i] = NdefFormatable.class.getName(); in generateTechStringList()
180 strings[i] = NfcA.class.getName(); in generateTechStringList()
183 strings[i] = NfcB.class.getName(); in generateTechStringList()
186 strings[i] = NfcF.class.getName(); in generateTechStringList()
189 strings[i] = NfcV.class.getName(); in generateTechStringList()
192 strings[i] = NfcBarcode.class.getName(); in generateTechStringList()
[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/base/wifi/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java252 public String getName() { in getName() method in PpsMoParser.PPSNode
433 if (TextUtils.equals(ppsNodeRoot.getName(), NODE_UPDATE_IDENTIFIER)) { in parsePpsNode()
549 if (parsedNodes.contains(ppsNode.getName())) { in buildPpsNode()
550 throw new ParsingException("Duplicate node: " + ppsNode.getName()); in buildPpsNode()
552 parsedNodes.add(ppsNode.getName()); in buildPpsNode()
592 throw new ParsingException("Cannot get value from a non-leaf node: " + node.getName()); in getPpsNodeValue()
612 switch(child.getName()) { in parsePpsInstance()
639 throw new ParsingException("Unknown node: " + child.getName()); in parsePpsInstance()
659 switch (child.getName()) { in parseHomeSP()
685 throw new ParsingException("Unknown node under HomeSP: " + child.getName()); in parseHomeSP()
[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/services/core/java/com/android/server/
DSystemServiceManager.java90 final String name = serviceClass.getName(); in startService()
97 + ": service must extend " + SystemService.class.getName()); in startService()
132 throw new RuntimeException("Failed to start service " + service.getClass().getName() in startService()
157 Trace.traceBegin(Trace.TRACE_TAG_SYSTEM_SERVER, service.getClass().getName()); in startBootPhase()
162 + service.getClass().getName() in startBootPhase()
188 t.traceBegin("onStartUser-" + userHandle + " " + service.getClass().getName()); in startUser()
194 + " to service " + service.getClass().getName(), ex); in startUser()
209 t.traceBegin("onUnlockUser-" + userHandle + " " + service.getClass().getName()); in unlockUser()
215 + " to service " + service.getClass().getName(), ex); in unlockUser()
230 t.traceBegin("onSwitchUser-" + userHandle + " " + service.getClass().getName()); in switchUser()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/command/
DSppCommand.java85 if (!sCommands.containsKey(soapResponse.getName())) { in SppCommand()
86 throw new IllegalArgumentException("can't find the command: " + soapResponse.getName()); in SppCommand()
88 mSppCommandId = sCommands.get(soapResponse.getName()); in SppCommand()
90 Log.i(TAG, "command name: " + soapResponse.getName()); in SppCommand()
107 if (!sExecs.containsKey(commandInfo.getName())) { in SppCommand()
109 "Unrecognized exec command: " + commandInfo.getName()); in SppCommand()
111 mExecCommandId = sExecs.get(commandInfo.getName()); in SppCommand()
112 Log.i(TAG, "exec command: " + commandInfo.getName()); in SppCommand()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java834 if (parser.getName().equals(endTag)) { in readThisMapXml()
838 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisMapXml()
863 if (parser.getName().equals(endTag)) { in readThisArrayMapXml()
867 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisArrayMapXml()
921 if (parser.getName().equals(endTag)) { in readThisListXml()
925 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisListXml()
986 if (parser.getName().equals(endTag)) { in readThisSetXml()
990 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisSetXml()
1044 if (parser.getName().equals(endTag)) { in readThisByteArrayXml()
1049 + parser.getName()); in readThisByteArrayXml()
[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/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 thew 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/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/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStateTracker.java96 return getCurrentState().getName(); in getSupplicantStateName()
236 if (DBG) Log.d(TAG, getName() + "\n"); in enter()
240 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage()
281 if (DBG) Log.d(TAG, getName() + "\n"); in enter()
288 if (DBG) Log.d(TAG, getName() + "\n"); in enter()
295 if (DBG) Log.d(TAG, getName() + "\n"); in enter()
302 if (DBG) Log.d(TAG, getName() + "\n"); in enter()
330 if (DBG) Log.d(TAG, getName() + "\n"); in enter()
336 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage()
370 if (DBG) Log.d(TAG, getName() + "\n"); in enter()
[all …]
/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/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/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/keystore/java/android/security/keystore/
DAndroidKeyStoreKeyFactorySpi.java51 "Unsupported key type: " + key.getClass().getName() in engineGetKeySpec()
62 "Unsupported key type: " + key.getClass().getName() in engineGetKeySpec()
80 "Unsupported key type: " + key.getClass().getName() in engineGetKeySpec()
122 throw new InvalidKeySpecException("Unsupported key spec: " + keySpecClass.getName()); in engineGetKeySpec()
130 + " " + KeyGenParameterSpec.class.getName()); in engineGeneratePrivate()
137 + " " + KeyGenParameterSpec.class.getName()); in engineGeneratePublic()
/frameworks/compile/libbcc/lib/
DRSScriptGroupFusion.cpp59 source->getName().c_str(), slot); in getFunction()
65 source->getName().c_str(), functionName); in getFunction()
104 source->getName().c_str(), slot); in getFusedFuncSig()
111 source->getName().c_str(), slot, signature); in getFusedFuncSig()
241 source->getName().c_str(), inputFunction->getName().str().c_str()); in fuseKernels()
250 source->getName().c_str(), inputFunction->getName().str().c_str()); in fuseKernels()
264 ALOGE("Kernel fusion (module %s function %s): %s", source->getName().c_str(), in fuseKernels()
265 inputFunction->getName().str().c_str(), rso.str().c_str()); in fuseKernels()
274 source->getName().c_str(), inputFunction->getName().str().c_str()); in fuseKernels()
/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()
DMediaPlayerStateUnitTestTemplate.java181 …Log.v(TAG, "setMediaPlayerToIdleStateAfterReset: Exception " + e.getClass().getName() + " was thro… in setMediaPlayerToIdleStateAfterReset()
191 …Log.v(TAG, "setMediaPlayerToInitializedState: Exception " + e.getClass().getName() + " was thrown.… in setMediaPlayerToInitializedState()
202 … Log.v(TAG, "setMediaPlayerToPreparedState: Exception " + e.getClass().getName() + " was thrown."); in setMediaPlayerToPreparedState()
216 …Log.v(TAG, "setMediaPlayerToPreparedStateAfterStop: Exception " + e.getClass().getName() + " was t… in setMediaPlayerToPreparedStateAfterStop()
228 … Log.v(TAG, "setMediaPlayerToStartedState: Exception " + e.getClass().getName() + " was thrown."); in setMediaPlayerToStartedState()
253 …Log.v(TAG, "setMediaPlayerToStartedStateAfterPause: Exception " + e.getClass().getName() + " was t… in setMediaPlayerToStartedStateAfterPause()
266 … Log.v(TAG, "setMediaPlayerToPausedState: Exception " + e.getClass().getName() + " was thrown."); in setMediaPlayerToPausedState()
279 … Log.v(TAG, "setMediaPlayerToStoppedState: Exception " + e.getClass().getName() + " was thrown."); in setMediaPlayerToStoppedState()
299 …Log.v(TAG, "setMediaPlayerToPlaybackCompletedState: Exception " + e.getClass().getName() + " was t… in setMediaPlayerToPlaybackCompletedState()
323 … Log.v(TAG, "setMediaPlayerToErrorState: Exception " + e.getClass().getName() + " was thrown."); in setMediaPlayerToErrorState()

12345678910>>...53