Searched refs:config (Results 51 - 75 of 349) sorted by relevance

1234567891011>>

/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.java116 WifiConfiguration config = new WifiConfiguration();
117 config.SSID = "\"TestSSID1\"";
118 config.allowedKeyManagement.set(KeyMgmt.NONE);
121 int netId = mWifiManager.addNetwork(config);
124 //check config list
128 if (c.networkId == netId && c.SSID.equals(config.SSID)) {
138 //check config list
153 WifiConfiguration config = new WifiConfiguration();
154 config.SSID = "\"TestSSID2\"";
155 config
[all...]
/frameworks/compile/libbcc/tools/bcc_compat/
H A DMain.cpp24 #include <llvm/Config/config.h>
155 CompilerConfig *config = NULL; local
157 config = new (std::nothrow) CompilerConfig(OptTargetTriple);
158 if (config == NULL) {
164 if (config->getTriple().find("arm") != std::string::npos) {
170 config->setFeatureString(fv);
174 if (config->getTriple().find("i686") != std::string::npos) {
175 config->setCPU("atom");
178 // Setup the config according to the value of command line option.
180 config
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiApConfigStore.java103 WifiConfiguration config = (WifiConfiguration) message.obj;
104 if (config.SSID != null) {
108 Log.e(TAG, "Try to setup AP config without SSID: " + message);
148 WifiConfiguration config = new WifiConfiguration();
158 config.SSID = in.readUTF();
160 config.allowedKeyManagement.set(authType);
162 config.preSharedKey = in.readUTF();
164 mWifiApConfig = config;
180 private void writeApConfiguration(final WifiConfiguration config) { argument
187 out.writeUTF(config
[all...]
/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/media/java/android/media/tv/
H A DTvStreamConfig.java160 TvStreamConfig config = new TvStreamConfig();
161 config.mStreamId = mStreamId;
162 config.mType = mType;
163 config.mMaxWidth = mMaxWidth;
164 config.mMaxHeight = mMaxHeight;
165 config.mGeneration = mGeneration;
166 return config;
H A DITvInputHardware.aidl32 * Make the input render on the surface according to the config. In case of HDMI, this will
35 boolean setSurface(in Surface surface, in TvStreamConfig config);
/frameworks/base/core/java/android/bluetooth/
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/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 long eglContextId = _eglCreateContext(display, config, share_context, attrib_list);
61 public EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list) { argument
62 long 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/compile/libbcc/tools/bcc/
H A DMain.cpp25 #include <llvm/Config/config.h>
120 CompilerConfig *config = NULL; local
122 config = new (std::nothrow) CompilerConfig(OptTargetTriple);
123 if (config == NULL) {
130 if ((config->getTriple().find("i686") != std::string::npos) ||
131 (config->getTriple().find("x86_64") != std::string::npos)) {
148 config->setFeatureString(fv);
153 case '0': config->setOptimizationLevel(llvm::CodeGenOpt::None); break;
154 case '1': config->setOptimizationLevel(llvm::CodeGenOpt::Less); break;
155 case '2': config
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyClientImplLegacy.cpp84 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local
85 config.sample_rate = *pSamplingRate;
86 config.format = *pFormat;
87 config.channel_mask = *pChannelMask;
89 config.offload_info = *offloadInfo;
92 status_t status = af->openOutput(module, &output, &config, pDevices,
95 *pSamplingRate = config.sample_rate;
96 *pFormat = config.format;
97 *pChannelMask = config.channel_mask;
99 *((audio_offload_info_t *)offloadInfo) = config
191 audio_config_t config = AUDIO_CONFIG_INITIALIZER;; local
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java633 * Number of IP config failures
865 public boolean isLinked(WifiConfiguration config) { argument
866 if (config.linkedConfigurations != null && linkedConfigurations != null) {
867 if (config.linkedConfigurations.get(configKey()) != null
868 && linkedConfigurations.get(config.configKey()) != null) {
1045 sbuf.append("\nEnterprise config:\n");
1048 sbuf.append("IP config:\n");
1156 * @param scannedAP the scan result used to construct the config entry
1188 * Get an identifier for associating credentials with this config
1191 * when a config wit
[all...]
/frameworks/base/libs/androidfw/tests/
H A DConfig_test.cpp46 ResTable_config config; local
47 memset(&config, 0, sizeof(config));
48 config.density = uint16_t(density);
49 config.sdkVersion = 4;
50 return config;
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pConfig.java144 WifiP2pConfig config = new WifiP2pConfig();
145 config.deviceAddress = in.readString();
146 config.wps = (WpsInfo) in.readParcelable(null);
147 config.groupOwnerIntent = in.readInt();
148 config.netId = in.readInt();
149 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/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp58 EGLConfig config = EGL_NO_CONFIG; local
62 config = chooseEglConfig(display, hwcFormat);
66 if (config == EGL_NO_CONFIG) {
68 } else if (!eglGetConfigAttrib(display, config,
92 EGLContext ctxt = eglCreateContext(display, config, NULL, contextAttributes);
101 EGLConfig dummyConfig = config;
135 engine->setEGLHandles(config, ctxt);
157 void RenderEngine::setEGLHandles(EGLConfig config, EGLContext ctxt) { argument
158 mEGLConfig = config;
282 EGLConfig config local
363 selectEGLConfig(EGLDisplay display, EGLint format, EGLint renderableType, EGLConfig* config) argument
401 EGLConfig config; local
[all...]
/frameworks/base/core/java/android/net/
H A DEthernetManager.java66 public void setConfiguration(IpConfiguration config) { argument
71 mService.setConfiguration(config);
/frameworks/base/services/core/java/com/android/server/notification/
H A DPackagePriorityExtractor.java38 if (DBG) Slog.d(TAG, "missing config");
50 public void setConfig(RankingConfig config) { argument
51 mConfig = config;
H A DPackageVisibilityExtractor.java38 if (DBG) Slog.d(TAG, "missing config");
50 public void setConfig(RankingConfig config) { argument
51 mConfig = config;
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64ELFDynamic.cpp29 if (config().options().hasNow()) {
42 if (config().options().hasNow()) {
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
H A DEthernetConfigStore.java57 public void writeIpAndProxyConfigurations(IpConfiguration config) { argument
59 networks.put(0, config);

Completed in 1017 milliseconds

1234567891011>>