Searched refs:config (Results 26 - 50 of 251) sorted by relevance

1234567891011

/frameworks/base/wifi/java/android/net/wifi/
H A DWpsInfo.java93 WpsInfo config = new WpsInfo();
94 config.setup = in.readInt();
95 config.BSSID = in.readString();
96 config.pin = in.readString();
97 return config;
H A DWifiApConfigStore.java143 WifiConfiguration config = new WifiConfiguration();
153 config.SSID = in.readUTF();
155 config.allowedKeyManagement.set(authType);
157 config.preSharedKey = in.readUTF();
159 mWifiApConfig = config;
175 private void writeApConfiguration(final WifiConfiguration config) { argument
182 out.writeUTF(config.SSID);
183 int authType = config.getAuthType();
186 out.writeUTF(config.preSharedKey);
204 WifiConfiguration config
[all...]
H A DWifiConfiguration.java463 * @param scannedAP the scan result used to construct the config entry
495 * Get an identifier for associating credentials with this config
498 * when a config with some fields is passed by an application.
499 * @throws IllegalStateException if config is invalid for key id generation
506 // Get current config details for fields that are not initialized
526 throw new IllegalStateException("Invalid config details");
642 WifiConfiguration config = new WifiConfiguration();
643 config.networkId = in.readInt();
644 config.status = in.readInt();
645 config
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Daacenc_core.h28 #include "config.h"
51 AACENC_CONFIG config; /* Word16 size: 8 */ member in struct:__anon540
87 void AacInitDefaultConfig(AACENC_CONFIG *config);
98 const AACENC_CONFIG config); /* pre-initialized config struct */
/frameworks/native/opengl/libs/EGL/
H A Degl_object.cpp64 egl_surface_t::egl_surface_t(egl_display_t* dpy, EGLConfig config, argument
67 egl_object_t(dpy), surface(surface), config(config), win(win), cnx(cnx)
87 egl_context_t::egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, argument
90 config(config), read(0), draw(0), cnx(cnx), version(version) {
/frameworks/compile/libbcc/
H A Dlibbcc.mk35 LIBBCC_GEN_CONFIG_MK := $(LIBBCC_ROOT_PATH)/libbcc-gen-config-from-mk.mk
40 include $(LIBBCC_ROOT_PATH)/libbcc-config.mk
/frameworks/native/opengl/tests/include/
H A DglTestLib.h32 void glTestPrintEGLConfiguration(EGLDisplay dpy, EGLConfig config);
/frameworks/compile/libbcc/tools/bcc_compat/
H A DMain.cpp24 #include <llvm/Config/config.h>
166 CompilerConfig *config = NULL; local
169 config = new (std::nothrow) DefaultCompilerConfig();
171 config = new (std::nothrow) CompilerConfig(OptTargetTriple);
173 if (config == NULL) {
179 if (config->getTriple().find("arm") != std::string::npos) {
185 config->setFeatureString(fv);
188 if (config->getTriple().find("i686") != std::string::npos) {
189 config->setCPU("atom");
192 // Setup the config accordin
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealth.java178 BluetoothHealthAppConfiguration config =
183 result = mService.registerAppConfiguration(config, wrapper);
200 * @param config The health app configuration
203 public boolean unregisterAppConfiguration(BluetoothHealthAppConfiguration config) { argument
205 if (mService != null && isEnabled() && config != null) {
207 result = mService.unregisterAppConfiguration(config);
227 * @param config The application configuration which has been registered using
229 * @return If true, the callback associated with the application config will be called.
232 BluetoothHealthAppConfiguration config) {
234 config !
231 connectChannelToSource(BluetoothDevice device, BluetoothHealthAppConfiguration config) argument
260 connectChannelToSink(BluetoothDevice device, BluetoothHealthAppConfiguration config, int channelType) argument
289 disconnectChannel(BluetoothDevice device, BluetoothHealthAppConfiguration config, int channelId) argument
318 getMainChannelFd(BluetoothDevice device, BluetoothHealthAppConfiguration config) argument
431 onHealthAppConfigurationStatusChange(BluetoothHealthAppConfiguration config, int status) argument
437 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
[all...]
H A DBluetoothHealthAppConfiguration.java70 BluetoothHealthAppConfiguration config = (BluetoothHealthAppConfiguration) o;
71 // config.getName() can never be NULL
72 return mName.equals(config.getName()) &&
73 mDataType == config.getDataType() &&
74 mRole == config.getRole() &&
75 mChannelType == config.getChannelType();
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
H A DWifiSoftAPTest.java63 WifiConfiguration config = new WifiConfiguration();
64 config.SSID = "abcdefghijklmnopqrstuvwxyz";
65 config.allowedKeyManagement.set(KeyMgmt.NONE);
66 mWifiConfig = config;
H A DWifiClientTest.java117 WifiConfiguration config = new WifiConfiguration();
118 config.SSID = "\"TestSSID1\"";
119 config.allowedKeyManagement.set(KeyMgmt.NONE);
122 int netId = mWifiManager.addNetwork(config);
125 //check config list
129 if (c.networkId == netId && c.SSID.equals(config.SSID)) {
139 //check config list
154 WifiConfiguration config = new WifiConfiguration();
155 config.SSID = "\"TestSSID2\"";
156 config
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
H A DWifiConnectionTest.java67 for (WifiConfiguration config : networks) {
68 log(config.toString());
80 * @param config is the network configuration
83 private void connectToWifi(WifiConfiguration config) { argument
85 assertTrue("failed to connect to " + config.SSID,
86 connectToWifiWithConfiguration(config));
95 log("config.SSID = " + config.SSID);
99 assertTrue(config.SSID.contains(mWifiManager.getConnectionInfo().getSSID()));
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
H A DWifiApStress.java76 WifiConfiguration config = new WifiConfiguration();
77 config.SSID = NETWORK_ID;
78 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK);
79 config.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN);
80 config.preSharedKey = PASSWD;
91 assertTrue(mWifiManager.setWifiApEnabled(config, true));
104 assertTrue(mWifiManager.setWifiApEnabled(config, false));
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityManagerTest.java97 ConfigurationInfo config = mActivityManager.getDeviceConfigurationInfo();
98 assertNotNull(config);
102 assertEquals(config.reqKeyboardType, vconfig.keyboard);
103 assertEquals(config.reqTouchScreen, vconfig.touchscreen);
104 assertEquals(config.reqNavigation, vconfig.navigation);
106 assertNotNull(config.reqInputFeatures & ConfigurationInfo.INPUT_FEATURE_FIVE_WAY_NAV);
109 assertNotNull(config.reqInputFeatures & ConfigurationInfo.INPUT_FEATURE_HARD_KEYBOARD);
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLImpl.java37 public native boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value); argument
53 public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list) { argument
54 int eglContextId = _eglCreateContext(display, config, share_context, attrib_list);
61 public EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list) { argument
62 int eglSurfaceId = _eglCreatePbufferSurface(display, config, attrib_list);
69 public EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) { argument
71 _eglCreatePixmapSurface(sur, display, config, native_pixmap, attrib_list);
78 public EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) { argument
92 eglSurfaceId = _eglCreateWindowSurface(display, config, sur, attrib_list);
94 eglSurfaceId = _eglCreateWindowSurfaceTexture(display, config,
148 _eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list) argument
149 _eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list) argument
150 _eglCreatePixmapSurface(EGLSurface sur, EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) argument
151 _eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) argument
152 _eglCreateWindowSurfaceTexture(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DMffContext.java150 * @param config The configuration to use.
154 public MffContext(Context context, Config config) { argument
155 init(context, config);
262 * Set the default EGL config chooser.
339 private void init(Context context, Config config) { argument
340 determineGLSupport(context, config);
341 determineCameraSupport(config);
344 fetchDummySurfaceView(context, config);
347 private void fetchDummySurfaceView(Context context, Config config) { argument
348 if (config
355 determineGLSupport(Context context, Config config) argument
367 determineCameraSupport(Config config) argument
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DUploadedTexture.java87 public Config config; field in class:UploadedTexture.BorderKey
92 int x = config.hashCode() ^ length;
101 && config == o.config && length == o.length;
119 boolean vertical, Config config, int length) {
122 key.config = config;
127 ? Bitmap.createBitmap(1, length, config)
128 : Bitmap.createBitmap(length, 1, config);
233 Config config
118 getBorderLine( boolean vertical, Config config, int length) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pConfig.java143 WifiP2pConfig config = new WifiP2pConfig();
144 config.deviceAddress = in.readString();
145 config.wps = (WpsInfo) in.readParcelable(null);
146 config.groupOwnerIntent = in.readInt();
147 config.netId = in.readInt();
148 return config;
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNIView.java141 for(EGLConfig config : configs) {
142 int d = findConfigAttrib(egl, display, config,
144 int s = findConfigAttrib(egl, display, config,
147 int r = findConfigAttrib(egl, display, config,
149 int g = findConfigAttrib(egl, display, config,
151 int b = findConfigAttrib(egl, display, config,
153 int a = findConfigAttrib(egl, display, config,
161 closestConfig = config;
169 EGLConfig config, int attribute, int defaultValue) {
171 if (egl.eglGetConfigAttrib(display, config, attribut
168 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument
187 printConfig(EGL10 egl, EGLDisplay display, EGLConfig config) argument
291 onSurfaceCreated(GL10 gl, EGLConfig config) argument
[all...]
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfView.java141 for(EGLConfig config : configs) {
142 int d = findConfigAttrib(egl, display, config,
144 int s = findConfigAttrib(egl, display, config,
147 int r = findConfigAttrib(egl, display, config,
149 int g = findConfigAttrib(egl, display, config,
151 int b = findConfigAttrib(egl, display, config,
153 int a = findConfigAttrib(egl, display, config,
161 closestConfig = config;
169 EGLConfig config, int attribute, int defaultValue) {
171 if (egl.eglGetConfigAttrib(display, config, attribut
168 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument
187 printConfig(EGL10 egl, EGLDisplay display, EGLConfig config) argument
291 onSurfaceCreated(GL10 gl, EGLConfig config) argument
[all...]
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualGL2View.java144 for(EGLConfig config : configs) {
145 int d = findConfigAttrib(egl, display, config,
147 int s = findConfigAttrib(egl, display, config,
150 int r = findConfigAttrib(egl, display, config,
152 int g = findConfigAttrib(egl, display, config,
154 int b = findConfigAttrib(egl, display, config,
156 int a = findConfigAttrib(egl, display, config,
164 closestConfig = config;
172 EGLConfig config, int attribute, int defaultValue) {
174 if (egl.eglGetConfigAttrib(display, config, attribut
171 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument
190 printConfig(EGL10 egl, EGLDisplay display, EGLConfig config) argument
294 onSurfaceCreated(GL10 gl, EGLConfig config) argument
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp114 if (LinkerConfig::Binary == config().codeGenType())
117 switch (config().targets().bitclass()) {
125 fatal(diag::unsupported_bitclass) << config().targets().triple().str()
126 << config().targets().bitclass();
137 else if (config().isCodeIndep())
152 m_pObjectReader = new ELFObjectReader(*this, pBuilder, config());
158 return new ELFDynObjReader(*this, pBuilder, config());
163 return new ELFBinaryReader(*this, pBuilder, config());
168 return new ELFObjectWriter(*this, config());
173 switch (config()
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DMiscRegressionTest.java32 Logger.global.config("This has logging Level.CONFIG, should become DEBUG");
/frameworks/base/tools/aapt/
H A DResourceFilter.cpp89 ResourceFilter::match(int axis, const ResTable_config& config) const
91 return match(axis, AaptGroupEntry::getConfigValueForAxis(config, axis));
95 ResourceFilter::match(const ResTable_config& config) const
98 if (!match(i, AaptGroupEntry::getConfigValueForAxis(config, i))) {

Completed in 630 milliseconds

1234567891011