Searched defs:type (Results 151 - 175 of 457) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/
H A DUtils.cpp133 uint32_t type; local
136 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
214 } else if (meta->findData(kKeyESDS, &type, &data, &size)) {
231 } else if (meta->findData(kKeyVorbisInfo, &type, &data, &size)) {
239 if (!meta->findData(kKeyVorbisBooks, &type, &data, &size)) {
370 ALOGW("did not find mime type");
/frameworks/av/media/libstagefright/codecs/amrwbenc/
H A DSoftAMRWBEncoder.cpp140 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 Dresidual.cpp145 AVCEnc_Status enc_residual_block(AVCEncObject *encvid, AVCResidualType type, int cindx, AVCMacroblock *currMB) argument
161 switch (type)
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastquant.cpp82 incoming Q and type; */
90 Int cal_dc_scalerENC(Int QP, Int type) argument
94 if (type == 1)
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2TSExtractor.cpp171 ATSParser::SourceType type; local
/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.cpp143 void VideoFormats::setNativeResolution(ResolutionType type, size_t index) { argument
144 CHECK_LT(type, kNumResolutionTypes);
145 CHECK(GetConfiguration(type, index, NULL, NULL, NULL, NULL));
147 mNativeType = type;
150 setResolutionEnabled(type, index);
154 ResolutionType *type, size_t *index) const {
155 *type = mNativeType;
179 ResolutionType type, size_t index, bool enabled) {
180 CHECK_LT(type, kNumResolutionTypes);
181 CHECK(GetConfiguration(type, inde
153 getNativeResolution( ResolutionType *type, size_t *index) const argument
178 setResolutionEnabled( ResolutionType type, size_t index, bool enabled) argument
190 isResolutionEnabled( ResolutionType type, size_t index) const argument
199 GetConfiguration( ResolutionType type, size_t index, size_t *width, size_t *height, size_t *framesPerSecond, bool *interlaced) argument
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DJpegProcessor.cpp305 // check for arbitrary marker, returns marker type (second byte)
306 // returns 0 if no marker found. Note: 0x00 is not a valid marker type
348 uint8_t type = checkJpegMarker(segment->marker); local
349 if (type == 0) { // invalid marker, no more segments, begin JPEG data
353 if (type == EOI || size > maxSize - sizeof(segment_t)) {
358 ALOGV("JFIF Segment, type %x length %x", type, length);
H A DStreamingProcessor.cpp415 status_t StreamingProcessor::startStream(StreamType type, argument
420 if (type == NONE) return INVALID_OPERATION;
428 ALOGV("%s: Camera %d: type = %d", __FUNCTION__, mId, type);
440 __FUNCTION__, mId, (type == PREVIEW) ? "preview" : "recording",
443 CameraMetadata &request = (type == PREVIEW) ?
469 mActiveRequest = type;
710 uint32_t type = kMetadataBufferTypeGrallocSource; local
711 *((uint32_t*)data) = type;
749 uint32_t type local
[all...]
/frameworks/av/services/camera/libcameraservice/camera3/
H A DCamera3Stream.cpp41 camera3_stream_type type,
49 camera3_stream::stream_type = type;
331 ALOGE("%s: This type of stream does not support output", __FUNCTION__);
336 ALOGE("%s: This type of stream does not support output", __FUNCTION__);
340 ALOGE("%s: This type of stream does not support input", __FUNCTION__);
345 ALOGE("%s: This type of stream does not support input", __FUNCTION__);
40 Camera3Stream(int id, camera3_stream_type type, uint32_t width, uint32_t height, size_t maxSize, int format) argument
/frameworks/base/core/java/android/app/
H A DApplicationErrorReport.java38 * A report has a type, which is one of
91 public int type; field in class:ApplicationErrorReport
121 * If this report is of type {@link #TYPE_CRASH}, contains an instance
127 * If this report is of type {@link #TYPE_ANR}, contains an instance
133 * If this report is of type {@link #TYPE_BATTERY}, contains an instance
139 * If this report is of type {@link #TYPE_RUNNING_SERVICE}, contains an instance
221 dest.writeInt(type);
228 switch (type) {
245 type = in.readInt();
252 switch (type) {
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java460 * @param type The kind of file system object being restored. This will be either
469 File destination, int type, long mode, long mtime)
471 FullBackup.restoreFile(data, size, type, mode, mtime, destination);
480 int type, String domain, String path, long mode, long mtime)
484 if (DEBUG) Log.d(TAG, "onRestoreFile() size=" + size + " type=" + type
520 onRestoreFile(data, size, outFile, type, mode, mtime);
534 FullBackup.restoreFile(data, size, type, mode, mtime, null);
664 int type, String domain, String path, long mode, long mtime,
668 BackupAgent.this.onRestoreFile(data, size, type, domai
468 onRestoreFile(ParcelFileDescriptor data, long size, File destination, int type, long mode, long mtime) argument
479 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
663 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattServer.java371 * Returns a service by UUID, instance and type.
374 /*package*/ BluetoothGattService getService(UUID uuid, int instanceId, int type) { argument
376 if (svc.getType() == type &&
/frameworks/base/core/java/android/content/
H A DContentProviderOperation.java260 throw new IllegalStateException("bad type, " + mType);
398 * which {@link Builder} type each is allowed. Call {@link #build} to create the
412 /** Create a {@link Builder} of a given type. The uri must not be null. */
413 private Builder(int type, Uri uri) { argument
417 mType = type;
445 * This can only be used with builders of type insert, update, or assert.
461 * This can only be used with builders of type insert, update, or assert.
479 * This can only be used with builders of type update, delete, or assert.
498 * This can only be used with builders of type insert, update, or assert.
516 * This can only be used with builders of type inser
[all...]
H A DRestrictionEntry.java37 * A type of restriction. Use this type for information that needs to be transferred across
43 * A type of restriction. Use this for storing a boolean value, typically presented as
49 * A type of restriction. Use this for storing a string value, typically presented as
57 * A type of restriction. Use this for storing a string value, typically presented as
68 * A type of restriction. Use this for presenting a multi-select list where more than one
78 /** The type of restriction. */
79 private int type; field in class:RestrictionEntry
99 /* The chosen value, whose content depends on the type of the restriction. */
106 * Constructor for {@link #TYPE_CHOICE} type
142 setType(int type) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCache.java65 * The services are referred to by type V and are made available via the
198 private void notifyListener(final V type, final int userId, final boolean removed) { argument
200 Log.d(TAG, "notifyListener: " + type + " is " + (removed ? "removed" : "added"));
215 listener2.onServiceChanged(type, userId, removed);
221 * Value type that describes a Service. The information within can be used
225 public final V type; field in class:RegisteredServicesCache.ServiceInfo
230 public ServiceInfo(V type, ComponentName componentName, int uid) { argument
231 this.type = type;
238 return "ServiceInfo: " + type
247 getServiceInfo(V type, int userId) argument
408 containsType(ArrayList<ServiceInfo<V>> serviceInfos, V type) argument
418 containsTypeAndUid(ArrayList<ServiceInfo<V>> serviceInfos, V type, int uid) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DLegacySensorManager.java107 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) {
/frameworks/base/core/java/android/net/
H A DNetworkInfo.java129 * @param type network type
134 public NetworkInfo(int type) {} argument
139 public NetworkInfo(int type, int subtype, String typeName, String subtypeName) { argument
140 if (!ConnectivityManager.isNetworkTypeValid(type)) {
141 throw new IllegalArgumentException("Invalid network type: " + type);
143 mNetworkType = type;
171 * Reports the type of network to which the
185 * Return a network-type
[all...]
/frameworks/base/core/java/android/view/
H A DDisplay.java146 * Display type: Unknown display type.
152 * Display type: Built-in display.
158 * Display type: HDMI display.
164 * Display type: WiFi display.
170 * Display type: Overlay display.
195 mType = displayInfo.type;
271 * Gets the display type.
273 * @return The display type.
288 * Interpretation varies by display type
615 typeToString(int type) argument
[all...]
H A DDisplayInfo.java42 * Display type.
44 public int type; field in class:DisplayInfo
48 * Interpretation varies by display type.
212 && type == other.type
242 type = other.type;
267 type = source.readInt();
293 dest.writeInt(type);
403 sb.append(", type ");
[all...]
/frameworks/base/core/java/android/view/animation/
H A DScaleAnimation.java74 if (tv.type == TypedValue.TYPE_FLOAT) {
78 mFromXType = tv.type;
86 if (tv.type == TypedValue.TYPE_FLOAT) {
90 mToXType = tv.type;
99 if (tv.type == TypedValue.TYPE_FLOAT) {
103 mFromYType = tv.type;
111 if (tv.type == TypedValue.TYPE_FLOAT) {
115 mToYType = tv.type;
122 mPivotXType = d.type;
127 mPivotYType = d.type;
260 resolveScale(float scale, int type, int data, int size, int psize) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java46 * - type names: [a-zS]
104 * Converts a string to an internal type constant.
106 * @param typeName the type name to convert
107 * @return the type constant that corresponds to {@code typeName},
108 * or {@code TYPE_ERROR} if the type is unknown
155 // Read the next token, which is either the type or EOF.
161 throw new ParseException(st, "type name");
163 final int type = interpretType(st.sval);
164 if (type == TYPE_ERROR) {
165 throw new ParseException(st, "valid type nam
233 parseValue(StreamTokenizer st, final int type) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java137 public void setType(int type) { argument
138 switch (type) {
142 type = SURFACE_TYPE_NORMAL;
145 switch (type) {
148 if (mRequestedType != type) {
149 mRequestedType = type;
167 "Surface type is SURFACE_TYPE_PUSH_BUFFERS");
/frameworks/base/core/jni/
H A Dandroid_emoji_EmojiFactory.cpp276 const char fieldname[], const char type[])
278 jfieldID id = env->GetFieldID(clazz, fieldname, type);
275 getFieldIDCheck(JNIEnv* env, jclass clazz, const char fieldname[], const char type[]) argument
H A Dandroid_hardware_SensorManager.cpp44 jfieldID type; member in struct:android::SensorOffsets
65 sensorOffsets.type = _env->GetFieldID(sensorClass, "mType", "I");
90 env->SetIntField(sensor, sensorOffsets.type, list->getType());
H A Dandroid_net_TrafficStats.cpp58 static uint64_t getStatsType(struct Stats* stats, StatsType type) { argument
59 switch (type) {
151 static jlong getTotalStat(JNIEnv* env, jclass clazz, jint type) { argument
155 return getStatsType(&stats, (StatsType) type);
161 static jlong getIfaceStat(JNIEnv* env, jclass clazz, jstring iface, jint type) { argument
170 return getStatsType(&stats, (StatsType) type);
176 static jlong getUidStat(JNIEnv* env, jclass clazz, jint uid, jint type) { argument
180 return getStatsType(&stats, (StatsType) type);

Completed in 1650 milliseconds

1234567891011>>