/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPConnection.cpp | 252 fd_set rs; local 253 FD_ZERO(&rs); 262 FD_SET(it->mRTPSocket, &rs); 263 FD_SET(it->mRTCPSocket, &rs); 277 int res = select(maxSocket + 1, &rs, NULL, NULL, &tv); 288 if (FD_ISSET(it->mRTPSocket, &rs)) { 291 if (err == OK && FD_ISSET(it->mRTCPSocket, &rs)) {
|
H A D | ARTSPConnection.cpp | 479 fd_set rs; local 480 FD_ZERO(&rs); 481 FD_SET(mSocket, &rs); 483 int res = select(mSocket + 1, &rs, NULL, NULL, &tv);
|
H A D | MyTransmitter.h | 425 fd_set rs; 426 FD_ZERO(&rs); 427 FD_SET(mRTCPSocket, &rs); 433 int res = select(mRTCPSocket + 1, &rs, NULL, NULL, &tv);
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | ANetworkSession.cpp | 960 fd_set rs, ws; local 961 FD_ZERO(&rs); 964 FD_SET(mPipeFd[0], &rs); 980 FD_SET(s, &rs); 995 int res = select(maxFd + 1, &rs, &ws, NULL, NULL /* tv */); 1010 if (FD_ISSET(mPipeFd[0], &rs)) { 1038 if (FD_ISSET(s, &rs) || FD_ISSET(s, &ws)) { 1042 if (FD_ISSET(s, &rs)) {
|
/frameworks/base/core/java/android/nfc/ |
H A D | NdefRecord.java | 550 NdefRecord[] rs = parse(buffer, true); 556 mTnf = rs[0].mTnf; 557 mType = rs[0].mType; 558 mId = rs[0].mId; 559 mPayload = rs[0].mPayload;
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Allocation.java | 236 Allocation(int id, RenderScript rs, Type t, int usage) { argument 237 super(id, rs); 1013 static public Allocation createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) { argument 1014 rs.validate(); 1015 if (type.getID(rs) == 0) { 1018 int id = rs.nAllocationCreateTyped(type.getID(rs), mips.mID, usage, 0); 1022 return new Allocation(id, rs, type, usage); 1029 * @param rs Context to which the allocation will belong. 1036 static public Allocation createTyped(RenderScript rs, Typ argument 1050 createTyped(RenderScript rs, Type type) argument 1066 createSized(RenderScript rs, Element e, int count, int usage) argument 1090 createSized(RenderScript rs, Element e, int count) argument 1094 elementFromBitmap(RenderScript rs, Bitmap b) argument 1111 typeFromBitmap(RenderScript rs, Bitmap b, MipmapControl mip) argument 1134 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument 1214 createFromBitmap(RenderScript rs, Bitmap b) argument 1233 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument 1280 createCubemapFromBitmap(RenderScript rs, Bitmap b) argument 1304 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument 1370 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg) argument 1397 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument 1421 createFromBitmapResource(RenderScript rs, Resources res, int id) argument 1439 createFromString(RenderScript rs, String str, int usage) argument [all...] |
H A D | AllocationAdapter.java | 28 AllocationAdapter(int id, RenderScript rs, Allocation alloc) { argument 29 super(id, rs, alloc.mType, alloc.mUsage); 33 int getID(RenderScript rs) { argument 214 static public AllocationAdapter create1D(RenderScript rs, Allocation a) { argument 215 rs.validate(); 216 AllocationAdapter aa = new AllocationAdapter(0, rs, a); 225 static public AllocationAdapter create2D(RenderScript rs, Allocation a) { argument 226 android.util.Log.e("rs", "create2d " + a); 227 rs.validate(); 228 AllocationAdapter aa = new AllocationAdapter(0, rs, [all...] |
H A D | BaseObj.java | 28 BaseObj(int id, RenderScript rs) { argument 29 rs.validate(); 30 mRS = rs; 46 * @param rs Context to verify against internal context for 51 int getID(RenderScript rs) { argument 59 if ((rs != null) && (rs != mRS)) {
|
H A D | Element.java | 296 * @param rs Context to which the element will belong. 300 public static Element BOOLEAN(RenderScript rs) { argument 301 if(rs.mElement_BOOLEAN == null) { 302 rs.mElement_BOOLEAN = createUser(rs, DataType.BOOLEAN); 304 return rs.mElement_BOOLEAN; 310 * @param rs Context to which the element will belong. 314 public static Element U8(RenderScript rs) { argument 315 if(rs.mElement_U8 == null) { 316 rs 328 I8(RenderScript rs) argument 335 U16(RenderScript rs) argument 342 I16(RenderScript rs) argument 349 U32(RenderScript rs) argument 356 I32(RenderScript rs) argument 363 U64(RenderScript rs) argument 370 I64(RenderScript rs) argument 377 F32(RenderScript rs) argument 384 F64(RenderScript rs) argument 391 ELEMENT(RenderScript rs) argument 398 TYPE(RenderScript rs) argument 405 ALLOCATION(RenderScript rs) argument 412 SAMPLER(RenderScript rs) argument 419 SCRIPT(RenderScript rs) argument 426 MESH(RenderScript rs) argument 433 PROGRAM_FRAGMENT(RenderScript rs) argument 440 PROGRAM_VERTEX(RenderScript rs) argument 447 PROGRAM_RASTER(RenderScript rs) argument 454 PROGRAM_STORE(RenderScript rs) argument 461 FONT(RenderScript rs) argument 469 A_8(RenderScript rs) argument 476 RGB_565(RenderScript rs) argument 483 RGB_888(RenderScript rs) argument 490 RGBA_5551(RenderScript rs) argument 497 RGBA_4444(RenderScript rs) argument 504 RGBA_8888(RenderScript rs) argument 511 F32_2(RenderScript rs) argument 518 F32_3(RenderScript rs) argument 525 F32_4(RenderScript rs) argument 532 F64_2(RenderScript rs) argument 539 F64_3(RenderScript rs) argument 546 F64_4(RenderScript rs) argument 553 U8_2(RenderScript rs) argument 560 U8_3(RenderScript rs) argument 567 U8_4(RenderScript rs) argument 574 I8_2(RenderScript rs) argument 581 I8_3(RenderScript rs) argument 588 I8_4(RenderScript rs) argument 595 U16_2(RenderScript rs) argument 602 U16_3(RenderScript rs) argument 609 U16_4(RenderScript rs) argument 616 I16_2(RenderScript rs) argument 623 I16_3(RenderScript rs) argument 630 I16_4(RenderScript rs) argument 637 U32_2(RenderScript rs) argument 644 U32_3(RenderScript rs) argument 651 U32_4(RenderScript rs) argument 658 I32_2(RenderScript rs) argument 665 I32_3(RenderScript rs) argument 672 I32_4(RenderScript rs) argument 679 U64_2(RenderScript rs) argument 686 U64_3(RenderScript rs) argument 693 U64_4(RenderScript rs) argument 700 I64_2(RenderScript rs) argument 707 I64_3(RenderScript rs) argument 714 I64_4(RenderScript rs) argument 721 MATRIX_4X4(RenderScript rs) argument 730 MATRIX4X4(RenderScript rs) argument 734 MATRIX_3X3(RenderScript rs) argument 741 MATRIX_2X2(RenderScript rs) argument 748 Element(int id, RenderScript rs, Element[] e, String[] n, int[] as) argument 765 Element(int id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) argument 784 Element(int id, RenderScript rs) argument 838 createUser(RenderScript rs, DataType dt) argument 859 createVector(RenderScript rs, DataType dt, int size) argument 902 createPixel(RenderScript rs, DataType dt, DataKind dk) argument 999 Builder(RenderScript rs) argument [all...] |
H A D | FileA3D.java | 133 static synchronized BaseObj internalCreate(RenderScript rs, IndexEntry entry) { argument 143 int objectID = rs.nFileA3DGetEntryByIndex(entry.mID, entry.mIndex); 150 entry.mLoadedObj = new Mesh(objectID, rs); 158 IndexEntry(RenderScript rs, int index, int id, String name, EntryType type) { argument 159 mRS = rs; 171 FileA3D(int id, RenderScript rs, InputStream stream) { argument 172 super(id, rs); 226 * @param rs Context to which the object will belong. 232 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { argument 233 rs 253 createFromFile(RenderScript rs, String path) argument 273 createFromFile(RenderScript rs, File path) argument 287 createFromResource(RenderScript rs, Resources res, int id) argument [all...] |
H A D | Font.java | 153 Font(int id, RenderScript rs) { argument 154 super(id, rs); 161 static public Font createFromFile(RenderScript rs, Resources res, String path, float pointSize) { argument 162 rs.validate(); 164 int fontId = rs.nFontCreateFromFile(path, pointSize, dpi); 169 Font rsFont = new Font(fontId, rs); 177 static public Font createFromFile(RenderScript rs, Resources res, File path, float pointSize) { argument 178 return createFromFile(rs, res, path.getAbsolutePath(), pointSize); 184 static public Font createFromAsset(RenderScript rs, Resources res, String path, float pointSize) { argument 185 rs 200 createFromResource(RenderScript rs, Resources res, int id, float pointSize) argument 240 create(RenderScript rs, Resources res, String familyName, Style fontStyle, float pointSize) argument [all...] |
H A D | Mesh.java | 93 Mesh(int id, RenderScript rs) { argument 94 super(id, rs); 209 * @param rs Context to which the mesh will belong. 214 public Builder(RenderScript rs, int usage) { argument 215 mRS = rs; 421 public AllocationBuilder(RenderScript rs) { argument 422 mRS = rs; 585 * @param rs Context to which the mesh will belong. 593 public TriangleMeshBuilder(RenderScript rs, int vtxSize, int flags) { argument 594 mRS = rs; [all...] |
H A D | Path.java | 44 Path(int id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) { argument 45 super(id, rs); 69 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { argument 70 int id = rs.nPathCreate(p.mID, false, vtx.getID(rs), 0, quality); 71 Path newPath = new Path(id, rs, p, null, null, quality); 75 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { argument 79 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { argument 83 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { argument
|
H A D | Program.java | 76 Program(int id, RenderScript rs) { argument 77 super(id, rs); 214 protected BaseProgramBuilder(RenderScript rs) { argument 215 mRS = rs;
|
H A D | ProgramFragment.java | 41 ProgramFragment(int id, RenderScript rs) { argument 42 super(id, rs); 53 * @param rs Context to which the program will belong. 55 public Builder(RenderScript rs) { argument 56 super(rs);
|
H A D | ProgramFragmentFixedFunction.java | 33 ProgramFragmentFixedFunction(int id, RenderScript rs) { argument 34 super(id, rs); 41 public InternalBuilder(RenderScript rs) { argument 42 super(rs); 231 * @param rs Context to which the program will belong. 233 public Builder(RenderScript rs) { argument 234 mRS = rs;
|
H A D | ProgramRaster.java | 56 ProgramRaster(int id, RenderScript rs) { argument 57 super(id, rs); 85 public static ProgramRaster CULL_BACK(RenderScript rs) { argument 86 if(rs.mProgramRaster_CULL_BACK == null) { 87 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); 89 rs.mProgramRaster_CULL_BACK = builder.create(); 91 return rs.mProgramRaster_CULL_BACK; 97 public static ProgramRaster CULL_FRONT(RenderScript rs) { argument 98 if(rs.mProgramRaster_CULL_FRONT == null) { 99 ProgramRaster.Builder builder = new ProgramRaster.Builder(rs); 109 CULL_NONE(RenderScript rs) argument 129 Builder(RenderScript rs) argument [all...] |
H A D | ProgramStore.java | 148 ProgramStore(int id, RenderScript rs) { argument 149 super(id, rs); 235 * @param rs Context to which the program will belong. 237 public static ProgramStore BLEND_NONE_DEPTH_TEST(RenderScript rs) { argument 238 if(rs.mProgramStore_BLEND_NONE_DEPTH_TEST == null) { 239 ProgramStore.Builder builder = new ProgramStore.Builder(rs); 244 rs.mProgramStore_BLEND_NONE_DEPTH_TEST = builder.create(); 246 return rs.mProgramStore_BLEND_NONE_DEPTH_TEST; 256 * @param rs Context to which the program will belong. 258 public static ProgramStore BLEND_NONE_DEPTH_NONE(RenderScript rs) { argument 282 BLEND_ALPHA_DEPTH_TEST(RenderScript rs) argument 304 BLEND_ALPHA_DEPTH_NONE(RenderScript rs) argument 333 Builder(RenderScript rs) argument [all...] |
H A D | ProgramVertex.java | 54 ProgramVertex(int id, RenderScript rs) { argument 55 super(id, rs); 92 * @param rs Context to which the program will belong. 94 public Builder(RenderScript rs) { argument 95 super(rs);
|
H A D | ProgramVertexFixedFunction.java | 33 ProgramVertexFixedFunction(int id, RenderScript rs) { argument 34 super(id, rs); 53 public InternalBuilder(RenderScript rs) { argument 54 super(rs); 122 * @param rs Context to which the program will belong. 124 public Builder(RenderScript rs) { argument 125 mRS = rs; 138 static Type getConstantInputType(RenderScript rs) { argument 139 Element.Builder b = new Element.Builder(rs); 140 b.add(Element.MATRIX4X4(rs), "M 221 Constants(RenderScript rs) argument [all...] |
H A D | RSSurfaceView.java | 144 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc); 145 setRenderScriptGL(rs); 146 return rs; 162 public void setRenderScriptGL(RenderScriptGL rs) { argument 163 mRS = rs;
|
H A D | RSTextureView.java | 67 //android.util.Log.e("rs", "getSurfaceTextureListerner " + getSurfaceTextureListener()); 158 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc); 159 setRenderScriptGL(rs); 163 return rs; 181 * @param rs The new RS object. 183 public void setRenderScriptGL(RenderScriptGL rs) { argument 184 mRS = rs;
|
H A D | RenderScript.java | 893 MessageThread(RenderScript rs) { argument 895 mRS = rs; 984 RenderScript rs = new RenderScript(ctx); 986 rs.mDev = rs.nDeviceCreate(); 987 rs.mContext = rs.nContextCreate(rs.mDev, 0, sdkVersion); 988 if (rs.mContext == 0) { 991 rs [all...] |
H A D | Sampler.java | 57 Sampler(int id, RenderScript rs) { argument 58 super(id, rs); 100 * @param rs Context to which the sampler will belong. 104 public static Sampler CLAMP_NEAREST(RenderScript rs) { argument 105 if(rs.mSampler_CLAMP_NEAREST == null) { 106 Builder b = new Builder(rs); 111 rs.mSampler_CLAMP_NEAREST = b.create(); 113 return rs.mSampler_CLAMP_NEAREST; 120 * @param rs Context to which the sampler will belong. 124 public static Sampler CLAMP_LINEAR(RenderScript rs) { argument 144 CLAMP_LINEAR_MIP_LINEAR(RenderScript rs) argument 164 WRAP_NEAREST(RenderScript rs) argument 184 WRAP_LINEAR(RenderScript rs) argument 204 WRAP_LINEAR_MIP_LINEAR(RenderScript rs) argument 231 Builder(RenderScript rs) argument [all...] |
H A D | Script.java | 38 KernelID(int id, RenderScript rs, Script s, int slot, int sig) { argument 39 super(id, rs); 85 FieldID(int id, RenderScript rs, Script s, int slot) { argument 86 super(id, rs); 170 Script(int id, RenderScript rs) { argument 171 super(id, rs); 284 Builder(RenderScript rs) { argument 285 mRS = rs; 294 protected void init(RenderScript rs, int dimx) { argument 295 mAllocation = Allocation.createSized(rs, mElemen 298 init(RenderScript rs, int dimx, int usages) argument [all...] |