Home
last modified time | relevance | path

Searched refs:json (Results 1 – 25 of 42) sorted by relevance

12

/development/tools/repo_diff/service/repodiff/entities/
Dentities.go8 URL string `json:"url"`
9 Branch string `json:"branch"`
13 Upstream Project `json:"upstream"`
14 Downstream Project `json:"downstream"`
18 OutputDirectory string `json:"output_directory"`
19 AndroidProjectDir string `json:"android_project_dir"`
20 DiffScript string `json:"diff_script"`
21 DiffTargets []DiffTarget `json:"diff_targets"`
22 Port int `json:"port"`
23 CommonUpstream Project `json:"common_upstream"`
/development/tools/repo_diff/service/repodiff/handlers/
Dhttp.go21 ApplicationStatus string `json:"application_status"`
22 JobStatus string `json:"job_status"`
23 Meta string `json:"meta"`
24 ElapsedTime string `json:"elapsed_time"`
28 serialized, err := json.MarshalIndent(entity, "", " ")
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
DRawContact.java21 import org.json.JSONObject;
22 import org.json.JSONException;
141 JSONObject json = new JSONObject(); in toJSONObject() local
145 json.put("f", mFirstName); in toJSONObject()
148 json.put("l", mLastName); in toJSONObject()
151 json.put("m", mCellPhone); in toJSONObject()
154 json.put("o", mOfficePhone); in toJSONObject()
157 json.put("h", mHomePhone); in toJSONObject()
160 json.put("e", mEmail); in toJSONObject()
163 json.put("i", mServerContactId); in toJSONObject()
[all …]
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DRecipe.java24 import org.json.JSONArray;
25 import org.json.JSONException;
26 import org.json.JSONObject;
63 public static Recipe fromJson(Context context, JSONObject json) { in fromJson() argument
66 recipe.titleText = json.getString(Constants.RECIPE_FIELD_TITLE); in fromJson()
67 recipe.summaryText = json.getString(Constants.RECIPE_FIELD_SUMMARY); in fromJson()
68 if (json.has(Constants.RECIPE_FIELD_IMAGE)) { in fromJson()
69 recipe.recipeImage = json.getString(Constants.RECIPE_FIELD_IMAGE); in fromJson()
71 JSONArray ingredients = json.getJSONArray(Constants.RECIPE_FIELD_INGREDIENTS); in fromJson()
78 JSONArray steps = json.getJSONArray(Constants.RECIPE_FIELD_STEPS); in fromJson()
DRecipeListAdapter.java30 import org.json.JSONArray;
31 import org.json.JSONException;
32 import org.json.JSONObject;
64 private List<Item> parseJson(JSONObject json) { in parseJson() argument
67 JSONArray items = json.getJSONArray(Constants.RECIPE_FIELD_LIST); in parseJson()
DAssetUtils.java24 import org.json.JSONException;
25 import org.json.JSONObject;
/development/tools/repo_diff/service/repodiff/
DDockerfile13 && cp config.json /go/bin/ \
16 && cp credentials.json /go/bin/
27 COPY --from=0 /go/bin/config.json .
29 COPY --from=0 /go/bin/credentials.json .
30 COPY --from=0 /go/bin/credentials.json .
45 ENV GOOGLE_APPLICATION_CREDENTIALS="/app/credentials.json"
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
DMusicProvider.java24 import org.json.JSONArray;
25 import org.json.JSONException;
26 import org.json.JSONObject;
250 private MediaMetadata buildFromJSON(JSONObject json, String basePath) throws JSONException { in buildFromJSON() argument
251 String title = json.getString(JSON_TITLE); in buildFromJSON()
252 String album = json.getString(JSON_ALBUM); in buildFromJSON()
253 String artist = json.getString(JSON_ARTIST); in buildFromJSON()
254 String genre = json.getString(JSON_GENRE); in buildFromJSON()
255 String source = json.getString(JSON_SOURCE); in buildFromJSON()
256 String iconUrl = json.getString(JSON_IMAGE); in buildFromJSON()
[all …]
/development/tools/repo_diff/service/repodiff/tools/
Denv_variable_dump.py1 import json
18 print "'%s'" % json.dumps(as_dict)
Denv_variable_load.py1 import json
20 for key, value in sorted(json.loads(serialized_env_vars).items()):
/development/tools/repo_diff/service/repodiff/persistence/filesystem/
Djson.go12 serialized, err := json.MarshalIndent(jsonEntity, "", fourSpaces)
32 return json.Unmarshal(fileContents, outputEntityAddress)
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
DJsonUtils.java21 import org.json.JSONException;
22 import org.json.JSONObject;
/development/vndk/tools/
Dsystem_image_diff.py6 import json
63 module_info = json.load(module_info_json)
95 module_info = json.load(module_info_json)
139 module_info = json.load(module_info_json)
/development/vndk/tools/sourcedr/ninja/
Dlist_installed_module_under_source.py5 import json
18 self._json = json.load(module_info_file)
/development/tools/ops/
Dandroid_test_parser.py2 import json
90 print json.dumps(
/development/tools/repo_pull/
Dgerrit.py25 import json
121 return json.loads(data)
142 data = json.dumps(data).encode('utf-8')
261 json.dump(change_lists, sys.stdout, indent=4, separators=(', ', ': '))
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DSimpleWikiHelper.java25 import org.json.JSONArray;
26 import org.json.JSONException;
27 import org.json.JSONObject;
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DSimpleWikiHelper.java25 import org.json.JSONArray;
26 import org.json.JSONException;
27 import org.json.JSONObject;
DExtendedWikiHelper.java19 import org.json.JSONArray;
20 import org.json.JSONException;
21 import org.json.JSONObject;
/development/tools/repo_diff/service/repodiff/remote_scripts/
Dgce_startup.sh12 echo "{\"graph\": \"/ssd/docker\"}" > /etc/docker/daemon.json
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarm.java19 import org.json.JSONException;
20 import org.json.JSONObject;
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/
DUserTest.java22 import org.json.JSONObject;
/development/vndk/tools/sourcedr/files/
Dlist_app_shared_uid.py23 import json
37 modules = json.load(json_file)
/development/vndk/tools/header-checker/
DAndroid.bp157 "src/repr/json/converter.cpp",
158 "src/repr/json/ir_dumper.cpp",
159 "src/repr/json/ir_reader.cpp",
/development/scripts/
Dboardconfig_usage_analysis.py5 import json
77 module_info = json.load(module_info_json)

12