/aosp12/art/test/688-shared-library/src-art/ |
H A D | Main.java | 24 static ClassLoader bootLoader = Object.class.getClassLoader(); 46 assertIdentical(loader, cls.getClassLoader()); in testNoLibrary() 56 assertIdentical(sharedLibraries[0], cls.getClassLoader()); in testOneLibrary() 58 assertIdentical(sharedLibraries[0], cls.getClassLoader()); in testOneLibrary() 63 assertIdentical(sharedLibraries[0], cls.getClassLoader()); in testOneLibrary() 65 assertIdentical(sharedLibraries[0], cls.getClassLoader()); in testOneLibrary() 75 assertIdentical(sharedLibraries[0], cls.getClassLoader()); in testTwoLibraries1() 77 assertIdentical(sharedLibraries[1], cls.getClassLoader()); in testTwoLibraries1() 82 assertIdentical(sharedLibraries[0], cls.getClassLoader()); in testTwoLibraries1() 84 assertIdentical(sharedLibraries[1], cls.getClassLoader()); in testTwoLibraries1() [all …]
|
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/core/ |
H A D | CarUiInstaller.java | 130 activity.getClassLoader(), in register() 154 activity.getClassLoader(), in register() 162 activity.getClassLoader(), in register() 166 changeInsetsClassLoader(activity.getClassLoader(), mInsets)); in register() 194 activity.getClassLoader(), in register() 201 activity.getClassLoader(), in register() 207 activity.getClassLoader(), in register() 213 activity.getClassLoader(), in register() 219 activity.getClassLoader(), in register() 225 activity.getClassLoader(), in register() [all …]
|
/aosp12/system/tools/xsdc/tests/src/com/android/xsdc/tests/ |
H A D | XmlParserTest.java | 41 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testPurchaseSimple() 56 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testPurchaseSimple() 74 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testNestedType() 87 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testSimpleComplexContent() 98 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testSimpleComplexContent() 117 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testPredefinedTypes() 209 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testPredefinedTypes() 227 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testSimpleType() 236 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testSimpleType() 253 try (InputStream str = this.getClass().getClassLoader().getResourceAsStream( in testReference() [all …]
|
/aosp12/art/test/912-classes/src-art/art/ |
H A D | Test912.java | 158 Object cl = getClassLoader(c); in testClassLoader() 161 if (c.getClassLoader() != null && !IsBootClassLoader(c.getClassLoader())) { in testClassLoader() 162 throw new RuntimeException("Expected " + c.getClassLoader() + ", but got null."); in testClassLoader() 169 if (cl != c.getClassLoader()) { in testClassLoader() 170 throw new RuntimeException("Unexpected classloader: " + c.getClassLoader() + " vs " + cl); in testClassLoader() 248 ByteBuffer.wrap(DEX_BYTES), Test912.class.getClassLoader())).loadClass("Transform"); in testClassVersion() 253 ClassLoader cl = Main.class.getClassLoader(); in testClassEvents() 335 Proxy.getProxyClass(Main.class.getClassLoader(), new Class[] { Comparable.class, I0.class }); in testClassEvents() 388 private static native Object getClassLoader(Class<?> c); in getClassLoader() method in Test912 416 ByteBuffer.wrap(DEX_BYTES), Test912.class.getClassLoader())).loadClass("Transform"); in TestRecursiveClassPrepareEvents() [all …]
|
/aosp12/art/test/1946-list-descriptors/src-art/art/ |
H A D | Test1946.java | 81 getClassloaderDescriptors(Object.class.getClassLoader()), "Object not in bcp!"); in run() 83 checkSubset(getClassloaderDescriptors(Test1946.class.getClassLoader()), in run() 97 Object.class.getClassLoader())), in run() 101 Test1946.class.getClassLoader())), in run() 106 Test1946.class.getClassLoader())), in run()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CatCmdMessage.java | 142 mCmdDet = in.readParcelable(CommandDetails.class.getClassLoader()); in CatCmdMessage() 143 mTextMsg = in.readParcelable(TextMessage.class.getClassLoader()); in CatCmdMessage() 144 mMenu = in.readParcelable(Menu.class.getClassLoader()); in CatCmdMessage() 145 mInput = in.readParcelable(Input.class.getClassLoader()); in CatCmdMessage() 154 mToneSettings = in.readParcelable(ToneSettings.class.getClassLoader()); in CatCmdMessage() 158 mCallSettings.confirmMsg = in.readParcelable(TextMessage.class.getClassLoader()); in CatCmdMessage() 159 mCallSettings.callMsg = in.readParcelable(TextMessage.class.getClassLoader()); in CatCmdMessage()
|
/aosp12/art/test/1901-get-bytecodes/src/art/ |
H A D | Test1901.java | 103 public static ClassLoader getClassLoader() throws Exception { in getClassLoader() method in Test1901 109 ByteBuffer.wrap(DEX_BYTES), Test1901.class.getClassLoader()); in getClassLoader() 112 return new ClassLoader(Test1901.class.getClassLoader()) { in getClassLoader() 140 Class<?> target = getClassLoader().loadClass("art.Target"); in run()
|
/aosp12/art/test/936-search-onload/src/ |
H A D | Main.java | 33 expectedClassLoader = Object.class.getClassLoader(); in doTest() 39 if (c.getClassLoader() != expectedClassLoader) { in doTest() 41 c.getClassLoader() + " vs " + expectedClassLoader); in doTest()
|
/aosp12/art/test/929-search/src/ |
H A D | Main.java | 33 expectedClassLoader = Object.class.getClassLoader(); in doTest() 41 if (c.getClassLoader() != expectedClassLoader) { in doTest() 43 c.getClassLoader() + " vs " + expectedClassLoader); in doTest()
|
/aosp12/packages/services/Car/car-lib/src/android/car/occupantawareness/ |
H A D | GazeDetection.java | 189 leftEyePosition = in.readParcelable(Point3D.class.getClassLoader()); in GazeDetection() 190 rightEyePosition = in.readParcelable(Point3D.class.getClassLoader()); in GazeDetection() 191 headAngleUnitVector = in.readParcelable(Point3D.class.getClassLoader()); in GazeDetection() 192 gazeAngleUnitVector = in.readParcelable(Point3D.class.getClassLoader()); in GazeDetection()
|
/aosp12/frameworks/base/core/java/android/app/people/ |
H A D | ConversationChannel.java | 86 mShortcutInfo = in.readParcelable(ShortcutInfo.class.getClassLoader()); in ConversationChannel() 88 mNotificationChannel = in.readParcelable(NotificationChannel.class.getClassLoader()); in ConversationChannel() 90 in.readParcelable(NotificationChannelGroup.class.getClassLoader()); in ConversationChannel() 95 in.readParcelableList(mStatuses, ConversationStatus.class.getClassLoader()); in ConversationChannel()
|
/aosp12/art/test/1963-add-to-dex-classloader-in-memory/src/art/ |
H A D | Test1963.java | 183 ClassLoader cl = getClassLoader(); in run() 201 super(ExtensibleClassLoader.class.getClassLoader()); in ExtensibleClassLoader() 220 public static ClassLoader getClassLoader() throws Exception { in getClassLoader() method in Test1963 227 Test1963.class.getClassLoader()); in getClassLoader()
|
/aosp12/art/test/613-inlining-dex-cache/src-art/ |
H A D | Main.java | 47 ClassLoader loader = new DelegateLastPathClassLoader(DEX_FILE, Main.class.getClassLoader()); in main() 56 if (bLoader != Main.class.getClassLoader()) { in main() 74 return OtherClass.getB().getClassLoader(); in areYouB()
|
/aosp12/frameworks/base/telecomm/java/android/telecom/ |
H A D | ConnectionRequest.java | 275 mAccountHandle = in.readParcelable(getClass().getClassLoader()); in ConnectionRequest() 276 mAddress = in.readParcelable(getClass().getClassLoader()); in ConnectionRequest() 277 mExtras = in.readParcelable(getClass().getClassLoader()); in ConnectionRequest() 281 mRttPipeFromInCall = in.readParcelable(getClass().getClassLoader()); in ConnectionRequest() 282 mRttPipeToInCall = in.readParcelable(getClass().getClassLoader()); in ConnectionRequest() 285 in.readList(mParticipants, getClass().getClassLoader()); in ConnectionRequest()
|
/aosp12/art/test/1964-add-to-dex-classloader-file/src/ |
H A D | Main.java | 153 ClassLoader cl = getClassLoader(); in run() 171 super(new URL[] {}, ExtensibleClassLoader.class.getClassLoader()); in ExtensibleClassLoader() 188 public static ClassLoader getClassLoader() throws Exception { in getClassLoader() method in Main 194 return (ClassLoader)ctor.newInstance(ByteBuffer.wrap(DEX_BYTES), Main.class.getClassLoader()); in getClassLoader()
|
/aosp12/art/test/1911-get-local-var-table/src/art/ |
H A D | Test1911.java | 170 public static ClassLoader getClassLoader() throws Exception { in getClassLoader() method in Test1911 176 ByteBuffer.wrap(DEX_BYTES), Test1911.class.getClassLoader()); in getClassLoader() 179 return new ClassLoader(Test1911.class.getClassLoader()) { in getClassLoader() 209 Class<?> target = getClassLoader().loadClass("art.Target"); in run()
|
/aosp12/frameworks/base/core/java/com/android/ims/internal/uce/options/ |
H A D | OptionsCmdStatus.java | 150 mCmdId = source.readParcelable(OptionsCmdId.class.getClassLoader()); in readFromParcel() 151 mStatus = source.readParcelable(StatusCode.class.getClassLoader()); in readFromParcel() 152 mCapInfo = source.readParcelable(CapInfo.class.getClassLoader()); in readFromParcel()
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | ApplicationLoaders.java | 46 ClassLoader getClassLoader(String zip, int targetSdkVersion, boolean isBundled, in getClassLoader() method in ApplicationLoaders 60 return getClassLoader(zip, targetSdkVersion, isBundled, librarySearchPath, in getClassLoaderWithSharedLibraries() 92 private ClassLoader getClassLoader(String zip, int targetSdkVersion, boolean isBundled, in getClassLoader() method in ApplicationLoaders 196 ClassLoader classLoader = getClassLoader(path, Build.VERSION.SDK_INT, true /*isBundled*/, in createAndCacheNonBootclasspathSystemClassLoader() 268 return getClassLoader(packagePath, Build.VERSION.SDK_INT, false, libsPath, null, null, in createAndCacheWebViewClassLoader()
|
/aosp12/packages/apps/Settings/src/com/android/settings/utils/ |
H A D | LocalClassLoaderContextThemeWrapper.java | 38 public ClassLoader getClassLoader() { in getClassLoader() method in LocalClassLoaderContextThemeWrapper 39 return mLocalClass.getClassLoader(); in getClassLoader()
|
/aosp12/art/test/626-const-class-linking/src/ |
H A D | ClassPair.java | 27 String first_loader_name = first.getClassLoader().getClass().getName(); in print() 29 String second_loader_name = second.getClassLoader().getClass().getName(); in print()
|
/aosp12/art/test/506-verify-aput/src/ |
H A D | Main.java | 27 } catch (Error e) { System.out.println(e.getClass() + " " + e.getClass().getClassLoader()); } in main() 32 } catch (Error e) { System.out.println(e.getClass() + " " + e.getClass().getClassLoader()); } in main()
|
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/utils/ |
H A D | LocalClassLoaderContextThemeWrapperTest.java | 40 assertThat(mContextThemeWrapper.getClassLoader()).isSameInstanceAs(clazz.getClassLoader()); in getClassLoader_shouldUseLocalClassLoader()
|
/aosp12/art/test/1964-add-to-dex-classloader-file/src-ex/foobar/ |
H A D | NewClass.java | 40 if (NewClass.class.getClassLoader() != caller.method.getDeclaringClass().getClassLoader()) { in sayHi()
|
/aosp12/frameworks/base/telephony/java/android/telephony/data/ |
H A D | DataCallResponse.java | 244 source.readList(mAddresses, LinkAddress.class.getClassLoader()); in DataCallResponse() 246 source.readList(mDnsAddresses, InetAddress.class.getClassLoader()); in DataCallResponse() 248 source.readList(mGatewayAddresses, InetAddress.class.getClassLoader()); in DataCallResponse() 250 source.readList(mPcscfAddresses, InetAddress.class.getClassLoader()); in DataCallResponse() 256 mDefaultQos = source.readParcelable(Qos.class.getClassLoader()); in DataCallResponse() 258 source.readList(mQosBearerSessions, QosBearerSession.class.getClassLoader()); in DataCallResponse() 259 mSliceInfo = source.readParcelable(NetworkSliceInfo.class.getClassLoader()); in DataCallResponse() 261 source.readList(mTrafficDescriptors, TrafficDescriptor.class.getClassLoader()); in DataCallResponse()
|
/aosp12/art/test/044-proxy/src/ |
H A D | Clash.java | 32 Proxy.newProxyInstance(Clash.class.getClassLoader(), in main() 41 Proxy.newProxyInstance(Clash.class.getClassLoader(), in main()
|