/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbDeviceConnection.java | 130 * This method transfers data starting from index 0 in the buffer. 138 * @param index index field for this transaction 147 int index, byte[] buffer, int length, int timeout) { 148 return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout); 162 * @param index index field for this transaction 165 * @param offset the index of the first byte in the buffer to send or receive 171 public int controlTransfer(int requestType, int request, int value, int index, argument 174 return native_control_request(requestType, request, value, index, 146 controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int length, int timeout) argument 260 native_control_request(int requestType, int request, int value, int index, byte[] buffer, int offset, int length, int timeout) argument [all...] |
/frameworks/opt/net/wifi/service/jni/ |
H A D | jni_helper.h | 11 jlong getLongArrayField(JNIEnv *env, jobject obj, const char *name, int index); 12 jobject getObjectArrayField(JNIEnv *env, jobject obj, const char *name, const char *type, int index); 16 void setLongArrayElement(JNIEnv *env, jobject obj, const char *name, int index, jlong value); 26 jlong getStaticLongArrayField(JNIEnv *env, jobject obj, const char *name, int index); 27 jlong getStaticLongArrayField(JNIEnv *env, jclass cls, const char *name, int index);
|
/frameworks/rs/cpu_ref/linkloader/include/ |
H A D | ELFReloc.h | 32 size_t index; member in class:ELFReloc_CRTP 39 ELFReloc_CRTP() : index(0), r_offset(0), r_addend(0) { } 44 return index; 61 static ELFRelocTy *readRel(Archiver &AR, size_t index); 64 static ELFRelocTy *readRela(Archiver &AR, size_t index);
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaCodec.h | 90 size_t index, 98 size_t index, 109 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs = 0ll); 112 size_t *index, 119 status_t renderOutputBufferAndRelease(size_t index, int64_t timestampNs); 120 status_t renderOutputBufferAndRelease(size_t index); 121 status_t releaseOutputBuffer(size_t index); 131 status_t getOutputBuffer(size_t index, sp<ABuffer> *buffer); 132 status_t getOutputFormat(size_t index, sp<AMessage> *format); 133 status_t getInputBuffer(size_t index, s [all...] |
/frameworks/native/opengl/libagl/ |
H A D | TextureObjectManager.cpp | 272 const ssize_t index = mTextures.indexOfKey(name); local 273 if (index >= 0) { 274 sp<EGLTextureObject> result(mTextures.valueAt(index)); 275 mTextures.removeItemsAt(index); 285 const ssize_t index = mTextures.indexOfKey(name); local 286 if (index >= 0) { 287 const sp<EGLTextureObject>& old = mTextures.valueAt(index); 296 mTextures.removeItemsAt(index); 318 const ssize_t index = mTextures.indexOfKey(name); local 319 if (index > [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_DecodePadMV_PVOP.c | 110 OMX_S8 scaleFactor, index; local 158 index = armUnPackVLC32(ppBitStream, pBitOffset, 160 armRetDataErrIf(index == -1, OMX_Sts_Err); 162 mvHorData = index - 32; 171 index = armUnPackVLC32(ppBitStream, pBitOffset, armVCM4P2_aVlcMVD); 172 armRetDataErrIf(index == -1, OMX_Sts_Err); 174 mvVerData = index - 32;
|
H A D | omxVCM4P2_MotionEstimationMB.c | 295 OMX_INT intraSAD, average, count, index, x, y; local 334 for (y = 0, index = count = 0; y < 16; y++, index += srcCurrStep - 16) 336 for(x = 0; x < 16; x++, count++, index++) 338 pTempSrcCurrBuf[count] = pSrcCurrBuf[index]; 341 for(y = 0, index = 0; y < 2; y++) 343 for(x = 0; x < 2; x++,index++) 347 pSrcCandMV1[index] = &(pMBInfo[0]->pMV0[y][x]); 351 pSrcCandMV1[index] = NULL; 355 pSrcCandMV2[index] [all...] |
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyEffects.cpp | 91 ssize_t index = mInputSources.indexOfKey(aliasSource); local 92 if (index < 0) { 109 Vector <EffectDesc *> effects = mInputSources.valueAt(index)->mEffects; 139 ssize_t index = mInputs.indexOfKey(input); local 140 if (index < 0) { 143 EffectVector *inputDesc = mInputs.valueAt(index); 149 mInputs.removeItemsAt(index); 162 size_t index; local 163 for (index = 0; index < mInput 195 size_t index; local 234 ssize_t index = mOutputStreams.indexOfKey(stream); local 285 ssize_t index = mOutputSessions.indexOfKey(audioSession); local [all...] |
/frameworks/wilhelm/src/ |
H A D | devices.c | 216 SLuint32 index; local 218 for (index = 0 ; NULL != cd->mDescriptor; ++cd) { 220 ++index; 223 *pIndex = index; 226 index = *pIndex; 229 if (0 == index) { 246 --index;
|
H A D | entry.c | 106 SLuint32 index; local 107 for (index = 0; index < pCEngine_class->mInterfaceCount; ++index, ++x, 215 LI_API SLresult liQuerySupportedInterfaces(SLuint32 index, SLInterfaceID *pInterfaceId, argument 240 if (index == 0) { 245 --index;
|
/frameworks/av/media/libeffects/proxy/ |
H A D | EffectProxy.cpp | 189 int index = pContext->index; local 190 // if the index refers to HW , do not do anything. Just return. 191 if (index == SUB_FX_HOST) { 192 ret = (*pContext->eHandle[index])->process(pContext->eHandle[index], 234 // Return error if the CMD_OFFLOAD sends the index as OFFLOAD 236 pContext->index = SUB_FX_HOST; 250 // Assign the effect context index based on isOffload field of the structure 251 pContext->index 277 int index = pContext->index; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | c4_17pf.cpp | 114 Word16 sign[], /* o : index of 4 pulses (position+sign+ampl)*4 */ 151 index 231 Word16 index; local 282 index = 317 return index; 468 /* initialize 4 index for next loop. */ 470 * These index have low complexity address computation because * 526 /* initialize 4 index for next loop (see i1 loop) */ 530 /* index increment = STEP */ 582 /* initialize 5 index fo 752 Word16 index; local [all...] |
H A D | c3_14pf.cpp | 140 index 220 Word16 index; local 272 index = 304 return index; 456 /* initialize 4 index for next loop. */ 458 * These index have low complexity address computation because * 516 /* initialize 4 index for next loop (see i1 loop) */ 520 /* index increment = STEP */ 628 PURPOSE: Builds the codeword, the filtered codeword and index of the 682 Word16 index; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | Ticker.java | 107 int index = this.next; 109 while (index < len && !isGraphicOrEmoji(this.text.charAt(index))) { 110 index++; 112 if (index >= len) { 116 CharSequence substr = this.text.subSequence(index, this.text.length()); 126 this.next = index + l.getLineStart(i+1); 130 this.current = index + start; 142 int index = 0; 144 while (index < le [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | XmlBlock.java | 177 public String getAttributeNamespace(int index) { argument 178 int id = nativeGetAttributeNamespace(mParseState, index); 179 if (DEBUG) System.out.println("getAttributeNamespace of " + index + " = " + id); 182 throw new IndexOutOfBoundsException(String.valueOf(index)); 184 public String getAttributeName(int index) { argument 185 int id = nativeGetAttributeName(mParseState, index); 186 if (DEBUG) System.out.println("getAttributeName of " + index + " = " + id); 188 throw new IndexOutOfBoundsException(String.valueOf(index)); 190 public String getAttributePrefix(int index) { argument 200 public String getAttributeValue(int index) { argument 214 getAttributeType(int index) argument 217 isAttributeDefault(int index) argument 310 getAttributeNameResource(int index) argument [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | DisplayModifier.java | 54 int index; 55 for (index = 0; index < gTriPts.length; index++) { 56 gLinePts[index] = gTriPts[index]; 60 gLinePts[index + 0] = 150; 61 gLinePts[index + 1] = val; 62 gLinePts[index + 2] = 300; 63 gLinePts[index 425 getMapAtIndex(int index) argument [all...] |
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | PersistentDataStore.java | 354 int index = Collections.binarySearch(mKeyboardLayouts, keyboardLayout); 355 if (index >= 0) { 358 mKeyboardLayouts.add(-index - 1, keyboardLayout); 366 int index = Collections.binarySearch(mKeyboardLayouts, keyboardLayout); 367 if (index < 0) { 370 mKeyboardLayouts.remove(index); 371 updateCurrentKeyboardLayoutIfRemoved(keyboardLayout, index); 379 int index = removedIndex; 380 if (index == mKeyboardLayouts.size()) { 381 index [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 59 for (size_t index = 0; index < kMaxNumUniqueIds; ++index) { 60 int temp = (random + index) % kMaxNumUniqueIds; 141 for (size_t index = 0; index < plugInIdList.size(); index++) { 142 IDrmEngine& rDrmEngine = mPlugInManager.getPlugIn(plugInIdList.itemAt(index)); 152 for (size_t index = 0; index < plugInIdLis [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftOMXComponent.cpp | 126 OMX_INDEXTYPE index, 132 return me->getParameter(index, params); 138 OMX_INDEXTYPE index, 144 return me->setParameter(index, params); 150 OMX_INDEXTYPE index, 156 return me->getConfig(index, params); 162 OMX_INDEXTYPE index, 168 return me->setConfig(index, params); 175 OMX_INDEXTYPE *index) { 180 return me->getExtensionIndex(name, index); 124 GetParameterWrapper( OMX_HANDLETYPE component, OMX_INDEXTYPE index, OMX_PTR params) argument 136 SetParameterWrapper( OMX_HANDLETYPE component, OMX_INDEXTYPE index, OMX_PTR params) argument 148 GetConfigWrapper( OMX_HANDLETYPE component, OMX_INDEXTYPE index, OMX_PTR params) argument 160 SetConfigWrapper( OMX_HANDLETYPE component, OMX_INDEXTYPE index, OMX_PTR params) argument 172 GetExtensionIndexWrapper( OMX_HANDLETYPE component, OMX_STRING name, OMX_INDEXTYPE *index) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ViewAnimator.java | 99 * @param whichChild the index of the child view to display 119 * Returns the index of the currently displayed child view. 147 * @param childIndex The index of the child to be shown. 175 * @param childIndex The index of the child to be shown. 183 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument 184 super.addView(child, index, params); 190 if (index >= 0 && mWhichChild >= index) { 191 // Added item above current one, increment the index of the displayed child 205 final int index 212 removeViewAt(int index) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | TelephonyDevController.java | 202 * get modem at index 'index'. 204 public HardwareConfig getModem(int index) { argument 211 if (index > getModemCount()) { 212 loge("getModem: out-of-bounds access for modem device " + index + " max: " + getModemCount()); 216 if (DBG) logd("getModem: " + index); 217 return mModems.get(index); 233 * get sim at index 'index'. 235 public HardwareConfig getSim(int index) { argument [all...] |
H A D | WapPushOverSms.java | 117 int index = 0; 118 int transactionId = pdu[index++] & 0xFF; 119 int pduType = pdu[index++] & 0xFF; 126 index = mContext.getResources().getInteger( 128 if (index != -1) { 129 transactionId = pdu[index++] & 0xff; 130 pduType = pdu[index++] & 0xff; 132 Rlog.d(TAG, "index = " + index + " PDU Type = " + pduType + 155 if (pduDecoder.decodeUintvarInteger(index) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | AdnRecordCache.java | 131 * Update an ADN-like record in EF by record index 135 * @param recordIndex is the 1-based adn record index 200 int index = -1; 204 index = count; 210 if (index == -1) { 216 AdnRecord foundAdn = oldAdnList.get(index-1); 219 index = foundAdn.mRecordNumber; 223 newAdn.mRecordNumber = index; 236 index, pin2, 237 obtainMessage(EVENT_UPDATE_ADN_DONE, efid, index, newAd [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace.pb.h | 923 inline ::google::protobuf::int32 intvalue(int index) const; 924 inline void set_intvalue(int index, ::google::protobuf::int32 value); 935 inline float floatvalue(int index) const; 936 inline void set_floatvalue(int index, float value); 947 inline const ::std::string& charvalue(int index) const; 948 inline ::std::string* mutable_charvalue(int index); 949 inline void set_charvalue(int index, const ::std::string& value); 950 inline void set_charvalue(int index, const char* value); 951 inline void set_charvalue(int index, const void* value, size_t size); 963 inline const ::std::string& rawbytes(int index) cons 1021 _set_bit(int index) argument 1024 _clear_bit(int index) argument 1123 _set_bit(int index) argument 1126 _clear_bit(int index) argument 2055 _set_bit(int index) argument 2058 _clear_bit(int index) argument 2115 set_intvalue(int index, ::google::protobuf::int32 value) argument 2140 set_floatvalue(int index, float value) argument 2165 mutable_charvalue(int index) argument 2168 set_charvalue(int index, const ::std::string& value) argument 2171 set_charvalue(int index, const char* value) argument 2174 set_charvalue(int index, const void* value, size_t size) argument 2209 mutable_rawbytes(int index) argument 2212 set_rawbytes(int index, const ::std::string& value) argument 2215 set_rawbytes(int index, const char* value) argument 2218 set_rawbytes(int index, const void* value, size_t size) argument 2253 set_boolvalue(int index, bool value) argument 2278 set_int64value(int index, ::google::protobuf::int64 value) argument 2339 mutable_contents(int index) argument 2342 set_contents(int index, const ::std::string& value) argument 2345 set_contents(int index, const char* value) argument 2348 set_contents(int index, const void* value, size_t size) argument 2452 mutable_args(int index) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | AssetAtlas.cpp | 84 ssize_t index = mEntries.indexOfKey(bitmap); local 85 return index >= 0 ? mEntries.valueAt(index) : NULL; 89 ssize_t index = mEntries.indexOfKey(bitmap); local 90 return index >= 0 ? mEntries.valueAt(index)->texture : NULL;
|