Home
last modified time | relevance | path

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

12345678910>>...16

/cts/tests/app/FgsTimeoutTest/FgsTimeoutTestHelper/src/android/app/cts/fgstimeouttesthelper/
DServiceBase.java39 sInstances.put(this.getClass().getName(), this); in ServiceBase()
55 Log.i(TAG, "onStartCommand: " + this.getClass().getName() + " startId=" + startId); in onStartCommand()
66 FgsTimeoutHelper.sendBackMethodName(this.getClass(), "onStartCommand", (m) -> { in onStartCommand()
75 Log.i(TAG, "onDestroy: " + this.getClass().getName()); in onDestroy()
78 FgsTimeoutHelper.sendBackMethodName(this.getClass(), "onDestroy"); in onDestroy()
83 Log.i(TAG, "onBind: " + this.getClass().getName()); in onBind()
85 FgsTimeoutHelper.sendBackMethodName(this.getClass(), "onBind"); in onBind()
93 Log.i(TAG, "onTimeout: " + this.getClass().getName() + " startId=" + startId); in onTimeout()
95 FgsTimeoutHelper.sendBackMethodName(this.getClass(), "onTimeout", (m) -> { in onTimeout()
102 Log.i(TAG, "onTimeout: " + this.getClass().getName() in onTimeout()
[all …]
DMyActivity.java33 Log.i(TAG, "onCreate: " + this.getClass().getName()); in onCreate()
41 FgsTimeoutHelper.sendBackMethodName(this.getClass(), "onCreate"); in onCreate()
/cts/tests/app/ShortFgsTest/ShortFgsTestHelper/src/android/app/cts/shortfgstesthelper/
DServiceBase.java39 sInstances.put(this.getClass().getName(), this); in ServiceBase()
55 Log.i(TAG, "onStartCommand: " + this.getClass().getName() + " startId=" + startId); in onStartCommand()
66 ShortFgsHelper.sendBackMethodName(this.getClass(), "onStartCommand", (m) -> { in onStartCommand()
75 Log.i(TAG, "onDestroy: " + this.getClass().getName()); in onDestroy()
78 ShortFgsHelper.sendBackMethodName(this.getClass(), "onDestroy"); in onDestroy()
83 Log.i(TAG, "onBind: " + this.getClass().getName()); in onBind()
85 ShortFgsHelper.sendBackMethodName(this.getClass(), "onBind"); in onBind()
93 Log.i(TAG, "onTimeout: " + this.getClass().getName() + " startId=" + startId); in onTimeout()
95 ShortFgsHelper.sendBackMethodName(this.getClass(), "onTimeout", (m) -> { in onTimeout()
DMyActivity.java33 Log.i(TAG, "onCreate: " + this.getClass().getName()); in onCreate()
41 ShortFgsHelper.sendBackMethodName(this.getClass(), "onCreate"); in onCreate()
46 Log.i(TAG, "onDestroy: " + this.getClass().getName()); in onDestroy()
50 ShortFgsHelper.sendBackMethodName(this.getClass(), "onDestroy"); in onDestroy()
55 Log.i(TAG, "onResume: " + this.getClass().getName()); in onResume()
64 Log.i(TAG, "onPause: " + this.getClass().getName()); in onPause()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DPollableConditionProviderService.java32 Log.d(TAG, getClass().getName() + " Connected"); in onConnected()
38 Log.d(TAG, getClass().getName() + " Destroyed"); in onDestroy()
45 Log.d(TAG, getClass().getName() + " got subscribe"); in onSubscribe()
53 Log.d(TAG, getClass().getName() + " got unsubscribe"); in onUnsubscribe()
/cts/hostsidetests/classloaders/splits/apps/src/com/android/cts/classloadersplitapp/
DSplitAppTest.java91 context.getClassLoader().getClass().getName()); in testBaseClassLoader()
102 assertEquals("dalvik.system.DelegateLastClassLoader", cl.getClass().getName()); in testFeatureAClassLoader()
105 assertEquals("dalvik.system.PathClassLoader", cl.getParent().getClass().getName()); in testFeatureAClassLoader()
117 assertEquals("dalvik.system.PathClassLoader", cl.getClass().getName()); in testFeatureBClassLoader()
118 assertEquals("dalvik.system.DelegateLastClassLoader", cl.getParent().getClass().getName()); in testFeatureBClassLoader()
148 assertThat(service.getClassLoader().getClass().getName(), in testBaseServiceClassLoader()
155 assertThat(service.getClassLoader().getClass().getName(), in testFeatureAServiceClassLoader()
157 assertThat(service.getClassLoader().getParent().getClass().getName(), in testFeatureAServiceClassLoader()
164 assertThat(service.getClassLoader().getClass().getName(), in testFeatureBServiceClassLoader()
166 assertThat(service.getClassLoader().getParent().getClass().getName(), in testFeatureBServiceClassLoader()
DBaseReceiver.java30 final ClassLoader loader = getClass().getClassLoader(); in onReceive()
33 b.putString("loaderClassName", loader.getClass().getName()); in onReceive()
34 b.putString("parentClassName", parent.getClass().getName()); in onReceive()
/cts/tools/release-parser/tests/src/com/android/cts/releaseparser/
DFileParserTest.java57 File aFile = ClassUtils.getResrouceFile(getClass(), fileName); in testVdex()
73 File aFile = ClassUtils.getResrouceFile(getClass(), fileName); in testArt()
89 File aFile = ClassUtils.getResrouceFile(getClass(), fileName); in testOat()
105 File aFile = ClassUtils.getResrouceFile(getClass(), fileName); in testOdex()
121 File aFile = ClassUtils.getResrouceFile(getClass(), fileName); in testBuildProp()
150 File aFile = ClassUtils.getResrouceFile(getClass(), fileName); in testXmlParser()
163 ClassUtils.openResourceAsStreamReader(getClass(), txtProtobufFileName), in testFileParser()
/cts/hostsidetests/classloaders/splits/apps/feature_a/src/com/android/cts/classloadersplitapp/feature_a/
DFeatureAReceiver.java31 final ClassLoader loader = getClass().getClassLoader(); in onReceive()
34 b.putString("featureA_loaderClassName", loader.getClass().getName()); in onReceive()
35 b.putString("featureA_parentClassName", parent.getClass().getName()); in onReceive()
/cts/hostsidetests/classloaders/splits/apps/feature_b/src/com/android/cts/classloadersplitapp/feature_b/
DFeatureBReceiver.java31 final ClassLoader loader = getClass().getClassLoader(); in onReceive()
34 b.putString("featureB_loaderClassName", loader.getClass().getName()); in onReceive()
35 b.putString("featureB_parentClassName", parent.getClass().getName()); in onReceive()
/cts/tests/security/src/android/keystore/cts/
DAsn1Utils.java51 "Integer value expected, " + asn1Value.getClass().getName() + " found."); in getIntegerFromAsn1()
60 "Integer value expected, " + asn1Value.getClass().getName() + " found."); in getLongFromAsn1()
96 "Expected octet stream, found " + asn1Primitive.getClass().getName()); in getAsn1SequenceFromStream()
103 "Expected sequence, found " + asn1Primitive.getClass().getName()); in getAsn1SequenceFromStream()
113 "Expected set, found " + set.getClass().getName()); in getIntegersFromAsn1Set()
127 "Expected octet string, found " + encodable.getClass().getName()); in getStringFromAsn1OctetStreamAssumingUTF8()
147 "Expected boolean, found " + value.getClass().getName()); in getBooleanFromAsn1()
/cts/tests/signature/lib/android/src/android/signature/cts/
DVirtualPath.java102 if (o == null || getClass() != o.getClass()) { in equals()
141 if (o == null || getClass() != o.getClass()) { in equals()
180 if (o == null || getClass() != o.getClass()) { in equals()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/
DQueryableBase.java74 return Objects.hash(getClass(), mQuery); in hashCode()
79 return getClass().equals(obj.getClass()) && mQuery.equals(((QueryableBase<?>) obj).mQuery); in equals()
/cts/tests/tests/transition/src/android/transition/cts/
DCaptureValuesTest.java78 String className = transition.getClass().getSuperclass().getSimpleName().toString(); in testCaptureValues()
80 mStartCaptured.get(transition.getClass())); in testCaptureValues()
82 mEndCaptured.get(transition.getClass())); in testCaptureValues()
84 assertNotNull(mStartCaptured.get(set.getClass())); in testCaptureValues()
85 assertNotNull(mEndCaptured.get(set.getClass())); in testCaptureValues()
94 String className = transition.getClass().getSuperclass().getSimpleName().toString(); in verifyCapturedValues()
104 mStartCaptured.put(transition.getClass(), true); in verifyCapturedValues()
106 mEndCaptured.put(transition.getClass(), true); in verifyCapturedValues()
/cts/hostsidetests/classloaders/useslibrary/app/src/com/android/cts/useslibrary/
DUsesLibraryTest.java42 ClassLoader loader = getClass().getClassLoader(); in testUsesLibrary()
54 ClassLoader loader = getClass().getClassLoader(); in testMissingLibrary()
72 ClassLoader loader = getClass().getClassLoader(); in testDuplicateLibrary()
101 Field dexElementsField = pathList.getClass().getDeclaredField("dexElements"); in getDexElementsFromClassLoader()
109 Field dexFileField = dexElement.getClass().getDeclaredField("dexFile"); in getDexFileFromDexElement()
/cts/tests/signature/lib/common/src/android/signature/cts/
DClassProvider.java31 public Class<?> getClass(String name) throws ClassNotFoundException { in getClass() method in ClassProvider
32 return Class.forName(name, false, this.getClass().getClassLoader()); in getClass()
/cts/tools/vm-tests-tf/build/src/util/build/
DBuildStep.java58 if (getClass() == obj.getClass()) { in equals()
98 return this.getClass() == obj.getClass(); in equals()
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/transaction/
DCallEndpointTransaction.java62 source.readParcelable(getClass().getClassLoader(),
69 source.readParcelable(getClass().getClassLoader(),
74 source.readParcelable(getClass().getClassLoader(),
DPhoneAccountTransaction.java62 source.readParcelable(getClass().getClassLoader(),
69 source.readParcelable(getClass().getClassLoader(),
74 source.readParcelable(getClass().getClassLoader(),
DCallExceptionTransaction.java67 source.readParcelable(getClass().getClassLoader(),
74 source.readParcelable(getClass().getClassLoader(),
79 source.readParcelable(getClass().getClassLoader(),
DAvailableEndpointsTransaction.java65 source.readParcelable(getClass().getClassLoader(),
71 source.readParcelableList(endpoints, getClass().getClassLoader(),
79 source.readParcelable(getClass().getClassLoader(),
/cts/tools/cts-tradefed/tests/src/com/android/compatibility/common/tradefed/loading/
DCommonConfigLoadingTest.java165 if (prep.getClass().isAssignableFrom(ApkInstaller.class)) { in testConfigurationLoad()
172 if (prep.getClass().isAssignableFrom(PreconditionPreparer.class)) { in testConfigurationLoad()
177 config.getName(), prep.getClass())); in testConfigurationLoad()
179 if (prep.getClass().isAssignableFrom(DeviceSetup.class)) { in testConfigurationLoad()
186 config.getName(), prep.getClass())); in testConfigurationLoad()
189 if (prep.getClass().isAssignableFrom(PythonVirtualenvPreparer.class)) { in testConfigurationLoad()
199 if (!SUPPORTED_SUITE_TEST_TYPE.contains(test.getClass().getCanonicalName())) { in testConfigurationLoad()
204 test.getClass().getCanonicalName(), SUPPORTED_SUITE_TEST_TYPE)); in testConfigurationLoad()
257 if (test.getClass().isAssignableFrom(JarHostTest.class)) { in testConfigurationLoad()
/cts/tests/tests/jni/src/android/jni/cts/
DClassLoaderHelper.java44 ClassLoader loader = getClass().getClassLoader(); in getHashCodeNative()
45 return nativeGetHashCode(loader, loader.getClass()); in getHashCodeNative()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DTestFocusActivity.java57 button.setOnFocusChangeListener((v , hasFocus) -> Log.d(getClass().getSimpleName(), in onCreate()
66 getClass().getSimpleName(), "onTouchModeChanged isInTouchMode=" + isInTouchMode)); in onCreate()
79 Log.d(getClass().getSimpleName(), "onKeyDown keyCode=" + KeyEvent.keyCodeToString(keyCode)); in onKeyDown()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/
DUtil.java39 if (e.getClass().isAssignableFrom(expectedClass)) { in runAndAssertException()
43 + e.getClass().getName()); in runAndAssertException()

12345678910>>...16