/frameworks/testing/androidtestlib/src/com/android/test/runner/ |
H A D | TestLoader.java | 71 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 D | TestRequestBuilder.java | 88 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 D | AndroidJUnitRunner.java | 44 * 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 D | android_media_MediaCodec.h | 45 const sp<AMessage> &format, 79 status_t getOutputFormat(JNIEnv *env, jobject *format) const;
|
H A D | android_mtp_MtpDatabase.cpp | 97 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 D | FilterPort.java | 52 public void setPortFormat(FrameFormat format) { argument 53 mPortFormat = format;
|
H A D | VertexFrame.java | 34 VertexFrame(FrameFormat format, FrameManager frameManager) { argument 35 super(format, frameManager);
|
H A D | SerializedFrame.java | 24 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 D | DrawOverlayFilter.java | 30 import android.filterfw.format.ImageFormat; 31 import android.filterfw.format.ObjectFormat;
|
/frameworks/base/native/android/ |
H A D | native_window.cpp | 62 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 D | VideoEditorSRC.cpp | 51 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 D | ARTPSession.cpp | 67 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 D | android_view_TextureView.cpp | 74 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 D | Time.cpp | 88 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 D | SmsCbHeader.java | 42 * 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 D | CpuConsumer_test.cpp | 44 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 D | hwcRects.cpp | 68 * 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 D | TimeTest.java | 17 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 D | IAudioFlinger.cpp | 90 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 D | VideoEditorAudioEncoder.cpp | 46 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 D | Window.java | 642 * 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 D | AudioSystem.h | 115 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 D | ResponseData.java | 36 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 D | AudioBufferProviderSource.cpp | 27 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 D | BaseSurfaceHolder.java | 130 public void setFormat(int format) { argument 131 if (mRequestedFormat != format) { 132 mRequestedFormat = format;
|