Home
last modified time | relevance | path

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

12345678910>>...38

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderLatencyObserverTest.java58 callSession.binderClass = binder.getClass(); in testLatencyCollectionWithMultipleClasses()
75 assertThat(latencyHistograms.get(LatencyDims.create(binder.getClass(), 1))) in testLatencyCollectionWithMultipleClasses()
77 assertThat(latencyHistograms.get(LatencyDims.create(binder.getClass(), 2))) in testLatencyCollectionWithMultipleClasses()
89 callSession.binderClass = binder.getClass(); in testSampling()
100 assertEquals(binder.getClass(), dims.getBinderClass()); in testSampling()
112 callSession.binderClass = binder.getClass(); in testTooCallLengthOverflow()
119 .get(LatencyDims.create(binder.getClass(), 1))) in testTooCallLengthOverflow()
131 callSession.binderClass = binder.getClass(); in testHistogramBucketOverflow()
136 LatencyDims dims = LatencyDims.create(binder.getClass(), 1); in testHistogramBucketOverflow()
155 callSession.binderClass = binder.getClass(); in testSingleAtomPush()
[all …]
/frameworks/base/core/java/android/util/
DIndentingPrintWriter.java143 } else if (value.getClass().isArray()) { in print()
144 if (value.getClass() == boolean[].class) { in print()
146 } else if (value.getClass() == byte[].class) { in print()
148 } else if (value.getClass() == char[].class) { in print()
150 } else if (value.getClass() == double[].class) { in print()
152 } else if (value.getClass() == float[].class) { in print()
154 } else if (value.getClass() == int[].class) { in print()
156 } else if (value.getClass() == long[].class) { in print()
158 } else if (value.getClass() == short[].class) { in print()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/d2d/
DCommunicator.java87 if (o == null || getClass() != o.getClass()) return false; in equals()
113 transportProtocols.stream().map(p -> p.getClass().getSimpleName()).collect( in Communicator()
155 : mActiveTransport.getClass().getSimpleName(); in onNegotiationSuccess()
157 protocol.getClass().getSimpleName(), activeTransportName); in onNegotiationSuccess()
160 protocol.getClass().getSimpleName()); in onNegotiationSuccess()
175 protocol.getClass().getSimpleName()); in onNegotiationFailed()
203 messages.size(), mActiveTransport.getClass().getSimpleName()); in sendMessages()
219 mActiveTransport.getClass().getSimpleName()); in negotiateNextProtocol()
325 .filter(t -> t.getClass().getSimpleName().equals(transport)) in setTransportActive()
/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/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/timezone/
DCountryTimeZones.java73 if (o == null || getClass() != o.getClass()) { in equals()
127 if (o == null || getClass() != o.getClass()) { in equals()
279 if (o == null || getClass() != o.getClass()) { in equals()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DSupportPreferencesUtil.java103 new Class[]{Context.class, preferenceManager.getClass()}, in createInflatedPreference()
106 invoke(getAccessibleMethod(preferenceInflater.getClass(), "inflate", in createInflatedPreference()
169 (Integer) invoke(getMethod(preferenceGroupAdapter.getClass(), "getItemCount"), in setUpPreferencesListView()
175 Method getItemId = getMethod(preferenceGroupAdapter.getClass(), "getItemId", int.class); in setUpPreferencesListView()
177 getMethod(preferenceGroupAdapter.getClass(), "getItemViewType", int.class); in setUpPreferencesListView()
179 getMethod(preferenceGroupAdapter.getClass(), "onCreateViewHolder", ViewGroup.class, in setUpPreferencesListView()
193 invoke(getMethod(preferenceGroupAdapter.getClass(), "onBindViewHolder", in setUpPreferencesListView()
194 viewHolder.getClass(), int.class), preferenceGroupAdapter, viewHolder, i); in setUpPreferencesListView()
198 View itemView = (View) viewHolder.getClass().getField("itemView").get(viewHolder); in setUpPreferencesListView()
250 invoke(getMethod(preferenceManager.getClass(), "createPreferenceScreen", in inflatePreference()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssPositionMode.java50 && this.getClass() == that.getClass(); in equals()
60 mLowPowerMode, getClass()}); in hashCode()
/frameworks/base/media/java/android/media/
DMediaTimestamp.java115 if (obj == null || getClass() != obj.getClass()) return false; in equals()
125 return getClass().getName() in toString()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsHeader.java79 if (o == null || getClass() != o.getClass()) return false; in equals()
109 if (o == null || getClass() != o.getClass()) return false; in equals()
138 if (o == null || getClass() != o.getClass()) return false; in equals()
159 if (o == null || getClass() != o.getClass()) return false; in equals()
182 if (o == null || getClass() != o.getClass()) return false; in equals()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DAdapterHelper.java94 if (value.getClass() != ViewAttribute.TEXT.getAttributeClass()) { in fillView()
97 value.getClass().getName()), null, null); in fillView()
114 if (value.getClass() != ViewAttribute.IS_CHECKED.getAttributeClass()) { in fillView()
117 value.getClass().getName()), null, null); in fillView()
134 if (value.getClass() != ViewAttribute.SRC.getAttributeClass()) { in fillView()
137 value.getClass().getName()), null, null); in fillView()
/frameworks/base/core/java/android/service/notification/
DNotificationRankingUpdate.java33 mRankingMap = in.readParcelable(getClass().getClassLoader()); in NotificationRankingUpdate()
48 if (o == null || getClass() != o.getClass()) return false; in equals()
/frameworks/base/core/java/android/os/
DHidlSupport.java53 Class<?> lftClazz = lft.getClass(); in deepEquals()
54 Class<?> rgtClazz = rgt.getClass(); in deepEquals()
122 Class<?> clazz = o.getClass(); in deepHashCode()
149 o.getClass().getName()); in throwErrorIfUnsupportedType()
160 Class<?> elementType = o.getClass().getComponentType(); in primitiveArrayHashCode()
/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/apex/media/framework/java/android/media/
DBaseMediaParceledListSlice.java83 listElementClass = parcelable.getClass(); in BaseMediaParceledListSlice()
85 verifySameType(listElementClass, parcelable.getClass()); in BaseMediaParceledListSlice()
110 verifySameType(listElementClass, parcelable.getClass()); in BaseMediaParceledListSlice()
163 final Class<?> listElementClass = mList.get(0).getClass(); in writeToParcel()
170 verifySameType(listElementClass, parcelable.getClass()); in writeToParcel()
191 verifySameType(listElementClass, parcelable.getClass()); in writeToParcel()
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DBaseParceledListSlice.java78 listElementClass = parcelable.getClass(); in BaseParceledListSlice()
80 verifySameType(listElementClass, parcelable.getClass()); in BaseParceledListSlice()
105 verifySameType(listElementClass, parcelable.getClass()); in BaseParceledListSlice()
158 final Class<?> listElementClass = mList.get(0).getClass(); in writeToParcel()
165 verifySameType(listElementClass, parcelable.getClass()); in writeToParcel()
186 verifySameType(listElementClass, parcelable.getClass()); in writeToParcel()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterTest.java208 assertEquals(next.getClass(), mExpectedEventHandlerTypes[i]); in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation()
216 assertEquals(next.getClass(), mExpectedEventHandlerTypes[i]); in testEventHandler_shouldHaveCorrectOrderForEventStreamTransformation()
273 assertEquals(WindowMagnificationGestureHandler.class, handler.getClass()); in testEnabledFeatures_windowMagnificationMode_expectedMagnificationGestureHandler()
292 assertEquals(WindowMagnificationGestureHandler.class, handler.getClass()); in testChangeMagnificationModeToWindow_expectedMagnificationGestureHandler()
293 assertEquals(nextEventStream.getClass(), handler.getNext().getClass()); in testChangeMagnificationModeToWindow_expectedMagnificationGestureHandler()
315 assertEquals(WindowMagnificationGestureHandler.class, handler.getClass()); in testChangeMagnificationModeToWindow_magnifierFeature_expectedMagnificationGestureHandler()
316 assertEquals(nextEventStream.getClass(), handler.getNext().getClass()); in testChangeMagnificationModeToWindow_magnifierFeature_expectedMagnificationGestureHandler()
/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/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/display/
DDeviceProductInfo.java173 if (o == null || getClass() != o.getClass()) return false; in equals()
217 if (o == null || getClass() != o.getClass()) return false; in equals()
/frameworks/base/core/tests/coretests/src/android/view/
DDrawableBgMinSizeTest.java83 …assertTrue(view.getClass().getSimpleName() + " should respect the background Drawable's minimum wi… in doMinimumSizeTest()
85 …assertTrue(view.getClass().getSimpleName() + " should respect the background Drawable's minimum he… in doMinimumSizeTest()
118 assertTrue(view.getClass().getSimpleName() in doDiffBgMinimumSizeTest()
121 assertTrue(view.getClass().getSimpleName() in doDiffBgMinimumSizeTest()
/frameworks/base/tests/Codegen/src/com/android/codegentest/
DSampleWithNestedDataClasses.java75 if (o == null || getClass() != o.getClass()) return false; in equals()
199 if (o == null || getClass() != o.getClass()) return false; in equals()
313 if (o == null || getClass() != o.getClass()) return false; in equals()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminReceiver.java579 mWho = new ComponentName(context, getClass()); in getWho()
598 Log.v(TAG, getClass().getName() + ".onEnabled() on user " + context.getUserId()); in onEnabled()
616 Log.v(TAG, getClass().getName() + ".onDisableRequested() on user " in onDisableRequested()
632 Log.v(TAG, getClass().getName() + ".onDisabled() on user " + context.getUserId()); in onDisabled()
809 Log.v(TAG, getClass().getName() + ".onProfileProvisioningComplete() on user " in onProfileProvisioningComplete()
997 Log.v(TAG, getClass().getName() + ".onUserAdded() on user " + context.getUserId()); in onUserAdded()
1013 Log.v(TAG, getClass().getName() + ".onUserRemoved() on user " + context.getUserId()); in onUserRemoved()
1029 Log.v(TAG, getClass().getName() + ".onUserStarted() on user " + context.getUserId()); in onUserStarted()
1045 Log.v(TAG, getClass().getName() + ".onUserStopped() on user " + context.getUserId()); in onUserStopped()
1061 Log.v(TAG, getClass().getName() + ".onUserSwitched() on user " + context.getUserId()); in onUserSwitched()
[all …]
/frameworks/base/opengl/java/com/google/android/gles_jni/
DEGLDisplayImpl.java31 if (o == null || getClass() != o.getClass()) return false; in equals()

12345678910>>...38