Searched defs:config (Results 176 - 200 of 377) sorted by relevance

1234567891011>>

/frameworks/base/tools/aapt2/test/
H A DBuilders.h72 const ConfigDescription& config, const StringPiece16& str) {
73 return addValue(name, id, config,
88 const ConfigDescription& config) {
89 return addValue(name, {}, config,
104 const ConfigDescription& config,
107 bool result = mTable->addResourceAllowMangled(resName, id, config, std::string(),
71 addString(const StringPiece16& name, const ResourceId id, const ConfigDescription& config, const StringPiece16& str) argument
87 addFileReference(const StringPiece16& name, const StringPiece16& path, const ConfigDescription& config) argument
103 addValue(const StringPiece16& name, const ResourceId id, const ConfigDescription& config, std::unique_ptr<Value> value) argument
/frameworks/base/tools/aapt2/unflatten/
H A DBinaryResourceParser.cpp309 ConfigDescription config; local
310 config.copyFromDtoH(type->config);
340 resourceValue = parseMapEntry(name, config, mapEntry);
344 resourceValue = parseValue(name, config, value, entry->flags);
351 << config << "'"); local
355 if (!mTable->addResourceAllowMangled(name, config, {}, std::move(resourceValue),
381 const ConfigDescription& config,
407 styleStr, StringPool::Context{1, config}));
413 str, StringPool::Context{ 0, config }));
380 parseValue(const ResourceNameRef& name, const ConfigDescription& config, const Res_value* value, uint16_t flags) argument
443 parseMapEntry(const ResourceNameRef& name, const ConfigDescription& config, const ResTable_map_entry* map) argument
464 parseStyle(const ResourceNameRef& name, const ConfigDescription& config, const ResTable_map_entry* map) argument
489 parseAttr(const ResourceNameRef& name, const ConfigDescription& config, const ResTable_map_entry* map) argument
529 parseArray(const ResourceNameRef& name, const ConfigDescription& config, const ResTable_map_entry* map) argument
539 parsePlural(const ResourceNameRef& name, const ConfigDescription& config, const ResTable_map_entry* map) argument
[all...]
/frameworks/compile/libbcc/lib/Core/
H A DCompiler.cpp56 return "Invalid compiler config supplied (getTarget() returns nullptr.) "
64 "TargetMachine. (missing call to Compiler::config()?)";
100 enum ErrorCode err = config(pConfig);
110 enum Compiler::ErrorCode Compiler::config(const CompilerConfig &pConfig) { function in class:Compiler
/frameworks/compile/libbcc/tools/bcc/
H A DMain.cpp29 #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/native/libs/gui/tests/
H A DGLTest.cpp170 EGLSurface GLTest::createWindowSurface(EGLDisplay display, EGLConfig config, argument
172 return eglCreateWindowSurface(display, config, window.get(), NULL);
/frameworks/native/opengl/libs/EGL/
H A Degl_object.h134 egl_surface_t(egl_display_t* dpy, EGLConfig config,
139 EGLConfig config; member in class:android::egl_surface_t
153 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
161 EGLConfig config; member in class:android::egl_context_t
/frameworks/native/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp178 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { argument
219 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
/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_basic/
H A Dgl_basic.cpp97 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { argument
138 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
/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/gl_yuvtex/
H A Dgl_yuvtex.cpp173 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { argument
214 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
/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/opengl/tests/testLatency/src/com/android/testlatency/
H A DTestLatencyView.java152 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSoftApManager.java127 * @param config AP configuration
129 public void start(WifiConfiguration config) { argument
130 mStateMachine.sendMessage(SoftApStateMachine.CMD_START, config);
153 * @param config AP configuration
156 private int startSoftAp(WifiConfiguration config) { argument
157 if (config == null) {
163 WifiConfiguration localConfig = new WifiConfiguration(config);
179 && config.apBand == WifiConfiguration.AP_BAND_5GHZ) {
H A DWifiLastResortWatchdog.java101 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DRttServiceTest.java145 int clientKey, ResponderConfig config) {
146 when(mWifiNative.enableRttResponder(anyInt())).thenReturn(config);
168 ResponderConfig config = new ResponderConfig();
169 config.macAddress = MAC;
170 return config;
144 sendEnableResponder(BidirectionalAsyncChannel channel, Handler handler, int clientKey, ResponderConfig config) argument
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseGridLayoutManagerTest.java43 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 DGridLayoutManagerTest.java571 public void removeAnchorItemTest(final Config config, int adapterSize, argument
585 if (config.mOrientation == HORIZONTAL) {
601 if (config.mOrientation == HORIZONTAL) {
608 RecyclerView recyclerView = setupBasic(config, adapter);
H A DStaggeredGridLayoutManagerTest.java164 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/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DMyGLSurfaceView.java146 public void onSurfaceCreated(GL10 glUnused, EGLConfig config) { argument
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.h120 effect_config_t config; member in struct:EffectContext
/frameworks/av/media/libeffects/testlibs/
H A DEffectEqualizer.cpp108 effect_config_t config; member in struct:android::__anon248::EqualizerContext
247 pContext->config = *pConfig;
275 *pConfig = pContext->config;
304 pContext->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ;
305 pContext->config.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO;
306 pContext->config.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT;
307 pContext->config.inputCfg.samplingRate = 44100;
308 pContext->config.inputCfg.bufferProvider.getBuffer = NULL;
309 pContext->config.inputCfg.bufferProvider.releaseBuffer = NULL;
310 pContext->config
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4AudioAssembler.cpp454 CHECK(GetAttribute(params.c_str(), "config", &val));
456 sp<ABuffer> config = decodeHex(val); local
457 CHECK(config != NULL);
459 ABitReader bits(config->data(), config->size());
466 ALOGW("Failed to parse stream mux config, using default values for playback.");
H A DAPacketSource.cpp225 CHECK(GetAttribute(params, "config", &val));
227 sp<ABuffer> config = decodeHex(val); local
228 CHECK(config != NULL);
229 CHECK_GE(config->size(), 4u);
231 const uint8_t *data = config->data();
273 CHECK(GetAttribute(params, "config", &val));
275 sp<ABuffer> config = decodeHex(val); local
276 CHECK(config != NULL);
280 CHECK_LT(20 + config->size(), 128u);
297 sp<ABuffer> csd = new ABuffer(sizeof(kStaticESDS) + config
335 ExtractDimensionsMPEG4Config( const sp<ABuffer> &config, int32_t *width, int32_t *height) argument
370 sp<ABuffer> config = decodeHex(val); local
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPort.cpp100 ALOGE("%s: bailing out: cannot export profiles to port config", __FUNCTION__);
390 status_t AudioPortConfig::applyAudioPortConfig(const struct audio_port_config *config, argument
396 localBackupConfig.config_mask = config->config_mask;
404 status = audioport->checkExactAudioProfile(config->sample_rate,
405 config->channel_mask,
406 config->format);
410 if (config->config_mask & AUDIO_PORT_CONFIG_SAMPLE_RATE) {
411 mSamplingRate = config->sample_rate;
413 if (config->config_mask & AUDIO_PORT_CONFIG_CHANNEL_MASK) {
414 mChannelMask = config
[all...]

Completed in 1160 milliseconds

1234567891011>>