Home
last modified time | relevance | path

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

12345678910>>...48

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiControllerTest.java133 assertEquals("StaDisabledWithScanState", getCurrentState().getName()); in enableWifi()
138 assertEquals("DeviceActiveState", getCurrentState().getName()); in enableWifi()
143 assertEquals("StaDisabledWithScanState", getCurrentState().getName()); in enableWifi()
148 assertEquals("DeviceActiveState", getCurrentState().getName()); in enableWifi()
171 assertEquals("EcmState", getCurrentState().getName()); in assertInEcm()
173 assertEquals("DeviceActiveState", getCurrentState().getName()); in assertInEcm()
187 assertEquals("DeviceActiveState", getCurrentState().getName()); in doTestEcm()
196 assertEquals("DeviceActiveState", getCurrentState().getName()); in doTestEcm()
214 assertEquals("DeviceActiveState", getCurrentState().getName()); in doTestEcm()
231 assertEquals("DeviceActiveState", getCurrentState().getName()); in doTestEcm()
[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/java/android/nfc/
DTag.java163 strings[i] = IsoDep.class.getName(); in generateTechStringList()
166 strings[i] = MifareClassic.class.getName(); in generateTechStringList()
169 strings[i] = MifareUltralight.class.getName(); in generateTechStringList()
172 strings[i] = Ndef.class.getName(); in generateTechStringList()
175 strings[i] = NdefFormatable.class.getName(); in generateTechStringList()
178 strings[i] = NfcA.class.getName(); in generateTechStringList()
181 strings[i] = NfcB.class.getName(); in generateTechStringList()
184 strings[i] = NfcF.class.getName(); in generateTechStringList()
187 strings[i] = NfcV.class.getName(); in generateTechStringList()
190 strings[i] = NfcBarcode.class.getName(); in generateTechStringList()
[all …]
/frameworks/base/test-runner/tests/src/android/test/
DAndroidTestRunnerTest.java51 mAndroidTestRunner.setTestClassName(TestSuite.class.getName(), null); in testLoadNoTestCases()
56 assertEquals("warning", testCases.get(0).getName()); in testLoadNoTestCases()
61 mAndroidTestRunner.setTestClassName(OneTestTestCase.class.getName(), null); in testSetTestSuiteWithOneTestCase()
66 assertEquals("testOne", testCases.get(0).getName()); in testSetTestSuiteWithOneTestCase()
71 mAndroidTestRunner.setTestClassName(OneTestTestCase.class.getName(), null); in testRunTest()
83 OneAndroidTestTestCase.class.getName(), "testOneAndroid"); in testRunTestWithAndroidTestCase()
98 mAndroidTestRunner.setTestClassName(OneAndroidTestTestCase.class.getName(), null); in testRunTestWithAndroidTestCaseInSuite()
114 mAndroidTestRunner.setTestClassName(AndroidTestCaseTestSuite.class.getName(), null); in testRunTestWithAndroidTestCaseInNestedSuite()
130 mAndroidTestRunner.setTestClassName(OneTestTestCase.class.getName(), null); in testRunTestWithNullListener()
141 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/tests/coretests/src/android/graphics/
DGraphicsPerformanceTests.java40 DecodeBitmapTest.class.getName(), in children()
43 DrawBitmap7x7.class.getName(), in children()
44 DrawBitmap15x15.class.getName(), in children()
45 DrawBitmap31x31.class.getName(), in children()
46 DrawBitmap63x63.class.getName(), in children()
47 DrawBitmap127x127.class.getName(), in children()
48 DrawBitmap319x239.class.getName(), in children()
49 DrawBitmap319x479.class.getName(), in children()
52 DrawBitmap8x8.class.getName(), in children()
53 DrawBitmap16x16.class.getName(), in children()
[all …]
/frameworks/base/core/java/android/app/
DNotificationChannelGroup.java114 public CharSequence getName() { in getName() method in NotificationChannelGroup
141 if (getName() != null) { in writeXml()
142 out.attribute(null, ATT_NAME, getName().toString()); in writeXml()
155 record.put(ATT_NAME, getName()); in toJson()
185 if (getName() != null ? !getName().equals(that.getName()) : that.getName() != null) { in equals()
193 return new NotificationChannelGroup(getId(), getName()); in clone()
199 result = 31 * result + (getName() != null ? getName().hashCode() : 0); in hashCode()
/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/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java123 Method delegateMethod = delegateClass.getDeclaredMethod(originalMethod.getName(), in compare()
131 delegateClass.getName(), in compare()
133 originalMethod.getReturnType().getName())); in compare()
141 delegateMethod.getName(), in compare()
142 originalClass.getName())); in compare()
150 delegateMethod.getName(), in compare()
151 originalClass.getName()) in compare()
159 mErrors.add(String.format("Missing %1$s.%2$s", delegateClass.getName(), name)); in compare()
179 delegateClass.getName(), in compare()
192 StringBuilder sb = new StringBuilder(method.getName() + "("); in getMethodName()
[all …]
/frameworks/base/services/core/java/com/android/server/
DSystemServiceManager.java83 final String name = serviceClass.getName(); in startService()
90 + ": service must extend " + SystemService.class.getName()); in startService()
125 throw new RuntimeException("Failed to start service " + service.getClass().getName() in startService()
150 Trace.traceBegin(Trace.TRACE_TAG_SYSTEM_SERVER, service.getClass().getName()); in startBootPhase()
155 + service.getClass().getName() in startBootPhase()
180 + service.getClass().getName()); in startUser()
186 + " to service " + service.getClass().getName(), ex); in startUser()
199 + service.getClass().getName()); in unlockUser()
205 + " to service " + service.getClass().getName(), ex); in unlockUser()
218 + service.getClass().getName()); in switchUser()
[all …]
/frameworks/base/legacy-test/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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DLegacyPasspointConfigParser.java110 public String getName() { in getName() method in LegacyPasspointConfigParser.Node
208 if (!TextUtils.equals(TAG_MANAGEMENT_TREE, root.getName())) { in parseConfig()
209 throw new IOException("Unexpected root node: " + root.getName()); in parseConfig()
282 if (!TextUtils.equals(TAG_PER_PROVIDER_SUBSCRIPTION, ppsNode.getName())) { in processPpsNode()
283 throw new IOException("Unexpected name for PPS node: " + ppsNode.getName()); in processPpsNode()
295 switch (node.getName()) { in processPpsNode()
303 Log.d(TAG, "Ignore uninterested field under PPS instance: " + node.getName()); in processPpsNode()
327 switch (node.getName()) { in processHomeSPNode()
338 Log.d(TAG, "Ignore uninterested field under HomeSP: " + node.getName()); in processHomeSPNode()
359 switch (node.getName()) { in processCredentialNode()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DStream.cpp35 ALOGD("%s: Stream %s identifier 0x%X", __FUNCTION__, getName().c_str(), identifier); in setIdentifier()
54 ALOGD("%s: 0x%X for Stream %s", __FUNCTION__, strategy, getName().c_str()); in set()
61 ALOGV("%s: 0x%X for Stream %s", __FUNCTION__, mApplicableStrategy, getName().c_str()); in get()
72 ALOGD("%s: 0x%X for Stream %s", __FUNCTION__, mVolumeProfile, getName().c_str()); in set()
79 ALOGV("%s: 0x%X for Stream %s", __FUNCTION__, mVolumeProfile, getName().c_str()); in get()
DStrategy.cpp34 ALOGD("%s: Strategy %s identifier 0x%X", __FUNCTION__, getName().c_str(), identifier); in setIdentifier()
51 __FUNCTION__, devices, getName().c_str()); in set()
54 ALOGD("%s: 0x%X for strategy %s", __FUNCTION__, devices, getName().c_str()); in set()
62 ALOGV("%s: 0x%X for strategy %s", __FUNCTION__, mApplicableDevices, getName().c_str()); in get()
DInputSource.cpp33 ALOGD("%s: InputSource %s identifier 0x%X", __FUNCTION__, getName().c_str(), identifier); in setIdentifier()
54 __FUNCTION__, devices, getName().c_str()); in set()
57 ALOGD("%s: 0x%X for input source %s", __FUNCTION__, devices, getName().c_str()); in set()
65 ALOGV("%s: 0x%X for inputSource %s", __FUNCTION__, mApplicableDevices, getName().c_str()); in get()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java833 if (parser.getName().equals(endTag)) { in readThisMapXml()
837 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisMapXml()
862 if (parser.getName().equals(endTag)) { in readThisArrayMapXml()
866 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisArrayMapXml()
920 if (parser.getName().equals(endTag)) { in readThisListXml()
924 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisListXml()
985 if (parser.getName().equals(endTag)) { in readThisSetXml()
989 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisSetXml()
1050 if (parser.getName().equals(endTag)) { in readThisByteArrayXml()
1055 + parser.getName()); in readThisByteArrayXml()
[all …]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DAggregatorManager.java61 if (mAggregators.get(agg.getClass().getName()) != null) { in registerAggregator()
65 mAggregators.put(agg.getClass().getName(), agg); in registerAggregator()
79 mAggregators.get(LocationStatsAggregator.class.getName()); in getLocationClusters()
86 mAggregators.get(TimeStatsAggregator.class.getName()); in getTimeOfDayValues()
93 mAggregators.get(TimeStatsAggregator.class.getName()); in getDayOfWeekValues()
101 mAggregators.get(LocationStatsAggregator.class.getName()); in setFakeLocation()
111 mAggregators.get(TimeStatsAggregator.class.getName()); in setFakeTimeOfDay()
121 mAggregators.get(TimeStatsAggregator.class.getName()); in setFakeDayOfWeek()
/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/base/packages/SystemUI/src/com/android/systemui/fragments/
DPluginFragmentListener.java62 plugin.getClass().getName(), pluginContext); in onPluginConnected()
64 Log.e(TAG, plugin.getClass().getName() + " must be a Fragment and implement " in onPluginConnected()
65 + mExpectedInterface.getName(), e); in onPluginConnected()
72 plugin.getClass().getName(), mDefaultClass.getName()); in onPluginDisconnected()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabasePerformanceTests.java43 ContactReadingTest1.class.getName(), in children()
44 Perf1Test.class.getName(), in children()
45 Perf2Test.class.getName(), in children()
46 Perf3Test.class.getName(), in children()
47 Perf4Test.class.getName(), in children()
48 Perf5Test.class.getName(), in children()
49 Perf6Test.class.getName(), in children()
50 Perf7Test.class.getName(), in children()
51 Perf8Test.class.getName(), in children()
52 Perf9Test.class.getName(), in children()
[all …]
/frameworks/base/tools/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/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/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 …]

12345678910>>...48