/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
Credential.java | 15 import org.json.JSONException; 16 import org.json.JSONObject; 174 final JSONObject json = new JSONObject(); local 175 json.put(PROVIDER_COLUMN, mProviderId); 176 json.putOpt(ACCESS_TOKEN_COLUMN, mAccessToken); 177 json.putOpt(REFRESH_TOKEN_COLUMN, mRefreshToken); 178 json.put(EXPIRATION_COLUMN, mExpiration); 179 return json; 186 protected static Credential fromJson(final JSONObject json) { 189 c.mProviderId = json.getString(PROVIDER_COLUMN) [all...] |
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/ |
ExtraAssistDataActivity.java | 25 import org.json.JSONException; 26 import org.json.JSONObject; 56 Log.i(TAG, "Failed to get Structured JSON to put into the AssistContent.");
|
/developers/build/prebuilts/gradle/Quiz/Application/src/main/java/com/example/android/wearable/quiz/ |
JsonUtils.java | 21 import org.json.JSONException; 22 import org.json.JSONObject;
|
/developers/samples/android/wearable/wear/Quiz/Application/src/main/java/com/example/android/wearable/quiz/ |
JsonUtils.java | 21 import org.json.JSONException; 22 import org.json.JSONObject;
|
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/ |
JsonUtils.java | 21 import org.json.JSONException; 22 import org.json.JSONObject;
|
/external/autotest/client/site_tests/graphics_dEQP/ |
diff.sh | 7 rm expectations/${gpu}/*.json
|
/external/autotest/client/site_tests/platform_DebugDaemonGetModemStatus/ |
platform_DebugDaemonGetModemStatus.py | 6 import json 20 modems = json.loads(result)
|
/external/autotest/client/site_tests/platform_DebugDaemonGetNetworkStatus/ |
platform_DebugDaemonGetNetworkStatus.py | 6 import json 22 networks = json.loads(result)
|
/external/autotest/frontend/client/src/autotest/afe/ |
RecurringTable.java | 7 import com.google.gwt.json.client.JSONObject; 8 import com.google.gwt.json.client.JSONString;
|
/external/autotest/frontend/client/src/autotest/common/ |
JSONArrayList.java | 3 import com.google.gwt.json.client.JSONArray; 4 import com.google.gwt.json.client.JSONValue;
|
/external/autotest/frontend/client/src/autotest/common/table/ |
SimpleFilter.java | 3 import com.google.gwt.json.client.JSONObject; 4 import com.google.gwt.json.client.JSONValue;
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
chart_handler.py | 7 import json 25 template_values['revision_info'] = json.dumps(
|
list_monitored_tests.py | 7 import json 19 """Returns a JSON list of tests for a sheriff. 28 self.response.out.write(json.dumps(_ListMonitoredTests(sheriff)))
|
/external/chromium-trace/catapult/firefighter/update/common/buildbot/ |
network.py | 5 import json 20 return json.loads(FetchText(url))
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
chrome_controller_unittest.py | 6 import json 39 json.loads(f.read())
|
perf_controller_unittest.py | 6 import json 38 json.loads(f.read())
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/ |
inspector_memory.py | 4 import json 48 json.dumps(res, indent=2))
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/ |
exceptions.py | 23 from boto.compat import json 32 body = json.loads(self.body)
|
response.py | 23 from boto.compat import json 29 containing the combined keys received via JSON in the body (if 40 if http_response.getheader('Content-Type') == 'application/json': 41 body = json.loads(http_response.read().decode('utf-8'))
|
/external/v8/test/simdjs/ |
generate.py | 6 # Script to re-generate SimdJs.json from a SimdJs.json.template. 8 import json 59 with open(os.path.join(SCRIPT_DIR, 'SimdJs.json'), 'w') as fh: 60 fh.write(json.dumps(output, separators=(',',': '), indent=2, sort_keys=True))
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
AssetMatcherFactory.java | 19 import org.json.JSONException; 20 import org.json.JSONObject; 23 * Factory to create asset matcher from JSON string.
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/utils/ |
Utils.java | 45 String json = new String(bytes); local 46 return json;
|
/prebuilts/go/darwin-x86/doc/progs/ |
json1.go | 8 "encoding/json" 23 b, err := json.Marshal(m) 39 err := json.Unmarshal(b, &m) 67 err := json.Unmarshal(b, &m)
|
/prebuilts/go/linux-x86/doc/progs/ |
json1.go | 8 "encoding/json" 23 b, err := json.Marshal(m) 39 err := json.Unmarshal(b, &m) 67 err := json.Unmarshal(b, &m)
|
/cts/libs/json/ |
Android.mk | 34 LOCAL_MODULE := json
|