Home
last modified time | relevance | path

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

12345678910>>...26

/frameworks/base/services/core/java/com/android/server/
DSystemServiceManager.java126 throw new RuntimeException("Failed to start service " + service.getClass().getName() in startService()
151 Trace.traceBegin(Trace.TRACE_TAG_SYSTEM_SERVER, service.getClass().getName()); in startBootPhase()
156 + service.getClass().getName() in startBootPhase()
181 + service.getClass().getName()); in startUser()
187 + " to service " + service.getClass().getName(), ex); in startUser()
200 + service.getClass().getName()); in unlockUser()
206 + " to service " + service.getClass().getName(), ex); in unlockUser()
219 + service.getClass().getName()); in switchUser()
225 + " to service " + service.getClass().getName(), ex); in switchUser()
238 + service.getClass().getName()); in stopUser()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DKeySetUtils.java29 Field pkField = ksms.getClass().getDeclaredField("mPublicKeys"); in getPubKey()
43 Field pkField = ksms.getClass().getDeclaredField("mPublicKeys"); in getPubKeyRefCount()
57 Field ksField = ksms.getClass().getDeclaredField("mKeySets"); in getKeySetRefCount()
71 Field ksField = ksms.getClass().getDeclaredField("mKeySetMapping"); in getKeySetMapping()
78 Field ksField = ksms.getClass().getDeclaredField("lastIssuedKeyId"); in getLastIssuedKeyId()
85 Field ksField = ksms.getClass().getDeclaredField("lastIssuedKeySetId"); in getLastIssuedKeySetId()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameValues.java32 if (value == null || !value.getClass().isArray()) { in getCount()
50 if (value == null || value.getClass().isArray()) { in getValues()
54 Object[] array = (Object[])Array.newInstance(value.getClass(), 1); in getValues()
71 if (value == null || !value.getClass().isArray()) { in getValueAtIndex()
121 if (curValue == null || !curValue.getClass().isArray()) { in setValueAtIndex()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DSupportPreferencesUtil.java95 new Class[]{Context.class, preferenceManager.getClass()}, in createInflatedPreference()
98 invoke(getAccessibleMethod(preferenceInflater.getClass(), "inflate", in createInflatedPreference()
152 (Integer) invoke(getMethod(preferenceGroupAdapter.getClass(), "getItemCount"), in setUpPreferencesListView()
158 Method getItemId = getMethod(preferenceGroupAdapter.getClass(), "getItemId", int.class); in setUpPreferencesListView()
160 getMethod(preferenceGroupAdapter.getClass(), "getItemViewType", int.class); in setUpPreferencesListView()
162 getMethod(preferenceGroupAdapter.getClass(), "onCreateViewHolder", ViewGroup.class, in setUpPreferencesListView()
177 invoke(getMethod(preferenceGroupAdapter.getClass(), "onBindViewHolder", in setUpPreferencesListView()
178 viewHolder.getClass(), int.class), preferenceGroupAdapter, viewHolder, i); in setUpPreferencesListView()
183 (View) viewHolder.getClass().getField("itemView").get(viewHolder); in setUpPreferencesListView()
223 invoke(getMethod(preferenceManager.getClass(), "createPreferenceScreen", in inflatePreference()
/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/os/
DHidlSupport.java48 Class<?> lftClazz = lft.getClass(); in deepEquals()
49 Class<?> rgtClazz = rgt.getClass(); in deepEquals()
95 Class<?> clazz = o.getClass(); in deepHashCode()
121 o.getClass().getName()); in throwErrorIfUnsupportedType()
131 Class<?> elementType = o.getClass().getComponentType(); in primitiveArrayHashCode()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/test/
DConstructorTest.java82 if (o == null || getClass() != o.getClass()) return false; in equals()
126 if (o == null || getClass() != o.getClass()) return false; in equals()
157 if (o == null || getClass() != o.getClass()) return false; in equals()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DAdapterHelper.java95 if (value.getClass() != ViewAttribute.TEXT.getAttributeClass()) { in fillView()
98 value.getClass().getName()), null); in fillView()
115 if (value.getClass() != ViewAttribute.IS_CHECKED.getAttributeClass()) { in fillView()
118 value.getClass().getName()), null); in fillView()
135 if (value.getClass() != ViewAttribute.SRC.getAttributeClass()) { in fillView()
138 value.getClass().getName()), null); in fillView()
/frameworks/support/compat/java/android/support/v4/view/accessibility/
DAccessibilityManagerCompat.java91 if (o == null || getClass() != o.getClass()) { in equals()
214 if (o == null || getClass() != o.getClass()) { in equals()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTestUtils.java48 paramType[i] = params[i].getClass(); in createNewInstance()
70 paramType[i] = params[i].getClass(); in invokeStaticMethod()
94 paramType[i] = params[i].getClass(); in invokeStaticMethodThrowsException()
118 paramType[i] = params[i].getClass(); in invokeNonStaticMethod()
143 paramType[i] = params[i].getClass(); in invokeNonStaticMethodThrowsException()
/frameworks/base/core/java/android/content/pm/
DBaseParceledListSlice.java79 listElementClass = parcelable.getClass(); in BaseParceledListSlice()
81 verifySameType(listElementClass, parcelable.getClass()); in BaseParceledListSlice()
106 verifySameType(listElementClass, parcelable.getClass()); in BaseParceledListSlice()
159 final Class<?> listElementClass = mList.get(0).getClass(); in writeToParcel()
166 verifySameType(listElementClass, parcelable.getClass()); in writeToParcel()
187 verifySameType(listElementClass, parcelable.getClass()); in writeToParcel()
/frameworks/data-binding/integration-tests/MultiModuleTestApp/app/src/androidTest/java/com/android/databinding/multimoduletestapp/
DGeneratedLayoutTest.java34 bind.getClass().getSimpleName()); in testBindToGeneratedLayout()
44 bind.getClass().getSimpleName()); in testBindToDefault()
54 bind.getClass().getSimpleName()); in testBindToSw600()
/frameworks/base/telecomm/java/android/telecom/
DConnectionRequest.java217 mAccountHandle = in.readParcelable(getClass().getClassLoader()); in ConnectionRequest()
218 mAddress = in.readParcelable(getClass().getClassLoader()); in ConnectionRequest()
219 mExtras = in.readParcelable(getClass().getClassLoader()); in ConnectionRequest()
223 mRttPipeFromInCall = in.readParcelable(getClass().getClassLoader()); in ConnectionRequest()
224 mRttPipeToInCall = in.readParcelable(getClass().getClassLoader()); in ConnectionRequest()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
DBaseDataBinderTest.java116 assertEquals(klass, mBinder.getClass().getDeclaredMethod(methodName).getReturnType()); in assertMethod()
120 assertEquals(klass, mBinder.getClass().getDeclaredField(fieldName).getType()); in assertField()
124 assertEquals(klass, mBinder.getClass().getField(fieldName).getType()); in assertPublicField()
130 mBinder.getClass().getField(fieldName); in assertNoField()
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DExtensionFragmentListener.java56 mOldClass, extension.getClass().getName(), mExtension.getContext()); in accept()
57 mOldClass = extension.getClass().getName(); in accept()
59 Log.e(TAG, extension.getClass().getName() + " must be a Fragment", e); in accept()
/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/packages/SystemUI/src/com/android/systemui/recents/events/
DEventBus.java61 return sub.getClass().getSimpleName() + " [0x" + id + ", P" + priority + "]"; in toString()
488 … logWithPid("registerInterprocessAsCurrentUser(" + subscriber.getClass().getSimpleName() + ")"); in registerInterprocessAsCurrentUser()
524 Class<?> subscriberType = subscriber.getClass(); in unregister()
565 logWithPid("send(" + event.getClass().getSimpleName() + ")"); in send()
580 logWithPid("post(" + event.getClass().getSimpleName() + ")"); in post()
619 logWithPid("postInterprocess(" + event.getClass().getSimpleName() + ")"); in postInterprocess()
621 String eventType = event.getClass().getName(); in postInterprocess()
702 output.append(subscriber.getClass().getSimpleName()); in dumpInternal()
730 logWithPid("registerSubscriber(" + subscriber.getClass().getSimpleName() + ")"); in registerSubscriber()
733 Class<?> subscriberType = subscriber.getClass(); in registerSubscriber()
[all …]
/frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
DErrorCatcher.java64 child.getClass().getCanonicalName(), t); in onMeasure()
76 child.getClass().getCanonicalName(), t); in drawChild()
91 child.getClass().getCanonicalName(), e); in onLayout()
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLDisplayImpl.java31 if (o == null || getClass() != o.getClass()) return false; in equals()
DEGLSurfaceImpl.java33 if (o == null || getClass() != o.getClass()) return false; in equals()
DEGLContextImpl.java39 if (o == null || getClass() != o.getClass()) return false; in equals()
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageVersions.java37 if (o == null || getClass() != o.getClass()) { in equals()
/frameworks/base/services/tests/servicestests/src/com/android/server/testutis/
DTestUtils.java37 + " but caught " + e.getClass().getName(), in assertExpectException()
38 expectedExceptionType.isAssignableFrom(e.getClass())); in assertExpectException()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/vo/
DCoordinates.java26 if (o == null || getClass() != o.getClass()) return false; in equals()

12345678910>>...26