/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pService.java | 700 //TODO: if failure, remove config and do a regular p2pConnect() 840 WifiP2pConfig config = new WifiP2pConfig(); 841 config.deviceAddress = mSavedP2pGroup.getOwner().deviceAddress; 842 sendMessage(WifiP2pManager.CONNECT, config); 1029 WifiP2pConfig config = (WifiP2pConfig) message.obj; 1030 logd("Inviting device : " + config.deviceAddress); 1031 if (WifiNative.p2pInvite(mGroup, config.deviceAddress)) { 1032 updateDeviceStatus(config.deviceAddress, WifiP2pDevice.INVITED); 1160 private void notifyP2pGoNegotationRequest(WifiP2pConfig config) { argument 1162 WpsInfo wps = config [all...] |
/frameworks/base/core/java/android/view/ |
H A D | WindowManagerPolicy.java | 476 * @param config The Configuration being computed, for you to change as 479 public void adjustConfigurationLw(Configuration config); argument
|
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 559 static int checkFormat(SkBitmap::Config config, int format, int type) argument 561 switch(config) { 587 static int getInternalFormat(SkBitmap::Config config) argument 589 switch(config) { 605 static int getType(SkBitmap::Config config) argument 607 switch(config) { 629 SkBitmap::Config config = bitmap.getConfig(); local 630 return getInternalFormat(config); 639 SkBitmap::Config config = bitmap.getConfig(); local 640 return getType(config); 650 SkBitmap::Config config = bitmap.getConfig(); local 699 SkBitmap::Config config = bitmap.getConfig(); local [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 83 uint32_t typeSpecFlags, ResTable_config* config = NULL); 87 uint32_t typeSpecFlags, ResTable_config* config) 97 if (config != NULL) { 98 env->SetIntField(outValue, gTypedValueOffsets.mDensity, config->density); 523 ResTable_config config; local 524 memset(&config, 0, sizeof(config)); 528 config.mcc = (uint16_t)mcc; 529 config.mnc = (uint16_t)mnc; 530 config 85 copyValue(JNIEnv* env, jobject outValue, const ResTable* table, const Res_value& value, uint32_t ref, ssize_t block, uint32_t typeSpecFlags, ResTable_config* config) argument 695 ResTable_config config; local 894 ResTable_config config; local 1136 ResTable_config config; local 1286 ResTable_config config; local [all...] |
/frameworks/base/libs/utils/ |
H A D | AssetManager.cpp | 427 void AssetManager::setConfiguration(const ResTable_config& config, const char* locale) argument 430 *mConfig = config; 433 } else if (config.language[0] != 0) { 435 spec[0] = config.language[0]; 436 spec[1] = config.language[1]; 437 if (config.country[0] != 0) { 439 spec[3] = config.country[0]; 440 spec[4] = config.country[1];
|
/frameworks/base/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 832 int Session_SetConfig(preproc_session_t *session, effect_config_t *config) argument 835 uint32_t inCnl = popcount(config->inputCfg.channels); 836 uint32_t outCnl = popcount(config->outputCfg.channels); 838 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate || 839 config->inputCfg.format != config->outputCfg.format || 840 config->inputCfg.format != AUDIO_FORMAT_PCM_16_BIT) { 845 config->inputCfg.samplingRate, config 943 Session_SetReverseConfig(preproc_session_t *session, effect_config_t *config) argument [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 398 * Install a config chooser which will choose a config 416 * Install a config chooser which will choose a config 457 * EGLConfigChooser is responsible for choosing an OpenGL ES 2.0-compatible config. 694 * @param config the EGLConfig of the created surface. Can be used 697 void onSurfaceCreated(GL10 gl, EGLConfig config); argument 756 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { argument 760 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT, 787 EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, argument 794 createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) argument 941 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument [all...] |
/frameworks/base/opengl/libagl/ |
H A D | egl.cpp | 126 EGLConfig config; member in struct:android::egl_context_t 147 EGLConfig config; member in struct:android::egl_surface_t 150 egl_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat); 173 EGLConfig config, 175 : magic(MAGIC), dpy(dpy), config(config), ctx(0) 217 EGLDisplay dpy, EGLConfig config, 339 EGLConfig config, 342 : egl_surface_t(dpy, config, depthFormat), 634 EGLDisplay dpy, EGLConfig config, 172 egl_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat) argument 338 egl_window_surface_v2_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat, ANativeWindow* window) argument 649 egl_pixmap_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat, egl_native_pixmap_t const * pixmap) argument 712 egl_pbuffer_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat, int32_t w, int32_t h, int32_t f) argument 1181 getConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) argument 1210 createWindowSurface(EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list) argument 1259 createPixmapSurface(EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *attrib_list) argument 1305 createPbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) argument 1520 eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) argument 1533 eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list) argument 1540 eglCreatePixmapSurface( EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *attrib_list) argument 1547 eglCreatePbufferSurface( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) argument 1637 eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_list, const EGLint *attrib_list) argument 1964 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list) argument [all...] |
/frameworks/base/services/audioflinger/ |
H A D | AudioPolicyService.cpp | 225 audio_policy_forced_cfg_t config) 236 if (config < 0 || config >= AUDIO_POLICY_FORCE_CFG_CNT) { 241 mpAudioPolicy->set_force_use(mpAudioPolicy, usage, config); 224 setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) argument
|
/frameworks/base/services/java/com/android/server/ |
H A D | WifiService.java | 687 public int addOrUpdateNetwork(WifiConfiguration config) { argument 690 return mWifiStateMachine.syncAddOrUpdateNetwork(mWifiStateMachineChannel, config);
|
H A D | ConnectivityService.java | 2901 public ParcelFileDescriptor establishVpn(VpnConfig config) { argument 2902 return mVpn.establish(config); 2912 public void startLegacyVpn(VpnConfig config, String[] racoon, String[] mtpd) { argument 2913 mVpn.startLegacyVpn(config, racoon, mtpd);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityStack.java | 252 * soon, so want to skip intermediate config checks. 528 Configuration config = mService.mWindowManager.updateOrientationFromAppTokens( 531 mService.updateConfigurationLocked(config, r, false, false); 950 destroyActivityLocked(r, true, false, "stop-config"); 995 destroyActivityLocked(prev, true, false, "pause-config"); 1466 Configuration config = mService.mWindowManager.updateOrientationFromAppTokens( 1469 if (config != null) { 1472 updated = mService.updateConfigurationLocked(config, next, false, false); 1483 "Activity config changed during resume: " + next 2824 boolean autoStopProfiler, WaitResult outResult, Configuration config) { 2819 startActivityMayWait(IApplicationThread caller, int callingUid, Intent intent, String resolvedType, Uri[] grantedUriPermissions, int grantedMode, IBinder resultTo, String resultWho, int requestCode, boolean onlyIfNeeded, boolean debug, String profileFile, ParcelFileDescriptor profileFd, boolean autoStopProfiler, WaitResult outResult, Configuration config) argument 3201 activityIdleInternal(IBinder token, boolean fromTimeout, Configuration config) argument [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_InputManager.cpp | 1283 InputConfiguration config; local 1284 gNativeInputManager->getInputManager()->getReader()->getInputConfiguration(& config); 1286 env->SetIntField(configObj, gConfigurationClassInfo.touchscreen, config.touchScreen); 1287 env->SetIntField(configObj, gConfigurationClassInfo.keyboard, config.keyboard); 1288 env->SetIntField(configObj, gConfigurationClassInfo.navigation, config.navigation);
|
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
H A D | SipCommandInterface.java | 342 public void setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) { argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 1478 public void setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) { argument
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadCommands.java | 532 public void setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) { argument
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 117 ResTable_config config; local 120 if (getMccName(part.string(), &config)) { 122 *value = config.mcc; 127 if (getMncName(part.string(), &config)) { 129 *value = config.mnc; 149 if (getSmallestScreenWidthDpName(part.string(), &config)) { 151 *value = config.smallestScreenWidthDp; 156 if (getScreenWidthDpName(part.string(), &config)) { 158 *value = config.screenWidthDp; 163 if (getScreenHeightDpName(part.string(), &config)) { 264 getConfigValueForAxis(const ResTable_config& config, int axis) argument 307 configSameExcept(const ResTable_config& config, const ResTable_config& otherConfig, int axis) argument [all...] |
H A D | Command.cpp | 453 // Make a dummy config for retrieving resources... we need to supply 457 // version if they are using newer config types like density. 458 ResTable_config config; local 459 config.language[0] = 'e'; 460 config.language[1] = 'n'; 461 config.country[0] = 'U'; 462 config.country[1] = 'S'; 463 config.orientation = ResTable_config::ORIENTATION_PORT; 464 config.density = ResTable_config::DENSITY_MEDIUM; 465 config [all...] |
H A D | ResourceTable.cpp | 562 bool localeIsDefined(const ResTable_config& config) argument 564 return config.locale == 0; 570 const ResTable_config& config, 597 config.language[0], config.language[1], 598 config.country[0], config.country[1], 599 config.orientation, config.density, 607 &spans, &config, overwrit 567 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& product, bool pseudolocalize, const bool overwrite, ResourceTable* outTable) argument 638 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, bool pseudolocalize, const bool overwrite, ResourceTable* outTable) argument 2496 String8 config; local 2580 ConfigDescription config = c->getEntries().keyAt(ei); local 2716 ConfigDescription config = t->getUniqueConfigs().itemAt(ci); local 3330 getEntry(const String16& entry, const SourcePos& sourcePos, const ResTable_config* config, bool doSetIndex, bool overlay, bool autoAddOverlay) argument 3646 getEntry(const String16& package, const String16& type, const String16& name, const SourcePos& sourcePos, bool overlay, const ResTable_config* config, bool doSetIndex) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 125 * @param config the Configuration object for this render. 131 Configuration config, 138 mConfig = config; 128 BridgeContext(Object projectKey, DisplayMetrics metrics, RenderResources renderResources, IProjectCallback projectCallback, Configuration config, int targetSdkVersion) argument
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerNative.java | 179 Configuration config = Configuration.CREATOR.createFromParcel(data); 182 requestCode, onlyIfNeeded, debug, config); 356 Configuration config = null; 358 config = Configuration.CREATOR.createFromParcel(data); 362 activityIdle(token, config, stopProfiling); 756 Configuration config = getConfiguration(); 758 config.writeToParcel(reply, 0); 764 Configuration config = Configuration.CREATOR.createFromParcel(data); 765 updateConfiguration(config); 1113 ConfigurationInfo config 1671 startActivityWithConfig(IApplicationThread caller, Intent intent, String resolvedType, Uri[] grantedUriPermissions, int grantedMode, IBinder resultTo, String resultWho, int requestCode, boolean onlyIfNeeded, boolean debug, Configuration config) argument 1882 activityIdle(IBinder token, Configuration config, boolean stopProfiling) argument [all...] |
H A D | Activity.java | 4412 Configuration config) { 4414 lastNonConfigurationInstances, config); 4422 Configuration config) { 4457 mCurrentConfig = config; 4409 attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, NonConfigurationInstances lastNonConfigurationInstances, Configuration config) argument 4417 attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, int ident, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, NonConfigurationInstances lastNonConfigurationInstances, Configuration config) argument
|
H A D | ActivityThread.java | 374 Configuration config; field in class:ActivityThread.AppBindData 494 private void updatePendingConfiguration(Configuration config) { argument 497 mPendingConfiguration.isOtherSeqNewer(config)) { 498 mPendingConfiguration = config; 573 int configChanges, boolean notResumed, Configuration config) { 575 configChanges, notResumed, config, true); 671 Configuration config, CompatibilityInfo compatInfo, 691 data.config = config; 711 public void scheduleConfigurationChanged(Configuration config) { argument 571 scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config) argument 665 bindApplication(String processName, ApplicationInfo appInfo, List<ProviderInfo> providers, ComponentName instrumentationName, String profileFile, ParcelFileDescriptor profileFd, boolean autoStopProfiler, Bundle instrumentationArgs, IInstrumentationWatcher instrumentationWatcher, int debugMode, boolean isRestrictedBackupMode, boolean persistent, Configuration config, CompatibilityInfo compatInfo, Map<String, IBinder> services, Bundle coreSettings) argument 1425 applyConfigCompat(Configuration config, CompatibilityInfo compat) argument 1437 applyConfigCompatMainThread(Configuration config, CompatibilityInfo compat) argument 3187 requestRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config, boolean fromServer) argument 3429 performConfigurationChanged( ComponentCallbacks2 cb, Configuration config) argument 3475 applyConfigurationToResources(Configuration config) argument 3481 applyConfigurationToResourcesLocked(Configuration config, CompatibilityInfo compat) argument 3547 handleConfigurationChanged(Configuration config, CompatibilityInfo compat) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | RIL.java | 250 // The number of the required config values for broadcast SMS stored in the C struct 1954 public void setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) { argument 1957 int numOfConfig = config.length; 1961 rr.mp.writeInt(config[i].getFromServiceId()); 1962 rr.mp.writeInt(config[i].getToServiceId()); 1963 rr.mp.writeInt(config[i].getFromCodeScheme()); 1964 rr.mp.writeInt(config[i].getToCodeScheme()); 1965 rr.mp.writeInt(config[i].isSelected() ? 1 : 0); 1972 riljLog(config[i].toString());
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiStateMachine.java | 333 * config and issuing a save on supplicant config. 338 * supplicant config. 702 public void setWifiApConfiguration(WifiConfiguration config) { argument 703 mWifiApConfigChannel.sendMessage(CMD_SET_AP_CONFIG, config); 848 public int syncAddOrUpdateNetwork(AsyncChannel channel, WifiConfiguration config) { argument 849 Message resultMsg = channel.sendMessageSynchronously(CMD_ADD_OR_UPDATE_NETWORK, config); 945 public void startWps(Messenger replyTo, WpsInfo config) { argument 946 Message msg = obtainMessage(CMD_START_WPS, config); 1177 /* Clear the interface config t 1766 startSoftApWithConfig(final WifiConfiguration config) argument [all...] |