HomeSort by relevance Sort by last modified time
    Searched defs:fileDesc (Results 1 - 11 of 11) sorted by null

  /frameworks/base/tools/aapt2/link/
TableMerger_test.cpp 87 ResourceFile fileDesc;
88 fileDesc.config = test::parseConfigOrDie("hdpi-v4");
89 fileDesc.name = test::parseNameOrDie(u"@layout/main");
90 fileDesc.source = Source("res/layout-hdpi/main.xml");
93 ASSERT_TRUE(merger.mergeFile(fileDesc, &testFile));
108 ResourceFile fileDesc;
109 fileDesc.name = test::parseNameOrDie(u"@xml/foo");
113 ASSERT_TRUE(merger.mergeFile(fileDesc, &fileA));
114 ASSERT_TRUE(merger.mergeFileOverlay(fileDesc, &fileB));
Link.cpp 307 bool linkAndVersionXmlFile(const ResourceEntry* entry, const ResourceFile& fileDesc,
329 const ResourceFile& fileDesc,
359 outFileOp->xmlToFlatten->file = fileDesc;
461 ResourceFile fileDesc;
462 fileDesc.config = configValue->config;
463 fileDesc.name = ResourceName(pkg->name, type->type, entry->name);
464 fileDesc.source = fileRef->getSource();
465 if (!linkAndVersionXmlFile(entry.get(), fileDesc, file, table, &fileOp)) {
    [all...]
  /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);
320 int fileDesc = dup(fd);
322 if (-1 < fileDesc) {
323 if (FwdLockFile_attach(fileDesc) < 0) {
324 close(fileDesc);
327 const char* pMimeType = FwdLockFile_GetContentType(fileDesc);
335 FwdLockFile_close(fileDesc);
485 int fileDesc = -1;
492 fileDesc = dup(fd)
    [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 120 int fileDesc;
124 fileDesc = Integer.parseInt(env);
131 fd.setInt$(fileDesc);
135 "Error binding to local socket '" + fileDesc + "'", ex);
    [all...]
  /frameworks/base/core/jni/
android_util_AssetManager.cpp 280 jobject fileDesc = jniCreateFileDescriptor(env, fd);
281 if (fileDesc == NULL) {
286 return newParcelFileDescriptor(env, fileDesc);
    [all...]
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 

Completed in 249 milliseconds