/development/vndk/tools/sourcedr/sourcedr/tests/ |
D | test_server.py | 3 import json 46 ret = response.json['result'] 56 deps = json.loads(response.json['deps']) 57 codes = json.loads(response.json['codes']) 59 cdata = json.load(f) 70 'deps': json.dumps(['this_is_a_test.so']), 71 'codes': json.dumps(['arr_0', 'arr_1'])
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
D | RawContact.java | 21 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 …]
|
D | NetworkUtilities.java | 34 import org.json.JSONArray; 35 import org.json.JSONException; 36 import org.json.JSONObject;
|
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
D | Recipe.java | 24 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()
|
D | RecipeListAdapter.java | 30 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()
|
D | AssetUtils.java | 24 import org.json.JSONException; 25 import org.json.JSONObject;
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/ |
D | MusicProvider.java | 24 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/vndk/tools/sourcedr/sourcedr/ |
D | server.py | 5 import json 51 return jsonify(lst=json.dumps(lst), 52 done=json.dumps(done), 53 pattern_lst=json.dumps(pattern_lst), 70 return jsonify(deps=json.dumps(deps), codes=json.dumps(codes), 71 okays=json.dumps(check(codes, source_dir))) 90 deps = json.loads(request.args.get('deps')) 91 codes = json.loads(request.args.get('codes')) 153 return jsonify(result=json.dumps(result))
|
D | review_db.py | 3 import json 89 json.dump(data, data_fp, sort_keys=True, indent=4) 94 return json.load(data_fp)
|
D | map.py | 9 import json 61 return load_build_dep_graph(json.load(fp))
|
D | project.py | 10 import json 49 config_json = json.load(config_fp) 66 json.dump(config, config_fp, indent=2)
|
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/ |
D | JsonUtils.java | 21 import org.json.JSONException; 22 import org.json.JSONObject;
|
/development/vndk/tools/sourcedr/sourcedr/commands/ |
D | collect.py | 5 import json 44 json.dump(res, f, sort_keys=True, indent=4)
|
/development/vndk/tools/ |
D | system_image_diff.py | 6 import json 52 module_info = json.load(module_info_json) 84 module_info = json.load(module_info_json)
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
D | SimpleWikiHelper.java | 25 import org.json.JSONArray; 26 import org.json.JSONException; 27 import org.json.JSONObject;
|
D | ExtendedWikiHelper.java | 19 import org.json.JSONArray; 20 import org.json.JSONException; 21 import org.json.JSONObject;
|
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
D | SimpleWikiHelper.java | 25 import org.json.JSONArray; 26 import org.json.JSONException; 27 import org.json.JSONObject;
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
D | Alarm.java | 19 import org.json.JSONException; 20 import org.json.JSONObject;
|
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/ |
D | UserTest.java | 22 import org.json.JSONObject;
|
/development/scripts/ |
D | boardconfig_usage_analysis.py | 5 import json 77 module_info = json.load(module_info_json)
|
/development/vndk/tools/definition-tool/tools/ |
D | update_dataset.py | 9 import json 36 data = json.load(fp)
|
/development/samples/Vault/src/com/example/android/vault/ |
D | EncryptedDocument.java | 25 import org.json.JSONException; 26 import org.json.JSONObject;
|
D | VaultProvider.java | 42 import org.json.JSONArray; 43 import org.json.JSONException; 44 import org.json.JSONObject;
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/ |
D | SyncAdapter.java | 25 import org.json.JSONException;
|
/development/tools/winscope/ |
D | yarn.lock | 90 json-stable-stringify "^1.0.1" 98 json-schema-traverse "^0.3.0" 99 json-stable-stringify "^1.0.1" 1186 parse-json "^2.2.0" 2344 json-loader@^0.5.4: 2346 …resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.7.tgz#dca14a70235ff82f0ac9a3a… 2348 json-schema-traverse@^0.3.0: 2350 …resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6… 2352 json-schema@0.2.3: 2354 …resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce72… [all …]
|