/frameworks/base/tools/aapt2/ |
H A D | Locale.h | 40 * Initialize this LocaleValue from a config string. 42 bool initFromFilterString(const StringPiece& config); 53 void initFromResTable(const android::ResTable_config& config);
|
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | SmsManager.java | 1584 * Filters a bundle to only contain MMS config variables. 1587 * config and unrelated config. It is assumed that all MMS_CONFIG_* keys are present in the 1590 * @param config a Bundle that contains MMS config variables and possibly more. 1594 public static Bundle getMmsConfig(BaseBundle config) { argument 1597 config.getBoolean(MMS_CONFIG_APPEND_TRANSACTION_ID)); 1598 filtered.putBoolean(MMS_CONFIG_MMS_ENABLED, config.getBoolean(MMS_CONFIG_MMS_ENABLED)); 1600 config.getBoolean(MMS_CONFIG_GROUP_MMS_ENABLED)); 1602 config [all...] |
/frameworks/compile/libbcc/tools/bcc/ |
H A D | Main.cpp | 29 #include <llvm/Config/config.h> 227 CompilerConfig *config = nullptr; local 229 config = new (std::nothrow) CompilerConfig(OptTargetTriple); 230 if (config == nullptr) { 236 config->setRelocationModel(llvm::Reloc::PIC_); 240 if (config->getTriple().find("x86_64") != std::string::npos) { 241 config->setCodeModel(llvm::CodeModel::Small); 245 case '0': config->setOptimizationLevel(llvm::CodeGenOpt::None); break; 246 case '1': config->setOptimizationLevel(llvm::CodeGenOpt::Less); break; 247 case '2': config [all...] |
/frameworks/base/opengl/java/javax/microedition/khronos/egl/ |
H A D | EGL10.java | 99 EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list); argument 100 EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list); argument 101 EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list); argument 102 EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list); argument 105 boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value); argument
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/ |
H A D | RecommendationServiceImpl.java | 50 for (VendorConfig config : VendorConfig.getAllConfigs(this)) { 53 config.name, config.packageName, config.mDNSNames), this, false)); 56 config.packageName, e);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | ZenFooter.java | 96 private void setConfig(ZenModeConfig config) { argument 97 if (Objects.equals(mConfig, config)) return; 98 mConfig = config; 147 public void onConfigChanged(ZenModeConfig config) { 148 setConfig(config);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
H A D | AccessPoint.java | 167 AccessPoint(Context context, WifiConfiguration config) { argument 169 loadConfig(config); 240 public boolean matches(WifiConfiguration config) { argument 241 if (config.isPasspoint() && mConfig != null && mConfig.isPasspoint()) { 242 return config.FQDN.equals(mConfig.providerFriendlyName); 244 return ssid.equals(removeDoubleQuotes(config.SSID)) 245 && security == getSecurity(config) 246 && (mConfig == null || mConfig.shared == config.shared); 432 // Add RSSI/band information for this config, what was seen up to 6 seconds ago 616 * If the current AP does not have a network Id then the config i 619 isInfoForThisAccessPoint(WifiConfiguration config, WifiInfo info) argument 659 loadConfig(WifiConfiguration config) argument 729 update(WifiConfiguration config, WifiInfo info, NetworkInfo networkInfo) argument 750 update(WifiConfiguration config) argument 843 getSecurity(WifiConfiguration config) argument [all...] |
H A D | WifiTracker.java | 308 for (WifiConfiguration config : configs) { 309 if (mLastInfo != null && networkId == config.networkId && 310 !(config.selfAdded && config.numAssociation == 0)) { 311 return config; 341 for (WifiConfiguration config : configs) { 342 if (config.selfAdded && config.numAssociation == 0) { 345 AccessPoint accessPoint = getCachedOrCreate(config, cachedAccessPoints); 347 if (config 456 getCachedOrCreate(WifiConfiguration config, List<AccessPoint> cache) argument [all...] |
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
H A D | EthernetNetworkFactory.java | 191 InterfaceConfiguration config = mNMService.getInterfaceConfig(iface); 193 if (config == null) { 194 Log.e(TAG, "Null iterface config for " + iface + ". Bailing out."); 200 setInterfaceInfoLocked(iface, config.getHardwareAddress()); 249 InterfaceConfiguration config = mNMService.getInterfaceConfig(mIface); 250 config.setLinkAddress(staticConfig.ipAddress); 251 mNMService.setInterfaceConfig(mIface, config); 296 IpConfiguration config = mEthernetManager.getConfiguration(); 298 if (config.getIpAssignment() == IpAssignment.STATIC) { 299 if (!setStaticIpAddress(config [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiLastResortWatchdog.java | 101 final WifiConfiguration config = pair.second; 112 availableNetworkFailureCount = new AvailableNetworkFailureCount(config); 120 ssidFailsAndApCount = Pair.create(new AvailableNetworkFailureCount(config), 131 // refresh config if it is not null 132 if (config != null) { 133 availableNetworkFailureCount.config = config; 282 if (availableNetworkFailureCount.config == null) { 284 Log.v(TAG, "updateFailureCountForNetwork: network has no config [" 308 if (entry.getValue().config ! 476 public WifiConfiguration config; field in class:WifiLastResortWatchdog.AvailableNetworkFailureCount [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | StreamConfigurationMap.java | 137 for (StreamConfiguration config : mConfigurations) { 138 int fmt = config.getFormat(); 140 if (config.isOutput()) { 146 configurationDuration.getWidth() == config.getSize().getWidth() && 147 configurationDuration.getHeight() == config.getSize().getHeight()) { 162 for (StreamConfiguration config : mDepthConfigurations) { 163 if (!config.isOutput()) { 168 mDepthOutputFormats.put(config.getFormat(), 169 mDepthOutputFormats.get(config.getFormat()) + 1); 179 for (HighSpeedVideoConfiguration config [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 71 * pushing down this preference for every config change. 225 * new config, just that the allocation is reused. Additionally, the view 251 public void reconfigure(int width, int height, Config config) { argument 263 nativeReconfigure(mNativePtr, width, height, config.nativeInt, 271 * with the current height and config.</p> 287 * with the current width and config.</p> 313 public void setConfig(Config config) { argument 314 reconfigure(getWidth(), getHeight(), config); 580 * setting the new bitmap's config to the one specified, and then copying 585 * @param config Th 590 copy(Config config, boolean isMutable) argument 622 createAshmemBitmap(Config config) argument 822 createBitmap(int width, int height, Config config) argument 837 createBitmap(DisplayMetrics display, int width, int height, Config config) argument 855 createBitmap(int width, int height, Config config, boolean hasAlpha) argument 874 createBitmap(DisplayMetrics display, int width, int height, Config config, boolean hasAlpha) argument 911 createBitmap(int colors[], int offset, int stride, int width, int height, Config config) argument 936 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument 975 createBitmap(int colors[], int width, int height, Config config) argument 996 createBitmap(DisplayMetrics display, int colors[], int width, int height, Config config) argument 1697 nativeReconfigure(long nativeBitmap, int width, int height, int config, int allocSize, boolean isPremultiplied) argument [all...] |
/frameworks/av/services/audioflinger/ |
H A D | PatchPanel.cpp | 103 status_t AudioFlinger::setAudioPortConfig(const struct audio_port_config *config) argument 107 return mPatchPanel->setAudioPortConfig(config); 239 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local 246 &config, 259 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local 263 config.sample_rate = patch->sources[0].sample_rate; 265 config.sample_rate = newPatch->mPlaybackThread->sampleRate(); 268 config.channel_mask = patch->sources[0].channel_mask; 270 config.channel_mask = 274 config 633 setAudioPortConfig(const struct audio_port_config *config) argument [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseGridLayoutManagerTest.java | 43 public RecyclerView setupBasic(Config config) throws Throwable { argument 44 return setupBasic(config, new GridTestAdapter(config.mItemCount)); 47 public RecyclerView setupBasic(Config config, GridTestAdapter testAdapter) throws Throwable { argument 50 mGlm = new WrappedGridLayoutManager(getActivity(), config.mSpanCount, config.mOrientation, 51 config.mReverseLayout);
|
H A D | StaggeredGridLayoutManagerSavedStateTest.java | 45 Config config, boolean waitForLayout, boolean loadDataAfterRestore, 47 this.mConfig = (Config) config.clone(); 56 @Parameterized.Parameters(name = "config={0} waitForLayout={1} loadDataAfterRestore={2}" 119 for (Config config : variations) { 120 if (config.mSpanCount < 2) { 123 final Config clone = (Config) config.clone(); 129 for (Config config : testVariations) { 133 params.add(new Object[]{config, waitForLayout, loadDataAfterRestore, 145 Log.d(TAG, "testing saved state with wait for layout = " + mWaitForLayout + " config " 44 StaggeredGridLayoutManagerSavedStateTest( Config config, boolean waitForLayout, boolean loadDataAfterRestore, PostLayoutRunnable postLayoutOperations) argument
|
H A D | StaggeredGridLayoutManagerTest.java | 164 public void customSizeInScrollDirectionTest(final Config config) throws Throwable { argument 165 setupByConfig(config); 172 if (config.mOrientation == HORIZONTAL) { 192 final int size = config.mOrientation == HORIZONTAL ? child.getWidth() 216 Config config = new Config(VERTICAL, false, 2, GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS); 217 config.itemCount(3); 218 setupByConfig(config); 464 Config config = new Config().spanCount(2).itemCount(40); 465 setupByConfig(config); 555 Config config [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_gl_environment.cpp | 152 EGLConfig config; local 166 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); 174 config, 221 EGLConfig config; local 235 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); 243 config, 320 EGLConfig config; local 333 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs); 342 config,
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
H A D | Engine.h | 82 audio_policy_forced_cfg_t config) 84 return mPolicyEngine->setForceUse(usage, config); 118 status_t setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config); 81 setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) argument
|
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 575 bool localeIsDefined(const ResTable_config& config) argument 577 return config.locale == 0; 583 const ResTable_config& config, 611 config.language[0], config.language[1], 612 config.country[0], config.country[1], 613 config.orientation, config.density, 622 &spans, &config, overwrit 580 parseAndAddBag(Bundle* bundle, const sp<AaptFile>& in, ResXMLTree* block, const ResTable_config& config, const String16& myPackage, const String16& curType, const String16& ident, const String16& parentIdent, const String16& itemIdent, int32_t curFormat, bool isFormatted, const String16& , PseudolocalizationMethod pseudolocalize, const bool overwrite, ResourceTable* outTable) argument 677 parseAndAddEntry(Bundle* bundle, const sp<AaptFile>& in, ResXMLTree* block, const ResTable_config& config, const String16& myPackage, const String16& curType, const String16& ident, const String16& curTag, bool curIsStyled, int32_t curFormat, bool isFormatted, const String16& product, PseudolocalizationMethod pseudolocalize, const bool overwrite, KeyedVector<type_ident_pair_t, bool>* skippedResourceNames, ResourceTable* outTable) argument 2293 stringToValue(Res_value* outValue, StringPool* pool, const String16& str, bool preserveSpaces, bool coerceType, uint32_t attrID, const Vector<StringPool::entry_style_span>* style, String16* outStr, void* accessorCookie, uint32_t attrType, const String8* configTypeName, const ConfigDescription* config) argument 2813 String8 config; local 2946 ConfigDescription config = c->getEntries().keyAt(ei); local 3138 const ConfigDescription& config = uniqueConfigs[ci]; local 3676 prepareFlatten(StringPool* strings, ResourceTable* table, const String8* configTypeName, const ConfigDescription* config) argument 3890 getEntry(const String16& entry, const SourcePos& sourcePos, const ResTable_config* config, bool doSetIndex, bool overlay, bool autoAddOverlay) argument 4284 getEntry(const String16& package, const String16& type, const String16& name, const SourcePos& sourcePos, bool overlay, const ResTable_config* config, bool doSetIndex) argument 4635 const ConfigDescription& config = entries.keyAt(ei); local 4861 const ConfigDescription& config = configEntries.keyAt(ce); local [all...] |
/frameworks/base/tools/aapt2/proto/ |
H A D | TableProtoDeserializer.cpp | 128 const pb::ConfigDescription& pbConfig = pbConfigValue.config(); 130 ConfigDescription config; local 131 if (!deserializeConfigDescriptionFromPb(pbConfig, &config)) { 136 ResourceConfigValue* configValue = entry->findOrCreateValue(config, 139 // Duplicate config. 145 config, &table->stringPool); 160 const ConfigDescription& config, 196 pool->makeRef(styleStr, StringPool::Context{ 1, config })); 199 pool->makeRef(str, StringPool::Context{ 1, config })); 205 pool->makeRef(str, StringPool::Context{ 1, config })); 159 deserializeItemFromPb(const pb::Item& pbItem, const ConfigDescription& config, StringPool* pool) argument 219 deserializeValueFromPb(const pb::Value& pbValue, const ConfigDescription& config, StringPool* pool) argument [all...] |
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86LDBackend.cpp | 84 if (!config().isCodeStatic() && m_pDynamic == NULL) 85 m_pDynamic = new X86ELFDynamic(*this, config()); 89 if (LinkerConfig::Object != config().codeGenType()) { 99 !config().isCodeStatic() && 106 !config().isCodeStatic() && 112 if (config().options().genUnwindInfo()) 237 if (config().options().hasNow()) 243 if (config().options().hasNow()) 255 if (LinkerConfig::Object != config().codeGenType()) { 340 m_pRelocator = new X86_32Relocator(*this, config()); [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer_hwc1.cpp | 174 DisplayConfig config = DisplayConfig(); local 175 config.width = mFbDev->width; 176 config.height = mFbDev->height; 177 config.xdpi = mFbDev->xdpi; 178 config.ydpi = mFbDev->ydpi; 179 config.refresh = nsecs_t(1e9 / mFbDev->fps); 180 disp.configs.push_back(config); 387 DisplayConfig config = DisplayConfig(); local 391 config.refresh = nsecs_t(values[i]); 394 config 438 DisplayConfig& config = mDisplayData[id].configs.editItemAt(configId); local [all...] |
/frameworks/av/include/radio/ |
H A D | IRadioService.h | 41 const struct radio_band_config *config,
|
/frameworks/base/core/java/android/app/usage/ |
H A D | UsageStatsManagerInternal.java | 54 * @param config The new device configuration. 56 public abstract void reportConfigurationChange(Configuration config, int userId); argument
|
/frameworks/base/core/java/android/security/net/config/ |
H A D | Pin.java | 17 package android.security.net.config;
|