OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:fileDesc
(Results
1 - 8
of
8
) sorted by null
/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/
FontTest.java
70
File
fileDesc
= new File(fontPath);
72
assertTrue(Font.createFromFile(mRS, mRes,
fileDesc
, 8) != null);
FileA3DTest.java
106
File
fileDesc
= new File("bogusFile");
108
FileA3D model = FileA3D.createFromFile(mRS,
fileDesc
);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
FwdLockEngine.h
534
int
fileDesc
;
538
fileDesc
= -1;
543
fileDesc
= fd;
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
FwdLockGlue.c
79
int
fileDesc
= open(strKeyFilename, O_RDONLY);
80
if (
fileDesc
>= 0) {
81
if (read(
fileDesc
, keyEncryptionKey, KEY_SIZE) == KEY_SIZE) {
84
(void)close(
fileDesc
);
88
fileDesc
= open(strKeyFilename, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR);
89
if (
fileDesc
>= 0) {
90
if (write(
fileDesc
, keyEncryptionKey, KEY_SIZE) == KEY_SIZE) {
93
(void)close(
fileDesc
);
130
int
fileDesc
= open("/dev/urandom", O_RDONLY);
131
if (
fileDesc
>= 0)
[
all
...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
FwdLockEngine.cpp
72
FwdLockFile_detach(session->
fileDesc
);
73
::close(session->
fileDesc
);
315
int
fileDesc
= dup(fd);
317
if (-1 <
fileDesc
) {
318
if (FwdLockFile_attach(
fileDesc
) < 0) {
321
const char* pMimeType = FwdLockFile_GetContentType(
fileDesc
);
329
FwdLockFile_close(
fileDesc
);
479
int
fileDesc
= -1;
486
fileDesc
= dup(fd);
492
if (-1 <
fileDesc
&
[
all
...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
FwdLockFile.c
59
int
fileDesc
;
85
* @param[in]
fileDesc
A file descriptor.
89
static int FwdLockFile_AcquireSession(int
fileDesc
) {
91
if (
fileDesc
< 0) {
97
int candidateSessionId = (
fileDesc
+ i) % MAX_NUM_SESSIONS;
101
sessionPtrs[candidateSessionId]->
fileDesc
=
fileDesc
;
121
* @param[in]
fileDesc
A file descriptor.
125
static int FwdLockFile_FindSession(int
fileDesc
) {
127
if (
fileDesc
< 0)
[
all
...]
/frameworks/base/core/java/com/android/internal/os/
ZygoteInit.java
152
int
fileDesc
;
155
fileDesc
= Integer.parseInt(env);
163
createFileDescriptor(
fileDesc
));
166
"Error binding to local socket '" +
fileDesc
+ "'", ex);
/frameworks/base/core/jni/
android_util_AssetManager.cpp
172
jobject
fileDesc
= jniCreateFileDescriptor(env, fd);
173
if (
fileDesc
== NULL) {
178
return newParcelFileDescriptor(env,
fileDesc
);
[
all
...]
Completed in 397 milliseconds