/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WpsInfo.java | 93 WpsInfo config = new WpsInfo(); 94 config.setup = in.readInt(); 95 config.BSSID = in.readString(); 96 config.pin = in.readString(); 97 return config;
|
H A D | WifiApConfigStore.java | 143 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 D | WifiConfiguration.java | 463 * @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 D | aacenc_core.h | 28 #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 D | egl_object.cpp | 64 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 D | libbcc.mk | 35 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 D | glTestLib.h | 32 void glTestPrintEGLConfiguration(EGLDisplay dpy, EGLConfig config);
|
/frameworks/compile/libbcc/tools/bcc_compat/ |
H A D | Main.cpp | 24 #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 D | BluetoothHealth.java | 178 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 D | BluetoothHealthAppConfiguration.java | 70 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 D | WifiSoftAPTest.java | 63 WifiConfiguration config = new WifiConfiguration(); 64 config.SSID = "abcdefghijklmnopqrstuvwxyz"; 65 config.allowedKeyManagement.set(KeyMgmt.NONE); 66 mWifiConfig = config;
|
H A D | WifiClientTest.java | 117 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 D | WifiConnectionTest.java | 67 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 D | WifiApStress.java | 76 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 D | ActivityManagerTest.java | 97 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 D | EGLImpl.java | 37 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 D | MffContext.java | 150 * @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 D | UploadedTexture.java | 87 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 D | WifiP2pConfig.java | 143 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 D | GL2JNIView.java | 141 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 D | GLPerfView.java | 141 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 D | GLDualGL2View.java | 144 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 D | GNULDBackend.cpp | 114 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 D | MiscRegressionTest.java | 32 Logger.global.config("This has logging Level.CONFIG, should become DEBUG");
|
/frameworks/base/tools/aapt/ |
H A D | ResourceFilter.cpp | 89 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))) {
|