/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 | 52 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/graphics/tests/graphicstests/src/android/graphics/ |
D | GraphicsPerformanceTests.java | 44 DecodeBitmapTest.class.getName(), in children() 47 DrawBitmap7x7.class.getName(), in children() 48 DrawBitmap15x15.class.getName(), in children() 49 DrawBitmap31x31.class.getName(), in children() 50 DrawBitmap63x63.class.getName(), in children() 51 DrawBitmap127x127.class.getName(), in children() 52 DrawBitmap319x239.class.getName(), in children() 53 DrawBitmap319x479.class.getName(), in children() 56 DrawBitmap8x8.class.getName(), in children() 57 DrawBitmap16x16.class.getName(), in children() [all …]
|
/frameworks/testing/androidtestlib/tests/src/com/android/test/runner/ |
D | TestRequestBuilderTest.java | 69 b.addTestClass(SampleTest.class.getName()); in testNoSize() 82 b.addTestClass(SampleTest.class.getName()); in testSize() 96 b.addTestClass(SampleTest.class.getName()); in testSize_class() 97 b.addTestClass(SampleClassSize.class.getName()); in testSize_class() 111 b.addAnnotationInclusionFilter(SmallTest.class.getName()); in testAddAnnotationInclusionFilter() 112 b.addTestClass(SampleTest.class.getName()); in testAddAnnotationInclusionFilter() 113 b.addTestClass(SampleClassSize.class.getName()); in testAddAnnotationInclusionFilter() 126 b.addAnnotationExclusionFilter(SmallTest.class.getName()); in testAddAnnotationExclusionFilter() 127 b.addTestClass(SampleTest.class.getName()); in testAddAnnotationExclusionFilter() 128 b.addTestClass(SampleClassSize.class.getName()); in testAddAnnotationExclusionFilter()
|
/frameworks/compile/slang/ |
D | slang_rs_export_foreach.cpp | 47 << PVD->getName(); in ReportNameError() 72 << FD->getName() in validateAndConstructParams() 96 "void type")) << FD->getName(); in validateAndConstructParams() 129 "parameter for in or out")) << FD->getName(); in validateAndConstructParams() 154 << FD->getName() << PVD->getName() << PVD->getType().getAsString(); in validateAndConstructParams() 157 llvm::StringRef ParamName = PVD->getName(); in validateAndConstructParams() 188 << FD->getName() << PVD->getName() << PVD->getType().getAsString(); in validateAndConstructParams() 221 << FD->getName() << SLANG_MINIMUM_TARGET_API in validateAndConstructParams() 246 << FD->getName() << SLANG_MINIMUM_TARGET_API in validateAndConstructKernelParams() 265 << FD->getName() << mResultType.getAsString(); in validateAndConstructKernelParams() [all …]
|
D | slang_rs_reflection_cpp.cpp | 112 write(string(rtd.type->c_name) + " __" + ev->getName() + ";"); in makeHeader() 135 write(string("void set_") + ev->getName() + "(" + rtd.type->c_name + " v) {"); in makeHeader() 139 write(string(" __") + ev->getName() + " = v;"); in makeHeader() 142 write(string(rtd.type->c_name) + " get_" + ev->getName() + "() const {"); in makeHeader() 148 write(string(" return __") + ev->getName() + ";"); in makeHeader() 165 tmp << "void forEach_" << ef->getName() << "("; in makeHeader() 181 tmp << rtd.type->c_name << " " << (*i)->getName(); in makeHeader() 267 tmp << "void " << mClassName << "::forEach_" << ef->getName() << "("; in makeImpl()
|
D | slang_rs_backend.cpp | 95 if (!FD->getName().startswith("rs")) // Check prefix in HandleTopLevelDecl() 103 << FD->getName(); in HandleTopLevelDecl() 221 llvm::MDString::get(mLLVMContext, EV->getName().c_str())); in HandleTranslationUnitPost() 240 ->getPointeeType()->getName()).c_str())); in HandleTranslationUnitPost() 256 EV->getType()->getName().c_str())); in HandleTranslationUnitPost() 297 EF->getName().c_str())); in HandleTranslationUnitPost() 299 llvm::Function *F = M->getFunction(EF->getName()); in HandleTranslationUnitPost() 301 const std::string HelperFunctionName(".helper_" + EF->getName()); in HandleTranslationUnitPost() 322 EF->getName().c_str()); in HandleTranslationUnitPost() 430 llvm::MDString::get(mLLVMContext, EFE->getName().c_str())); in HandleTranslationUnitPost() [all …]
|
/frameworks/testing/androidtestlib/src/com/android/test/runner/junit4/ |
D | AndroidJUnit4ClassRunner.java | 86 " but is not public", instrField.getName(), getTestClass().getName()))); in validateInjectField() 91 " but its not of %s type", instrField.getName(), in validateInjectField() 92 getTestClass().getName(), expectedType.getName()))); in validateInjectField() 114 "Failed to inject value for field %s in class %s", field.getName(), in setFieldValue() 115 test.getClass().getName()), e); in setFieldValue() 118 "Failed to inject value for field %s in class %s", field.getName(), in setFieldValue() 119 test.getClass().getName()), e); in setFieldValue()
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
D | TestDelegates.java | 121 Method delegateMethod = delegateClass.getDeclaredMethod(originalMethod.getName(), in compare() 128 delegateMethod.getName(), in compare() 129 originalClass.getName()), in compare() 136 delegateMethod.getName(), in compare() 137 originalClass.getName()), in compare() 144 fail(String.format("Missing %1$s.%2$s", delegateClass.getName(), name)); in compare() 164 delegateClass.getName(), in compare() 177 StringBuilder sb = new StringBuilder(method.getName() + "("); in getMethodName() 180 sb.append(theClass.getName()); in getMethodName()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | SupplicantStateTracker.java | 159 if (DBG) Log.d(TAG, getName() + "\n"); in enter() 163 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage() 201 if (DBG) Log.d(TAG, getName() + "\n"); in enter() 208 if (DBG) Log.d(TAG, getName() + "\n"); in enter() 215 if (DBG) Log.d(TAG, getName() + "\n"); in enter() 234 if (DBG) Log.d(TAG, getName() + "\n"); in enter() 249 if (DBG) Log.d(TAG, getName() + "\n"); in enter() 255 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage() 287 if (DBG) Log.d(TAG, getName() + "\n"); in enter() 297 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage() [all …]
|
D | WifiStateMachine.java | 1169 sb.append("current HSM state: ").append(getCurrentState().getName()).append(LS); in toString() 1895 if (DBG) log(getName() + message.toString() + "\n"); in processMessage() 2048 if (DBG) log(getName() + "\n"); in enter() 2052 EventLog.writeEvent(EVENTLOG_WIFI_STATE_CHANGED, getName()); in enter() 2086 if (DBG) log(getName() + "\n"); in enter() 2087 EventLog.writeEvent(EVENTLOG_WIFI_STATE_CHANGED, getName()); in enter() 2129 if (DBG) log(getName() + message.toString() + "\n"); in processMessage() 2163 if (DBG) log(getName() + "\n"); in enter() 2164 EventLog.writeEvent(EVENTLOG_WIFI_STATE_CHANGED, getName()); in enter() 2168 if (DBG) log(getName() + message.toString() + "\n"); in processMessage() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlUtils.java | 569 "Map value without name attribute: " + parser.getName()); in readThisMapXml() 572 if (parser.getName().equals(endTag)) { in readThisMapXml() 576 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisMapXml() 611 if (parser.getName().equals(endTag)) { in readThisListXml() 615 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisListXml() 652 if (parser.getName().equals(endTag)) { in readThisSetXml() 656 "Expected " + endTag + " end tag at: " + parser.getName()); in readThisSetXml() 700 if (parser.getName().equals("item")) { in readThisIntArrayXml() 713 "Expected item tag at: " + parser.getName()); in readThisIntArrayXml() 716 if (parser.getName().equals(endTag)) { in readThisIntArrayXml() [all …]
|
D | StateMachine.java | 527 sb.append(mState == null ? "<null>" : mState.getName()); in toString() 529 sb.append(mOrgState == null ? "<null>" : mOrgState.getName()); in toString() 705 return "state=" + state.getName() + ",active=" + active in toString() 707 "null" : parentStateInfo.state.getName()); in toString() 899 Log.d(TAG, "processMsg: " + curStateInfo.state.getName()); in processMsg() 918 Log.d(TAG, "processMsg: " + curStateInfo.state.getName()); in processMsg() 945 if (mDbg) Log.d(TAG, "invokeExitMethods: " + curState.getName()); in invokeExitMethods() 957 if (mDbg) Log.d(TAG, "invokeEnterMethods: " + mStateStack[i].state.getName()); in invokeEnterMethods() 1003 + ",Top=" + mStateStack[mStateStackTopIndex].state.getName()); in moveTempStateStackToStateStack() 1046 + mInitialState.getName()); in setupInitialStateStack() [all …]
|
/frameworks/base/core/java/android/nfc/ |
D | Tag.java | 162 strings[i] = IsoDep.class.getName(); in generateTechStringList() 165 strings[i] = MifareClassic.class.getName(); in generateTechStringList() 168 strings[i] = MifareUltralight.class.getName(); in generateTechStringList() 171 strings[i] = Ndef.class.getName(); in generateTechStringList() 174 strings[i] = NdefFormatable.class.getName(); in generateTechStringList() 177 strings[i] = NfcA.class.getName(); in generateTechStringList() 180 strings[i] = NfcB.class.getName(); in generateTechStringList() 183 strings[i] = NfcF.class.getName(); in generateTechStringList() 186 strings[i] = NfcV.class.getName(); in generateTechStringList() 189 strings[i] = NfcBarcode.class.getName(); in generateTechStringList()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabasePerformanceTests.java | 43 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/test-runner/src/android/test/suitebuilder/ |
D | TestMethod.java | 37 this(method.getName(), enclosingClass); in TestMethod() 42 this.enclosingClassname = enclosingClass.getName(); in TestMethod() 47 this(testCase.getName(), testCase.getClass()); in TestMethod() 50 public String getName() { in getName() method in TestMethod 60 return getEnclosingClass().getMethod(getName()).getAnnotation(annotationClass); in getAnnotation() 99 + testCaseClass.getName()); in instantiateTest()
|
/frameworks/base/test-runner/src/android/test/ |
D | AndroidTestRunner.java | 116 runFailed("Could not access test class. Class: " + testClass.getName()); in newSingleTestMethod() 118 runFailed("Could not instantiate test class. Class: " + testClass.getName()); in newSingleTestMethod() 120 runFailed("Illegal argument passed to constructor. Class: " + testClass.getName()); in newSingleTestMethod() 122 runFailed("Constructor thew an exception. Class: " + testClass.getName()); in newSingleTestMethod() 139 runFailed("Could not instantiate test suite provider. Class: " + clazz.getName()); in getTest() 141 runFailed("Illegal access of test suite provider. Class: " + clazz.getName()); in getTest() 143 runFailed("Invocation exception test suite provider. Class: " + clazz.getName()); in getTest() 145 runFailed("No such method on test suite provider. Class: " + clazz.getName()); in getTest() 148 return getTest(clazz.getName()); in getTest()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaRecorderStateUnitTestTemplate.java | 89 …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()
|
D | MediaPlayerStateUnitTestTemplate.java | 181 …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()
|
/frameworks/base/core/java/android/net/ |
D | DhcpStateMachine.java | 188 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage() 206 if (DBG) Log.d(TAG, getName() + "\n"); in enter() 212 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage() 239 if (DBG) Log.d(TAG, getName() + "\n"); in enter() 245 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage() 271 if (DBG) Log.d(TAG, getName() + "\n"); in enter() 277 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage() 312 if (DBG) Log.d(TAG, getName() + "\n"); in enter() 318 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage()
|
/frameworks/base/core/java/android/webkit/ |
D | DeviceOrientationService.java | 78 assert WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName()); in sendErrorEvent() 86 assert WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName()); in sendErrorEvent() 137 assert WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName()); in getSensorManager() 169 assert WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName()); in maybeSendChange() 190 assert WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName()); in onSensorChanged() 223 assert WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName()); in onAccuracyChanged()
|
D | DeviceMotionService.java | 75 assert WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName()); in sendErrorEvent() 84 assert WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName()); in sendErrorEvent() 130 assert WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName()); in getSensorManager() 159 assert WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName()); in onSensorChanged() 176 assert WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName()); in onAccuracyChanged()
|
D | WebStorageClassic.java | 181 if (WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName())) { in getOrigins() 195 if (WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName())) { in getOriginsSync() 211 if (WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName())) { in getUsageForOrigin() 232 if (WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName())) { in getQuotaForOrigin() 247 if (WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName())) { in setQuotaForOrigin() 259 if (WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName())) { in deleteOrigin() 270 if (WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName())) { in deleteAllData() 320 if (WebViewCore.THREAD_NAME.equals(Thread.currentThread().getName())) { in update()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pService.java | 445 if (DBG) logd(getName() + message.toString()); in processMessage() 704 if (DBG) logd(getName()); in enter() 711 if (DBG) logd(getName() + message.toString()); in processMessage() 742 if (DBG) logd(getName()); in enter() 747 if (DBG) logd(getName() + message.toString()); in processMessage() 770 if (DBG) logd(getName()); in enter() 775 if (DBG) logd(getName() + message.toString()); in processMessage() 799 if (DBG) logd(getName()); in enter() 808 if (DBG) logd(getName() + message.toString()); in processMessage() 870 if (DBG) logd(getName() + " discover services"); in processMessage() [all …]
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/ |
D | TestCaseCollector.java | 94 addSingleTestMethod(clazz, method.getName()); in addTestClass() 118 "test class. Class: " + clazz.getName())); in addSingleTestMethod() 121 "test class. Class: " + clazz.getName())); in addSingleTestMethod() 132 warning.setName(clazz.getName()); in error()
|