/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | NetworkTypeControllerTest.java | 256 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateLegacy() 259 assertEquals("legacy", getCurrentState().getName()); in testTransitionToCurrentStateLegacy() 264 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateRestricted() 268 assertEquals("restricted", getCurrentState().getName()); in testTransitionToCurrentStateRestricted() 273 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateIdle() 279 assertEquals("not_restricted_rrc_idle", getCurrentState().getName()); in testTransitionToCurrentStateIdle() 289 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateIdleSupportPhysicalChannelConfig1_6() 298 assertEquals("not_restricted_rrc_idle", getCurrentState().getName()); in testTransitionToCurrentStateIdleSupportPhysicalChannelConfig1_6() 311 assertEquals("DefaultState", getCurrentState().getName()); in testTransitionToCurrentStateIdle_usingUserDataForRrcDetection() 318 assertEquals("not_restricted_rrc_idle", getCurrentState().getName()); in testTransitionToCurrentStateIdle_usingUserDataForRrcDetection() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/ |
D | FeatureFlagsClassicRelease.java | 63 if (mBooleanCache.containsKey(flag.getName())) { 65 if (mBooleanCache.get(flag.getName()) != newValue) { 68 } else if (mStringCache.containsKey(flag.getName())) { 70 if (!mStringCache.get(flag.getName()).equals(newValue)) { 73 } else if (mIntCache.containsKey(flag.getName())) { 79 if (mIntCache.get(flag.getName()) != newValue) { 86 + flag.getName()); 126 return isEnabledInternal(flag.getName(), in isEnabled() 127 mServerFlagReader.readServerOverride(flag.getNamespace(), flag.getName(), true)); in isEnabled() 133 return isEnabledInternal(flag.getName(), mResources.getBoolean(flag.getResourceId())); in isEnabled() [all …]
|
D | FeatureFlagsClassicDebug.java | 91 if (mBooleanFlagCache.containsKey(flag.getName())) { 93 if (mBooleanFlagCache.get(flag.getName()) != newValue) { 96 } else if (mStringFlagCache.containsKey(flag.getName())) { 97 if (!mStringFlagCache.get(flag.getName()).equals(value)) { 100 } else if (mIntFlagCache.containsKey(flag.getName())) { 106 if (mIntFlagCache.get(flag.getName()) != newValue) { 113 + flag.getName()); 163 String name = flag.getName(); in isEnabledInternal() 176 String name = flag.getName(); in isEnabled() 188 String name = flag.getName(); in isEnabled() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/ |
D | TableChangeTest.kt | 136 assertThat(underTest.getName()).contains("fakePrefix") in getName_hasPrefix() 137 assertThat(underTest.getName()).contains("fakeName") in getName_hasPrefix() 144 assertThat(underTest.getName()).contains("fakeName") in getName_noPrefix() 178 assertThat(underTest.getName()).contains("updated") in resetThenSet_hasNewValue() 179 assertThat(underTest.getName()).doesNotContain("prefix") in resetThenSet_hasNewValue() 180 assertThat(underTest.getName()).doesNotContain("original") in resetThenSet_hasNewValue() 227 assertThat(underTest.getName()).contains("newPrefix") in updateTo_emptyToString_isString() 228 assertThat(underTest.getName()).contains("newName") in updateTo_emptyToString_isString() 241 assertThat(underTest.getName()).contains("newPrefix") in updateTo_intToEmpty_isEmpty() 242 assertThat(underTest.getName()).contains("newName") in updateTo_intToEmpty_isEmpty() [all …]
|
/frameworks/base/test-runner/tests/src/android/test/ |
D | AndroidTestRunnerTest.java | 51 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 …]
|
D | InstrumentationTestRunnerTest.java | 53 String expectedTestClassName = PlaceHolderTest.class.getName(); in testOverrideTestToRunWithClassArgument() 61 String expectedTestClassName = PlaceHolderTest.class.getName(); in testOverrideTestToRunWithClassAndMethodArgument() 77 PlaceHolderTest.class.getName(), "testPlaceHolder"); in testUseSelfAsTestSuiteProviderWhenNoMetaDataOrClassArgument() 81 String classArg = PlaceHolderTest.class.getName() + "," + in testMultipleTestClass() 82 PlaceHolderTest2.class.getName(); in testMultipleTestClass() 89 new TestDescriptor(PlaceHolderTest.class.getName(), "testPlaceHolder"), in testMultipleTestClass() 90 new TestDescriptor(PlaceHolderTest2.class.getName(), "testPlaceHolder2")); in testMultipleTestClass() 121 String testClassName = PlaceHolderTest.class.getName(); in testBadMethodArgument() 135 PlaceHolderTest.class.getName() + "," + in testDelayParameter() 136 PlaceHolderTest2.class.getName()); in testDelayParameter() [all …]
|
/frameworks/base/nfc/java/android/nfc/ |
D | Tag.java | 172 strings[i] = IsoDep.class.getName(); in generateTechStringList() 175 strings[i] = MifareClassic.class.getName(); in generateTechStringList() 178 strings[i] = MifareUltralight.class.getName(); in generateTechStringList() 181 strings[i] = Ndef.class.getName(); in generateTechStringList() 184 strings[i] = NdefFormatable.class.getName(); in generateTechStringList() 187 strings[i] = NfcA.class.getName(); in generateTechStringList() 190 strings[i] = NfcB.class.getName(); in generateTechStringList() 193 strings[i] = NfcF.class.getName(); in generateTechStringList() 196 strings[i] = NfcV.class.getName(); in generateTechStringList() 199 strings[i] = NfcBarcode.class.getName(); in generateTechStringList() [all …]
|
/frameworks/compile/slang/ |
D | slang_rs_export_foreach.cpp | 45 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 …]
|
D | slang_rs_export_reduce.cpp | 227 << 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 …]
|
D | slang_rs_reflection_cpp.cpp | 243 << 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/ |
D | GraphicsPerformanceTests.java | 41 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/ |
D | TestDelegates.java | 125 Method delegateMethod = delegateClass.getDeclaredMethod(originalMethod.getName(), in compare() 133 delegateClass.getName(), in compare() 135 originalMethod.getReturnType().getName())); in compare() 143 delegateMethod.getName(), in compare() 144 originalClass.getName())); in compare() 152 delegateMethod.getName(), in compare() 153 originalClass.getName()) in compare() 161 mErrors.add(String.format("Missing %1$s.%2$s", delegateClass.getName(), name)); in compare() 179 if ("constructor_after".equals(delegateMethod.getName())) { in compare() 186 delegateClass.getName(), in compare() [all …]
|
/frameworks/base/core/java/com/android/internal/vibrator/persistence/ |
D | XmlReader.java | 46 String tagName = parser.getName(); in readDocumentStartTag() 88 "Unexpected tag found %s, expected document end", parser.getName()); in readDocumentEndTag() 116 throw XmlParserException.createFromPullParserException(parser.getName(), e); in readNextTagWithin() 127 parser.getName(), outerDepth); in readNextTagWithin() 139 readEndTag(parser, parser.getName(), parser.getDepth()); in readEndTag() 153 "Unexpected nested tag %s found in tag %s", parser.getName(), tagName); in readEndTag() 172 String tagName = parser.getName(); in readAttributeIntNonNegative() 185 String tagName = parser.getName(); in readAttributeIntInRange() 205 String tagName = parser.getName(); in readAttributeFloatInRange() 216 String tagName = parser.getName(); in readAttributeInt() [all …]
|
/frameworks/base/test-junit/src/junit/framework/ |
D | TestSuite.java | 56 …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/hoststubgen/hoststubgen/helper-runtime-src/com/android/hoststubgen/hosthelper/ |
D | HostTestSuite.java | 55 System.out.println("Test class found " + clazz.getName()); in suite() 58 + CLASS_NAME_REGEX_ENV + "): " + clazz.getName()); in suite() 80 if (classInfo.getName().startsWith("junit.") in asTestClass() 81 || classInfo.getName().startsWith("org.junit.") in asTestClass() 82 || classInfo.getName().startsWith("android.test.") in asTestClass() 83 || classInfo.getName().startsWith("androidx.test.")) { in asTestClass()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecConfig.java | 224 public @SettingName String getName() { in getName() method in HdmiCecConfig.Setting 237 + this.getName() + "' setting. " in getDefaultValue() 254 "Failed to set '" + value + "' as a default for '" + this.getName() in registerValue() 720 switch (setting.getName()) { in getStorage() 791 throw new VerificationException("Invalid CEC setting '" + setting.getName() in getStorage() 797 switch (setting.getName()) { in getStorageKey() 799 return setting.getName(); in getStorageKey() 801 return setting.getName(); in getStorageKey() 803 return setting.getName(); in getStorageKey() 805 return setting.getName(); in getStorageKey() [all …]
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | LegacyAppOpStateParser.java | 73 String tagName = parser.getName(); in readState() 85 + parser.getName()); in readState() 112 String tagName = parser.getName(); in readPackage() 117 + parser.getName()); in readPackage() 135 String tagName = parser.getName(); in readPackageUid() 140 + parser.getName()); in readPackageUid() 164 String tagName = parser.getName(); in readUidOps() 174 + parser.getName()); in readUidOps() 192 String tagName = parser.getName(); in readUser() 197 + parser.getName()); in readUser() [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | InputSource.cpp | 34 ALOGV("%s: InputSource %s identifier 0x%X", __FUNCTION__, getName().c_str(), identifier); in setIdentifier() 52 __FUNCTION__, devices, getName().c_str()); in set() 55 ALOGV("%s: 0x%X for input source %s", __FUNCTION__, devices, getName().c_str()); in set() 63 ALOGV("%s: 0x%X for inputSource %s", __FUNCTION__, mApplicableDevices, getName().c_str()); in get()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/ |
D | OffloadBrightnessStrategy.java | 60 .setDisplayBrightnessStrategyName(getName()) in updateBrightness() 67 public String getName() { in getName() method in OffloadBrightnessStrategy 93 if (!strategySelectionNotifyRequest.getSelectedDisplayBrightnessStrategy().getName() in strategySelectionPostProcessor() 94 .equals(getName()) in strategySelectionPostProcessor() 95 && !strategySelectionNotifyRequest.getSelectedDisplayBrightnessStrategy().getName() in strategySelectionPostProcessor()
|
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/ |
D | InspectionCompanionGenerator.java | 145 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/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/ |
D | MediaCodecBase.java | 174 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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphExporter.java | 67 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/core/tests/coretests/src/com/android/internal/jank/ |
D | CujTest.java | 92 field.getName()) in testCujTypeEnumCorrectlyDefined() 95 assertWithMessage("Field %s must have a value <= LAST_CUJ", field.getName()) in testCujTypeEnumCorrectlyDefined() 98 assertWithMessage("Field %s must have a statsd mapping.", field.getName()) in testCujTypeEnumCorrectlyDefined() 109 .filter(f -> f.getName().startsWith(ENUM_NAME_PREFIX) in testCujsMapToEnumsCorrectly() 110 && !DEPRECATED_VALUES.contains(f.getName()) in testCujsMapToEnumsCorrectly() 113 .collect(Collectors.toMap(CujTest::getIntFieldChecked, Field::getName)); in testCujsMapToEnumsCorrectly() 119 final String cujName = f.getName(); in testCujsMapToEnumsCorrectly() 152 .filter(f -> f.getName().startsWith("CUJ_") in getCujConstants()
|
/frameworks/base/test-runner/src/android/test/ |
D | AndroidTestRunner.java | 122 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/base/test-runner/src/android/test/suitebuilder/ |
D | TestMethod.java | 41 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()
|