/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | StreamingSource.cpp | 101 int32_t type = ATSParser::DISCONTINUITY_TIME; local 108 ALOGE("Client specified an illegal discontinuity type."); 113 type = mask; 117 (ATSParser::DiscontinuityType)type, extra); 128 uint8_t type = buffer[1]; local 130 if (type & 2) { 138 ((type & 1) == 0)
|
/frameworks/av/media/libstagefright/ |
H A D | DRMExtractor.cpp | 86 uint32_t type; local 89 CHECK(getFormat()->findData(kKeyAVCC, &type, &data, &size));
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
H A D | SoftAMRWBEncoder.cpp | 140 VOAMRWBFRAMETYPE type = VOAMRWB_RFC3267; local 142 mEncoderHandle, VO_PID_AMRWB_FRAMETYPE, &type)) { 143 ALOGE("Failed to set AMRWB encoder frame type to %d", type);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | residual.cpp | 145 AVCEnc_Status enc_residual_block(AVCEncObject *encvid, AVCResidualType type, int cindx, AVCMacroblock *currMB) argument 161 switch (type)
|
/frameworks/av/media/libstagefright/codecs/avc/enc/test/ |
H A D | h264_enc_test.cpp | 252 int32_t type; local 253 status = PVAVCEncodeNAL(&handle, outputBuf, &dataLength, &type); 254 assert(type == AVC_NALTYPE_SPS); 260 status = PVAVCEncodeNAL(&handle, outputBuf, &dataLength, &type); 261 assert(type == AVC_NALTYPE_PPS); 310 status = PVAVCEncodeNAL(&handle, outputBuf, &dataLength, &type);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | fastquant.cpp | 82 incoming Q and type; */ 90 Int cal_dc_scalerENC(Int QP, Int type) argument 94 if (type == 1)
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | MetaData.cpp | 97 uint32_t type; local 100 if (!findData(key, &type, &data, &size) || type != TYPE_C_STRING) { 110 uint32_t type = 0; local 113 if (!findData(key, &type, &data, &size) || type != TYPE_INT32) { 125 uint32_t type = 0; local 128 if (!findData(key, &type, &data, &size) || type != TYPE_INT64) { 140 uint32_t type local 155 uint32_t type = 0; local 173 uint32_t type = 0; local 191 setData( uint32_t key, uint32_t type, const void *data, size_t size) argument 210 findData(uint32_t key, uint32_t *type, const void **data, size_t *size) const argument 274 setData( uint32_t type, const void *data, size_t size) argument 286 getData( uint32_t *type, const void **data, size_t *size) const argument 400 uint32_t type; local 417 uint32_t type; local [all...] |
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmWriter.h | 99 WebmStream(int type, const char *name, sp<WebmElement> (*makeTrack)(const sp<MetaData>&)) argument 100 : mType(type),
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | VideoFormats.cpp | 146 void VideoFormats::setNativeResolution(ResolutionType type, size_t index) { argument 147 CHECK_LT(type, kNumResolutionTypes); 148 CHECK(GetConfiguration(type, index, NULL, NULL, NULL, NULL)); 150 mNativeType = type; 153 setResolutionEnabled(type, index); 157 ResolutionType *type, size_t *index) const { 158 *type = mNativeType; 182 ResolutionType type, size_t index, 186 if (!GetConfiguration(type, index, &width, &height, 205 ResolutionType type, size_ 156 getNativeResolution( ResolutionType *type, size_t *index) const argument 181 enableResolutionUpto( ResolutionType type, size_t index, ProfileType profile, LevelType level) argument 204 setResolutionEnabled( ResolutionType type, size_t index, bool enabled) argument 220 setProfileLevel( ResolutionType type, size_t index, ProfileType profile, LevelType level) argument 230 getProfileLevel( ResolutionType type, size_t index, ProfileType *profile, LevelType *level) const argument 261 isResolutionEnabled( ResolutionType type, size_t index) const argument 270 GetConfiguration( ResolutionType type, size_t index, size_t *width, size_t *height, size_t *framesPerSecond, bool *interlaced) argument [all...] |
/frameworks/av/services/audioflinger/ |
H A D | PatchPanel.cpp | 186 switch (patch->sources[0].type) { 198 if ((patch->sinks[i].type == AUDIO_PORT_TYPE_MIX || 205 if (patch->sinks[i].type != patch->sinks[0].type) { 218 ((patch->sinks[0].type == AUDIO_PORT_TYPE_DEVICE) && 222 if (patch->sources[1].type != AUDIO_PORT_TYPE_MIX || 240 audio_devices_t device = patch->sinks[0].ext.device.type; 257 audio_devices_t device = patch->sources[0].ext.device.type; 297 if (patch->sinks[0].type == AUDIO_PORT_TYPE_MIX) { 332 audio_devices_t type local [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioPort.h | 38 AudioPort(const String8& name, audio_port_type_t type, audio_port_role_t role) : argument 39 mName(name), mType(type), mRole(role), mFlags(AUDIO_OUTPUT_FLAG_NONE) {}
|
H A D | Serializer.h | 116 static const char type[]; /**< <device type>. */ member in struct:android::DevicePortTraits::Attributes 138 static const char type[]; /**< <route type>: mix or mux. */ member in struct:android::RouteTraits::Attributes 139 static const char typeMix[]; /**< type attribute mix value. */
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | ConfigParsingUtils.cpp | 105 audio_devices_t type = AUDIO_DEVICE_NONE; local 108 DeviceConverter::fromString(node->value, type); 113 if (type == AUDIO_DEVICE_NONE || 114 (!audio_is_input_device(type) && !audio_is_output_device(type))) { 115 ALOGW("loadDevice() bad type %08x", type); 118 sp<DeviceDescriptor> deviceDesc = new DeviceDescriptor(type, String8(root->name)); 125 if (audio_is_input_device(type)) { 142 ALOGV("loadDevice() adding device tag (literal type) 295 audio_devices_t type; local [all...] |
H A D | DeviceDescriptor.cpp | 27 DeviceDescriptor::DeviceDescriptor(audio_devices_t type, const String8 &tagName) : argument 29 audio_is_output_device(type) ? AUDIO_PORT_ROLE_SINK : 31 mAddress(""), mTagName(tagName), mDeviceType(type), mId(0) 33 if (type == AUDIO_DEVICE_IN_REMOTE_SUBMIX || type == AUDIO_DEVICE_OUT_REMOTE_SUBMIX ) { 52 // - are of the same type (a device type cannot be AUDIO_DEVICE_NONE) 64 mDeviceTypes |= itemAt(i)->type(); 99 ALOGW("DeviceVector::add device %08x already in", item->type()); 111 ALOGW("DeviceVector::remove device %08x not in", item->type()); 132 getDevice(audio_devices_t type, String8 address) const argument 180 getDevicesFromTypeAddr( audio_devices_t type, String8 address) const argument [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | JpegProcessor.cpp | 354 // check for arbitrary marker, returns marker type (second byte) 355 // returns 0 if no marker found. Note: 0x00 is not a valid marker type 397 uint8_t type = checkJpegMarker(segment->marker); local 398 if (type == 0) { // invalid marker, no more segments, begin JPEG data 402 if (type == EOI || size > maxSize - sizeof(segment_t)) { 407 ALOGV("JFIF Segment, type %x length %zx", type, length);
|
H A D | StreamingProcessor.cpp | 440 status_t StreamingProcessor::startStream(StreamType type, argument 445 if (type == NONE) return INVALID_OPERATION; 453 ALOGV("%s: Camera %d: type = %d", __FUNCTION__, mId, type); 457 CameraMetadata &request = (type == PREVIEW) ? 483 mActiveRequest = type;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3IOStreamBase.cpp | 32 Camera3IOStreamBase::Camera3IOStreamBase(int id, camera3_stream_type_t type, argument 35 Camera3Stream(id, type,
|
H A D | Camera3OutputStream.cpp | 26 #define container_of(ptr, type, member) \ 27 (type *)((char*)(ptr) - offsetof(type, member)) 87 Camera3OutputStream::Camera3OutputStream(int id, camera3_stream_type_t type, argument 93 Camera3IOStreamBase(id, type, width, height,
|
/frameworks/base/cmds/bootanimation/ |
H A D | AudioPlayer.cpp | 83 enum mixer_ctl_type type = mixer_ctl_get_type(ctl); local 93 switch (type) { 114 ALOGE("unsupported mixer type %d for %s", type, name);
|
/frameworks/base/cmds/idmap/ |
H A D | inspect.cpp | 148 String8 *package, String8 *type, String8 *name) { 158 if (type != NULL) { 159 *type = String8(String16(data.type, data.typeLen)); 250 print("DATA BLOCK", "target type", targetTypeId, ""); 256 print("", "overlay type", static_cast<uint32_t>(data16), ""); 280 String8 type; local 282 err = resource_metadata(am, resID, NULL, &type, &name); 286 print("", "entry", data32, "%s/%s", type.string(), name.string()); 147 resource_metadata(const AssetManager& am, uint32_t res_id, String8 *package, String8 *type, String8 *name) argument
|
H A D | scan.cpp | 106 ResXMLParser::event_code_t type; local 108 type = parser.next(); 109 if (type == ResXMLParser::START_TAG) { 116 } while (type != ResXMLParser::BAD_DOCUMENT && type != ResXMLParser::END_DOCUMENT);
|
/frameworks/base/core/java/android/app/ |
H A D | ApplicationErrorReport.java | 39 * A report has a type, which is one of 92 public int type; field in class:ApplicationErrorReport 122 * If this report is of type {@link #TYPE_CRASH}, contains an instance 128 * If this report is of type {@link #TYPE_ANR}, contains an instance 134 * If this report is of type {@link #TYPE_BATTERY}, contains an instance 140 * If this report is of type {@link #TYPE_RUNNING_SERVICE}, contains an instance 232 dest.writeInt(type); 240 switch (type) { 259 type = in.readInt(); 267 switch (type) { [all...] |
H A D | MediaRouteButton.java | 433 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) { argument 438 public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) { argument
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattServer.java | 401 * Returns a service by UUID, instance and type. 404 /*package*/ BluetoothGattService getService(UUID uuid, int instanceId, int type) { argument 406 if (svc.getType() == type &&
|
/frameworks/base/core/java/android/hardware/ |
H A D | LegacySensorManager.java | 107 private boolean registerLegacyListener(int legacyType, int type, argument 113 Sensor sensor = mSensorManager.getDefaultSensor(type); 160 private void unregisterLegacyListener(int legacyType, int type, argument 165 Sensor sensor = mSensorManager.getDefaultSensor(type); 262 int type = event.sensor.getType(); 263 int legacyType = getLegacySensorType(type); 265 if (type == Sensor.TYPE_ORIENTATION) { 353 private static int getLegacySensorType(int type) { argument 354 switch (type) {
|