Home
last modified time | relevance | path

Searched refs:fieldData (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DBaseModelUpdateTaskTestCase.java164 String[] fieldData = fieldDef[i].split("=", 2); in initItem() local
165 Field f = cache.get(fieldData[0]); in initItem()
168 f.set(item, Integer.parseInt(fieldData[1])); in initItem()
170 f.set(item, fieldData[1]); in initItem()
172 if (!fieldData[1].startsWith("#Intent")) { in initItem()
173 fieldData[1] = "#Intent;" + fieldData[1] + ";end"; in initItem()
175 f.set(item, Intent.parseUri(fieldData[1], 0)); in initItem()
177 f.set(item, ComponentName.unflattenFromString(fieldData[1])); in initItem()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DMetadataEntryParser.java201 final JSONObject fieldData = fieldDatas.getJSONObject(i); in parseDataToMetaDataEntry() local
202 final String dataHashId = fieldData.getString(FIELD_DATA_ID); in parseDataToMetaDataEntry()
206 final JSONObject fieldDataPrefs = fieldData.getJSONObject(FIELD_DATA_PREFS); in parseDataToMetaDataEntry()
211 if (fieldData.has(USAGE_STATS)) { in parseDataToMetaDataEntry()
212 final JSONArray usageStats = fieldData.getJSONArray(USAGE_STATS); in parseDataToMetaDataEntry()
DContactsProvider2.java5036 final FieldData fieldData = metadataEntry.mFieldDatas.get(i); in updateFromMetaDataEntry() local
5037 final String dataHashId = fieldData.mDataHashId; in updateFromMetaDataEntry()
5043 dataValues.put(Data.IS_PRIMARY, fieldData.mIsPrimary ? 1 : 0); in updateFromMetaDataEntry()
5044 dataValues.put(Data.IS_SUPER_PRIMARY, fieldData.mIsSuperPrimary ? 1 : 0); in updateFromMetaDataEntry()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java2953 FieldData fieldData = new FieldData(hashId, true, true, usageStatsList); in testUpdateFromMetadataEntry() local
2955 fieldDataList.add(fieldData); in testUpdateFromMetadataEntry()