OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.base.library_loader; | 5 package org.chromium.base.library_loader; |
6 | 6 |
7 import android.os.Bundle; | 7 import android.os.Bundle; |
8 import android.os.Parcel; | 8 import android.os.Parcel; |
9 import android.os.ParcelFileDescriptor; | 9 import android.os.ParcelFileDescriptor; |
10 import android.os.Parcelable; | 10 import android.os.Parcelable; |
11 import android.util.Log; | 11 import android.util.Log; |
12 | 12 |
13 import org.chromium.base.AccessedByNative; | |
14 import org.chromium.base.CalledByNative; | 13 import org.chromium.base.CalledByNative; |
15 import org.chromium.base.SysUtils; | 14 import org.chromium.base.SysUtils; |
16 import org.chromium.base.ThreadUtils; | 15 import org.chromium.base.ThreadUtils; |
| 16 import org.chromium.base.annotations.AccessedByNative; |
17 | 17 |
18 import java.io.FileNotFoundException; | 18 import java.io.FileNotFoundException; |
19 import java.util.HashMap; | 19 import java.util.HashMap; |
20 import java.util.Locale; | 20 import java.util.Locale; |
21 import java.util.Map; | 21 import java.util.Map; |
22 | 22 |
23 import javax.annotation.Nullable; | 23 import javax.annotation.Nullable; |
24 | 24 |
25 /* | 25 /* |
26 * Technical note: | 26 * Technical note: |
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1134 } | 1134 } |
1135 } | 1135 } |
1136 | 1136 |
1137 // The map of libraries that are currently loaded in this process. | 1137 // The map of libraries that are currently loaded in this process. |
1138 private static HashMap<String, LibInfo> sLoadedLibraries = null; | 1138 private static HashMap<String, LibInfo> sLoadedLibraries = null; |
1139 | 1139 |
1140 // Used to pass the shared RELRO Bundle through Binder. | 1140 // Used to pass the shared RELRO Bundle through Binder. |
1141 public static final String EXTRA_LINKER_SHARED_RELROS = | 1141 public static final String EXTRA_LINKER_SHARED_RELROS = |
1142 "org.chromium.base.android.linker.shared_relros"; | 1142 "org.chromium.base.android.linker.shared_relros"; |
1143 } | 1143 } |
OLD | NEW |