OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:drmmanagerclient
(Results
1 - 25
of
74
) sorted by null
1
2
3
/frameworks/av/drm/libdrmframework/
DrmManagerClient.cpp
19
#include <drm/
DrmManagerClient
.h>
25
DrmManagerClient
::
DrmManagerClient
():
31
DrmManagerClient
::~
DrmManagerClient
() {
37
status_t
DrmManagerClient
::setOnInfoListener(
38
const sp<
DrmManagerClient
::OnInfoListener>& infoListener) {
42
DrmConstraints*
DrmManagerClient
::getConstraints(const String8* path, const int action) {
46
DrmMetadata*
DrmManagerClient
::getMetadata(const String8* path) {
50
bool
DrmManagerClient
::canHandle(const String8& path, const String8& mimeType)
[
all
...]
Android.mk
22
DrmManagerClient
.cpp
/packages/apps/Mms/src/com/android/mms/drm/
DrmUtils.java
20
import android.drm.
DrmManagerClient
;
42
DrmManagerClient
drmManagerClient
= MmsApp.getApplication().getDrmManagerClient();
43
if (
drmManagerClient
!= null) {
45
if (
drmManagerClient
.canHandle("", mimeType)) {
51
Log.w(TAG, "
DrmManagerClient
didn't initialize properly");
64
DrmManagerClient
drmManagerClient
= MmsApp.getApplication().getDrmManagerClient();
68
if (
drmManagerClient
.canHandle(uri.toString(), null)) {
69
int check =
drmManagerClient
.checkRightsStatus(uri.toString(), action)
[
all
...]
/frameworks/opt/mms/src/java/com/google/android/mms/util/
DownloadDrmHelper.java
21
import android.drm.
DrmManagerClient
;
38
* @param
drmManagerClient
A
DrmManagerClient
46
DrmManagerClient
drmClient = new
DrmManagerClient
(context);
52
"
DrmManagerClient
instance could not be created, context is Illegal.");
54
Log.w(TAG, "
DrmManagerClient
didn't initialize properly.");
98
DrmManagerClient
drmClient = new
DrmManagerClient
(context);
107
Log.w(TAG, "
DrmManagerClient
didn't initialize properly.")
[
all
...]
DrmConvertSession.java
21
import android.drm.
DrmManagerClient
;
31
private
DrmManagerClient
mDrmClient;
35
private DrmConvertSession(
DrmManagerClient
drmClient, int convertSessionId) {
48
DrmManagerClient
drmClient = null;
52
drmClient = new
DrmManagerClient
(context);
63
"
DrmManagerClient
instance could not be created, context is Illegal.");
65
Log.w(TAG, "
DrmManagerClient
didn't initialize properly.");
/frameworks/base/drm/java/android/drm/
DrmConvertedStatus.java
23
* a) a call to {@link
DrmManagerClient
#convertData
DrmManagerClient
.convertData()} and
24
* b) a call to {@link
DrmManagerClient
#closeConvertSession
DrmManagerClient
.closeConvertSession()}.
26
* {@link
DrmManagerClient
#closeConvertSession
DrmManagerClient
.closeConvertSession()}.
DrmOutputStream.java
20
import static android.drm.
DrmManagerClient
.INVALID_SESSION;
34
* Stream that applies a {@link
DrmManagerClient
} transformation to data before
42
private final
DrmManagerClient
mClient;
50
public DrmOutputStream(
DrmManagerClient
client, RandomAccessFile file, String mimeType)
package.html
45
instantiate a {@link android.drm.
DrmManagerClient
}. The application calls various methods
47
{@link android.drm.
DrmManagerClient
} instance has its own unique ID, so the DRM manager is able to
55
<p>You can do this by first using the {@link android.drm.
DrmManagerClient
#acquireDrmInfo
57
android.drm.
DrmManagerClient
#processDrmInfo processDrmInfo()} method to process the
61
<p>You can do this by first using the {@link android.drm.
DrmManagerClient
#acquireDrmInfo
63
android.drm.
DrmManagerClient
#processDrmInfo processDrmInfo()} method to process the
65
android.drm.
DrmManagerClient
#acquireRights acquireRights()} method.</p>
68
<p>You can use the {@link android.drm.
DrmManagerClient
#getConstraints getConstraints()}
72
<p>You can use the {@link android.drm.
DrmManagerClient
#saveRights saveRights()} method
DrmInfoStatus.java
22
* {@link
DrmManagerClient
#processDrmInfo
DrmManagerClient
.processDrmInfo()}
59
* {@link
DrmManagerClient
#processDrmInfo
DrmManagerClient
.processDrmInfo()}
DrmManagerClient.java
47
public class
DrmManagerClient
{
62
private static final String TAG = "
DrmManagerClient
";
80
* @param client The <code>
DrmManagerClient
</code> instance.
84
public void onInfo(
DrmManagerClient
client, DrmInfoEvent event);
95
* @param client The <code>
DrmManagerClient
</code> instance.
99
public void onEvent(
DrmManagerClient
client, DrmEvent event);
109
* @param client The <code>
DrmManagerClient
</code> instance.
112
public void onError(
DrmManagerClient
client, DrmErrorEvent event);
171
mOnEventListener.onEvent(
DrmManagerClient
.this, event);
174
mOnErrorListener.onError(
DrmManagerClient
.this, error)
[
all
...]
DrmErrorEvent.java
23
* {@link
DrmManagerClient
.OnErrorListener#onError onError()} callback.
54
* {@link
DrmManagerClient
#processDrmInfo processDrmInfo()} call fails.
63
* {@link
DrmManagerClient
#acquireDrmInfo acquireDrmInfo()} call fails.
DrmInfoEvent.java
23
* {@link
DrmManagerClient
.OnInfoListener#onInfo onInfo()} callback.
45
* calling {@link
DrmManagerClient
#acquireRights acquireRights()} again.
/frameworks/av/include/media/stagefright/
FileSource.h
26
#include <drm/
DrmManagerClient
.h>
43
virtual void getDrmInfo(sp<DecryptHandle> &handle,
DrmManagerClient
**client);
56
DrmManagerClient
*mDrmManagerClient;
DataSource.h
29
#include <drm/
DrmManagerClient
.h>
89
virtual void getDrmInfo(sp<DecryptHandle> &handle,
DrmManagerClient
**client) {};
/frameworks/base/docs/html/sdk/api_diff/12/changes/
android.drm.DrmManagerClient.OnEventListener.html
10
android.drm.
DrmManagerClient
.OnEventListener
74
Interface android.drm.<A HREF="../../../../reference/android/drm/
DrmManagerClient
.OnEventListener.html" target="_top"><font size="+2"><code>
DrmManagerClient
.OnEventListener</code></font></A>
86
<A NAME="android.drm.
DrmManagerClient
.OnEventListener.onEvent_changed(android.drm.
DrmManagerClient
, android.drm.DrmEvent)"></A>
87
<nobr><code>void</code> <A HREF="../../../../reference/android/drm/
DrmManagerClient
.OnEventListener.html#onEvent(android.drm.
DrmManagerClient
, android.drm.DrmEvent)" target="_top"><code>onEvent</code></A>(<code>
DrmManagerClient
,</nobr> DrmEvent<nobr><nobr></code>) </nobr>
90
Change in signature from (<code>
DrmManagerClient
, DrmEvent, HashMap<String, Object></code>) to (<code>
DrmManagerClient
, DrmEvent</code>).<br
[
all
...]
/cts/tests/tests/drm/src/android/drm/cts/
DRMTest.java
29
import android.drm.
DrmManagerClient
;
46
private
DrmManagerClient
mDrmManagerClient;
51
mDrmManagerClient = new
DrmManagerClient
(getContext());
145
DrmManagerClient
.ERROR_NONE,
153
mDrmManagerClient.removeAllRights(),
DrmManagerClient
.ERROR_NONE);
189
DrmManagerClient
.ERROR_NONE, mDrmManagerClient.processDrmInfo(drmInfo));
200
private class OnEventListenerImpl implements
DrmManagerClient
.OnEventListener {
207
public void onEvent(
DrmManagerClient
client, DrmEvent event) {
218
assertEquals(
DrmManagerClient
.ERROR_NONE, mDrmManagerClient.saveRights(
/frameworks/av/media/libstagefright/include/
DRMExtractor.h
22
#include <drm/
DrmManagerClient
.h>
49
DrmManagerClient
* mDrmManagerClient;
ChromiumHTTPDataSource.h
48
virtual void getDrmInfo(sp<DecryptHandle> &handle,
DrmManagerClient
**client);
96
DrmManagerClient
*mDrmManagerClient;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadDrmHelper.java
21
import android.drm.
DrmManagerClient
;
66
final
DrmManagerClient
client = new
DrmManagerClient
(context);
/frameworks/av/include/drm/
DrmConvertedStatus.h
29
* As a result of
DrmManagerClient
::convertData(int, const DrmBuffer*) and
30
*
DrmManagerClient
::closeConvertSession(int) an instance of DrmConvertedStatus
DrmInfoStatus.h
28
* As a result of
DrmManagerClient
::processDrmInfo(const DrmInfo*) an instance of
DrmInfo.h
28
* by passing an instance of this class to
DrmManagerClient
::processDrmInfo(const DrmInfo*).
31
*
DrmManagerClient
::acquireDrmInfo(const DrmInfoRequest*) by passing DrmInfoRequest instance.
/frameworks/base/docs/html/sdk/api_diff/16/changes/
android.drm.DrmManagerClient.html
10
android.drm.
DrmManagerClient
74
Class android.drm.<A HREF="../../../../reference/android/drm/
DrmManagerClient
.html" target="_top"><font size="+2"><code>
DrmManagerClient
</code></font></A>
86
<A NAME="android.drm.
DrmManagerClient
.release_added()"></A>
87
<nobr><code>void</code> <A HREF="../../../../reference/android/drm/
DrmManagerClient
.html#release()" target="_top"><code>release</code></A>()</nobr>
/packages/apps/Mms/src/com/android/mms/
MmsApp.java
24
import android.drm.
DrmManagerClient
;
58
private
DrmManagerClient
mDrmManagerClient;
184
public
DrmManagerClient
getDrmManagerClient() {
186
mDrmManagerClient = new
DrmManagerClient
(getApplicationContext());
/frameworks/av/media/libstagefright/
FileSource.cpp
132
mDrmManagerClient = new
DrmManagerClient
();
152
void FileSource::getDrmInfo(sp<DecryptHandle> &handle,
DrmManagerClient
**client) {
Completed in 1256 milliseconds
1
2
3