Searched refs:json (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Browser/src/com/android/browser/ |
D | GearsPermissionsDialog.java | 27 import org.json.JSONException; 28 import org.json.JSONObject; 53 JSONObject json = new JSONObject(mDialogArguments); in setup() local 55 if (json.has("dialogType")) { in setup() 56 mDialogType = json.getString("dialogType"); in setup() 60 if (!json.has("customName")) { in setup() 61 setLabel(json, "origin", R.id.origin_title); in setup() 68 setLabel(json, "customName", R.id.origin_title); in setup() 69 setLabel(json, "origin", R.id.origin_subtitle); in setup() 70 setLabel(json, "customMessage", R.id.origin_message); in setup() [all …]
|
D | GearsSettingsDialog.java | 50 import org.json.JSONArray; 51 import org.json.JSONException; 52 import org.json.JSONObject; 120 JSONObject json = new JSONObject(mDialogArguments); in setup() local 121 if (json.has("permissions")) { in setup() 122 JSONArray jsonArray = json.getJSONArray("permissions"); in setup()
|
D | GearsBaseDialog.java | 45 import org.json.JSONException; 46 import org.json.JSONObject; 237 void setLabel(JSONObject json, String name, int rsc) { in setLabel() argument 239 if (json.has(name)) { in setLabel() 240 String text = json.getString(name); in setLabel()
|
/packages/apps/GoogleSearch/src/com/android/googlesearch/ |
D | SuggestionProvider.java | 27 import org.json.JSONArray; 28 import org.json.JSONException;
|
/packages/providers/GoogleContactsProvider/src/com/android/providers/contacts/ |
D | ContactsSyncAdapter.java | 45 import org.json.JSONException; 46 import org.json.JSONObject;
|