/frameworks/base/native/android/ |
H A D | asset_manager.cpp | 129 size_t index = assetDir->mCurFileIndex; local 135 while ((index < max) && (assetDir->mAssetDir->getFileType(index) != kFileTypeRegular)) { 136 index++; 139 // still in bounds? then the one at 'index' is the next to be reported; generate 141 if (index < max) { 142 assetDir->mCachedFileName = assetDir->mAssetDir->getFileName(index); 144 index++; 147 assetDir->mCurFileIndex = index; 156 const char* AAssetDir_getFileName(AAssetDir* assetDir, int index) argument [all...] |
/frameworks/base/opengl/libagl/ |
H A D | TextureObjectManager.cpp | 274 const ssize_t index = mTextures.indexOfKey(name); local 275 if (index >= 0) { 276 sp<EGLTextureObject> result(mTextures.valueAt(index)); 277 mTextures.removeItemsAt(index); 287 const ssize_t index = mTextures.indexOfKey(name); local 288 if (index >= 0) { 289 const sp<EGLTextureObject>& old = mTextures.valueAt(index); 298 mTextures.removeItemsAt(index); 320 const ssize_t index = mTextures.indexOfKey(name); local 321 if (index > [all...] |
/frameworks/base/opengl/libs/EGL/ |
H A D | Loader.cpp | 183 int index = int(display); local 186 char const* tag = getTag(index, impl); 205 LOG_FATAL_IF(!index && !impl && !hnd, 236 ssize_t index = ssize_t(strlen(name)) - 3; local 237 if ((index>0 && (index<SIZE-1)) && (!strcmp(name+index, "OES"))) { 238 strncpy(scrap, name, index); 239 scrap[index] = 0; 246 ssize_t index local [all...] |
/frameworks/base/opengl/libs/GLES2_dbg/src/ |
H A D | dbgcontext.cpp | 124 void DbgContext::Fetch(const unsigned index, std::string * const data) const argument 133 ptr += index * vertexAttribs[i].stride; 338 void DbgContext::glEnableVertexAttribArray(GLuint index) 340 if (index >= MAX_VERTEX_ATTRIBS) 342 vertexAttribs[index].enabled = true; 346 void DbgContext::glDisableVertexAttribArray(GLuint index) 348 if (index >= MAX_VERTEX_ATTRIBS) 350 vertexAttribs[index].enabled = false;
|
/frameworks/base/opengl/libs/GLES2_dbg/test/ |
H A D | test_main.cpp | 204 static void GetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, argument 207 ASSERT_LT(index, _attributeCount); 208 const Attribute & att = _attributes[index];
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | CommandQueue.java | 78 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon); argument 79 public void updateIcon(String slot, int index, int viewIndex, argument 81 public void removeIcon(String slot, int index, int viewIndex); argument 100 public void setIcon(int index, StatusBarIcon icon) { argument 102 int what = MSG_ICON | index; 108 public void removeIcon(int index) { argument 110 int what = MSG_ICON | index; 204 final int index = msg.what & INDEX_MASK; 205 final int viewIndex = mList.getViewIndex(index); 209 StatusBarIcon old = mList.getIcon(index); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | NotificationRowLayout.java | 169 public void addView(View child, int index, LayoutParams params) { argument 170 super.addView(child, index, params);
|
/frameworks/base/services/audioflinger/ |
H A D | AudioResampler.cpp | 71 static inline void Advance(size_t* index, uint32_t* frac, uint32_t inc) { argument 73 *index += (size_t)(*frac >> kNumPhaseBits); 257 // LOGE("buffer done, new input index %d", inputIndex); 352 // LOGE("buffer done, new input index %d", inputIndex); 379 * maxInIdx : index on first not used 380 * outputIndex : pointer on current output index 382 * inputIndex : pointer on current input index 389 * inputIndex : index of next to use 489 * maxInIdx : index on first not used 490 * outputIndex : pointer on current output index [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_connectivity_Vpn.cpp | 107 LOGE("Cannot get index of %s: %s", name, strerror(errno)); 115 int index = get_interface_index(name); local 116 if (index < 0) { 117 return index; 128 ifr6.ifr6_ifindex = index; 192 int index = get_interface_index(name); local 193 if (index < 0) { 194 return index; 206 rt6.rtmsg_ifindex = index;
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IccCardStatus.java | 155 public IccCardApplication getApplication(int index) { argument 156 return mApplications.get(index);
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | CdmaSMSDispatcher.java | 199 int index = 0; 201 int msgType = (0xFF & pdu[index++]); 206 int totalSegments = (0xFF & pdu[index++]); // >= 1 207 int segment = (0xFF & pdu[index++]); // >= 0 219 sourcePort = (0xFF & pdu[index++]) << 8; 220 sourcePort |= 0xFF & pdu[index++]; 221 destinationPort = (0xFF & pdu[index++]) << 8; 222 destinationPort |= 0xFF & pdu[index++]; 226 if (checkDuplicatePortOmadmWappush(pdu,index)) { 227 index 367 checkDuplicatePortOmadmWappush(byte[] origPdu, int index) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | SimSmsInterfaceManager.java | 126 * @param index record index of message to update 135 updateMessageOnIccEf(int index, int status, byte[] pdu) { argument 136 if (DBG) log("updateMessageOnIccEf: index=" + index + 147 mPhone.mCM.deleteSmsOnSim(index, response); 152 index, record, null, response); 157 log("interrupted while trying to update by index"); 187 log("interrupted while trying to update by index");
|
/frameworks/base/telephony/java/com/android/internal/telephony/test/ |
H A D | SimulatedGsmCallState.java | 75 toCLCCLine(int index) { argument 78 + index + "," + (isMT ? "1" : "0") +"," 84 toDriverCall(int index) { argument 89 ret.index = index; 565 separateCall(int index) { argument 569 c = calls[index]; 581 if (i != index) {
|
/frameworks/base/test-runner/src/android/test/ |
H A D | MoreAsserts.java | 505 String message, int index, Object expected, Object actual) { 506 failWithMessage(message, "expected array element[" + index + "]:<" 504 failWrongElement( String message, int index, Object expected, Object actual) argument
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | ManagerService.java | 85 ensureNextTestSetup(bundle.getString("firstTest"), bundle.getInt("index")); 178 private void ensureNextTestSetup(String nextTest, int index) { argument 185 mCurrentlyRunningTestIndex = index;
|
/frameworks/base/tools/aapt/ |
H A D | XMLNode.h | 75 attribute_entry() : index(~(uint32_t)0), nameResId(0) 90 uint32_t index; member in struct:XMLNode::attribute_entry 114 status_t insertChildAt(const sp<XMLNode>& child, size_t index);
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 73 public void bridgeSetValue(int index, String name, ResourceValue value) { argument 74 mResourceData[index] = value; 75 mNames[index] = name; 99 int index = 1; 102 mIndices[index++] = i; 124 * Retrieve the styled string value for the attribute at <var>index</var>. 126 * @param index Index of attribute to retrieve. 132 public CharSequence getText(int index) { argument 133 if (index < 0 || index > 154 getString(int index) argument 175 getBoolean(int index, boolean defValue) argument 201 getInt(int index, int defValue) argument 269 getFloat(int index, float defValue) argument 308 getColor(int index, int defValue) argument 336 getColorStateList(int index) argument 403 getInteger(int index, int defValue) argument 424 getDimension(int index, float defValue) argument 477 getDimensionPixelOffset(int index, int defValue) argument 500 getDimensionPixelSize(int index, int defValue) argument 533 getLayoutDimension(int index, String name) argument 551 getLayoutDimension(int index, int defValue) argument 555 getDimension(int index) argument 601 getFraction(int index, int base, int pbase, float defValue) argument 644 getResourceId(int index, int defValue) argument 759 getDrawable(int index) argument 789 getTextArray(int index) argument 825 getValue(int index, TypedValue outValue) argument 848 hasValue(int index) argument 868 peekValue(int index) argument [all...] |
/frameworks/compile/linkloader/include/impl/ |
H A D | ELFObject.hxx | 69 size_t index = progbits_ndx[i]; local 72 ELFSectionTy::read(AR, object.get(), (*object->shtab)[index])); 73 object->stab[index] = sec.take();
|
/frameworks/media/libvideoeditor/vss/src/ |
H A D | M4VD_EXTERNAL_BitstreamParser.c | 493 M4OSA_UInt16 index = 28; /* the 29th byte is SPS start */ local 500 if ((DSISize <= index) || (pDSI == M4OSA_NULL)) { 507 constraintSet3 = (pDSI[index+2] & 0x10); 509 pDSI[index+1], pDSI[index+3], constraintSet3); 511 switch (pDSI[index+1]) { 537 switch (pDSI[index+3]) { 596 M4OSA_UInt16 index = 7; /* the 5th and 6th bytes contain the level and profile */ local 603 if ((DSISize < index) || (pDSI == M4OSA_NULL)) {
|
/frameworks/base/core/java/android/app/ |
H A D | SearchDialog.java | 569 public void setListSelection(int index) { argument 570 mSearchAutoComplete.setListSelection(index);
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkStatsHistory.java | 211 * Return index of bucket that contains or is immediately before the 215 int index = Arrays.binarySearch(bucketStart, 0, bucketCount, time); 216 if (index < 0) { 217 index = (~index) - 1; 219 index -= 1; 221 return MathUtils.constrain(index, 0, bucketCount - 1); 225 * Return index of bucket that contains or is immediately after the 229 int index = Arrays.binarySearch(bucketStart, 0, bucketCount, time); 230 if (index < 357 insertBucket(int index, long start) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | InputEventConsistencyVerifier.java | 403 problem("ACTION_POINTER_DOWN index is " + actionIndex 420 problem("ACTION_POINTER_UP index is " + actionIndex 607 final int index = (mMostRecentEventIndex + RECENT_EVENTS_TO_LOG - i) 609 final InputEvent event = mRecentEvents[index]; 614 appendEvent(mViolationMessage, i + 1, event, mRecentEventsUnhandled[index]); 632 final int index = (mMostRecentEventIndex + 1) % RECENT_EVENTS_TO_LOG; 633 mMostRecentEventIndex = index; 634 if (mRecentEvents[index] != null) { 635 mRecentEvents[index].recycle(); 637 mRecentEvents[index] 645 appendEvent(StringBuilder message, int index, InputEvent event, boolean unhandled) argument [all...] |
H A D | WindowManagerImpl.java | 241 int index = findViewLocked(view, false); 242 if (index >= 0) { 247 root = mRoots[index]; 278 index = 1; 283 index = mViews.length + 1; 285 mViews = new View[index]; 286 System.arraycopy(old, 0, mViews, 0, index-1); 288 mRoots = new ViewRootImpl[index]; 289 System.arraycopy(old, 0, mRoots, 0, index-1); 291 mParams = new WindowManager.LayoutParams[index]; 353 removeViewLocked(int index) argument 374 finishRemoveViewLocked(View view, int index) argument 567 removeItem(Object[] dst, Object[] src, int index) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | AccessibilityInjector.java | 430 * @param index The action for a given action <code>index</code>. 432 public int getAction(int index) { argument 433 return mActionSequence[index]; 437 * @param index The action code for a given action <code>index</code>. 439 public int getActionCode(int index) { argument 440 return (mActionSequence[index] & ACTION_MASK) >> ACTION_OFFSET; 444 * @param index The first argument for a given action <code>index</cod 446 getFirstArgument(int index) argument 453 getSecondArgument(int index) argument 460 getThirdArgument(int index) argument [all...] |
H A D | JWebCoreJavaBridge.java | 260 synchronized private String getSignedPublicKey(int index, String challenge, argument 267 current.getContext(), index, challenge);
|