/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiApConfigStoreTest.java | 61 /* Create a temporary file for AP config file storage. */ 75 /* Remove the temporary AP config file. */ 84 WifiConfiguration config = new WifiConfiguration(); local 85 config.SSID = ssid; 86 config.preSharedKey = preSharedKey; 87 config.allowedKeyManagement.set(keyManagement); 88 config.apBand = band; 89 config.apChannel = channel; 90 return config; 93 private void writeApConfigFile(WifiConfiguration config) throws Exception [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
CaptureLayoutHelper.java | 250 PositionConfiguration config = new PositionConfiguration(); local 252 config.mPreviewRect.set(0, 0, width, height); 253 config.mBottomBarOverlay = true; 255 config.mBottomBarRect.set(width - mBottomBarOptimalHeight, 0, width, height); 257 config.mBottomBarRect.set(0, height - mBottomBarOptimalHeight, width, height); 279 config.mBottomBarOverlay = true; 282 config.mPreviewRect.set(0, height / 2 - previewShorterEdge / 2, previewLongerEdge, 284 config.mBottomBarRect.set(width - barSize, height / 2 - previewShorterEdge / 2, 287 config.mPreviewRect.set(width / 2 - previewShorterEdge / 2, 0, 289 config.mBottomBarRect.set(width / 2 - previewShorterEdge / 2, height - barSize [all...] |
/packages/services/Car/car-systemtest-lib/src/android/car/test/ |
VehicleHalEmulator.java | 84 * @param config 87 public synchronized void addProperty(VehiclePropConfig config, 90 VehicleHalProperty halProp = new VehicleHalProperty(config, handler); 91 mProperties.put(config.getProp(), halProp); 96 * @param config 99 public synchronized void addStaticProperty(VehiclePropConfig config, VehiclePropValue value) { 101 DefaultPropertyHandler handler = new DefaultPropertyHandler(config, value); 102 VehicleHalProperty halProp = new VehicleHalProperty(config, handler); 103 mProperties.put(config.getProp(), halProp); 150 public static void assertPropertyForGet(VehiclePropConfig config, int property) 209 VehiclePropConfig config = VehiclePropConfig.newBuilder(). local 265 public final VehiclePropConfig config; field in class:VehicleHalEmulator.VehicleHalProperty [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/ |
ResourceHelperTest.java | 41 public boolean checkAndSet(String value, FolderConfiguration config) { 101 FolderConfiguration config = new FolderConfiguration(); local 102 config.createDefault(); 105 ResourceQualifier qual = config.getQualifier(i);
|
/bionic/libc/malloc_debug/ |
Config.cpp | 44 #include "Config.h" 47 // Config constants 69 uint64_t option, size_t* value, bool* config, bool combo_option) 71 option(option), value(value), config(config), combo_option(combo_option) {} 79 bool* config = nullptr; member in struct:Feature 236 if (feature.config) { 237 *feature.config = true; 264 bool Config::SetFromProperties() {
|
/build/soong/common/ |
config.go | 32 const configFileName = "soong.config" 36 // config file. These will be included in the config struct. 45 type Config struct { 46 *config 49 // A config object represents the entire build configuration for Android. 50 type config struct { type 74 func loadConfig(config *config) error { 75 err := loadFromConfigFile(&config.FileConfigurableOptions, config.ConfigFileName [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
ConnectReqTestCase.java | 125 WifiP2pConfig config = new WifiP2pConfig(); local 126 config.deviceAddress = dev.deviceAddress; 127 config.wps.setup = wpsConfig; 128 mP2pMgr.connect(mChannel, config, actionListener);
|
/cts/common/util/src/com/android/compatibility/common/util/ |
DynamicConfig.java | 34 * Load dynamic config for test cases 45 public final static String CONFIG_FOLDER_ON_DEVICE = "/sdcard/dynamic-config-files/"; 47 System.getProperty("java.io.tmpdir") + "/dynamic-config-files/"; 49 System.getProperty("java.io.tmpdir") + "/dynamic-config-files/merged"; 72 File config = new File(configFolder, String.format("%s.dynamic", moduleName)); local 73 if (!config.exists()) { 76 return config;
|
/cts/tests/app/src/android/app/cts/ |
ActivityManagerMemoryClassTest.java | 179 Configuration config = context.getResources().getConfiguration(); local 180 return config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK;
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
LowRamDeviceTest.java | 145 Configuration config = getContext().getResources().getConfiguration(); local 146 return config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; 169 assertTrue("Device must specify low RAM property: ro.config.low_ram=true",
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-resourcesrc/src/android/security/net/config/cts/ |
ResourceSourceTest.java | 17 package android.security.net.config.cts; 19 import android.security.net.config.cts.CtsNetSecConfigResourcesSrcTestCases.R;
|
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/ |
TestUtils.java | 17 package android.security.net.config.cts;
|
/cts/tests/tests/theme/src/android/theme/cts/ |
DeviceDefaultTest.java | 150 Configuration config = context.getResources().getConfiguration(); local 151 int size = config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; 152 return config.isLayoutSizeAtLeast(Configuration.SCREENLAYOUT_SIZE_LARGE);
|
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
DigitalWatchFaceUtil.java | 97 * Callback interface to perform an action with the current config {@link DataMap} for 102 * Callback invoked with the current config {@link DataMap} for 105 void onConfigDataMapFetched(DataMap config); 113 * Asynchronously fetches the current config {@link DataMap} for {@link DigitalWatchFaceService} 116 * If the current config {@link DataItem} doesn't exist, it isn't created and the callback 139 * Overwrites (or sets, if not present) the keys in the current config {@link DataItem} with 140 * the ones appearing in the given {@link DataMap}. If the config DataItem doesn't exist, 143 * It is allowed that only some of the keys used in the config DataItem appear in 163 * Overwrites the current config {@link DataItem}'s {@link DataMap} with {@code newConfig}. 164 * If the config DataItem doesn't exist, it's created 196 DataMap config = dataMapItem.getDataMap(); local [all...] |
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
DigitalWatchFaceUtil.java | 97 * Callback interface to perform an action with the current config {@link DataMap} for 102 * Callback invoked with the current config {@link DataMap} for 105 void onConfigDataMapFetched(DataMap config); 113 * Asynchronously fetches the current config {@link DataMap} for {@link DigitalWatchFaceService} 116 * If the current config {@link DataItem} doesn't exist, it isn't created and the callback 139 * Overwrites (or sets, if not present) the keys in the current config {@link DataItem} with 140 * the ones appearing in the given {@link DataMap}. If the config DataItem doesn't exist, 143 * It is allowed that only some of the keys used in the config DataItem appear in 163 * Overwrites the current config {@link DataItem}'s {@link DataMap} with {@code newConfig}. 164 * If the config DataItem doesn't exist, it's created 196 DataMap config = dataMapItem.getDataMap(); local [all...] |
/development/ndk/platforms/android-9/samples/native-activity/jni/ |
main.c | 80 EGLConfig config; local 91 eglChooseConfig(display, attribs, &config, 1, &numConfigs); 97 eglGetConfigAttrib(display, config, EGL_NATIVE_VISUAL_ID, &format); 101 surface = eglCreateWindowSurface(display, config, engine->app->window, NULL); 102 context = eglCreateContext(display, config, NULL, NULL);
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
DigitalWatchFaceUtil.java | 97 * Callback interface to perform an action with the current config {@link DataMap} for 102 * Callback invoked with the current config {@link DataMap} for 105 void onConfigDataMapFetched(DataMap config); 113 * Asynchronously fetches the current config {@link DataMap} for {@link DigitalWatchFaceService} 116 * If the current config {@link DataItem} doesn't exist, it isn't created and the callback 139 * Overwrites (or sets, if not present) the keys in the current config {@link DataItem} with 140 * the ones appearing in the given {@link DataMap}. If the config DataItem doesn't exist, 143 * It is allowed that only some of the keys used in the config DataItem appear in 163 * Overwrites the current config {@link DataItem}'s {@link DataMap} with {@code newConfig}. 164 * If the config DataItem doesn't exist, it's created 196 DataMap config = dataMapItem.getDataMap(); local [all...] |
/device/google/marlin/vr/ |
vr.c | 44 // This list is manually synced with the thermal config 160 struct config_instance *config = (struct config_instance *)malloc(sizeof(struct config_instance)); local 161 memset(config, 0, sizeof(*config)); 163 config->cfg_desc = (char *)malloc(sizeof(char)*max_string_size); 164 memset(config->cfg_desc, 0, sizeof(char)*max_string_size); 166 config->algo_type = (char *)malloc(sizeof(char)*max_string_size); 167 memset(config->algo_type, 0, sizeof(char) * max_string_size); 169 config->fields = (struct field_data *)malloc(sizeof(struct field_data)); 170 memset(config->fields, 0, sizeof(*config->fields)) 201 struct config_instance *config = allocate_config_instance(); local 231 struct config_instance *config = allocate_config_instance(); local [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_pp.c | 163 mm_camera_repro_isp_config_t config; local 266 /* prepare repro isp config */ 271 /* preview size is larger than video, use preview config as repro isp config */ 281 /* config isp reprocess */ 282 memset(&config, 0, sizeof(mm_camera_repro_isp_config_t)); 283 config.src.format = pme->repro_config.format; 284 config.src.image_mode = pme->repro_config.image_mode; 285 config.src.width = pme->repro_config.width; 286 config.src.height = pme->repro_config.height [all...] |
/external/aac/libMpegTPEnc/src/ |
tpenc_latm.h | 124 CODER_CONFIG *config[LATM_MAX_PROGRAMS][LATM_MAX_LAYERS]; member in struct:__anon6927
|
/external/autotest/client/bin/ |
kernel.py | 26 Add a kernel with the specified tag to the boot config using the given 126 used to create the kernel, patches applied, config (base + changes), 139 <results_dir>/config/ 161 (holds config/, debug/, results/) 173 self.config_dir = os.path.join(subdir, 'config') 271 def config(self, config_file = '', config_list = None, defconfig = False, make = None): member in class:kernel 273 config = kernel_config.kernel_config(self.job, self.build_dir, 338 cfg = self.build_dir + '/.config' 345 self.config(make='oldconfig') 373 if kernel_config.modules_needed('.config') [all...] |
/external/autotest/client/common_lib/ |
global_config.py | 1 """A singleton class for accessing global config values 6 # The config values can be stored in 3 config files: 10 # When the code is running in Moblab, config values in moblab config override 11 # values in global config, and config values in shadow config override values 12 # in both moblab and global config. 14 # Config values in shadow config will override values in global config 81 config = None variable in class:global_config_class [all...] |
/external/avahi/avahi-core/ |
avahi-test.c | 21 #include <config.h> 332 AvahiServerConfig config; local 346 avahi_server_config_init(&config); 348 avahi_address_parse("192.168.50.1", AVAHI_PROTO_UNSPEC, &config.wide_area_servers[0]); 349 config.n_wide_area_servers = 1; 350 config.enable_wide_area = 1; 352 server = avahi_server_new(poll_api, &config, server_callback, NULL, &error); 353 avahi_server_config_free(&config);
|
/external/avahi/avahi-daemon/ |
static-hosts.c | 21 #include <config.h> 135 const AvahiServerConfig *config; local 136 config = avahi_server_get_config(avahi_server); 138 p = (h->address.proto == AVAHI_PROTO_INET && config->publish_a_on_ipv6) || 139 (h->address.proto == AVAHI_PROTO_INET6 && config->publish_aaaa_on_ipv4) ? AVAHI_PROTO_UNSPEC : h->address.proto;
|
/external/avahi/avahi-utils/ |
avahi-resolve.c | 21 #include <config.h> 53 typedef struct Config { 57 } Config; 170 static int parse_command_line(Config *c, const char *argv0, int argc, char *argv[]) { 229 Config config; local 240 if (parse_command_line(&config, argv0, argc, argv) < 0) 243 switch (config.command) { 276 if (config.verbose) { 296 if (config.command == COMMAND_RESOLVE_HOST_NAME) [all...] |