Searched refs:format (Results 151 - 175 of 677) sorted by relevance

1234567891011>>

/frameworks/testing/androidtestlib/src/com/android/test/runner/
H A DTestLoader.java71 String errMsg = String.format("Could not find class: %s", className);
142 Log.v(LOG_TAG, String.format("Skipping class %s: not a test", loadedClass.getName()));
H A DTestRequestBuilder.java88 return String.format("annotation %s", mAnnotationClass.getName());
121 return String.format("not annotation %s", mAnnotationClass.getName());
164 Log.e(LOG_TAG, String.format("Unrecognized test size '%s'", testSize));
246 Log.i(LOG_TAG, String.format("Scanning classpath to find tests in apks %s",
279 Log.e(LOG_TAG, String.format("Could not find annotation class: %s", className));
281 Log.e(LOG_TAG, String.format("Class %s is not an annotation", className));
H A DAndroidJUnitRunner.java44 * while maintaining command/output format compatibility with that class.
236 Log.i(LOG_TAG, String.format("Test run complete. %d tests, %d failed, %d ignored",
240 writer.println(String.format(
248 String.format("\n%s",
309 * Expected format: com.android.TestClass#testMethod
364 String.format("\n%s:", testClass));
399 String.format("\nError in %s:\n%s",
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.h45 const sp<AMessage> &format,
79 status_t getOutputFormat(JNIEnv *env, jobject *format) const;
H A Dandroid_mtp_MtpDatabase.cpp97 MtpObjectFormat format,
105 MtpObjectFormat format,
109 MtpObjectFormat format,
113 MtpObjectFormat format,
120 virtual MtpObjectPropertyList* getSupportedObjectProperties(MtpObjectFormat format);
140 uint32_t format, uint32_t property,
164 MtpObjectFormat format);
221 MtpObjectFormat format,
229 pathStr, (jint)format, (jint)parent, (jint)storage,
239 MtpObjectFormat format, boo
220 beginSendObject(const char* path, MtpObjectFormat format, MtpObjectHandle parent, MtpStorageID storage, uint64_t size, time_t modified) argument
238 endSendObject(const char* path, MtpObjectHandle handle, MtpObjectFormat format, bool succeeded) argument
250 getObjectList(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent) argument
270 getNumObjects(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent) argument
317 getSupportedObjectProperties(MtpObjectFormat format) argument
651 getObjectPropertyList(MtpObjectHandle handle, uint32_t format, uint32_t property, int groupCode, int depth, MtpDataPacket& packet) argument
757 MtpObjectFormat format; local
819 MtpObjectFormat format; local
977 getObjectPropertyDesc(MtpObjectProperty property, MtpObjectFormat format) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilterPort.java52 public void setPortFormat(FrameFormat format) { argument
53 mPortFormat = format;
H A DVertexFrame.java34 VertexFrame(FrameFormat format, FrameManager frameManager) { argument
35 super(format, frameManager);
H A DSerializedFrame.java24 import android.filterfw.format.ObjectFormat;
169 SerializedFrame(FrameFormat format, FrameManager frameManager) { argument
170 super(format, frameManager);
185 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE);
186 SerializedFrame result = new SerializedFrame(format, frameManager);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DDrawOverlayFilter.java30 import android.filterfw.format.ImageFormat;
31 import android.filterfw.format.ObjectFormat;
/frameworks/base/native/android/
H A Dnative_window.cpp62 int32_t height, int32_t format) {
63 int32_t err = native_window_set_buffers_format(window, format);
61 ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format) argument
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorSRC.cpp51 sp<MetaData> format = mSource->getFormat(); local
53 CHECK(format->findCString(kKeyMIMEType, &mime));
149 // Change resampler and retry if format change happened
233 // just remember the fact that the format has changed, and let
297 sp<MetaData> format = mSource->getFormat(); local
299 CHECK(format->findCString(kKeyMIMEType, &mime));
302 CHECK(format->findInt32(kKeySampleRate, &mSampleRate));
303 CHECK(format->findInt32(kKeyChannelCount, &mChannelCnt));
/frameworks/av/media/libstagefright/rtsp/
H A DARTPSession.cpp67 ALOGE("Invalid media format.");
73 ALOGE("Unsupported format.");
199 AString format; local
200 mDesc->getFormat(index, &format);
202 ssize_t i = format.find(" ");
209 while (isdigit(format.c_str()[j])) {
212 if (format.c_str()[j] != ' ') {
216 AString portString(format, i, j - i);
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp74 static inline SkBitmap::Config convertPixelFormat(int32_t format) { argument
75 switch (format) {
145 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format);
148 bitmap.setConfig(convertPixelFormat(buffer.format), buffer.width, buffer.height, bytesCount);
150 if (buffer.format == WINDOW_FORMAT_RGBX_8888) {
160 SET_INT(canvas, gCanvasClassInfo.surfaceFormat, buffer.format);
H A DTime.cpp88 Time::format(const char *format, const struct strftime_locale *locale) const argument
91 int n = strftime_tz(buf, 257, format, &(this->t), locale);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSmsCbHeader.java42 * GSM pdu format, as defined in 3gpp TS 23.041, section 9.4.1
47 * UMTS pdu format, as defined in 3gpp TS 23.041, section 9.4.2
52 * GSM pdu format, as defined in 3gpp TS 23.041, section 9.4.1.3
85 private final int format; field in class:SmsCbHeader
99 // can be ETWS or GSM format.
100 // Per TS23.041 9.4.1.2 and 9.4.1.3.2, GSM and ETWS format both
107 format = FORMAT_ETWS_PRIMARY;
127 format = FORMAT_GSM;
145 format = FORMAT_UMTS;
240 return format
[all...]
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp44 PixelFormat format; member in struct:android::CpuConsumerTestParams
50 << ::std::hex << p.format << "]";
63 params.maxLockedBuffers, params.format);
162 switch(buf.format) {
183 ADD_FAILURE() << "Unknown format for check:" << buf.format;
275 params.width, params.height, params.format);
296 // Produce one frame of image data; assumes format and resolution configuration
318 switch (params.format) {
326 FAIL() << "Unknown pixel format unde
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcRects.cpp68 * of the graphic format and then the display frame rectangle where
80 * a list of attributes and the format of their expected value.
146 Rectangle() : format(defaultFormat), transform(defaultTransform),
152 uint32_t format; member in class:Rectangle
369 const struct hwcTestGraphicFormat *format; local
376 testPrintE("Error parsing format from: %s", rectStr.c_str());
379 format = hwcTestGraphicFormatLookup(str.c_str());
380 if (format == NULL) {
381 testPrintE("Unknown graphic format in: %s", rectStr.c_str());
384 rect.format
[all...]
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DTimeTest.java17 package android.text.format;
21 import android.text.format.Time;
193 String expectedTime = String.format("%d-%02d-%02d %02d:%02d",
195 String actualTime = String.format("%d-%02d-%02d %02d:%02d",
211 String expectedTime = String.format("%d-%02d-%02d %02d:%02d",
213 String actualTime = String.format("%d-%02d-%02d %02d:%02d",
234 String expectedTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d",
237 String actualTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d",
256 String expectedTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d",
259 String actualTime = String.format("
[all...]
/frameworks/av/media/libmedia/
H A DIAudioFlinger.cpp90 audio_format_t format,
106 data.writeInt32(format);
139 audio_format_t format,
153 data.writeInt32(format);
200 virtual audio_format_t format(audio_io_handle_t output) const function in class:android::BpAudioFlinger
356 virtual size_t getInputBufferSize(uint32_t sampleRate, audio_format_t format, argument
362 data.writeInt32(format);
379 audio_format_t format = pFormat ? *pFormat : AUDIO_FORMAT_DEFAULT; local
387 data.writeInt32(format);
398 format
86 createTrack( pid_t pid, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, track_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument
135 openRecord( pid_t pid, audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, track_flags_t flags, pid_t tid, int *sessionId, status_t *status) argument
454 audio_format_t format = pFormat ? *pFormat : AUDIO_FORMAT_DEFAULT; local
724 audio_format_t format = (audio_format_t) data.readInt32(); local
746 audio_format_t format = (audio_format_t) data.readInt32(); local
875 audio_format_t format = (audio_format_t) data.readInt32(); local
885 audio_format_t format = (audio_format_t) data.readInt32(); local
932 audio_format_t format = (audio_format_t) data.readInt32(); local
[all...]
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorAudioEncoder.cpp46 const sp<MetaData> &format);
74 VideoEditorAudioEncoderSource(const sp<MetaData> &format);
83 const sp<MetaData> &format) {
87 new VideoEditorAudioEncoderSource(format);
93 const sp<MetaData> &format):
98 mEncFormat(format) {
262 M4OSA_ERR VideoEditorAudioEncoder_init(M4ENCODER_AudioFormat format, argument
268 ALOGV(" VideoEditorAudioEncoder_init begin: format %d", format);
273 pEncoderContext->mFormat = format;
82 Create( const sp<MetaData> &format) argument
92 VideoEditorAudioEncoderSource( const sp<MetaData> &format) argument
672 VideoEditorAudioEncoder_getInterface( M4ENCODER_AudioFormat format, M4ENCODER_AudioFormat* pFormat, M4ENCODER_AudioGlobalInterface** pEncoderInterface) argument
[all...]
/frameworks/base/core/java/android/view/
H A DWindow.java642 * Set the format of window, as per the PixelFormat types. This overrides
643 * the default format that is selected by the Window based on its
646 * @param format The new window format (see PixelFormat). Use
648 * the format.
652 public void setFormat(int format) { argument
654 if (format != PixelFormat.UNKNOWN) {
655 attrs.format = format;
658 attrs.format
1209 setDefaultWindowFormat(int format) argument
[all...]
/frameworks/av/include/media/
H A DAudioSystem.h115 static status_t getInputBufferSize(uint32_t sampleRate, audio_format_t format,
155 : samplingRate(0), format(AUDIO_FORMAT_DEFAULT), channels(0), frameCount(0), latency(0) {}
158 int32_t format; member in class:android::AudioSystem::OutputDescriptor
193 audio_format_t format = AUDIO_FORMAT_DEFAULT,
205 audio_format_t format = AUDIO_FORMAT_DEFAULT,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DResponseData.java36 public abstract void format(ByteArrayOutputStream buf); method in class:ResponseData
59 public void format(ByteArrayOutputStream buf) { method in class:SelectItemResponseData
98 public void format(ByteArrayOutputStream buf) { method in class:GetInkeyInputResponseData
114 // ETSI TS 102 223 8.15, should use the same format as in SMS messages
171 public void format(ByteArrayOutputStream buf) { method in class:LanguageResponseData
209 public void format(ByteArrayOutputStream buf) { method in class:DTTZResponseData
/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp27 NBAIO_Format format) :
28 NBAIO_Source(format), mProvider(provider), mConsumed(0)
31 ALOG_ASSERT(format != Format_Invalid);
26 AudioBufferProviderSource(AudioBufferProvider *provider, NBAIO_Format format) argument
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java130 public void setFormat(int format) { argument
131 if (mRequestedFormat != format) {
132 mRequestedFormat = format;

Completed in 1962 milliseconds

1234567891011>>