Home
last modified time | relevance | path

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

123

/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/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/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/tools/repo_diff/service/repodiff/
DDockerfile12 && cp config.json /go/bin/ \
15 && cp credentials.json /go/bin/
26 COPY --from=0 /go/bin/config.json .
28 COPY --from=0 /go/bin/credentials.json .
29 COPY --from=0 /go/bin/credentials.json .
44 ENV GOOGLE_APPLICATION_CREDENTIALS="/app/credentials.json"
/development/vndk/tools/header-checker/src/utils/
Dapi_level.cpp29 Json::Value json; in Load() local
31 if (!Json::parseFromStream(builder, stream, &json, &error_message)) { in Load()
37 for (const Json::String &key : json.getMemberNames()) { in Load()
38 Json::Value value = json.get(key, null_value); in Load()
/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/motion/motion_test_watcher_app/
D.gitignore25 !.vscode/settings.json
26 !.vscode/tasks.json
27 !.vscode/launch.json
28 !.vscode/extensions.json
/development/tools/winscope/
D.gitignore28 !.vscode/settings.json
29 !.vscode/tasks.json
30 !.vscode/launch.json
31 !.vscode/extensions.json
DREADME.md27 * Copy the generated `intDefMapping.json` files to the `winscope`.
29json,collections; print(json.dumps(collections.OrderedDict(sorted(collections.ChainMap(*map(lambda…
/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/otagui/
Dweb_server.py32 import json
70 json.dumps([status.to_dict_basic()
78 json.dumps(status.to_dict_detail(target_lib)).encode()
88 json.dumps(builds_info).encode()
114 post_data = json.loads(self.rfile.read(content_length))
119 self.wfile.write(json.dumps(
129 json.dumps(post_data)
/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/tools/cargo_embargo/
Dregenerate_all.sh40 <h2>Using existing cargo_embargo.json</h2>
48 for config in */cargo_embargo.json; do
53 if (cd $crate && cargo_embargo generate cargo_embargo.json) 2> cargo_embargo.err; then
/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/tools/ninja_dependency_analysis/
Dcollect_ninja_inputs.py18 import json
89 json.dump(result, json_file, indent=2)
93 print(json.dumps(result, indent=2))
/development/treble/
Dread_build_trace_gz.py18 import json
39 self._trace_data = json.load(self._trace_file)
/development/vndk/tools/sourcedr/ninja/
Dlist_installed_module_under_source.py5 import json
18 self._json = json.load(module_info_file)
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DSimpleWikiHelper.java25 import org.json.JSONArray;
26 import org.json.JSONException;
27 import org.json.JSONObject;
/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/tools/ops/
Dandroid_test_parser.py2 import json
90 print json.dumps(

123