/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothHealthCallback.aidl | 28 void onHealthAppConfigurationStatusChange(in BluetoothHealthAppConfiguration config, int status); 29 void onHealthChannelStateChange(in BluetoothHealthAppConfiguration config,
|
H A D | BluetoothHealth.java | 177 BluetoothHealthAppConfiguration config = 182 result = mService.registerAppConfiguration(config, wrapper); 199 * @param config The health app configuration 202 public boolean unregisterAppConfiguration(BluetoothHealthAppConfiguration config) { argument 204 if (mService != null && isEnabled() && config != null) { 206 result = mService.unregisterAppConfiguration(config); 226 * @param config The application configuration which has been registered using 228 * @return If true, the callback associated with the application config will be called. 231 BluetoothHealthAppConfiguration config) { 233 config ! 230 connectChannelToSource(BluetoothDevice device, BluetoothHealthAppConfiguration config) argument 259 connectChannelToSink(BluetoothDevice device, BluetoothHealthAppConfiguration config, int channelType) argument 288 disconnectChannel(BluetoothDevice device, BluetoothHealthAppConfiguration config, int channelId) argument 317 getMainChannelFd(BluetoothDevice device, BluetoothHealthAppConfiguration config) argument 430 onHealthAppConfigurationStatusChange(BluetoothHealthAppConfiguration config, int status) argument 436 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationSignalExtractor.java | 44 * @param config information about which signals are important. 46 void setConfig(RankingConfig config); argument
|
/frameworks/compile/mclinker/include/mcld/Config/ |
H A D | Config.h | 17 #include <llvm/Config/config.h>
|
/frameworks/base/libs/androidfw/tests/ |
H A D | ConfigLocale_test.cpp | 25 ResTable_config config; local 26 config.packLanguage("en"); 28 EXPECT_EQ('e', config.language[0]); 29 EXPECT_EQ('n', config.language[1]); 32 config.unpackLanguage(out); 39 config.locale = 0; 40 config.unpackLanguage(out); 48 ResTable_config config; local 49 config.packRegion("US"); 51 EXPECT_EQ('U', config 63 ResTable_config config; local 79 ResTable_config config; local 103 ResTable_config config; local [all...] |
/frameworks/native/opengl/tests/swapinterval/ |
H A D | swapinterval.cpp | 41 EGLConfig config; local 57 dpy, configAttribs, window, &config); 65 eglGetConfigAttrib(dpy, config, EGL_RED_SIZE, &r); 66 eglGetConfigAttrib(dpy, config, EGL_GREEN_SIZE, &g); 67 eglGetConfigAttrib(dpy, config, EGL_BLUE_SIZE, &b); 68 eglGetConfigAttrib(dpy, config, EGL_ALPHA_SIZE, &a); 69 eglGetConfigAttrib(dpy, config, EGL_NATIVE_VISUAL_ID, &vid); 71 surface = eglCreateWindowSurface(dpy, config, window, NULL); 74 fprintf(stderr, "error: %s, config=%p, format = %d-%d-%d-%d, visual-id = %d\n", 75 EGLUtils::strerror(err), config, [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManagerTest.java | 77 void setupByConfig(Config config) throws Throwable { argument 78 mAdapter = new GridTestAdapter(config.mItemCount, config.mOrientation); 82 mLayoutManager = new WrappedLayoutManager(config.mSpanCount, 83 config.mOrientation); 84 mLayoutManager.setGapStrategy(config.mGapStrategy); 85 mLayoutManager.setReverseLayout(config.mReverseLayout); 91 for (Config config : mBaseVariations) { 92 rtlTest(config, changeRtlAfter); 98 void rtlTest(Config config, boolea argument 144 scrollBackAndPreservePositionsTest(final Config config, final boolean saveRestoreInBetween) argument 313 getFirstLastChildrenTest(final Config config, final boolean provideArr) argument 451 gapInTheMiddle(Config config) argument 467 gapAtTheBeginningOfTheListTest(final Config config, int deletePosition, int deleteCount) argument 603 viewSnapTest(Config config) argument 782 saveRestore(Config config) argument 811 savedStateTest(Config config, boolean waitForLayout, PostLayoutRunnable postLayoutOperations) argument 877 scrollToPositionWithOffsetTest(Config config) argument 957 findInvisibleTarget(Config config) argument 988 scrollToPositionTest(Config config) argument 1107 layoutOrderTest(Config config) argument 1112 assertViewPositions(Config config) argument 1145 scrollByTest(Config config) argument 1242 consistentRelayoutTest(Config config, boolean firstChildMultiSpan) argument [all...] |
H A D | LinearLayoutManagerTest.java | 82 for (Config config : base) { 84 Config newConfig = (Config) config.clone(); 92 void setupByConfig(Config config, boolean waitForFirstLayout) throws Throwable { argument 95 mTestAdapter = config.mTestAdapter == null ? new TestAdapter(config.mItemCount) 96 : config.mTestAdapter; 98 mLayoutManager = new WrappedLinearLayoutManager(getActivity(), config.mOrientation, 99 config.mReverseLayout); 100 mLayoutManager.setStackFromEnd(config.mStackFromEnd); 101 mLayoutManager.setRecycleChildrenOnDetach(config 150 scrollToPositionWithOffsetTest(Config config) argument 231 findInvisibleTarget(Config config) argument 263 stackFromEndTest(final Config config) argument 474 getFirstLastChildrenTest(final Config config) argument 727 savedStateTest(Config config, boolean waitForLayout, PostLayoutRunnable postLayoutOperation, PostRestoreRunnable postRestoreOperation) argument 888 onAfterRestore(Config config) argument 893 shouldLayoutMatch(Config config) argument 897 onAfterReLayout(Config config) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderAction.java | 320 Configuration config = new Configuration(); 328 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_SMALL; 331 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_NORMAL; 334 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_LARGE; 337 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_XLARGE; 347 config.screenWidthDp = hardwareConfig.getScreenWidth() / density.getDpiValue(); 348 config.screenHeightDp = hardwareConfig.getScreenHeight() / density.getDpiValue(); 349 if (config.screenHeightDp < config.screenWidthDp) { 350 config [all...] |
/frameworks/native/opengl/tests/EGLTest/ |
H A D | EGL_test.cpp | 59 EGLConfig config; local 67 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs); 74 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]); 77 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]); 80 success = eglGetConfigAttrib(mEglDisplay, config, EGL_BLUE_SIZE, &components[2]); 91 EGLConfig config; local 101 EXPECT_TRUE(eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs)); 117 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, 129 EGLConfig config; local 141 success = eglChooseConfig(mEglDisplay, attrs, &config, [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/ |
H A D | MffTestCase.java | 46 MffContext.Config config = new MffContext.Config(); 47 config.requireCamera = false; 48 config.requireOpenGL = false; 49 config.forceNoGL = true; 50 return new MffContext(getContext(), config);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WpsInfo.java | 91 WpsInfo config = new WpsInfo(); 92 config.setup = in.readInt(); 93 config.BSSID = in.readString(); 94 config.pin = in.readString(); 95 return config;
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | IpConfigStore.java | 73 IpConfiguration config) throws IOException { 77 switch (config.ipAssignment) { 80 out.writeUTF(config.ipAssignment.toString()); 81 StaticIpConfiguration staticIpConfiguration = config.staticIpConfiguration; 104 out.writeUTF(config.ipAssignment.toString()); 115 switch (config.proxySettings) { 117 ProxyInfo proxyProperties = config.httpProxy; 120 out.writeUTF(config.proxySettings.toString()); 130 ProxyInfo proxyPacProperties = config.httpProxy; 132 out.writeUTF(config 72 writeConfig(DataOutputStream out, int configKey, IpConfiguration config) argument [all...] |
/frameworks/base/core/java/com/android/internal/net/ |
H A D | VpnConfig.java | 171 VpnConfig config = new VpnConfig(); 172 config.user = in.readString(); 173 config.interfaze = in.readString(); 174 config.session = in.readString(); 175 config.mtu = in.readInt(); 176 in.readTypedList(config.addresses, LinkAddress.CREATOR); 177 in.readTypedList(config.routes, RouteInfo.CREATOR); 178 config.dnsServers = in.createStringArrayList(); 179 config.searchDomains = in.createStringArrayList(); 180 config [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiAutoJoinController.java | 227 logDbg("addToScanCache save associated config " 447 for (WifiConfiguration config : networks) { 449 logDbg("updateConfigurationHistory got " + config.SSID + " nid=" 450 + Integer.toString(config.networkId)); 453 if (selected.configKey(true).equals(config.configKey(true))) { 459 int order = compareWifiConfigurationsRSSI(config, selected, null); 482 // The selected configuration was preferred over a recently seen config 484 // add the recently seen config to the selected's connectChoices array 491 + " over " + config.configKey(true) 494 Integer currentChoice = selected.connectChoices.get(config 1054 getConfigNetworkScore(WifiConfiguration config, int age, int rssiBoost) argument [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:__anon300 87 void AacInitDefaultConfig(AACENC_CONFIG *config); 98 const AACENC_CONFIG config); /* pre-initialized config struct */
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
H A D | WifiConnectionTest.java | 68 for (WifiConfiguration config : wifiConfigs) { 73 logv("Start wifi connection test to: %s", config.SSID); 74 connectToWifi(config); 81 logv("End wifi connection test to: %s", config.SSID); 118 for (WifiConfiguration config : wifiConfigs) { 119 logv(config.toString());
|
/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/base/cmds/bootanimation/ |
H A D | AudioPlayer.cpp | 140 bool AudioPlayer::init(const char* config) argument 147 const char* endl = strstr(config, "\n"); 149 String8 line(config, endl - config); 184 config = ++endl; 206 struct pcm_config config; local 270 memset(&config, 0, sizeof(config)); 271 config.channels = chunkFmt->num_channels; 272 config [all...] |
H A D | AudioPlayer.h | 29 bool init(const char* config);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
H A D | WifiApStress.java | 78 WifiConfiguration config = new WifiConfiguration(); 79 config.SSID = NETWORK_ID; 80 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); 81 config.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN); 82 config.preSharedKey = PASSWD; 86 mWifiManager.setWifiApEnabled(config, false)); 103 mWifiManager.setWifiApEnabled(config, true)); 118 mWifiManager.setWifiApEnabled(config, false));
|
/frameworks/base/tools/aapt/ |
H A D | ResourceFilter.h | 23 virtual bool match(const android::ResTable_config& config) const = 0; 37 bool match(const android::ResTable_config& config) const; 86 bool match(const android::ResTable_config& config) const { 89 if (iter->compare(config) == 0) { 112 bool match(const android::ResTable_config& config) const { 113 return !mFilter->match(config); 129 bool match(const android::ResTable_config& config) const { 132 if (!mFilters[i]->match(config)) {
|
H A D | AaptConfig.cpp | 36 ConfigDescription config; local 47 if (parseMcc(part, &config)) { 55 if (parseMnc(part, &config)) { 69 locale.writeTo(&config); 77 if (parseLayoutDirection(part, &config)) { 85 if (parseSmallestScreenWidthDp(part, &config)) { 93 if (parseScreenWidthDp(part, &config)) { 101 if (parseScreenHeightDp(part, &config)) { 109 if (parseScreenLayoutSize(part, &config)) { 117 if (parseScreenLayoutLong(part, &config)) { 228 ConfigDescription config; local 237 applyVersionForCompatibility(ConfigDescription* config) argument 789 getVersion(const ResTable_config& config) argument [all...] |
/frameworks/native/opengl/tests/include/ |
H A D | glTestLib.h | 32 void glTestPrintEGLConfiguration(EGLDisplay dpy, EGLConfig config);
|
/frameworks/base/core/java/android/app/usage/ |
H A D | UsageStatsManagerInternal.java | 42 * @param config The new device configuration. 44 public abstract void reportConfigurationChange(Configuration config, int userId); argument
|