Home
last modified time | relevance | path

Searched refs:getClass (Results 1 – 25 of 187) sorted by relevance

12345678

/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()
/frameworks/base/core/java/android/util/
DDebugUtils.java71 if (object.getClass().getSimpleName().matches(selectors[0])) { in isObjectSelected()
75 Class<?> klass = object.getClass(); in isObjectSelected()
111 String simpleName = cls.getClass().getSimpleName(); in buildShortClassTag()
113 simpleName = cls.getClass().getName(); in buildShortClassTag()
/frameworks/base/test-runner/src/android/test/
DInstrumentationCoreTestRunner.java105 if (test.getClass() != lastClass) { in getAndroidTestRunner()
106 lastClass = test.getClass(); in getAndroidTestRunner()
107 printMemory(test.getClass()); in getAndroidTestRunner()
111 test.getClass().getClassLoader()); in getAndroidTestRunner()
170 Class<?> clazz = test.getClass(); in getAndroidTestRunner()
DAndroidTestRunner.java61 setTest(test, test.getClass()); in setTest()
195 if (AndroidTestCase.class.isAssignableFrom(test.getClass())) { in setContextIfAndroidTestCase()
207 if (InstrumentationTestCase.class.isAssignableFrom(test.getClass())) { in setInstrumentationIfInstrumentationTestCase()
214 if (PerformanceCollectorTestCase.class.isAssignableFrom(test.getClass())) { in setPerformanceWriterIfPerformanceCollectorTestCase()
DTestCaseUtil.java70 workingTest = invokeSuiteMethodIfPossible(test.getClass(), in getTests()
163 } else if (TestCase.class.isAssignableFrom(test.getClass())) { in createTestSuite()
164 TestSuite testSuite = new TestSuite(test.getClass().getName()); in createTestSuite()
DInstrumentationTestRunner.java343 TestSuiteBuilder testSuiteBuilder = new TestSuiteBuilder(getClass().getName(), in onCreate()
606 coverageFile.getClass(), boolean.class, boolean.class); in generateCoverageReport()
716 && !InstrumentationTestCase.class.isAssignableFrom(test.getClass())) { in endTest()
728 test.getClass().getName() + "#" + ((TestCase) test).getName() in endTest()
762 String testClass = test.getClass().getName(); in startTest()
779 testMethod = test.getClass().getMethod(testName); in startTest()
813 } else if (test.getClass().isAnnotationPresent(TimedTest.class)) { in startTest()
815 mIncludeDetailedStats = test.getClass().getAnnotation( in startTest()
/frameworks/compile/slang/
Dslang_rs_reflection.cpp159 switch (ET->getClass()) { in GetTypeName()
168 if (PointeeType->getClass() != RSExportType::ExportClassRecord) in GetTypeName()
205 switch (ET->getClass()) { in GetTypeNullValue()
233 if (ET->getClass() == RSExportType::ExportClassPrimitive) { in GetBuiltinElementConstruct()
235 } else if (ET->getClass() == RSExportType::ExportClassVector) { in GetBuiltinElementConstruct()
248 } else if (ET->getClass() == RSExportType::ExportClassMatrix) { in GetBuiltinElementConstruct()
409 switch (ET->getClass()) { in genInitExportVariable()
520 switch (ET->getClass()) { in genExportVariable()
695 if (ET->getClass() == RSExportType::ExportClassPointer) { in genTypeInstanceFromPointer()
704 switch (ET->getClass()) { in genTypeInstance()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DBaseAdapter.java194 if (value.getClass() != ViewAttribute.TEXT.getAttributeClass()) { in fillView()
197 value.getClass().getName()), null); in fillView()
214 if (value.getClass() != ViewAttribute.IS_CHECKED.getAttributeClass()) { in fillView()
217 value.getClass().getName()), null); in fillView()
234 if (value.getClass() != ViewAttribute.SRC.getAttributeClass()) { in fillView()
237 value.getClass().getName()), null); in fillView()
/frameworks/base/core/tests/coretests/src/android/view/
DDrawableBgMinSizeTest.java84 …assertTrue(view.getClass().getSimpleName() + " should respect the background Drawable's minimum wi… in doMinimumSizeTest()
86 …assertTrue(view.getClass().getSimpleName() + " should respect the background Drawable's minimum he… in doMinimumSizeTest()
119 assertTrue(view.getClass().getSimpleName() in doDiffBgMinimumSizeTest()
122 assertTrue(view.getClass().getSimpleName() in doDiffBgMinimumSizeTest()
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java74 ClassLoader cl1 = new ClassLoader(this.getClass().getClassLoader()) { }; in testNoOp()
114 assertEquals(UnsatisfiedLinkError.class, e.getCause().getClass()); in testNoOp()
346 Method m = instance.getClass().getMethod("get", in callGet()
358 Method m = instance.getClass().getMethod("get_Original", in callGet_Original()
370 Method m = instance.getClass().getDeclaredMethod(methodName, (Class<?>[])null); in callMethod()
390 Method m = instance.getClass().getMethod("add", in callAdd()
403 Method m = instance.getClass().getMethod("callNativeInstance", in callCallNativeInstance()
433 sb.append('\n').append(t.getClass().getCanonicalName()); in dumpGeneratedClass()
445 Constructor<?> cons = tcvClass.getConstructor(new Class<?>[] { pw.getClass() }); in dumpGeneratedClass()
DClassHasNativeVisitorTest.java37 this.getClass().getCanonicalName() + "$" + ClassWithNative.class.getSimpleName(); in testHasNative()
49 this.getClass().getCanonicalName() + "$" + ClassWithoutNative.class.getSimpleName(); in testHasNoNative()
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLDisplayImpl.java31 if (o == null || getClass() != o.getClass()) return false; in equals()
DEGLSurfaceImpl.java36 if (o == null || getClass() != o.getClass()) return false; in equals()
DEGLContextImpl.java39 if (o == null || getClass() != o.getClass()) return false; in equals()
/frameworks/support/v4/java/android/support/v4/util/
DDebugUtils.java31 String simpleName = cls.getClass().getSimpleName(); in buildShortClassTag()
33 simpleName = cls.getClass().getName(); in buildShortClassTag()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewWordLimitsTest.java52 mGetWordLimits = mTv.getClass().getDeclaredMethod("getWordLimitsAt", in setUp()
56 mSelectCurrentWord = mTv.getClass().getDeclaredMethod("selectCurrentWord", new Class[] {}); in setUp()
59 mContextMenuTriggeredByKey = mTv.getClass().getDeclaredField("mContextMenuTriggeredByKey"); in setUp()
61 … mSelectionControllerEnabled = mTv.getClass().getDeclaredField("mSelectionControllerEnabled"); in setUp()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestMethod.java47 this(testCase.getName(), testCase.getClass()); in TestMethod()
115 if (o == null || getClass() != o.getClass()) { in equals()
/frameworks/base/core/java/android/animation/
DKeyframe.java250 mValueType = mHasValue ? value.getClass() : Object.class; in ObjectKeyframe()
301 if (value != null && value.getClass() == Integer.class) { in setValue()
345 if (value != null && value.getClass() == Float.class) { in setValue()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DSimpleFrame.java146 setFormatObjectClass(object.getClass()); in setGenericObjectValue()
147 } else if (!format.getObjectClass().isAssignableFrom(object.getClass())) { in setGenericObjectValue()
149 "Attempting to set object value of type '" + object.getClass() + "' on " + in setGenericObjectValue()
DNativeBuffer.java47 Class myClass = getClass(); in mutableCopy()
50 throw new RuntimeException("Unable to allocate a copy of " + getClass() + "! Make " + in mutableCopy()
/frameworks/base/graphics/java/android/graphics/
DInsets.java84 if (o == null || getClass() != o.getClass()) return false; in equals()
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java71 results.putString("shortMsg", ex.getClass().getName()); in run()
90 TestCaseCollector collector = getTestCaseCollector(this.getClass().getClassLoader()); in start()
134 getClass().getSimpleName(), in start()
231 String testClass = test.getClass().getName(); in startTest()
248 testMethod = test.getClass().getMethod(testName); in startTest()
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java492 Log.d(TAG, "onBackup (" + BackupAgent.this.getClass().getName() + ") threw", ex); in doBackup()
495 Log.d(TAG, "onBackup (" + BackupAgent.this.getClass().getName() + ") threw", ex); in doBackup()
519 Log.d(TAG, "onRestore (" + BackupAgent.this.getClass().getName() + ") threw", ex); in doRestore()
522 Log.d(TAG, "onRestore (" + BackupAgent.this.getClass().getName() + ") threw", ex); in doRestore()
545 Log.d(TAG, "onBackup (" + BackupAgent.this.getClass().getName() + ") threw", ex); in doFullBackup()
548 Log.d(TAG, "onBackup (" + BackupAgent.this.getClass().getName() + ") threw", ex); in doFullBackup()
/frameworks/base/graphics/java/android/renderscript/
DBaseObj.java173 if (getClass() != obj.getClass()) { in equals()

12345678