/development/samples/Vault/src/com/example/android/vault/ |
EncryptedDocument.java | 26 import org.json.JSONObject; 135 public JSONObject readMetadata() throws IOException, GeneralSecurityException { 149 final JSONObject meta = new JSONObject(rawMeta); 210 public void writeMetadataAndContent(JSONObject meta, ParcelFileDescriptor contentIn)
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/ |
AccessibilityInjector.java | 30 import org.json.JSONObject; 422 JSONObject json = new JSONObject(jsonParams); 453 JSONObject jsonObj = new JSONObject(jsonString);
|
JellyBeanAccessibilityInjector.java | 15 import org.json.JSONObject; 27 private JSONObject mAccessibilityJSONObject; 116 mAccessibilityJSONObject = new JSONObject();
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
InspectorTimelineAgent.h | 258 void appendRecord(PassRefPtr<JSONObject> data, const String& type, bool captureCallStack, LocalFrame*); 259 void pushCurrentRecord(PassRefPtr<JSONObject> data, const String& type, bool captureCallStack, LocalFrame*, bool hasLowLevelDetails = false); 263 void populateImageDetails(JSONObject* data, const RenderImage&); 274 PassRefPtr<TypeBuilder::Timeline::TimelineEvent> createRecordForEvent(const TraceEventDispatcher::TraceEvent&, const String& type, PassRefPtr<JSONObject> data); 314 RefPtr<JSONObject> m_gpuTask;
|
InspectorOverlay.cpp | 203 void setElementInfo(PassRefPtr<JSONObject> elementInfo) 218 RefPtr<JSONObject> object = JSONObject::create(); 226 PassRefPtr<JSONObject> asJSONObject() const 228 RefPtr<JSONObject> object = JSONObject::create(); 240 RefPtr<JSONObject> m_elementInfo; 516 static PassRefPtr<JSONObject> buildObjectForSize(const IntSize& size) 518 RefPtr<JSONObject> result = JSONObject::create() [all...] |
InspectorTimelineAgent.cpp | 177 TimelineRecordEntry(PassRefPtr<TimelineEvent> record, PassRefPtr<JSONObject> data, PassRefPtr<TypeBuilder::Array<TimelineEvent> > children, const String& type) 186 RefPtr<JSONObject> data; 227 void send(PassRefPtr<JSONObject>); 524 appendRecord(JSONObject::create(), TimelineRecordType::InvalidateLayout, true, frame); 561 pushCurrentRecord(JSONObject::create(), TimelineRecordType::UpdateLayerTree, false, 0); 577 appendRecord(JSONObject::create(), TimelineRecordType::ScheduleStyleRecalculation, true, document->frame()); 582 pushCurrentRecord(JSONObject::create(), TimelineRecordType::RecalculateStyles, true, document->frame()); 614 pushCurrentRecord(JSONObject::create(), TimelineRecordType::Paint, true, frame, true); 628 appendRecord(JSONObject::create(), TimelineRecordType::MarkFirstPaint, false, 0); 655 RefPtr<JSONObject> data = TimelineRecordFactory::createDecodeImageData(imageType) [all...] |
InspectorDebuggerAgent.cpp | 165 m_state->setObject(DebuggerAgentState::javaScriptBreakpoints, JSONObject::create()); 306 static PassRefPtr<JSONObject> buildObjectForBreakpointCookie(const String& url, int lineNumber, int columnNumber, const String& condition, bool isRegex, bool isAnti) 308 RefPtr<JSONObject> breakpointObject = JSONObject::create(); 358 RefPtr<JSONObject> breakpointsCookie = m_state->getObject(DebuggerAgentState::javaScriptBreakpoints); 380 static bool parseLocation(ErrorString* errorString, PassRefPtr<JSONObject> location, String* scriptId, int* lineNumber, int* columnNumber) 392 void InspectorDebuggerAgent::setBreakpoint(ErrorString* errorString, const RefPtr<JSONObject>& location, const String* const optionalCondition, BreakpointId* outBreakpointId, RefPtr<TypeBuilder::Debugger::Location>& actualLocation) 418 RefPtr<JSONObject> breakpointsCookie = m_state->getObject(DebuggerAgentState::javaScriptBreakpoints); 419 JSONObject::iterator it = breakpointsCookie->find(breakpointId); 422 RefPtr<JSONObject> breakpointObject = it->value->asObject() [all...] |
InspectorLayerTreeAgent.h | 82 virtual void snapshotCommandLog(ErrorString*, const String& snapshotId, RefPtr<TypeBuilder::Array<JSONObject> >&) OVERRIDE;
|
InspectorCSSAgent.h | 136 virtual void setPropertyText(ErrorString*, const String& styleSheetId, const RefPtr<JSONObject>& range, const String& text, RefPtr<TypeBuilder::CSS::CSSStyle>& result) OVERRIDE; 137 virtual void setRuleSelector(ErrorString*, const String& styleSheetId, const RefPtr<JSONObject>& range, const String& selector, RefPtr<TypeBuilder::CSS::CSSRule>& result) OVERRIDE; 139 virtual void addRule(ErrorString*, const String& styleSheetId, const String& ruleText, const RefPtr<JSONObject>& location, RefPtr<TypeBuilder::CSS::CSSRule>& result) OVERRIDE;
|
/external/chromium_org/third_party/libaddressinput/src/java/test/com/android/i18n/addressinput/ |
CacheDataTest.java | 23 import org.json.JSONObject; 57 JSONObject jsonObject = null; 59 jsonObject = new JSONObject(AddressDataMapLoader.DATA.get(id)); 64 cache.addToJsoMap(id, jsonObject); 76 JSONObject jsonObject = new JSONObject(AddressDataMapLoader.DATA.get(id)); 77 String jsonString = jsonObject.toString() [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
AutomaticActivity.java | 29 import org.json.JSONObject; 139 JSONObject mOutputJson = null; 140 JSONObject mInputJson = null; 164 mInputJson = new JSONObject(content.toString()); 174 mOutputJson = new JSONObject();
|
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/ |
AppRTCDemoActivity.java | 50 import org.json.JSONObject; 399 private void sendMessage(JSONObject json) { 404 private static void jsonPut(JSONObject json, String key, Object value) { 466 JSONObject json = new JSONObject(); 558 JSONObject json = new JSONObject(); 629 JSONObject json = new JSONObject(data);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
MockListener.java | 30 import org.json.JSONObject; 71 private ArrayMap<String, JSONObject> mNotifications = new ArrayMap<>(); 119 for (JSONObject payload: mNotifications.values()) { 203 JSONObject note = mNotifications.get(key); 221 JSONObject notification = new JSONObject();
|
/developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/ |
RecipeActivity.java | 35 import org.json.JSONObject; 87 JSONObject jsonObject = AssetUtils.loadJSONAsset(this, mRecipeName); 88 if (jsonObject != null) { 89 mRecipe = Recipe.fromJson(this, jsonObject);
|
/developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/ |
RecipeActivity.java | 35 import org.json.JSONObject; 87 JSONObject jsonObject = AssetUtils.loadJSONAsset(this, mRecipeName); 88 if (jsonObject != null) { 89 mRecipe = Recipe.fromJson(this, jsonObject);
|
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
RecipeActivity.java | 35 import org.json.JSONObject; 87 JSONObject jsonObject = AssetUtils.loadJSONAsset(this, mRecipeName); 88 if (jsonObject != null) { 89 mRecipe = Recipe.fromJson(this, jsonObject);
|
/prebuilts/misc/common/json/ |
json-prebuilt.jar | |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsUtils.java | 35 import org.json.JSONObject; 45 public static ByteBuffer jsonToByteBuffer(JSONObject jsonObj) { 82 public static JSONArray getOutputSpecs(JSONObject jsonObjTop)
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
NetworkUtilities.java | 36 import org.json.JSONObject; 163 // Convert our list of User objects into a list of JSONObject 164 List<JSONObject> jsonContacts = new ArrayList<JSONObject>();
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
PerfTraceEvent.java | 13 import org.json.JSONObject; 292 JSONObject traceObj = new JSONObject();
|
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/ |
FormatInterpreter.java | 22 import org.json.JSONObject; 271 JSONObject jsonObj = new JSONObject(new JSONTokener(jsonString));
|
/external/chromium_org/third_party/libaddressinput/src/java/testlibs/ |
json-20090211.jar | |
/libcore/json/src/test/java/org/json/ |
SelfUseTest.java | 42 private final JSONObject object = new JSONObject() { 43 @Override public JSONObject put(String name, Object value) throws JSONException {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
Account.java | 39 import org.json.JSONObject; 757 final JSONObject json = toJson(); 764 protected JSONObject toJson() { 766 final JSONObject json = new JSONObject(); 771 final JSONObject recvJson = mHostAuthRecv.toJson(); 774 final JSONObject sendJson = mHostAuthSend.toJson(); 791 final JSONObject json = new JSONObject(jsonString); 799 protected static Account fromJson(final JSONObject json) [all...] |
/packages/apps/Email/provider_src/com/android/email/mail/internet/ |
OAuthAuthenticator.java | 24 import org.json.JSONObject; 167 final JSONObject jsonResult = new JSONObject(builder.toString());
|