Home
last modified time | relevance | path

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

12345678910>>...54

/frameworks/base/packages/SystemUI/plugin/bcsmartspace/src/com/android/systemui/plugins/
DBcSmartspaceDataPlugin.java55 throw new UnsupportedOperationException("Not implemented by " + getClass()); in registerListener()
60 throw new UnsupportedOperationException("Not implemented by " + getClass()); in unregisterListener()
65 throw new UnsupportedOperationException("Not implemented by " + getClass()); in registerSmartspaceEventNotifier()
70 throw new UnsupportedOperationException("Not implemented by " + getClass()); in notifySmartspaceEvent()
84 throw new UnsupportedOperationException("Not implemented by " + getClass()); in getView()
91 throw new UnsupportedOperationException("Not implemented by " + getClass()); in addOnAttachStateChangeListener()
96 throw new UnsupportedOperationException("Not implemented by " + getClass()); in onTargetsAvailable()
113 throw new UnsupportedOperationException("Not implemented by " + getClass()); in registerConfigProvider()
172 throw new UnsupportedOperationException("Not implemented by " + getClass()); in setDnd()
179 throw new UnsupportedOperationException("Not implemented by " + getClass()); in setNextAlarm()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderLatencyObserverTest.java65 callSession.binderClass = binder.getClass(); in testLatencyCollectionWithMultipleClasses()
82 assertThat(latencyHistograms.get(LatencyDims.create(binder.getClass(), 1))) in testLatencyCollectionWithMultipleClasses()
84 assertThat(latencyHistograms.get(LatencyDims.create(binder.getClass(), 2))) in testLatencyCollectionWithMultipleClasses()
96 callSession.binderClass = binder.getClass(); in testSampling()
107 assertEquals(binder.getClass(), dims.getBinderClass()); in testSampling()
119 callSession.binderClass = binder.getClass(); in testTooCallLengthOverflow()
126 .get(LatencyDims.create(binder.getClass(), 1))) in testTooCallLengthOverflow()
138 callSession.binderClass = binder.getClass(); in testHistogramBucketOverflow()
143 LatencyDims dims = LatencyDims.create(binder.getClass(), 1); in testHistogramBucketOverflow()
162 callSession.binderClass = binder.getClass(); in testSingleAtomPush()
[all …]
/frameworks/base/core/java/android/util/
DIndentingPrintWriter.java145 } else if (value.getClass().isArray()) { in print()
146 if (value.getClass() == boolean[].class) { in print()
148 } else if (value.getClass() == byte[].class) { in print()
150 } else if (value.getClass() == char[].class) { in print()
152 } else if (value.getClass() == double[].class) { in print()
154 } else if (value.getClass() == float[].class) { in print()
156 } else if (value.getClass() == int[].class) { in print()
158 } else if (value.getClass() == long[].class) { in print()
160 } else if (value.getClass() == short[].class) { in print()
/frameworks/base/tests/testables/src/android/testing/
DTestWithLooperRule.java45 RunWith runWithAnnotation = target.getClass().getAnnotation(RunWith.class); in apply()
56 looperAnnotation = target.getClass().getAnnotation(RunWithLooper.class); in apply()
79 switch (next.getClass().getSimpleName()) { in wrapMethodInStatement()
103 next.getClass().getName()) in wrapMethodInStatement()
116 Field field = base.getClass().getDeclaredField(fieldStr); in wrapFieldMethodFor()
130 Field nextField = base.getClass().getDeclaredField(fieldStr); in getNextStatement()
139 if (annotation == null) annotation = test.getClass().getAnnotation(RunWithLooper.class); in looperWrap()
149 if (annotation == null) annotation = test.getClass().getAnnotation(RunWithLooper.class); in looperWrap()
/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/PackageManagerServiceTests/server/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/packages/SystemUI/src/com/android/systemui/util/concurrency/
DMessageRouterImpl.java49 addCanceler((Class<Object>) data.getClass(), mDelayableExecutor.executeDelayed( in sendMessageDelayed()
168 if (mDataMessageListenerMap.containsKey(data.getClass())) { in onMessage()
170 data.getClass())) { in onMessage()
177 if (mDataMessageCancelers.containsKey(data.getClass()) in onMessage()
178 && !mDataMessageCancelers.get(data.getClass()).isEmpty()) { in onMessage()
179 mDataMessageCancelers.get(data.getClass()).remove(0); in onMessage()
180 if (mDataMessageCancelers.get(data.getClass()).isEmpty()) { in onMessage()
181 mDataMessageCancelers.remove(data.getClass()); in onMessage()
/frameworks/libs/modules-utils/javatests/android/annotation/
DRestrictedForTests.java33 RestrictedFor annotation = clz.getClass().getAnnotation(RestrictedFor.class); in testAnnotationAvailableInRuntime()
41 RestrictedFor[] annotations = clz.getClass().getAnnotationsByType(RestrictedFor.class); in testAnnotationIsRepeatable()
49 RestrictedFor annotation = clz.getClass().getAnnotation(RestrictedFor.class); in testAnnotationParameters()
60 RestrictedFor annotation = clz.getClass().getAnnotation(RestrictedFor.class); in testAnnotationParameters_environmentToString()
70 RestrictedFor annotation = clz.getClass().getAnnotation(RestrictedFor.class); in testAnnotationParameters_environment_multipleEnvironments()
/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/
DBundleMerger.java268 if (first.getClass() != last.getClass()) { in merge()
270 + first.getClass() + " last " + last.getClass()); in merge()
328 throw new IllegalArgumentException("Unable to add " + first.getClass()); in numberAdd()
339 throw new IllegalArgumentException("Unable to add " + first.getClass()); in numberIncrementFirst()
352 if (!first.getClass().isArray()) { in arrayAppend()
353 throw new IllegalArgumentException("Unable to append " + first.getClass()); in arrayAppend()
355 final Class<?> clazz = first.getClass().getComponentType(); in arrayAppend()
367 throw new IllegalArgumentException("Unable to append " + first.getClass()); in arrayListAppend()
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/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/packages/SystemUI/src/com/android/systemui/demomode/
DDemoMode.java42 if (this.getClass().isAnonymousClass()) { in logName()
43 return getClass().getName(); in logName()
45 return getClass().getSimpleName(); in logName()
/frameworks/base/core/java/android/app/time/
DTimeZoneDetectorStatus.java78 in.readParcelable(getClass().getClassLoader(),
81 in.readParcelable(getClass().getClassLoader(),
110 if (o == null || getClass() != o.getClass()) { in equals()
/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.java67 mRankingMapFd = in.readParcelable(getClass().getClassLoader(), SharedMemory.class); in NotificationRankingUpdate()
68 Bundle smartActionsBundle = in.readBundle(getClass().getClassLoader()); in NotificationRankingUpdate()
85 getClass().getClassLoader(), in NotificationRankingUpdate()
102 mRankingMap = in.readParcelable(getClass().getClassLoader(), in NotificationRankingUpdate()
161 if (o == null || getClass() != o.getClass()) return false; 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/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/core/tests/coretests/src/android/os/
DBundleTest.java117 assertEquals(ParcelFileDescriptor.class, b.getParcelable("fd").getClass()); in checkBundle()
271 a.setClassLoader(getClass().getClassLoader()); in kindofEquals_lazyValues()
273 b.setClassLoader(getClass().getClassLoader()); in kindofEquals_lazyValues()
297 a.setClassLoader(getClass().getClassLoader()); in kindofEquals_lazyValuesWithIdenticalParcels_returnsTrue()
305 b.setClassLoader(getClass().getClassLoader()); in kindofEquals_lazyValuesWithIdenticalParcels_returnsTrue()
322 a.setClassLoader(getClass().getClassLoader()); in kindofEquals_lazyValuesAndDifferentClassLoaders_returnsFalse()
341 a.setClassLoader(getClass().getClassLoader()); in kindofEquals_lazyValuesOfDifferentTypes_returnsFalse()
345 b.setClassLoader(getClass().getClassLoader()); in kindofEquals_lazyValuesOfDifferentTypes_returnsFalse()
359 a.setClassLoader(getClass().getClassLoader()); in kindofEquals_lazyValuesWithDifferentLengths_returnsFalse()
363 b.setClassLoader(getClass().getClassLoader()); in kindofEquals_lazyValuesWithDifferentLengths_returnsFalse()
[all …]

12345678910>>...54