Searched defs:size (Results 101 - 125 of 850) sorted by last modified time

1234567891011>>

/frameworks/opt/net/wifi/service/lib/
H A Dwifi_hal_stub.cpp41 feature_set *matrix, int *size) {
50 wifi_error wifi_get_supported_channels_stub(wifi_handle handle, int *size, wifi_channel *list) { argument
64 wifi_error wifi_get_iface_name_stub(wifi_interface_handle iface, char *name, size_t size) { argument
40 wifi_get_concurrency_matrix_stub(wifi_interface_handle handle, int max_size, feature_set *matrix, int *size) argument
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseFragmentPagerAdapter.java46 /** The default size of {@link #mFragmentCache} */
178 public FragmentCache(int size) { argument
179 super(size);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DItemAdapter.java65 return mViewTypes.size();
123 public int size() { method in class:ItemAdapter.ViewTypes
124 return mPositionMap.size();
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jar ... org.xml.sax.SAXException int sp int size java.io.Reader r org.ccil. ...
/frameworks/opt/chips/tests/src/com/android/ex/chips/
H A DChipsTest.java960 private void populateMocks(int size) { argument
961 mMockEntries = new RecipientEntry[size];
962 for (int i = 0; i < size; i++) {
966 mMockRecips = new DrawableRecipientChip[size];
967 for (int i = 0; i < size; i++) {
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerDialog.java46 protected static final String KEY_SIZE = "size";
65 int columns, int size) {
67 ret.initialize(titleResId, colors, selectedColor, columns, size);
71 public void initialize(int titleResId, int[] colors, int selectedColor, int columns, int size) { argument
72 setArguments(titleResId, columns, size);
76 public void setArguments(int titleResId, int columns, int size) { argument
80 bundle.putInt(KEY_SIZE, size);
64 newInstance(int titleResId, int[] colors, int selectedColor, int columns, int size) argument
H A DColorPickerPalette.java54 * Initialize the size, columns, and listener. Size should be a pre-defined size (SIZE_LARGE
57 public void init(int size, int columns, OnColorSelectedListener listener) { argument
60 if (size == ColorPickerDialog.SIZE_LARGE) {
/frameworks/native/cmds/atrace/
H A Datrace.cpp406 // Set the size of the kernel's trace buffer in kilobytes.
407 static bool setTraceBufferSizeKB(int size) argument
411 if (size < 1) {
412 size = 1;
414 snprintf(str, 32, "%d", size);
484 for (size_t i = 0; i < services.size(); i++) {
976 " -b N use a trace buffer size of N KB\n"
1180 // Reset the trace buffer size to 1.
/frameworks/native/cmds/dumpstate/
H A Dutils.cpp373 /* Get size of kernel buffer */
374 int size = klogctl(KLOG_SIZE_BUFFER, NULL, 0); local
375 if (size <= 0) {
376 printf("Unexpected klogctl return value: %d\n\n", size);
379 char *buf = (char *) malloc(size + 1);
384 int retval = klogctl(KLOG_READ_ALL, buf, size);
864 if (args.size() > 1000) {
865 MYLOGE("send_broadcast: too many arguments (%d)\n", (int) args.size());
/frameworks/native/cmds/installd/
H A Dotapreopt.cpp128 size_t size = std::min(kPropertyValueMax - 1, prop_value->length()); local
129 strncpy(value, prop_value->data(), size);
130 value[size] = 0;
131 return static_cast<int>(size);
161 if (export_match.size() != 3) {
381 CHECK_GE(arg_vector.size(), 1U) << command_line;
386 for (size_t i = 0; i < arg_vector.size(); ++i) {
H A Dutils.cpp473 ssize_t size; local
474 while ((size = read(fsfd, buf, sizeof(buf))) > 0) {
475 write(fdfd, buf, size);
477 if (size < 0) {
554 CACHE_NOISY(ALOGI("Allocated large cache mem block: %p size %d", res, len));
579 CACHE_NOISY(ALOGI("cache_malloc: ret %p size %d, block=%p, nextPos=%p",
840 // buffer size for full paths was PATH_MAX.
/frameworks/native/cmds/rawbu/
H A Dbackup.cpp196 static int copy_file(FILE* dest, FILE* src, off_t size, const char* destName, argument
201 off_t origSize = size;
203 while (size > 0) {
204 int amt = size > (off_t)sizeof(copyBuffer) ? sizeof(copyBuffer) : (int)size;
227 size -= readLen;
340 off_t size = statBuffer.st_size; local
341 if (!write_int64(fh, size)) {
354 int copyres = copy_file(fh, src, size, NULL, fullPath);
564 off_t size local
[all...]
/frameworks/native/cmds/servicemanager/
H A Dbinder.c217 uintptr_t ptr, size_t size, binder_handler func)
220 uintptr_t end = ptr + (uintptr_t) size;
453 static void *bio_alloc(struct binder_io *bio, size_t size) argument
455 size = (size + 3) & (~3);
456 if (size > bio->data_avail) {
461 bio->data += size;
462 bio->data_avail -= size;
557 /* Note: The payload will carry 32bit size instead of size_t */
583 /* Note: The payload will carry 32bit size instea
216 binder_parse(struct binder_state *bs, struct binder_io *bio, uintptr_t ptr, size_t size, binder_handler func) argument
594 bio_get(struct binder_io *bio, size_t size) argument
[all...]
/frameworks/native/include/binder/
H A DParcel.h61 status_t setDataSize(size_t size);
63 status_t setDataCapacity(size_t size);
439 inline size_t size() const { return mSize; } function in class:android::Parcel::Blob
444 void init(int fd, void* data, size_t size, bool isMutable);
458 virtual status_t flatten(void* buffer, size_t size, int* fds, size_t count) const = 0;
459 virtual status_t unflatten(void const* buffer, size_t size, int const* fds, size_t count) = 0;
475 virtual status_t flatten(void* buffer, size_t size, int* fds, size_t count) const { argument
476 return val.flatten(buffer, size, fds, count);
478 virtual status_t unflatten(void const* buffer, size_t size, int const* fds, size_t count) { argument
479 return const_cast<Flattenable<T>&>(val).unflatten(buffer, size, fd
542 size_t size; local
581 int32_t size; local
615 int32_t size; local
699 int32_t size; local
[all...]
H A DTextOutput.h102 HexDump(const void *buf, size_t size, size_t bytesPerLine=16);
111 inline size_t size() const;
186 inline size_t HexDump::size() const { return mSize; } function in class:android::HexDump
/frameworks/native/include/input/
H A DInputTransport.h56 // leave it here because InputMessage::size() and other functions
57 // compute the size of this structure as sizeof(Header) + sizeof(Body).
76 inline size_t size() const { function in struct:android::InputMessage::Body::Key
110 inline size_t size() const { function in struct:android::InputMessage::Body::Motion
120 inline size_t size() const { function in struct:android::InputMessage::Body::Finished
127 size_t size() const;
/frameworks/native/include/media/hardware/
H A DHDCPAPI.h97 // Encrypt data according to the HDCP spec. "size" bytes of data are
98 // available at "inData" (virtual address), "size" may not be a multiple
102 // until outData contains size bytes of encrypted data.
107 const void *inData, size_t size, uint32_t streamCTR,
112 // Encrypt data according to the HDCP spec. "size" bytes of data starting
113 // at location "offset" are available in "buffer" (buffer handle). "size"
117 // return until outData contains size bytes of encrypted data.
122 buffer_handle_t buffer, size_t offset, size_t size,
128 // "size" bytes of encrypted data are available at "inData"
129 // (virtual address), "size" ma
106 encrypt( const void *inData, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument
121 encryptNative( buffer_handle_t buffer, size_t offset, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument
135 decrypt( const void *inData, size_t size, uint32_t streamCTR, uint64_t inputCTR, void *outData) argument
[all...]
/frameworks/native/include/ui/
H A DGraphicBufferAllocator.h79 size_t size; member in struct:android::GraphicBufferAllocator::alloc_rec_t
H A Dmat4.h51 // size of a column (i.e.: number of rows)
55 // size of a row (i.e.: number of columns)
58 static inline size_t size() { return row_size(); } // for TVec*<> function in class:android::tmat44
107 // construct from another matrix of the same size
H A Dvec2.h50 inline static size_type size() { return SIZE; } function in class:android::tvec2
H A Dvec3.h52 inline static size_type size() { return SIZE; } function in class:android::tvec3
94 // cross product works only on vectors of size 3
H A Dvec4.h55 inline static size_type size() { return SIZE; } function in class:android::tvec4
/frameworks/native/libs/binder/
H A DIMemory.cpp128 virtual sp<IMemoryHeap> getMemory(ssize_t* offset=0, size_t* size=0) const;
156 size_t IMemory::size() const { function in class:android::IMemory
157 size_t size; local
158 getMemory(NULL, &size);
159 return size;
179 sp<IMemoryHeap> BpMemory::getMemory(ssize_t* offset, size_t* size) const
209 if (size) *size = mSize;
230 size_t size; local
231 reply->writeStrongBinder( IInterface::asBinder(getMemory(&offset, &size)) );
307 ssize_t size = reply.readInt32(); local
[all...]
H A DIPermissionController.cpp62 const int32_t size = reply.readInt32(); local
63 if (size <= 0) {
66 for (int i = 0; i < size; i++) {
108 size_t size = packages.size(); local
109 reply->writeInt32(size);
110 for (size_t i = 0; i < size; i++) {
H A DMemoryBase.cpp29 ssize_t offset, size_t size)
30 : mSize(size), mOffset(offset), mHeap(heap)
34 sp<IMemoryHeap> MemoryBase::getMemory(ssize_t* offset, size_t* size) const
37 if (size) *size = mSize;
28 MemoryBase(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument

Completed in 403 milliseconds

1234567891011>>