/frameworks/av/drm/mediacas/plugins/clearkey/ |
ClearKeyLicenseFetcher.h | 33 virtual status_t FetchLicense(uint64_t asset_id, Asset* asset); 36 Asset asset_;
|
ecm_generator.h | 47 // 12 - 15 : Asset ID 50 // The clear asset ID (bytes 12-15) is compared to the encrypted asset ID 62 // asset->id 71 // |asset|, |content_key|, |default_fields| are owned by caller and must not 76 // Asset asset; 80 // status_t status = ecm_generator::DecodeECM(ecm, &asset, &content_key, &default_fields); 81 status_t DecodeECM(const sp<ABuffer>& ecm, Asset* asset, [all...] |
ClearKeyLicenseFetcher.cpp | 36 uint64_t /* asset_id */, Asset* asset) { 37 *asset = asset_;
|
LicenseFetcher.h | 36 // Fetches license based on |asset_id|. On return, |asset| contains the 38 // |asset| must be non-null. 40 uint64_t asset_id, clearkeycas::Asset* asset) = 0;
|
JsonAssetLoader.h | 38 const String8& jsonAssetString, Asset *asset); 47 bool findKey(const String8& jsonObject, Asset *asset);
|
ClearKeyFetcher.h | 54 clearkeycas::Asset asset_;
|
ecm_generator.cpp | 57 status_t DecodeECM(const sp<ABuffer>& ecm, Asset* asset, 59 CHECK(asset); 63 status_t status = DecodeECMClearFields(ecm, asset, default_fields); 75 status_t DecodeECMClearFields(const sp<ABuffer>& ecm, Asset* asset, 77 CHECK(asset); 96 asset->set_id(LoadNext32(&ptr)); 97 if (asset->id() == 0) {
|
ecm.cpp | 46 Asset asset; local 49 buffer_as_binary, &asset, &default_fields); 54 set_asset_id(asset.id()); 64 const Asset& asset_from_emm) { 65 // Invariant: asset has id. These are postconditions for Emm::Decrypt(). 68 // DecodeEcm fills in |asset|.id() with the asset_id from the encoded Ecm. 69 Asset asset(asset_from_emm); 73 buffer_as_binary, &asset, &content_key, &default_fields) [all...] |
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
Registries.java | 8 public static final NativeObjRegistry<Asset> NATIVE_ASSET_REGISTRY = 9 new NativeObjRegistry<>(Asset.class);
|
CppApkAssets.java | 18 import org.robolectric.res.android.Asset.AccessMode; 34 // #include "androidfw/Asset.h" 49 // std::unique_ptr<Asset> Open(const String& path, 50 // Asset::AccessMode mode = Asset::AccessMode::ACCESS_RANDOM) const; 85 Asset resources_asset_; 86 Asset idmap_asset_; 105 // #include "androidfw/Asset.h" 137 // Asset idmap_asset = CreateAssetFromFile(idmap_path); 170 // std::unique_ptr<Asset> ApkAssets::CreateAssetFromFile(const std::string& path) 303 Asset asset = local 319 Asset asset = Asset.createFromUncompressedMap(map, mode); local [all...] |
Asset.java | 3 import static org.robolectric.res.android.Asset.AccessMode.ACCESS_BUFFER; 20 // transliterated from https://android.googlesource.com/platform/frameworks/base/+/android-9.0.0_r12/libs/androidfw/Asset.cpp 21 // and https://android.googlesource.com/platform/frameworks/base/+/android-9.0.0_r12/libs/androidfw/include/androidfw/Asset.h 29 * "Asset" is the base class for all types of assets. The classes below 33 public abstract class Asset { 34 public static final Asset EXCLUDED_ASSET = new _FileAsset(); 38 public static Asset newFileAsset(FileTypedResource fileTypedResource) throws IOException { 48 // virtual ~Asset(void) = default; 106 * Close the asset, freeing all associated resources. 126 * Open a new file descriptor that can be used to read this asset [all...] |
CppAssetManager.java | 3 import static org.robolectric.res.android.Asset.toIntExact; 31 import org.robolectric.res.android.Asset.AccessMode; 116 // static Asset final kExcludedAsset = (Asset*) 0xd000000d; 117 static final Asset kExcludedAsset = Asset.EXCLUDED_ASSET; 241 ALOGW("Asset path %s is neither a directory nor file (type=%s).", 257 ALOGV("In %s Asset %s path: %s", this, 302 // Asset idmap = null; 303 // if ((idmap = openAssetFromFileLocked(idmapPath, Asset.AccessMode.ACCESS_BUFFER)) == null) [all...] |
/frameworks/av/drm/mediacas/plugins/clearkey/protos/ |
license_protos.proto | 23 // The Asset is the data describing licensing requirements and polciy for a 24 // customer's video asset. 29 message Asset { 40 // Organization-specified name of the asset. Required. Must not be empty. 45 // Organization table and part of the primary key for the Asset table. 49 optional string policy_name = 4; // Name of the Policy to apply to this asset. 59 // asset keys per asset. This is not supported in this implementation. 61 optional bytes encryption_key = 1; // 256-byte key for the asset.
|
/external/skia/infra/bots/assets/skimage/ |
create.py | 9 """Create the asset.""" 18 """Create the asset.""" 21 asset = asset_utils.Asset(common.ASSET_NAME, asset_utils.MultiStore()) 22 asset.download_current_version(target_dir)
|
/external/skqp/infra/bots/assets/skimage/ |
create.py | 9 """Create the asset.""" 18 """Create the asset.""" 21 asset = asset_utils.Asset(common.ASSET_NAME, asset_utils.MultiStore()) 22 asset.download_current_version(target_dir)
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowArscAssetInputStream.java | 11 import org.robolectric.res.android.Asset; 28 private Asset getAsset() { 42 Asset asset = getAsset(); local 43 return asset != null && asset.isNinePatch();
|
ShadowAssetInputStream.java | 9 import org.robolectric.res.android.Asset; 18 Asset asset = NATIVE_ASSET_REGISTRY.getNativeObject(assetPtr); local 28 slais.setNinePatch(asset.isNinePatch());
|
ShadowArscAssetManager10.java | 11 import static org.robolectric.res.android.Asset.SEEK_CUR; 12 import static org.robolectric.res.android.Asset.SEEK_END; 13 import static org.robolectric.res.android.Asset.SEEK_SET; 61 import org.robolectric.res.android.Asset; 109 // #define LOG_TAG "asset" 127 // #include "androidfw/Asset.h" 243 // Java asset cookies have 0 as an invalid cookie, but TypedArray expects < 0. 418 static ParcelFileDescriptor ReturnParcelFileDescriptor(/* JNIEnv* env,*/ Asset asset, 422 FileDescriptor fd = asset.openFileDescriptor(start_offset, length) 701 Asset asset = local 723 Asset asset = assetmanager.Open(asset_path_utf8, Asset.AccessMode.ACCESS_RANDOM); local 752 Asset asset; local 782 Asset asset; local 810 Asset asset; local 1622 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); local 1648 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); local 1661 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); local 1669 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); local 1676 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); local [all...] |
ShadowArscAssetManager9.java | 9 import static org.robolectric.res.android.Asset.SEEK_CUR; 10 import static org.robolectric.res.android.Asset.SEEK_END; 11 import static org.robolectric.res.android.Asset.SEEK_SET; 59 import org.robolectric.res.android.Asset; 103 // #define LOG_TAG "asset" 121 // #include "androidfw/Asset.h" 237 // Java asset cookies have 0 as an invalid cookie, but TypedArray expects < 0. 414 static ParcelFileDescriptor ReturnParcelFileDescriptor(/* JNIEnv* env,*/ Asset asset, 418 FileDescriptor fd = asset.openFileDescriptor(start_offset, length) 697 Asset asset = local 719 Asset asset = assetmanager.Open(asset_path_utf8, Asset.AccessMode.ACCESS_RANDOM); local 748 Asset asset; local 778 Asset asset; local 806 Asset asset; local 1620 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); local 1646 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); local 1659 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); local 1667 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); local 1674 Asset asset = Registries.NATIVE_ASSET_REGISTRY.getNativeObject(asset_ptr); local [all...] |
ShadowArscAssetManager.java | 11 import static org.robolectric.res.android.Asset.SEEK_CUR; 12 import static org.robolectric.res.android.Asset.SEEK_SET; 45 import org.robolectric.res.android.Asset; 46 import org.robolectric.res.android.Asset.AccessMode; 332 Asset a = am.open(fileName8, AccessMode.fromInt(mode)); 338 //printf("Created Asset Stream: %p\n", a); 354 Asset a = am.open(fileName8, Asset.AccessMode.ACCESS_RANDOM); 376 if (mode != Asset.AccessMode.ACCESS_UNKNOWN && mode != Asset.AccessMode.ACCESS_RANDO [all...] |
/external/skia/infra/bots/assets/ |
assets.py | 27 """Add a new asset.""" 28 asset_utils.Asset.add(args.asset_name, 33 """Remove an asset.""" 34 asset_utils.Asset(args.asset_name, 39 """Download the current version of an asset.""" 40 asset = asset_utils.Asset(args.asset_name, 42 asset.download_current_version(args.target_dir) 46 """Upload a new version of the asset.""" 47 asset = asset_utils.Asset(args.asset_name [all...] |
/external/skqp/infra/bots/assets/ |
assets.py | 27 """Add a new asset.""" 28 asset_utils.Asset.add(args.asset_name, 33 """Remove an asset.""" 34 asset_utils.Asset(args.asset_name, 39 """Download the current version of an asset.""" 40 asset = asset_utils.Asset(args.asset_name, 42 asset.download_current_version(args.target_dir) 46 """Upload a new version of the asset.""" 47 asset = asset_utils.Asset(args.asset_name [all...] |
/developers/build/prebuilts/gradle/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/ |
Utils.java | 34 import com.google.android.gms.wearable.Asset; 139 * Convert an asset into a bitmap object synchronously. Only call this 143 public static Bitmap loadBitmapFromAsset(GoogleApiClient googleApiClient, Asset asset) { 144 if (asset == null) { 145 throw new IllegalArgumentException("Asset must be non-null"); 147 // convert asset into a file descriptor and block until it's ready 149 googleApiClient, asset).await().getInputStream(); 152 Log.w(TAG, "Requested an unknown Asset."); 160 * Create a wearable asset from a bitmap [all...] |
/developers/samples/android/wearable/wear/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/ |
Utils.java | 35 import com.google.android.gms.wearable.Asset; 140 * Convert an asset into a bitmap object synchronously. Only call this 144 public static Bitmap loadBitmapFromAsset(GoogleApiClient googleApiClient, Asset asset) { 145 if (asset == null) { 146 throw new IllegalArgumentException("Asset must be non-null"); 148 // convert asset into a file descriptor and block until it's ready 150 googleApiClient, asset).await().getInputStream(); 153 Log.w(TAG, "Requested an unknown Asset."); 161 * Create a wearable asset from a bitmap [all...] |
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/ |
Utils.java | 34 import com.google.android.gms.wearable.Asset; 139 * Convert an asset into a bitmap object synchronously. Only call this 143 public static Bitmap loadBitmapFromAsset(GoogleApiClient googleApiClient, Asset asset) { 144 if (asset == null) { 145 throw new IllegalArgumentException("Asset must be non-null"); 147 // convert asset into a file descriptor and block until it's ready 149 googleApiClient, asset).await().getInputStream(); 152 Log.w(TAG, "Requested an unknown Asset."); 160 * Create a wearable asset from a bitmap [all...] |