/frameworks/opt/net/wifi/service/lib/ |
H A D | wifi_hal_stub.cpp | 41 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 D | BaseFragmentPagerAdapter.java | 46 /** 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 D | ItemAdapter.java | 65 return mViewTypes.size(); 123 public int size() { method in class:ItemAdapter.ViewTypes 124 return mPositionMap.size();
|
/frameworks/opt/setupwizard/tools/docs/ |
H A D | doclava.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 D | ChipsTest.java | 960 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 D | ColorPickerDialog.java | 46 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 D | ColorPickerPalette.java | 54 * 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 D | atrace.cpp | 406 // 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 D | utils.cpp | 373 /* 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 D | otapreopt.cpp | 128 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 D | utils.cpp | 473 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 D | backup.cpp | 196 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 D | binder.c | 217 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 D | Parcel.h | 61 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 D | TextOutput.h | 102 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 D | InputTransport.h | 56 // 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 D | HDCPAPI.h | 97 // 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 D | GraphicBufferAllocator.h | 79 size_t size; member in struct:android::GraphicBufferAllocator::alloc_rec_t
|
H A D | mat4.h | 51 // 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 D | vec2.h | 50 inline static size_type size() { return SIZE; } function in class:android::tvec2
|
H A D | vec3.h | 52 inline static size_type size() { return SIZE; } function in class:android::tvec3 94 // cross product works only on vectors of size 3
|
H A D | vec4.h | 55 inline static size_type size() { return SIZE; } function in class:android::tvec4
|
/frameworks/native/libs/binder/ |
H A D | IMemory.cpp | 128 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 D | IPermissionController.cpp | 62 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 D | MemoryBase.cpp | 29 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
|