Searched refs:usage (Results 26 - 50 of 190) sorted by relevance

12345678

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java35 * <p>An Allocation also contains a set of usage flags that denote how the
36 * Allocation could be used. For example, an Allocation may have usage flags
83 * The usage of the Allocation. These signal to RenderScript where to place
102 * consumer. This usage will cause the Allocation to be created as
182 * Get the usage flags of the Allocation.
184 * @return usage this Allocation's set of the USAGE_* flags OR'd together
221 Allocation(int id, RenderScript rs, Type t, int usage) { argument
223 if ((usage & ~(USAGE_SCRIPT |
228 throw new RSIllegalArgumentException("Unknown usage specified.");
231 if ((usage
1209 createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) argument
1236 createTyped(RenderScript rs, Type type, int usage) argument
1264 createSized(RenderScript rs, Element e, int count, int usage) argument
1335 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
1412 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
1483 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
1579 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument
1626 createFromString(RenderScript rs, String str, int usage) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3DummyStream.cpp90 status_t Camera3DummyStream::getEndpointUsage(uint32_t *usage) { argument
91 *usage = DUMMY_USAGE;
H A DCamera3DummyStream.h90 virtual status_t getEndpointUsage(uint32_t *usage);
H A DCamera3InputStream.h77 virtual status_t getEndpointUsage(uint32_t *usage);
/frameworks/base/cmds/backup/
H A Dbackup.cpp29 usage(int argc, const char** argv) function
35 "usage: %s\n"
38 "usage: %s list FILE\n"
41 "usage: %s print NAME FILE\n"
116 return usage(argc, argv);
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUnixCalendar.java16 package com.android.server.usage;
18 import android.app.usage.UsageStatsManager;
H A DIntervalStats.java16 package com.android.server.usage;
18 import android.app.usage.ConfigurationStats;
19 import android.app.usage.TimeSparseArray;
20 import android.app.usage.UsageEvents;
21 import android.app.usage.UsageStats;
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiNetworkConnectionStatistics.java37 public WifiNetworkConnectionStatistics(int connection, int usage) { argument
39 numUsage = usage;
H A DWifiConnectionStatistics.java30 * and WiFi usage.
63 public void incrementOrAddUntrusted(String SSID, int connection, int usage) { argument
71 stats.numUsage = usage + stats.numUsage;
74 stats = new WifiNetworkConnectionStatistics(connection, usage);
/frameworks/native/include/ui/
H A DGraphicBufferAllocator.h65 status_t alloc(uint32_t w, uint32_t h, PixelFormat format, int usage,
79 uint32_t usage; member in struct:android::GraphicBufferAllocator::alloc_rec_t
/frameworks/native/opengl/libagl/
H A DBufferObjectManager.h44 GLenum usage; member in struct:android::gl::buffer_t
63 int allocateStore(gl::buffer_t* bo, GLsizeiptr size, GLenum usage);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DMobileDataControllerImpl.java96 Log.w(TAG, "Failed to get data usage, " + msg);
155 final DataUsageInfo usage = new DataUsageInfo();
156 usage.usageLevel = totalBytes;
157 usage.period = formatDateRange(start, end);
159 usage.limitLevel = policy.limitBytes > 0 ? policy.limitBytes : 0;
160 usage.warningLevel = policy.warningBytes > 0 ? policy.warningBytes : 0;
162 usage.warningLevel = DEFAULT_WARNING_LEVEL;
164 if (usage != null) {
165 usage.carrier = mNetworkController.getMobileNetworkName();
167 return usage;
[all...]
/frameworks/rs/cpp/
H A DAllocation.cpp40 Allocation::Allocation(void *id, sp<RS> rs, sp<const Type> t, uint32_t usage) : argument
44 if ((usage & ~(RS_ALLOCATION_USAGE_SCRIPT |
52 ALOGE("Unknown usage specified.");
55 if ((usage & RS_ALLOCATION_USAGE_IO_INPUT) != 0) {
57 if ((usage & ~(RS_ALLOCATION_USAGE_IO_INPUT |
60 ALOGE("Invalid usage combination.");
65 mUsage = usage;
146 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Source must be exactly one usage type.");
155 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Can only send buffer if IO_OUTPUT usage specified.");
165 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Can only send buffer if IO_OUTPUT usage specifie
333 createTyped(sp<RS> rs, sp<const Type> type, RsAllocationMipmapControl mipmaps, uint32_t usage) argument
346 createTyped(sp<RS> rs, sp<const Type> type, RsAllocationMipmapControl mipmaps, uint32_t usage, void *pointer) argument
361 createTyped(sp<RS> rs, sp<const Type> type, uint32_t usage) argument
366 createSized(sp<RS> rs, sp<const Element> e, size_t count, uint32_t usage) argument
375 createSized2D(sp<RS> rs, sp<const Element> e, size_t x, size_t y, uint32_t usage) argument
[all...]
/frameworks/av/tools/resampler_tools/
H A Dfir.cpp67 static void usage(char* name) { function
69 "usage: %s [-h] [-d] [-s sample_rate] [-c cut-off_frequency] [-n half_zero_crossings]"
168 usage(argv[0]);
199 usage(argv[0]);
210 usage(argv[0]);
/frameworks/base/core/java/android/app/usage/
H A DTimeSparseArray.java17 package android.app.usage;
/frameworks/base/tools/obbtool/
H A Dmkobb.sh148 usage() { function
156 echo " -h Help; this usage screen"
170 -h) usage; exit 1;;
183 usage
190 usage
/frameworks/native/include/gui/
H A DIGraphicBufferAlloc.h40 PixelFormat format, uint32_t usage, status_t* error) = 0;
H A DBufferQueueProducer.h80 // The usage argument specifies gralloc buffer usage flags. The values
82 // will be merged with the usage flags specified by setConsumerUsageBits.
97 uint32_t width, uint32_t height, uint32_t format, uint32_t usage);
174 uint32_t format, uint32_t usage);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DFullscreenBlur.java62 int usage = Allocation.USAGE_GRAPHICS_TEXTURE | Allocation.USAGE_GRAPHICS_RENDER_TARGET;
63 sRenderTargetBlur0Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
64 sRenderTargetBlur1Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
65 sRenderTargetBlur2Color = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
70 usage = Allocation.USAGE_GRAPHICS_RENDER_TARGET;
71 sRenderTargetBlur0Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
72 sRenderTargetBlur1Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
73 sRenderTargetBlur2Depth = new TextureRenderTarget(Allocation.createTyped(rs, renderType, usage));
/frameworks/base/tools/validatekeymaps/
H A DMain.cpp40 static void usage() { function
130 usage();
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.h40 uint32_t w, uint32_t h, uint32_t format, uint32_t usage);
55 uint32_t format, uint32_t usage);
/frameworks/base/rs/java/android/renderscript/
H A DAllocation.java33 * <p>An Allocation also contains a set of usage flags that denote how the
34 * Allocation could be used. For example, an Allocation may have usage flags
140 * The usage of the Allocation. These signal to RenderScript where to place
185 * consumer. This usage will cause the Allocation to be created
265 * Get the usage flags of the Allocation.
267 * @return usage this Allocation's set of the USAGE_* flags OR'd together
304 Allocation(long id, RenderScript rs, Type t, int usage) { argument
306 if ((usage & ~(USAGE_SCRIPT |
314 throw new RSIllegalArgumentException("Unknown usage specified.");
317 if ((usage
1385 createTyped(RenderScript rs, Type type, MipmapControl mips, int usage) argument
1410 createTyped(RenderScript rs, Type type, int usage) argument
1438 createSized(RenderScript rs, Element e, int count, int usage) argument
1507 createFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
1618 createCubemapFromBitmap(RenderScript rs, Bitmap b, MipmapControl mips, int usage) argument
1689 createCubemapFromCubeFaces(RenderScript rs, Bitmap xpos, Bitmap xneg, Bitmap ypos, Bitmap yneg, Bitmap zpos, Bitmap zneg, MipmapControl mips, int usage) argument
1782 createFromBitmapResource(RenderScript rs, Resources res, int id, MipmapControl mips, int usage) argument
1836 createFromString(RenderScript rs, String str, int usage) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c35 void usage (void) { function
285 usage();
313 usage();
328 usage();
348 usage ();
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/
H A DSampleRSActivity.java112 int usage = Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_OUTPUT;
118 Allocation outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage);
124 outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage);
130 outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage);
136 outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage);
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp42 static void usage(const char* pname) function
45 "usage: %s [-hp] [-d display-id] [FILENAME]\n"
107 usage(pname);
131 usage(pname);

Completed in 1288 milliseconds

12345678