OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:assetName
(Results
1 - 12
of
12
) sorted by null
/cts/tests/tests/webkit/src/android/webkit/cts/
TestHtmlConstants.java
80
public static final String getFileUrl(String
assetName
) {
81
if (
assetName
.contains(":") ||
assetName
.startsWith("/")) {
84
return "file:///android_asset/" +
assetName
;
/developers/build/prebuilts/gradle/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/
AssetProvider.java
82
final String
assetName
= uri.getLastPathSegment();
85
if (TextUtils.isEmpty(
assetName
)) {
96
return am.openFd(
assetName
);
/developers/samples/android/content/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/
AssetProvider.java
82
final String
assetName
= uri.getLastPathSegment();
85
if (TextUtils.isEmpty(
assetName
)) {
96
return am.openFd(
assetName
);
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/
AssetProvider.java
82
final String
assetName
= uri.getLastPathSegment();
85
if (TextUtils.isEmpty(
assetName
)) {
96
return am.openFd(
assetName
);
/external/libmojo/base/android/java/src/org/chromium/base/
FileUtils.java
42
* @param
assetName
Name of the asset to extract.
46
public static boolean extractAsset(Context context, String
assetName
, File dest) {
50
inputStream = context.getAssets().open(
assetName
);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
CallLogMigrationTest.java
33
private void writeAssetFileToDisk(String
assetName
, File diskPath) throws IOException {
37
try (final InputStream input = context.getAssets().open(
assetName
)) {
TestUtils.java
263
Context context, SQLiteDatabase db, String
assetName
) {
264
try (InputStream input = context.getAssets().open(
assetName
);) {
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
KeyManagementTest.java
238
private Collection<Certificate> loadCertificatesFromAsset(String
assetName
) {
242
InputStream is = am.open(
assetName
);
250
private PrivateKey loadPrivateKeyFromAsset(String
assetName
) {
253
InputStream is = am.open(
assetName
);
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
ColorSpaceTests.java
169
private Bitmap loadAsset(@NonNull String
assetName
, @NonNull Bitmap.Config config) {
172
try (InputStream in = assets.open(
assetName
)) {
/development/samples/ApiDemos/src/com/example/android/apis/content/
InstallApk.java
147
private File prepareApk(String
assetName
) {
154
is = getAssets().open(
assetName
);
/cts/tests/tests/graphics/src/android/graphics/cts/
BitmapRegionDecoderTest.java
475
String
assetName
= ASSET_NAMES[i];
476
InputStream is1 = obtainInputStream(
assetName
);
633
private InputStream obtainInputStream(String
assetName
) throws IOException {
634
return mRes.getAssets().open(
assetName
);
/frameworks/base/libs/androidfw/
AssetManager.cpp
397
String8
assetName
(kAssetsRoot);
398
assetName
.appendPath(fileName);
408
assetName
.string(), mAssetPaths.itemAt(i).path.string());
409
Asset* pAsset = openNonAssetInPathLocked(
assetName
.string(), mode, mAssetPaths.itemAt(i));
[
all
...]
Completed in 514 milliseconds