Searched refs:format (Results 401 - 425 of 1700) sorted by relevance

<<11121314151617181920>>

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DMethodBaseExpr.java67 String.format("Could not resolve %s as a listener.", this));
73 throw new IllegalStateException(String.format(
110 throw new IllegalStateException(String.format(
/frameworks/native/libs/ui/
H A DDebugUtils.cpp235 std::string decodePixelFormat(android::PixelFormat format) { argument
236 switch (format) {
262 return android::base::StringPrintf("Unknown %#08x", format);
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/
H A Dbuffer_hub_queue_producer.h45 uint32_t height, PixelFormat format, uint64_t usage,
83 void allocateBuffers(uint32_t width, uint32_t height, PixelFormat format,
133 PixelFormat format, uint64_t usage);
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.h39 uint32_t format; member in struct:hwcTestGraphicFormat
110 const char *hwcTestGraphicFormat2str(uint32_t format);
119 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.h108 PixelFormat format, uint64_t usage, uint64_t* outBufferAge,
123 PixelFormat format, uint64_t usage);
139 status_t dequeueBuffer(Source source, PixelFormat format, uint64_t usage,
167 // To avoid buffer reallocations, we track the buffer usage and format
170 // different usage/format, we'll get a new buffer.
/frameworks/native/services/vr/bufferhubd/
H A Dproducer_channel.h35 uint32_t height, uint32_t layer_count, uint32_t format, uint64_t usage,
62 uint32_t format, uint64_t usage,
112 uint32_t height, uint32_t layer_count, uint32_t format,
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiScoreReport.java151 mReport = String.format(Locale.US, " score=%d", score);
177 String timestamp = new SimpleDateFormat("MM-dd HH:mm:ss.SSS").format(new Date(now));
178 String s = String.format(Locale.US, // Use US to avoid comma/decimal confusion
185 Log.e(TAG, "format problem", e);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
H A DDatePicker.java107 android.text.format.DateFormat.getDateFormatOrder(context));
117 Log.w(LOG_TAG, "Date: " + date + " not in format: " + DATE_FORMAT);
123 * Returns the best localized representation of the date for the given date format and the
126 * @param datePickerFormat The date format skeleton (e.g. "dMy") used to gather the
129 * @return The best localized representation of the date for the given date format
134 yearPattern = android.text.format.DateFormat.getBestDateTimePattern(mConstant.locale,
137 final java.text.DateFormat dateFormat = android.text.format.DateFormat.getDateFormat(
150 * the last date field). The separators can vary based on the individual locale date format,
155 * For example, for Croatian in dMy format, the best localized representation is "d. M. y". This
164 // Obtain the time format strin
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp402 def->format.video.nStride = align(def->format.video.nStride, 16);
403 def->format.video.nSliceHeight = align(def->format.video.nSliceHeight, 16);
404 def->nBufferSize = (def->format.video.nStride * def->format.video.nSliceHeight * 3) / 2;
/frameworks/av/media/ndk/
H A DNdkMediaExtractor.cpp130 sp<AMessage> format; local
131 mData->mImpl->getTrackFormat(idx, &format);
132 return AMediaFormat_fromMsg(&format);
231 sp<AMessage> format; local
232 ex->mImpl->getFileFormat(&format);
234 if(!format->findBuffer("pssh", &buffer)) {
238 // the format of the buffer is 1 or more of:
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioSession.cpp33 audio_format_t format,
42 mConfig({ .format = format, .sample_rate = sampleRate, .channel_mask = channelMask}),
107 other->format() == mConfig.format &&
152 snprintf(buffer, SIZE, "%*s- format: %08x\n", spaces, "", mConfig.format);
31 AudioSession(audio_session_t session, audio_source_t inputSource, audio_format_t format, uint32_t sampleRate, audio_channel_mask_t channelMask, audio_input_flags_t flags, uid_t uid, bool isSoundTrigger, AudioMix* policyMix, AudioPolicyClientInterface *clientInterface) argument
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothStressTest.java204 String.format("connectA2dp(device=%s)", device));
206 String.format("disconnectA2dp(device=%s)", device));
234 String.format("connectHeadset(device=%s)", device));
236 String.format("disconnectHeadset(device=%s)", device));
264 String.format("connectInput(device=%s)", device));
266 String.format("disconnectInput(device=%s)", device));
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLPipeline.cpp265 GLint format, type; local
275 format = GL_RGBA;
287 format = GL_RGBA;
292 format = GL_RGB;
298 format = GL_LUMINANCE;
363 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, info.width(), info.height(), format, type,
/frameworks/native/libs/gui/tests/
H A DMalicious.cpp40 status_t dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h, PixelFormat format,
43 return mProducer->dequeueBuffer(slot, fence, w, h, format, usage, outBufferAge,
71 void allocateBuffers(uint32_t width, uint32_t height, PixelFormat format,
73 mProducer->allocateBuffers(width, height, format, usage);
113 PixelFormat format, uint64_t usage, uint64_t* outBufferAge,
116 mProducer->dequeueBuffer(buf, fence, width, height, format, usage, outBufferAge,
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DPasspointConfigStoreDataTest.java85 DateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
111 config.setSubscriptionCreationTimeInMillis(format.parse("2016-02-01T10:00:00Z").getTime());
113 format.parse("2016-03-01T10:00:00Z").getTime());
116 config.setUsageLimitStartTimeInMillis(format.parse("2016-12-01T10:00:00Z").getTime());
137 credential.setCreationTimeInMillis(format.parse("2016-01-01T10:00:00Z").getTime());
138 credential.setExpirationTimeInMillis(format.parse("2016-02-01T10:00:00Z").getTime());
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCarrierKeyDownloadMgrTest.java117 String dateExpected = dt.format(expectedCal.getTime());
122 assertTrue(dt.format(expirationDate).equals(dateExpected));
140 String dateExpected = dt.format(expectedCal.getTime());
145 assertTrue(dt.format(expirationDate).equals(dateExpected));
267 String dateExpected = dt.format(expectedCal.getTime());
273 assertTrue(dt.format(expirationDate).equals(dateExpected));
/frameworks/wilhelm/tools/permute/
H A Dpermute.c22 * The format of the .map file is a sequence of lines, each of which is:
127 sfinfo_in.format = 0;
134 // Check if it is a supported file format: must be WAV
135 unsigned type = sfinfo_in.format & SF_FORMAT_TYPEMASK;
146 unsigned subtype = sfinfo_in.format & SF_FORMAT_SUBMASK;
164 unsigned endianness = sfinfo_in.format & SF_FORMAT_ENDMASK;
261 sfinfo_out.format = sfinfo_in.format;
/frameworks/av/camera/aidl/android/hardware/camera2/
H A DICameraDeviceUser.aidl92 * @param outputConfiguration size, format, and other parameters for the stream
100 * <p>Create an input stream of width, height, and format</p>
104 * @param format Format of the input buffers. One of HAL_PIXEL_FORMAT_*.
108 int createInputStream(int width, int height, int format);
/frameworks/av/camera/include/camera/
H A DCameraParameters2.h102 void setPreviewFormat(const char *format);
107 void setPictureFormat(const char *format);
/frameworks/av/include/camera/
H A DCameraParameters2.h102 void setPreviewFormat(const char *format);
107 void setPictureFormat(const char *format);
/frameworks/av/include/media/stagefright/
H A DNuMediaExtractor.h66 status_t getTrackFormat(size_t index, sp<AMessage> *format, uint32_t flags = 0) const;
68 status_t getFileFormat(sp<AMessage> *format) const;
/frameworks/av/media/libaudioclient/
H A DAudioPolicy.cpp68 mFormat.format = (audio_format_t)parcel->readInt32();
91 parcel->writeInt32(mFormat.format);
H A DAudioRecord.cpp39 audio_format_t format,
47 status_t status = AudioSystem::getInputBufferSize(sampleRate, format, channelMask, &size);
49 ALOGE("AudioSystem could not query the input buffer size for sampleRate %u, format %#x, "
50 "channelMask %#x; status %d", sampleRate, format, channelMask, status);
55 // Assumes audio_is_linear_pcm(format)
57 audio_bytes_per_sample(format))) == 0) {
58 ALOGE("Unsupported configuration: sampleRate %u, format %#x, channelMask %#x",
59 sampleRate, format, channelMask);
80 audio_format_t format,
103 mStatus = set(inputSource, sampleRate, format, channelMas
36 getMinFrameCount( size_t* frameCount, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask) argument
77 AudioRecord( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const String16& opPackageName, size_t frameCount, callback_t cbf, void* user, uint32_t notificationFrames, audio_session_t sessionId, transfer_type transferType, audio_input_flags_t flags, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes) argument
136 set( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, callback_t cbf, void* user, uint32_t notificationFrames, bool threadCanCallJava, audio_session_t sessionId, transfer_type transferType, audio_input_flags_t flags, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DSoftAACEncoder.cpp94 def.format.audio.cMIMEType = const_cast<char *>("audio/raw");
95 def.format.audio.pNativeRender = NULL;
96 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
97 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;
112 def.format.audio.cMIMEType = const_cast<char *>("audio/aac");
113 def.format.audio.pNativeRender = NULL;
114 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
115 def.format.audio.eEncoding = OMX_AUDIO_CodingAAC;
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.cpp92 def.format.audio.cMIMEType =
97 def.format.audio.pNativeRender = NULL;
98 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
99 def.format.audio.eEncoding = OMX_AUDIO_CodingAMR;
118 def.format.audio.cMIMEType = const_cast<char *>("audio/raw");
119 def.format.audio.pNativeRender = NULL;
120 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
121 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;

Completed in 759 milliseconds

<<11121314151617181920>>