Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 61) sorted by relevance

123

/development/tools/repo_diff/service/repodiff/controllers/
Ddifferential.go29 func ExecuteDifferentials(config ent.ApplicationConfig) error {
30 err := createWorkingPath(config.OutputDirectory)
35 commonManifest, err := defineCommonManifest(config)
40 for _, target := range config.DiffTargets {
42 err = clearOutputDirectory(config)
43 commitCSV, projectCSV, err := runPyScript(config, target)
47 err = TransferScriptOutputToDownstream(config, target, projectCSV, commitCSV, commonManifest)
55 func defineCommonManifest(config ent.ApplicationConfig) (*ent.ManifestFile, error) {
56 workingDirectory := filepath.Join(config.OutputDirectory, "common_upstream")
65 config.CommonUpstream.URL,
[all …]
Ddenormalize.go10 func DenormalizeData(config e.ApplicationConfig) error {
13 func() error { return denormalizeViewRecentProject(config) },
14 func() error { return denormalizeDiffRows(config) },
15 func() error { return denormalizeViewRecentCommit(config) },
20 func denormalizeViewRecentProject(config e.ApplicationConfig) error {
21 for _, target := range config.DiffTargets {
52 func denormalizeDiffRows(config e.ApplicationConfig) error {
53 for _, target := range config.DiffTargets {
91 func denormalizeViewRecentCommit(config e.ApplicationConfig) error {
92 for _, target := range config.DiffTargets {
/development/apps/CustomLocale/src/com/android/customlocale2/
DChangeLocale.java49 Configuration config = am.getConfiguration(); in changeSystemLocale() local
60 config.locale = loc; in changeSystemLocale()
64 config.userSetLocale = true; in changeSystemLocale()
66 am.updateConfiguration(config); in changeSystemLocale()
DCustomLocaleActivity.java265 Configuration config = am.getConfiguration(); in displayCurrentLocale() local
267 if (config.locale != null) { in displayCurrentLocale()
269 config.locale.toString(), in displayCurrentLocale()
270 config.locale.getDisplayName()); in displayCurrentLocale()
273 checkLocaleInList(config.locale.toString()); in displayCurrentLocale()
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DDigitalWatchFaceCompanionConfigActivity.java114 DataMap config = dataMapItem.getDataMap(); in onResult() local
115 setUpAllPickers(config); in onResult()
157 private void setUpAllPickers(DataMap config) { in setUpAllPickers() argument
158 setUpColorPickerSelection(R.id.background, KEY_BACKGROUND_COLOR, config, in setUpAllPickers()
160 setUpColorPickerSelection(R.id.hours, KEY_HOURS_COLOR, config, R.string.color_white); in setUpAllPickers()
161 setUpColorPickerSelection(R.id.minutes, KEY_MINUTES_COLOR, config, R.string.color_white); in setUpAllPickers()
162 setUpColorPickerSelection(R.id.seconds, KEY_SECONDS_COLOR, config, R.string.color_gray); in setUpAllPickers()
170 private void setUpColorPickerSelection(int spinnerId, final String configKey, DataMap config, in setUpColorPickerSelection() argument
175 if (config != null) { in setUpColorPickerSelection()
176 color = config.getInt(configKey, defaultColor); in setUpColorPickerSelection()
[all …]
/development/apps/Development/src/com/android/development/
DAppHwPref.java127 void displayTextView(int viewId, ConfigurationInfo[] config, int type) { in displayTextView() argument
128 if((config == null) || (config.length < 1)) { in displayTextView()
133 for(int i = 0; i < config.length; i++) { in displayTextView()
137 str = getTouchScreenStr(config[i]); in displayTextView()
140 str = getKeyboardTypeStr(config[i]); in displayTextView()
143 str = getNavigationStr(config[i]); in displayTextView()
146 str = config[i].getGlEsVersion(); in displayTextView()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceService.java557 private void setDefaultValuesForMissingConfigKeys(DataMap config) {
558 addIntKeyIfMissing(config, DigitalWatchFaceUtil.KEY_BACKGROUND_COLOR,
560 addIntKeyIfMissing(config, DigitalWatchFaceUtil.KEY_HOURS_COLOR,
562 addIntKeyIfMissing(config, DigitalWatchFaceUtil.KEY_MINUTES_COLOR,
564 addIntKeyIfMissing(config, DigitalWatchFaceUtil.KEY_SECONDS_COLOR,
568 private void addIntKeyIfMissing(DataMap config, String key, int color) {
569 if (!config.containsKey(key)) {
570 config.putInt(key, color);
588 DataMap config = dataMapItem.getDataMap();
590 Log.d(TAG, "Config DataItem updated:" + config);
[all …]
DDigitalWatchFaceUtil.java105 void onConfigDataMapFetched(DataMap config); in onConfigDataMapFetched() argument
196 DataMap config = dataMapItem.getDataMap(); in onResult() local
197 mCallback.onConfigDataMapFetched(config); in onResult()
/development/apps/SdkSetup/src/com/android/sdksetup/
DDefaultActivity.java52 WifiConfiguration config = new WifiConfiguration(); in onCreate() local
53 config.SSID = "\"AndroidWifi\""; in onCreate()
54 config.setSecurityParams(WifiConfiguration.SECURITY_TYPE_OPEN); in onCreate()
56 int netId = mWifiManager.addNetwork(config); in onCreate()
/development/tools/winscope/src/flickerlib/windows/
DWindowContainer.ts50 const config = newConfigurationContainer(proto.configurationContainer) constant
56 config,
/development/tools/repo_diff/service/repodiff/
DDockerfile13 && cp config.json /go/bin/ \
27 COPY --from=0 /go/bin/config.json .
DMakefile8 DOCKER_TARGET_PORT=$(shell cat config.json | jq ".port")
108 gcloud config set project $(PROJECT_NAME)
172 gcloud config set project $(GOOGLE_PROJECT_ID)
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/config/
DGlideConfiguration.java17 package com.example.android.xyztouristattractions.config;
/development/samples/training/testingfun/app/tests/
Dproject.properties11 #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
/development/samples/training/basic/FragmentBasics/
Dproject.properties11 #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
/development/samples/ControllerSample/
Dproject.properties11 #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
Dproguard-project.txt2 # to define the proguard.config property as described in that file.
/development/samples/training/testingfun/app/
Dproject.properties11 #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
/development/samples/training/NsdChat/
Dproject.properties11 #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DDeviceDetailFragment.java73 WifiP2pConfig config = new WifiP2pConfig(); in onCreateView()
74 config.deviceAddress = device.deviceAddress; in onCreateView()
75 config.wps.setup = WpsInfo.PBC; in onCreateView()
89 ((DeviceActionListener) getActivity()).connect(config); in onCreateView()
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DWiFiServiceDiscoveryActivity.java314 WifiP2pConfig config = new WifiP2pConfig(); in connectP2p() local
315 config.deviceAddress = service.device.deviceAddress; in connectP2p()
316 config.wps.setup = WpsInfo.PBC; in connectP2p()
330 manager.connect(channel, config, new ActionListener() { in connectP2p()
/development/tools/winscope/adb_proxy/
Dwinscope_proxy.py168 def add(self, config: str) -> None:
169 self.flags |= CONFIG_FLAG[config]
171 def is_valid(self, config: str) -> bool:
172 return config in CONFIG_FLAG
585 config = SurfaceFlingerTraceConfig()
587 if not config.is_valid(requested_config):
590 config.add(requested_config)
598 command = config.command()
/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/
DMultiClientInputMethod.java137 String config[] = context.getResources().getStringArray( in buildInputDisplayToImeDisplay() local
142 for (String item: config) { in buildInputDisplayToImeDisplay()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageCache.java544 private static int getBytesPerPixel(Config config) { in getBytesPerPixel() argument
545 if (config == Config.ARGB_8888) { in getBytesPerPixel()
547 } else if (config == Config.RGB_565) { in getBytesPerPixel()
549 } else if (config == Config.ARGB_4444) { in getBytesPerPixel()
551 } else if (config == Config.ALPHA_8) { in getBytesPerPixel()
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/
DMyGLRenderer.java40 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument

123