/frameworks/base/core/java/android/content/res/ |
Configuration.java | 34 import android.content.pm.ActivityInfo.Config; 56 * <pre>Configuration config = getResources().getConfiguration();</pre> [all...] |
/frameworks/base/core/jni/ |
android_hardware_SoundTrigger.cpp | 730 struct sound_trigger_recognition_config *config = local 732 config->data_size = dataSize; 733 config->data_offset = sizeof(struct sound_trigger_recognition_config); 734 config->capture_requested = env->GetBooleanField(jConfig, 737 config->num_phrases = 0; 741 config->num_phrases = env->GetArrayLength(jPhrases); 743 ALOGV("startRecognition num phrases %d", config->num_phrases); 744 for (size_t i = 0; i < config->num_phrases; i++) { 746 config->phrases[i].id = env->GetIntField(jPhrase, 748 config->phrases[i].recognition_modes = env->GetIntField(jPhrase [all...] |
android_util_AssetManager.cpp | 102 uint32_t typeSpecFlags, ResTable_config* config = NULL); 106 uint32_t typeSpecFlags, ResTable_config* config) 116 if (config != NULL) { 117 env->SetIntField(outValue, gTypedValueOffsets.mDensity, config->density); 620 static jobject constructConfigurationObject(JNIEnv* env, const ResTable_config& config) { 628 config.smallestScreenWidthDp); 629 env->SetIntField(result, gConfigurationOffsets.mScreenWidthDpOffset, config.screenWidthDp); 630 env->SetIntField(result, gConfigurationOffsets.mScreenHeightDpOffset, config.screenHeightDp); 644 jobject config = constructConfigurationObject(env, configs[i]); local 645 if (config == NULL) 687 ResTable_config config; local 897 ResTable_config config; local 1287 ResTable_config config; local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Bitmap.java | 68 * pushing down this preference for every config change. 199 * Config}, without affecting the underlying allocation backing the bitmap. 220 * new config, just that the allocation is reused. Additionally, the view 244 * @see #setConfig(Config) 246 public void reconfigure(int width, int height, Config config) { 255 nativeReconfigure(mNativePtr, width, height, config.nativeInt, mRequestPremultiplied); 262 * <p>Convenience method for calling {@link #reconfigure(int, int, Config)} 263 * with the current height and config.</p> 266 * the view system, see {@link #reconfigure(int, int, Config)} for mor 306 reconfigure(getWidth(), getHeight(), config); local 800 final Config config = source.getConfig(); local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
StaticMetadata.java | 1303 StreamConfigurationMap config = getValueFromKeyNonNull(key); local 1329 StreamConfigurationMap config = getValueFromKeyNonNull(key); local 1364 StreamConfigurationMap config = getValueFromKeyNonNull(key); local 1503 StreamConfigurationMap config = getValueFromKeyNonNull(key); local 2196 StreamConfigurationMap config = local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
Camera2RecordingTest.java | 214 StreamConfigurationMap config = local 217 Size[] highSpeedVideoSizes = config.getHighSpeedVideoSizes(); 220 getHighSpeedFixedFpsRangeForSize(config, size); 293 private List<Range<Integer>> getHighSpeedFixedFpsRangeForSize(StreamConfigurationMap config, 295 Range<Integer>[] availableFpsRanges = config.getHighSpeedVideoFpsRangesFor(size); [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLSurfaceView.java | 410 * Install a config chooser which will choose a config 428 * Install a config chooser which will choose a config 469 * EGLConfigChooser is responsible for choosing an OpenGL ES 2.0-compatible config. 730 * @param config the EGLConfig of the created surface. Can be used 733 void onSurfaceCreated(GL10 gl, EGLConfig config); 792 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { 796 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, 822 EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, 897 EGLConfig config = chooseConfig(egl, display, configs); local [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
AccessPoint.java | 203 public AccessPoint(Context context, WifiConfiguration config) { 205 loadConfig(config); 213 public AccessPoint(Context context, PasspointConfiguration config) { 215 mFqdn = config.getHomeSp().getFqdn(); 216 mProviderFriendlyName = config.getHomeSp().getFriendlyName(); 424 public boolean matches(WifiConfiguration config) { 425 if (config.isPasspoint() && mConfig != null && mConfig.isPasspoint()) { 426 return ssid.equals(removeDoubleQuotes(config.SSID)) && config.FQDN.equals(mConfig.FQDN); 428 return ssid.equals(removeDoubleQuotes(config.SSID) 609 WifiConfiguration config = mConfig; local [all...] |
WifiTracker.java | 444 for (WifiConfiguration config : configs) { 445 if (mLastInfo != null && networkId == config.networkId && 446 !(config.selfAdded && config.numAssociation == 0)) { 447 return config; 489 for (WifiConfiguration config : configs) { 490 if (config.selfAdded && config.numAssociation == 0) { 493 AccessPoint accessPoint = getCachedOrCreate(config, cachedAccessPoints); 553 WifiConfiguration config = mWifiManager.getMatchingWifiConfig(result) local [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsBackupAgent.java | 315 if (DEBUG_BACKUP) Log.d(TAG, softApConfigData.length + " bytes of softap config data"); 322 Log.d(TAG, wifiFullConfigData.length + " bytes of wifi config data"); 394 // ip config 396 if (DEBUG_BACKUP) Log.d(TAG, ipconfig_size + " bytes of ip config data"); 411 // softap config 414 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of softap config data"); 431 // Restore full wifi config data 434 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of full wifi config data"); 771 WifiConfiguration config = WifiConfiguration local 774 mWifiManager.setWifiApConfiguration(config); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
RecentsImpl.java | 130 RecentsConfiguration config = Recents.getConfiguration(); local 131 if (config.svelteLevel == RecentsConfiguration.SVELTE_NONE) { 379 RecentsConfiguration config = Recents.getConfiguration(); local 380 RecentsActivityLaunchState launchState = config.getLaunchState(); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
RecentsView.java | 164 RecentsConfiguration config = Recents.getConfiguration(); local 165 RecentsActivityLaunchState launchState = config.getLaunchState(); [all...] |
TaskView.java | 179 RecentsConfiguration config = Recents.getConfiguration(); local 182 if (config.fakeShadows) { 183 setBackground(new FakeShadowDrawable(res, config)); 289 RecentsConfiguration config = Recents.getConfiguration(); local 294 toTransform.applyToTaskView(this, mTmpAnimators, toAnimation, !config.fakeShadows);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
NetworkControllerImpl.java | 94 private Config mConfig; 156 Config.readConfig(context), 172 Config config, 180 mConfig = config; 465 mConfig = Config.readConfig(mContext); 973 Config config = new Config(); local [all...] |
/frameworks/base/services/core/java/com/android/server/trust/ |
TrustManagerService.java | 311 List<PersistableBundle> config = local 314 if (config == null || config.isEmpty()) { [all...] |
/frameworks/base/services/java/com/android/server/ |
SystemServer.java | 534 if (!SystemProperties.getBoolean("config.disable_noncore", false)) { 590 boolean disableOtaDexopt = SystemProperties.getBoolean("config.disable_otadexopt", 691 boolean disableStorage = SystemProperties.getBoolean("config.disable_storage", false); 692 boolean disableBluetooth = SystemProperties.getBoolean("config.disable_bluetooth", false); 693 boolean disableLocation = SystemProperties.getBoolean("config.disable_location", false); 694 boolean disableSystemUI = SystemProperties.getBoolean("config.disable_systemui", false); 695 boolean disableNonCoreServices = SystemProperties.getBoolean("config.disable_noncore", false); 696 boolean disableNetwork = SystemProperties.getBoolean("config.disable_network", false); 697 boolean disableNetworkTime = SystemProperties.getBoolean("config.disable_networktime", false); 698 boolean disableRtt = SystemProperties.getBoolean("config.disable_rtt", false) 1585 final Configuration config = wm.computeNewConfiguration(DEFAULT_DISPLAY); local [all...] |
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
SoundTriggerHelper.java | 625 RecognitionConfig config = model.getRecognitionConfig(); local 626 if (config == null) { 632 model.setRequested(config.allowMultipleTriggers); 768 RecognitionConfig config = modelData.getRecognitionConfig(); local 1001 RecognitionConfig config = modelData.getRecognitionConfig(); local [all...] |
/frameworks/base/tools/aapt2/cmd/ |
Link.cpp | 342 ConfigDescription config; member in struct:ResourceFileFlattener::FileOperation 494 const ConfigDescription& config = file_op->config; local 498 const util::Range<ApiVersion> api_range{config.sdkVersion, 499 FindNextApiVersionForConfig(entry, config)}; 509 // Sort by config and name, so that we get better locality in the zip file. 534 file_op.config = config_value->config; 554 file_op.xml_to_flatten->file.config = config_value->config; 571 const ConfigDescription& config = map_entry.first.first; local [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
RttManager.java | 1352 ResponderConfig config = (ResponderConfig) msg.obj; local [all...] |
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/ |
PpsMoParser.java | 360 PasspointConfiguration config = null; local 371 if (config != null) { 376 config = parsePpsNode(child); 387 return config; 414 PasspointConfiguration config = null; local 440 if (config != null) { 443 config = parsePpsInstance(ppsNodeRoot); 457 if (config != null && updateIdentifier != Integer.MIN_VALUE) { 458 config.setUpdateIdentifier(updateIdentifier); 460 return config; 610 PasspointConfiguration config = new PasspointConfiguration(); local [all...] |
/frameworks/native/libs/hwc2on1adapter/ |
HWC2On1Adapter.cpp | 609 ALOGV("[%" PRIu64 "] getAttribute failed: bad config (%u)", mId, 676 for (const auto& config : mConfigs) { 680 outConfigs[numWritten] = config->getId(); 803 auto config = getConfig(configId); local 804 if (!config) { 807 if (config == mActiveConfig) { 813 auto error = config->getHwc1IdForColorMode(mActiveColorMode, &hwc1Id); 821 ALOGE("setActiveConfig: Failed to set active config on HWC1 (%d)", 825 mActiveConfig = config; 861 ALOGV("[%" PRIu64 "] Setting HWC1 config %u", mId, hwc1Config) 1185 auto& config = mConfigs[0]; local [all...] |
/frameworks/native/opengl/libagl/ |
egl.cpp | 129 EGLConfig config; member in struct:android::egl_context_t 150 EGLConfig config; member in struct:android::egl_surface_t 154 egl_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat); 177 EGLConfig config, 179 : magic(MAGIC), dpy(dpy), config(config), ctx(0), zombie(false) 221 EGLDisplay dpy, EGLConfig config, 342 EGLConfig config, 345 : egl_surface_t(dpy, config, depthFormat), 648 EGLDisplay dpy, EGLConfig config, [all...] |
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
Hwc2Test.cpp | 180 void getDisplayAttribute(hwc2_display_t display, hwc2_config_t config, 188 auto err = static_cast<hwc2_error_t>(pfn(mHwc2Device, display, config, 195 << getAttributeName(attribute) << " for config " << config; 239 ASSERT_EQ(err, HWC2_ERROR_NONE) << "failed to get active config on" 244 void setActiveConfig(hwc2_display_t display, hwc2_config_t config, 251 auto err = static_cast<hwc2_error_t>(pfn(mHwc2Device, display, config)); 255 ASSERT_EQ(err, HWC2_ERROR_NONE) << "failed to set active config " 256 << config; 1170 hwc2_config_t config; local 1575 hwc2_config_t config; local 2334 const hwc2_config_t config = 0; local 2357 hwc2_config_t config; local 2510 const hwc2_config_t config = 0; local 2523 hwc2_config_t config; local [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
SupplicantStaIfaceHal.java | 362 * @param config Config corresponding to the network. 367 addNetworkAndSaveConfig(WifiConfiguration config) { 369 if (config == null) { 380 saveSuccess = network.saveWifiConfiguration(config); 382 Log.e(TAG, "Exception while saving config params: " + config, e); 385 loge("Failed to save variables for: " + config.configKey()); 391 return new Pair(network, new WifiConfiguration(config)); 397 * 1. If |config| is different to the current supplicant network, removes all supplican 483 WifiConfiguration config = new WifiConfiguration(); local [all...] |
WifiConnectivityManager.java | 678 + "config specified BSSID " + candidate.BSSID + ". Drop it!"); 746 WifiConfiguration config = mStateMachine.getCurrentWifiConfiguration(); local 748 if (config == null) { 754 config.networkId, CHANNEL_LIST_AGE_MS, mWifiInfo.getFrequency()); [all...] |