/frameworks/base/wifi/java/android/net/wifi/aware/ |
H A D | WifiAwareUtils.java | 45 int index = 0; 46 while (index < serviceNameData.length) { 47 byte b = serviceNameData[index]; 55 ++index;
|
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
H A D | CallbackRegistry.java | 52 * The lowest significant bit corresponds to the 0th index into mCallbacks. 165 * @param remainderIndex The index into mRemainderRemoved that should be notified. 191 * @param startIndex The index into the mCallbacks to start notifying. 192 * @param endIndex One past the last index into mCallbacks to notify. 216 int index = mCallbacks.lastIndexOf(callback); 217 if (index < 0 || isRemoved(index)) { 223 * Returns true if the callback at index has been marked for removal. 225 * @param index The index int 228 isRemoved(int index) argument 287 setRemovalBit(int index) argument [all...] |
/frameworks/layoutlib/bridge/src/android/content/res/ |
H A D | TypedArray_Delegate.java | 26 public static boolean getValueAt(TypedArray theTypedArray, int index, TypedValue outValue) { argument
|
/frameworks/native/cmds/installd/ |
H A D | matchgen.py | 73 def dump(target, index): 74 prefix = " " * (index + 1) 75 print "%sswitch (ext[%d]) {" % (prefix, index) 85 dump(target[k], index + 1)
|
/frameworks/native/opengl/libs/ |
H A D | egl_impl.h | 31 EGLAPI const GLubyte * egl_get_string_for_current_context(GLenum name, GLuint index);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Mesh.h | 46 TYPE& operator[](size_t index) { return *reinterpret_cast<TYPE*>(&mData[index * mStride]); } argument 47 TYPE const& operator[](size_t index) const { 48 return *reinterpret_cast<TYPE const*>(&mData[index * mStride]);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | WfaKeyStore.java | 50 int index = 0; 56 mKeyStore.setCertificateEntry(String.format("%d", index), cert); 57 index++; 59 if (index <= 0) {
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
H A D | PathUtils.java | 64 int index = i * 3; 67 float d = pathData[index]; 68 float x = pathData[index + 1]; 69 float y = pathData[index + 2];
|
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/ |
H A D | Program.java | 178 int index; 179 if ((index = cursor.getColumnIndex(Programs.COLUMN_CHANNEL_ID)) >= 0 180 && !cursor.isNull(index)) { 181 builder.setChannelId(cursor.getLong(index)); 183 if ((index = cursor.getColumnIndex(Programs.COLUMN_BROADCAST_GENRE)) >= 0 184 && !cursor.isNull(index)) { 186 cursor.getString(index))); 188 if ((index = cursor.getColumnIndex(Programs.COLUMN_START_TIME_UTC_MILLIS)) >= 0 189 && !cursor.isNull(index)) { 190 builder.setStartTimeUtcMillis(cursor.getLong(index)); [all...] |
H A D | PreviewProgram.java | 175 int index; 176 if ((index = cursor.getColumnIndex(PreviewPrograms.COLUMN_CHANNEL_ID)) >= 0 177 && !cursor.isNull(index)) { 178 builder.setChannelId(cursor.getLong(index)); 180 if ((index = cursor.getColumnIndex(PreviewPrograms.COLUMN_WEIGHT)) >= 0 181 && !cursor.isNull(index)) { 182 builder.setWeight(cursor.getInt(index));
|
/frameworks/base/cmds/statsd/src/ |
H A D | stats_log_util.cpp | 64 void writeDimensionToProtoHelper(const std::vector<FieldValue>& dims, size_t* index, int depth, argument 68 while (*index < count) { 69 const auto& dim = dims[*index]; 112 (*index)++; 120 writeDimensionToProtoHelper(dims, index, valueDepth, dim.mField.getPrefix(valueDepth), 133 size_t* index, int depth, 137 while (*index < count) { 138 const auto& dim = dims[*index]; 179 (*index)++; 182 index, valueDept 131 writeDimensionLeafToProtoHelper(const std::vector<FieldValue>& dims, const int dimensionLeafField, size_t* index, int depth, int prefix, std::set<string> *str_set, ProtoOutputStream* protoOutput) argument 191 writeDimensionPathToProtoHelper(const std::vector<Matcher>& fieldMatchers, size_t* index, int depth, int prefix, ProtoOutputStream* protoOutput) argument 241 size_t index = 0; local 253 size_t index = 0; local 266 size_t index = 0; local 297 writeFieldValueTreeToStreamHelper(const std::vector<FieldValue>& dims, size_t* index, int depth, int prefix, ProtoOutputStream* protoOutput) argument 356 size_t index = 0; local [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | TypeWrappers_test.cpp | 41 e1.key.index = 0; 54 e2.key.index = 1; 84 ASSERT_EQ(uint32_t(0), iter.index()); 86 ASSERT_EQ(uint32_t(0), iter->key.index); 91 ASSERT_EQ(uint32_t(1), iter.index()); 97 ASSERT_EQ(uint32_t(2), iter.index()); 99 ASSERT_EQ(uint32_t(1), iter->key.index);
|
/frameworks/native/services/sensorservice/ |
H A D | BatteryService.cpp | 39 ssize_t index = mActivations.indexOf(key); local 40 if (index < 0) { 41 index = mActivations.add(key); 43 Info& info(mActivations.editItemAt(index)); 50 ssize_t index = mActivations.indexOf(Info(uid, handle)); local 51 if (index < 0) return false; 52 Info& info(mActivations.editItemAt(index));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | DriverCall.java | 64 public int index; field in class:DriverCall 85 // index,isMT,state,mode,isMpty(,number,TOA)? 89 ret.index = p.nextInt(); 132 return "id=" + index + "," 174 /** For sorting by index */ 179 if (index < dc.index) { 181 } else if (index == dc.index) { 183 } else { /*index > d [all...] |
H A D | WspTypeDecoder.java | 220 int index = startIndex; 221 while (mWspData[index] != 0) { 222 index++; 224 mDataLength = index - startIndex + 1; 243 int index = startIndex; 244 while (mWspData[index] != 0) { 245 index++; 247 mDataLength = index - startIndex + 1; 320 int index = startIndex; 323 while ((mWspData[index] [all...] |
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
H A D | Script.java | 353 for (int index = 0; index < ains.length; ++index) { 354 in_ids[index] = ains[index].getID(mRS); 405 for (int index = 0; index < ains.length; ++index) { 406 in_ids[index] = ains[index] 431 setVar(int index, float v) argument 441 setVar(int index, double v) argument 451 setVar(int index, int v) argument 461 setVar(int index, long v) argument 471 setVar(int index, boolean v) argument 481 setVar(int index, BaseObj o) argument 496 setVar(int index, FieldPacker v) argument 508 setVar(int index, FieldPacker v, Element e, int[] dims) argument [all...] |
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
H A D | SoftOMXComponent.h | 59 OMX_INDEXTYPE index, OMX_PTR params); 62 OMX_INDEXTYPE index, const OMX_PTR params); 65 OMX_INDEXTYPE index, OMX_PTR params); 68 OMX_INDEXTYPE index, const OMX_PTR params); 71 const char *name, OMX_INDEXTYPE *index); 113 OMX_INDEXTYPE index, 118 OMX_INDEXTYPE index, 123 OMX_INDEXTYPE index, 128 OMX_INDEXTYPE index, 134 OMX_INDEXTYPE *index); [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpPacket.cpp | 135 uint32_t MtpPacket::getParameter(int index) const { 136 if (index < 1 || index > 5) { 137 ALOGE("index %d out of range in MtpPacket::getParameter", index); 140 return getUInt32(MTP_CONTAINER_PARAMETER_OFFSET + (index - 1) * sizeof(uint32_t)); 143 void MtpPacket::setParameter(int index, uint32_t value) { argument 144 if (index < 1 || index > 5) { 145 ALOGE("index [all...] |
/frameworks/base/lowpan/java/android/net/lowpan/ |
H A D | LowpanChannelInfo.java | 43 public static LowpanChannelInfo getChannelInfoForIeee802154Page0(int index) { argument 46 if (index < 0) { 49 } else if (index == 0) { 53 } else if (index < 11) { 54 info.mSpectrumCenterFrequency = 906000000.0f - (2000000.0f * 1) + 2000000.0f * (index); 57 } else if (index < 26) { 59 2405000000.0f - (5000000.0f * 11) + 5000000.0f * (index); 66 info.mName = Integer.toString(index); 73 private LowpanChannelInfo(int index, String name, float cf, float bw) { argument 74 mIndex = index; [all...] |
/frameworks/base/native/android/ |
H A D | asset_manager.cpp | 107 size_t index = assetDir->mCurFileIndex; local 113 while ((index < max) && (assetDir->mAssetDir->getFileType(index) != kFileTypeRegular)) { 114 index++; 117 // still in bounds? then the one at 'index' is the next to be reported; generate 119 if (index < max) { 120 assetDir->mCachedFileName = assetDir->mAssetDir->getFileName(index); 122 index++; 125 assetDir->mCurFileIndex = index; 134 const char* AAssetDir_getFileName(AAssetDir* assetDir, int index) argument [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/media/ |
H A D | MediaControllerGlue.java | 129 for (int index = 0; index < seekSpeeds.length; index++) { 130 if (speed == seekSpeeds[index]) { 131 return PLAYBACK_SPEED_FAST_L0 + index; 136 for (int index = 0; index < seekSpeeds.length; index++) { 137 if (-speed == seekSpeeds[index]) { 138 return -PLAYBACK_SPEED_FAST_L0 - index; [all...] |
/frameworks/base/sax/java/android/sax/ |
H A D | Children.java | 32 int index = hash & 15; 34 Child current = children[index]; 38 children[index] = current; 67 int index = hash & 15; 69 Child current = children[index];
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
H A D | UsbConfigDescriptor.java | 92 for (int index = 0; index < mInterfaceDescriptors.size(); index++) { 93 interfaces[index] = mInterfaceDescriptors.get(index).toAndroid(parser);
|
/frameworks/support/navigation/common/src/main/java/androidx/navigation/ |
H A D | NavDeepLink.java | 70 for (int index = 0; index < size; index++) { 71 String argument = mArguments.get(index); 72 bundle.putString(argument, Uri.decode(matcher.group(index + 1)));
|
/frameworks/wilhelm/src/itf/ |
H A D | IMetadataTraversal.cpp | 66 SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize) 85 static SLresult IMetadataTraversal_GetChildInfo(SLMetadataTraversalItf self, SLuint32 index, argument 97 static SLresult IMetadataTraversal_SetActiveNode(SLMetadataTraversalItf self, SLuint32 index) argument 101 if (SL_NODE_PARENT == index) { 105 thiz->mIndex = index; 65 IMetadataTraversal_GetChildMIMETypeSize( SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize) argument
|