/frameworks/base/tools/aidl/ |
H A D | aidl_language.h | 29 buffer_type type; member in struct:type_type 37 type_type type; member in struct:arg_type 53 type_type type; member in struct:method_type 111 type_type type; member in union:lexer_type
|
H A D | generate_java_binder.cpp | 12 StubClass(Type* type, Type* interfaceType); 24 StubClass::StubClass(Type* type, Type* interfaceType) argument 30 this->type = type; 123 // Ensure the instance type of the local object is as expected. 152 ProxyClass(Type* type, InterfaceType* interfaceType); 159 ProxyClass::ProxyClass(Type* type, InterfaceType* interfaceType) argument 164 this->type = type; 275 decl->returnType = NAMES.Search(method->type [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | Bridge.java | 62 * <p/>To use this bridge, simply instantiate an object of type {@link Bridge} and call 82 * Maps from id to resource type/name. This is for com.android.internal.R 92 * Reverse map compared to sRMap, resource type -> (resource name -> id). 98 // framework resources are defined as 0x01XX#### where XX is the resource type (layout, 99 // drawable, etc...). Using FF as the type allows for 255 resource types before we get a 275 Class<?> type = f.getType(); 276 if (type.isArray() && type.getComponentType() == int.class) { 281 } else if (type == int.class) { 466 * @return a Pair containing the resource type an 495 getResourceId(ResourceType type, String name) argument [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | DelegateMethodAdapter2.java | 54 * the methods to be overridden here. The methods have the same return type. 55 * The argument type list is the same except the "this" reference is passed first 84 /** The original method descriptor (return type + argument types.) */ 149 * All the parameters must be passed and then the eventual return type returned. 218 outerType.getDescriptor()); // type of the field 243 // we pushed on the call stack. The return type remains unchanged. 363 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { argument 365 mOrgWriter.visitTryCatchBlock(start, end, handler, type); 384 public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) { argument 386 mOrgWriter.visitFrame(type, nLoca 448 visitTypeInsn(int opcode, String type) argument [all...] |
H A D | RenameClassAdapter.java | 71 * Renames a type descriptor, e.g. "Lcom.package.MyClass;" 72 * If the type doesn't need to be renamed, returns the input string as-is. 83 * Renames an object type, e.g. "Lcom.package.MyClass;" or an array type that has an 85 * If the type doesn't need to be renamed, returns the internal name of the input type. 87 String renameType(Type type) { argument 88 if (type == null) { 92 if (type.getSort() == Type.OBJECT) { 93 String in = type 112 renameTypeAsType(Type type) argument 141 renameInternalType(String type) argument 303 visitTypeInsn(int opcode, String type) argument 343 visitTryCatchBlock(Label start, Label end, Label handler, String type) argument [all...] |
H A D | StubMethodAdapter.java | 28 * a stub depending on the return type. Original annotations are passed along unchanged. 37 /** The method return type. Can be null. */ 153 /* Pops the stack, depending on the return type. 278 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { argument 280 mParentVisitor.visitTryCatchBlock(start, end, handler, type); 299 public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) { argument 301 mParentVisitor.visitFrame(type, nLocal, local, nStack, stack); 363 public void visitTypeInsn(int opcode, String type) { argument 365 mParentVisitor.visitTypeInsn(opcode, type);
|
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86Relocator.cpp | 34 unsigned int type; member in struct:X86_32ApplyFunctionTriple 65 Relocation::Type type = pRelocation.type(); local 67 if (type >= sizeof (X86_32ApplyFunctions) / sizeof (X86_32ApplyFunctions[0]) ) { 72 return X86_32ApplyFunctions[type].func(pRelocation, *this); 263 if (llvm::ELF::R_386_32 == pReloc.type()) { 271 pReloc.targetRef().offset(), pReloc.type(), pParent); 286 if (llvm::ELF::R_386_32 == pReloc.type() && 293 pReloc.targetRef().offset(), pReloc.type(), pParent); 338 pReloc.targetRef().offset(), pReloc.type(), pParen 601 unsigned int type; member in struct:X86_64ApplyFunctionTriple 621 Relocation::Type type = pRelocation.type(); local [all...] |
/frameworks/compile/slang/ |
H A D | slang_rs_type_spec.h | 129 struct RSPrimitiveType base; // base type of vec must be in primitive type 135 // dt (data type) can only be RS_DT_RSMatrix2x2, RS_DT_RSMatrix3x3 and 146 // the number of elements in any constant array type should never exceed 2^24. 151 const union RSType *type; member in struct:RSRecordField 156 const char *name; // type name 159 // implicates the number of fields defined in any record type should never 242 RS_CAST_TO_RECORD_TYPE(R)->field[(I)].type
|
/frameworks/native/cmds/rawbu/ |
H A D | backup.cpp | 52 int type; member in struct:android::special_dir 107 if (opt_backupAll || SKIP_PATHS[i].type == SPECIAL_NO_BACKUP) { 236 static int write_header(FILE* fh, int type, const char* path, const struct stat* st) argument 239 if (!write_int32(fh, type)) return 0; 438 static int read_header(FILE* fh, int* type, char** path, struct stat* st) argument 440 *type = read_int32(fh, -1); 441 if (*type == TYPE_END) { 445 if (*type < 0) { 446 fprintf(stderr, "bad token %d in restore file\n", *type); 537 int type; local [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 72 DisplayType type, 79 mType(type), mHwcDisplayId(hwcId), 413 const uint8_t type = mGlobalTransform.getType(); local 415 (type >= Transform::SCALE)); 431 " type=%x, hwcId=%d, layerStack=%u, (%4dx%4d), ANativeWindow=%p, orient=%2d (type=%08x), " 70 DisplayDevice( const sp<SurfaceFlinger>& flinger, DisplayType type, int32_t hwcId, bool isSecure, const wp<IBinder>& displayToken, const sp<DisplaySurface>& displaySurface, EGLConfig config) argument
|
H A D | SurfaceFlinger.h | 146 DisplayDeviceState(DisplayDevice::DisplayType type); 147 bool isValid() const { return type >= 0; } 148 bool isMainDisplay() const { return type == DisplayDevice::DISPLAY_PRIMARY; } 149 bool isVirtualDisplay() const { return type >= DisplayDevice::DISPLAY_VIRTUAL; } 150 DisplayDevice::DisplayType type; member in struct:android::SurfaceFlinger::DisplayDeviceState 210 virtual void onVSyncReceived(int type, nsecs_t timestamp); 328 void createBuiltinDisplayLocked(DisplayDevice::DisplayType type); 345 int32_t allocateHwcDisplayId(DisplayDevice::DisplayType type);
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 113 * @param type The media type, e.g. {@code "audio"}. 118 public Media newMedia(String type, int port, int portCount, argument 120 Media media = new Media(type, port, portCount, protocol); 191 * Returns the bandwidth limit of the given type or {@code -1} if it is not 194 public int getBandwidth(String type) { argument 195 return mFields.getBandwidth(type); 199 * Sets the bandwith limit for the given type. The field will be removed if 202 public void setBandwidth(String type, int value) { argument 203 mFields.setBandwidth(type, valu 244 Media(String type, int port, int portCount, String protocol) argument 334 getRtpmap(int type) argument 342 getFmtp(int type) argument 352 setRtpPayload(int type, String rtpmap, String fmtp) argument 364 removeRtpPayload(int type) argument 470 getBandwidth(String type) argument 485 setBandwidth(String type, int value) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccCardApplicationStatus.java | 114 public AppType AppTypeFromRILInt(int type) { argument 117 switch(type) { 126 loge("AppTypeFromRILInt: bad RIL_AppType: " + type + " use APPTYPE_UNKNOWN");
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardUtils.java | 183 public static String getPhoneTypeString(Integer type) { argument 184 return sKnownPhoneTypesMap_ItoS.get(type); 188 * Returns Interger when the given types can be parsed as known type. Returns String object 196 int type = -1; 213 if (typeStringUpperCase.startsWith("X-") && type < 0) { 225 // 1. If a type isn't specified yet, we'll choose the new type candidate. 226 // 2. If the current type is default one (OTHER) or custom one, we'll 240 || type < 0 241 || type [all...] |
/frameworks/rs/driver/ |
H A D | rsdShader.cpp | 32 RsdShader::RsdShader(const Program *p, uint32_t type, argument 38 mType = type; 239 ALOGV("Loading shader type %x, ID %i", mType, mCurrentState->mShaderID); 405 // This tells us the correct texture type
|
/frameworks/rs/ |
H A D | rsType.cpp | 209 ALOGE("type loading skipped due to invalid class id\n"); 226 Type *type = Type::getType(rsc, elem, x, y, z, lod != 0, faces !=0, 0); local 228 return type; 349 void rsaTypeGetNativeData(RsContext con, RsType type, uintptr_t *typeData, uint32_t typeDataSize) { argument 353 Type *t = static_cast<Type *>(type);
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | InteractionController.java | 400 private AccessibilityEvent getLastMatchingEvent(List<AccessibilityEvent> events, int type) { argument 403 if (event.getEventType() == type)
|
/frameworks/av/cmds/stagefright/ |
H A D | sf2.cpp | 297 uint32_t type; local 300 if (meta->findData(kKeyAVCC, &type, &data, &size)) { 377 } else if (meta->findData(kKeyESDS, &type, &data, &size)) { 393 } else if (meta->findData(kKeyVorbisInfo, &type, &data, &size)) { 400 CHECK(meta->findData(kKeyVorbisBooks, &type, &data, &size));
|
/frameworks/av/media/libmedia/ |
H A D | mediaplayer.cpp | 517 status_t MediaPlayer::setAudioStreamType(audio_stream_type_t type) argument 521 if (mStreamType == type) return NO_ERROR; 524 // Can't change the stream type after prepare 529 mStreamType = type;
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG2TSWriter.cpp | 155 uint32_t type; local 158 if (!meta->findData(kKeyESDS, &type, &data, &size)) { 185 uint32_t type; local 188 if (!meta->findData(kKeyAVCC, &type, &data, &size)) {
|
H A D | SampleTable.cpp | 164 uint32_t type, off64_t data_offset, size_t data_size) { 169 CHECK(type == kChunkOffsetType32 || type == kChunkOffsetType64); 172 mChunkOffsetType = type; 256 uint32_t type, off64_t data_offset, size_t data_size) { 261 CHECK(type == kSampleSizeType32 || type == kSampleSizeTypeCompact); 283 if (type == kSampleSizeType32) { 163 setChunkOffsetParams( uint32_t type, off64_t data_offset, size_t data_size) argument 255 setSampleSizeParams( uint32_t type, off64_t data_offset, size_t data_size) argument
|
/frameworks/av/media/libstagefright/chromium_http/ |
H A D | support.cpp | 133 EventType type, 140 "AddEntry time=%s type=%s source=%s phase=%s\n", 142 EventTypeToString(type), 143 SourceTypeToString(source.type), 132 AddEntry( EventType type, const base::TimeTicks &time, const Source &source, EventPhase phase, EventParameters *params) argument
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | SoftAVCEncoder.cpp | 750 int32_t type; local 757 encoderStatus = PVAVCEncodeNAL(mHandle, outPtr, &dataLength, &type); 767 switch (type) { 776 CHECK_EQ(AVC_NALTYPE_PPS, type); 874 encoderStatus = PVAVCEncodeNAL(mHandle, outPtr, &dataLength, &type); 963 OMX_U32 type = *(OMX_U32*)data; local 965 if (type != kMetadataBufferTypeGrallocSource) { 966 ALOGE("Data passed in with metadata mode does not have type " 967 "kMetadataBufferTypeGrallocSource (%d), has type %ld instead", 968 kMetadataBufferTypeGrallocSource, type); [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 804 uint8_t type = (explicitDiscontinuity || bandwidthChanged) ? 1 : 0; local 813 type |= 2; 816 tmp->data()[1] = type;
|
/frameworks/base/core/java/android/hardware/ |
H A D | SensorManager.java | 85 // Cached lists of sensors by type. Guarded by mSensorListByType. 381 * Use this method to get the list of available sensors of a certain type. 386 * @param type 389 * @return a list of sensors matching the asked type. 394 public List<Sensor> getSensorList(int type) { argument 399 list = mSensorListByType.get(type); 401 if (type == Sensor.TYPE_ALL) { 406 if (i.getType() == type) 411 mSensorListByType.append(type, list); 418 * Use this method to get the default sensor for a given type 431 getDefaultSensor(int type) argument [all...] |