Searched defs:config (Results 176 - 200 of 235) sorted by relevance

12345678910

/frameworks/base/core/jni/
H A Dandroid_hardware_SoundTrigger.cpp710 struct sound_trigger_recognition_config *config = local
712 config->data_size = dataSize;
713 config->data_offset = sizeof(struct sound_trigger_recognition_config);
714 config->capture_requested = env->GetIntField(jConfig,
717 config->num_phrases = 0;
721 config->num_phrases = env->GetArrayLength(jPhrases);
723 ALOGV("startRecognition num phrases %d", config->num_phrases);
724 for (size_t i = 0; i < config->num_phrases; i++) {
726 config->phrases[i].id = env->GetIntField(jPhrase,
728 config
[all...]
H A Dandroid_media_AudioSystem.cpp365 android_media_AudioSystem_setForceUse(JNIEnv *env, jobject thiz, jint usage, jint config) argument
368 static_cast <audio_policy_forced_cfg_t>(config)));
621 // create dummy port and port config objects with just the correct handle
719 ALOGV("convertAudioPortConfigFromNative could not create gain config");
729 ALOGV("convertAudioPortConfigFromNative building a generic port config");
734 ALOGV("convertAudioPortConfigFromNative building a device config");
738 ALOGV("convertAudioPortConfigFromNative building a mix config");
760 ALOGV("convertAudioPortConfigFromNative could not create new port config");
H A Dandroid_util_AssetManager.cpp100 uint32_t typeSpecFlags, ResTable_config* config = NULL);
104 uint32_t typeSpecFlags, ResTable_config* config)
114 if (config != NULL) {
115 env->SetIntField(outValue, gTypedValueOffsets.mDensity, config->density);
612 ResTable_config config; local
613 memset(&config, 0, sizeof(config));
617 config.mcc = (uint16_t)mcc;
618 config.mnc = (uint16_t)mnc;
619 config
102 copyValue(JNIEnv* env, jobject outValue, const ResTable* table, const Res_value& value, uint32_t ref, ssize_t block, uint32_t typeSpecFlags, ResTable_config* config) argument
804 ResTable_config config; local
1054 ResTable_config config; local
1245 ResTable_config config; local
1479 ResTable_config config; local
1630 ResTable_config config; local
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java69 * pushing down this preference for every config change.
209 * pixel buffer is remapped to the new config, just that the allocation is
218 public void reconfigure(int width, int height, Config config) { argument
230 nativeReconfigure(mNativeBitmap, width, height, config.nativeInt, mBuffer.length,
238 * with the current height and config.</p>
254 * with the current width and config.</p>
280 public void setConfig(Config config) { argument
281 reconfigure(getWidth(), getHeight(), config);
545 * setting the new bitmap's config to the one specified, and then copying
550 * @param config Th
555 copy(Config config, boolean isMutable) argument
755 createBitmap(int width, int height, Config config) argument
770 createBitmap(DisplayMetrics display, int width, int height, Config config) argument
788 createBitmap(int width, int height, Config config, boolean hasAlpha) argument
807 createBitmap(DisplayMetrics display, int width, int height, Config config, boolean hasAlpha) argument
844 createBitmap(int colors[], int offset, int stride, int width, int height, Config config) argument
869 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument
908 createBitmap(int colors[], int width, int height, Config config) argument
929 createBitmap(DisplayMetrics display, int colors[], int width, int height, Config config) argument
1614 nativeReconfigure(long nativeBitmap, int width, int height, int config, int allocSize, boolean isPremultiplied) argument
[all...]
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp444 void AssetManager::setConfiguration(const ResTable_config& config, const char* locale) argument
447 *mConfig = config;
450 } else if (config.language[0] != 0) {
452 config.getBcp47Locale(spec);
/frameworks/base/media/java/android/media/
H A DAudioSystem.java507 // device categories config for setForceUse, must match AudioSystem::forced_config
540 public static native int setForceUse(int usage, int config); argument
564 public static native int setAudioPortConfig(AudioPortConfig config); argument
/frameworks/base/media/java/android/media/tv/
H A DTvInputManager.java1061 * @param config the {@link TvStreamConfig} which is used for capturing.
1066 public boolean captureFrame(String inputId, Surface surface, TvStreamConfig config) { argument
1068 return mService.captureFrame(inputId, surface, config, mUserId);
1907 public boolean setSurface(Surface surface, TvStreamConfig config) { argument
1909 return mInterface.setSurface(surface, config);
/frameworks/base/opengl/java/android/opengl/
H A DEGL14.java216 // C function EGLBoolean eglGetConfigAttrib ( EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value )
220 EGLConfig config,
226 // C function EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
230 EGLConfig config,
238 EGLConfig config,
245 EGLConfig config,
263 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset);
265 surface = _eglCreateWindowSurfaceTexture(dpy, config,
276 // C function EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list )
280 EGLConfig config,
218 eglGetConfigAttrib( EGLDisplay dpy, EGLConfig config, int attribute, int[] value, int offset ) argument
228 _eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
236 _eglCreateWindowSurfaceTexture( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
244 eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
278 eglCreatePbufferSurface( EGLDisplay dpy, EGLConfig config, int[] attrib_list, int offset ) argument
287 eglCreatePixmapSurface( EGLDisplay dpy, EGLConfig config, int pixmap, int[] attrib_list, int offset ) argument
335 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, int buftype, int buffer, EGLConfig config, int[] attrib_list, int offset ) argument
347 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, int buftype, long buffer, EGLConfig config, int[] attrib_list, int offset ) argument
390 eglCreateContext( EGLDisplay dpy, EGLConfig config, EGLContext share_context, int[] attrib_list, int offset ) argument
[all...]
H A DGLSurfaceView.java409 * Install a config chooser which will choose a config
427 * Install a config chooser which will choose a config
468 * EGLConfigChooser is responsible for choosing an OpenGL ES 2.0-compatible config.
700 * @param config the EGLConfig of the created surface. Can be used
703 void onSurfaceCreated(GL10 gl, EGLConfig config); argument
762 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { argument
766 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT,
792 EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, argument
799 createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) argument
950 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument
[all...]
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHardwareManager.java454 for (TvStreamConfig config : connection.getConfigsLocked()) {
455 if (config.getType() == TvStreamConfig.STREAM_TYPE_BUFFER_PRODUCER) {
456 configsList.add(config);
466 public boolean captureFrame(String inputId, Surface surface, final TvStreamConfig config, argument
484 boolean result = hardwareImpl.startCapture(surface, config);
489 hardwareImpl.stopCapture(config);
747 public boolean setSurface(Surface surface, TvStreamConfig config) argument
756 // The value of config is ignored when surface == null.
765 // It's impossible to set a non-null surface with a null config.
766 if (config
946 startCapture(Surface surface, TvStreamConfig config) argument
963 stopCapture(TvStreamConfig config) argument
[all...]
H A DTvInputManagerService.java1421 public boolean captureFrame(String inputId, Surface surface, TvStreamConfig config, argument
1453 surface, config, callingUid, resolvedUserId);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphRunner.java630 * @param config A Config instance with the configuration of this runner.
632 public GraphRunner(MffContext context, Config config) { argument
634 init(config);
974 private void init(Config config) { argument
977 mRunLoop = new GraphRunLoop(config.allowOpenGL);
979 mRunThread.setPriority(config.threadPriority);
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp397 void AaptLocaleValue::initFromResTable(const ResTable_config& config) { argument
398 config.unpackLanguage(language);
399 config.unpackRegion(region);
400 if (config.localeScript[0]) {
401 memcpy(script, config.localeScript, sizeof(config.localeScript));
404 if (config.localeVariant[0]) {
405 memcpy(variant, config.localeVariant, sizeof(config.localeVariant));
1409 const ResTable_config& config(fil
[all...]
H A DAaptAssets.h71 // Initialize this AaptLocaleValue from a config string.
72 bool initFromFilterString(const String8& config);
77 void initFromResTable(const ResTable_config& config);
108 AaptGroupEntry(const ConfigDescription& config) : mParams(config) {} argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java139 * @param config the Configuration object for this render.
145 Configuration config,
153 mConfig = config;
142 BridgeContext(Object projectKey, DisplayMetrics metrics, RenderResources renderResources, IProjectCallback projectCallback, Configuration config, int targetSdkVersion, boolean hasRtlSupport) argument
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java645 * Number of IP config failures
918 public boolean isLinked(WifiConfiguration config) { argument
919 if (config.linkedConfigurations != null && linkedConfigurations != null) {
920 if (config.linkedConfigurations.get(configKey()) != null
921 && linkedConfigurations.get(config.configKey()) != null) {
1139 sbuf.append("\nEnterprise config:\n");
1142 sbuf.append("IP config:\n");
1262 * @param scannedAP the scan result used to construct the config entry
1294 * Get an identifier for associating credentials with this config
1297 * when a config wit
[all...]
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pManager.java870 if (c == null) throw new IllegalArgumentException("config cannot be null");
970 * @param config options as described in {@link WifiP2pConfig} class
973 public void connect(Channel c, WifiP2pConfig config, ActionListener listener) { argument
975 checkP2pConfig(config);
976 c.mAsyncChannel.sendMessage(CONNECT, 0, c.putListener(listener), config);
/frameworks/native/opengl/libagl/
H A Degl.cpp127 EGLConfig config; member in struct:android::egl_context_t
148 EGLConfig config; member in struct:android::egl_surface_t
152 egl_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat);
175 EGLConfig config,
177 : magic(MAGIC), dpy(dpy), config(config), ctx(0), zombie(false)
219 EGLDisplay dpy, EGLConfig config,
341 EGLConfig config,
344 : egl_surface_t(dpy, config, depthFormat),
644 EGLDisplay dpy, EGLConfig config,
174 egl_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat) argument
340 egl_window_surface_v2_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat, ANativeWindow* window) argument
659 egl_pixmap_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat, egl_native_pixmap_t const * pixmap) argument
722 egl_pbuffer_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat, int32_t w, int32_t h, int32_t f) argument
1200 getConfigAttrib(EGLDisplay , EGLConfig config, EGLint attribute, EGLint *value) argument
1229 createWindowSurface(EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint* ) argument
1278 createPixmapSurface(EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint* ) argument
1324 createPbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) argument
1539 eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) argument
1552 eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list) argument
1559 eglCreatePixmapSurface( EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *attrib_list) argument
1566 eglCreatePbufferSurface( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) argument
1657 eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext , const EGLint* ) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiServiceImpl.java173 WifiConfiguration config = (WifiConfiguration) msg.obj;
176 if (config != null) {
177 if (config.networkId == WifiConfiguration.INVALID_NETWORK_ID) {
178 config.creatorUid = Binder.getCallingUid();
180 config.lastUpdateUid = Binder.getCallingUid();
185 + " uid=" + Integer.toString(config.creatorUid)
186 + "/" + Integer.toString(config.lastUpdateUid));
189 if (config != null) {
190 if (config.networkId == WifiConfiguration.INVALID_NETWORK_ID) {
191 config
876 addOrUpdateNetwork(WifiConfiguration config) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pServiceImpl.java1219 WifiP2pConfig config = (WifiP2pConfig) message.obj;
1220 if (isConfigInvalid(config)) {
1221 loge("Dropping connect requeset " + config);
1228 if (reinvokePersistentGroup(config)) {
1233 mSavedPeerConfig = config;
1251 config = (WifiP2pConfig) message.obj;
1252 if (isConfigInvalid(config)) {
1253 loge("Dropping GO neg request " + config);
1256 mSavedPeerConfig = config;
1270 config
2450 isConfigInvalid(WifiP2pConfig config) argument
2461 fetchCurrentDeviceDetails(WifiP2pConfig config) argument
2472 p2pConnectWithPinDisplay(WifiP2pConfig config) argument
2490 reinvokePersistentGroup(WifiP2pConfig config) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCommandInterface.java457 public void setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) { argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java458 public void setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) { argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java547 public void setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) { argument
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp1136 audio_config_t config; local
1137 memset(&config, 0, sizeof(config));
1138 config.sample_rate = sampleRate;
1139 config.channel_mask = channelMask;
1140 config.format = format;
1143 size_t size = dev->get_input_buffer_size(dev, &config);
1223 // the config change is always sent from playback or record threads to avoid deadlock
1692 audio_config_t *config,
1718 //config
1690 openOutput_l(audio_module_handle_t module, audio_io_handle_t *output, audio_config_t *config, audio_devices_t devices, const String8& address, audio_output_flags_t flags) argument
1772 openOutput(audio_module_handle_t module, audio_io_handle_t *output, audio_config_t *config, audio_devices_t *devices, const String8& address, uint32_t *latencyMs, audio_output_flags_t flags) argument
1947 openInput(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t *device, const String8& address, audio_source_t source, audio_input_flags_t flags) argument
1971 openInput_l(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t device, const String8& address, audio_source_t source, audio_input_flags_t flags) argument
[all...]
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java542 * @param config The Configuration being computed, for you to change as
549 public void adjustConfigurationLw(Configuration config, int keyboardPresence, argument

Completed in 595 milliseconds

12345678910