| /packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/ |
| D | FakeVhalConfigParserUnitTest.java | 107 String jsonString = "{\"properties\": 123}"; in testConfigFileRootIsNotArray() local 108 File tempFile = createTempFileWithContent(jsonString); in testConfigFileRootIsNotArray() 118 String jsonString = "{\"properties\": [{}, 123]}"; in testConfigFileRootHasElementIsNotJsonObject() local 119 File tempFile = createTempFileWithContent(jsonString); in testConfigFileRootHasElementIsNotJsonObject() 130 String jsonString = "{\"properties\": [{}]}"; in testParseEachPropertyJsonObjectIsEmpty() local 131 JSONObject jsonObject = new JSONObject(jsonString); in testParseEachPropertyJsonObjectIsEmpty() 133 File tempFile = createTempFileWithContent(jsonString); in testParseEachPropertyJsonObjectIsEmpty() 144 String jsonString = "{\"properties\": [{\"property\": 123," in testParsePropertyIdWithIntValue() local 147 File tempFile = createTempFileWithContent(jsonString); in testParsePropertyIdWithIntValue() 157 String jsonString = "{\"properties\": [{\"NotAPropIdFieldName\": 123}]}"; in testParsePropertyIdFieldNotExist() local [all …]
|
| D | FakeVehicleStubUnitTest.java | 182 String jsonString = "{\"properties\": [{\"property\": \"VehicleProperty::TIRE_PRESSURE\"," in testGetAllPropConfigsWithCustomConfigHasExistingPropId() local 184 List<File> customFileList = createFilenameList(jsonString); in testGetAllPropConfigsWithCustomConfigHasExistingPropId() 199 String jsonString = "{\"properties\": [{\"property\": 123," in testGetAllPropConfigsWithCustomConfigHasNonExistingPropId() local 204 List<File> customFileList = createFilenameList(jsonString); in testGetAllPropConfigsWithCustomConfigHasNonExistingPropId() 264 String jsonString = "{\"property\": 123," in testCustomFileParseFailure() local 269 List<File> customFileList = createFilenameList(jsonString); in testCustomFileParseFailure() 331 String jsonString = "{\"properties\": [{\"property\": " in testGetMethodNoReadPermission() local 334 List<File> customFileList = createFilenameList(jsonString); in testGetMethodNoReadPermission() 352 String jsonString = "{\"properties\": [{\"property\": " in testGetMethodPropIdIsGlobalHasNoDefaultValueAreaIdIgnored() local 354 List<File> customFileList = createFilenameList(jsonString); in testGetMethodPropIdIsGlobalHasNoDefaultValueAreaIdIgnored() [all …]
|
| /packages/services/Telephony/src/com/android/phone/utils/ |
| D | CarrierAllowListInfo.java | 80 String jsonString = getJsonFromAssets(context, in loadJsonFile() local 82 if (!TextUtils.isEmpty(jsonString)) { in loadJsonFile() 83 mDataJSON = new JSONObject(jsonString); in loadJsonFile()
|
| /packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
| D | DefaultWallpaperPreferences.java | 640 String jsonString = mNoBackupPrefs.getString( in addDailyRotation() local 643 JSONArray jsonArray = new JSONArray(jsonString); in addDailyRotation() 657 String jsonString = mNoBackupPrefs.getString( in getLastDailyRotationTimestamp() local 661 JSONArray jsonArray = new JSONArray(jsonString); in getLastDailyRotationTimestamp() 691 String jsonString = mNoBackupPrefs.getString( in getDailyRotationsInLastWeek() local 695 JSONArray jsonArray = new JSONArray(jsonString); in getDailyRotationsInLastWeek() 743 String jsonString = mNoBackupPrefs.getString( in getDailyRotationsPreviousDay() local 747 JSONArray jsonArray = new JSONArray(jsonString); in getDailyRotationsPreviousDay()
|
| /packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/ |
| D | Wikidata.java | 237 String jsonString = (String) object; in dumpJson() local 238 Clog.d(TAG, indent + name + jsonString + " (string)"); in dumpJson()
|
| /packages/apps/Dialer/java/com/android/dialer/phonenumbercache/ |
| D | ContactInfoHelper.java | 81 final String jsonString = in createTemporaryContactUri() local 93 .encodedFragment(jsonString) in createTemporaryContactUri()
|
| /packages/apps/Dialer/java/com/android/incallui/ |
| D | ContactInfoCache.java | 107 final String jsonString = in doInBackground() local 113 cacheInfo.setLookupKey(jsonString); in doInBackground()
|
| /packages/apps/Dialer/java/com/android/contacts/common/model/ |
| D | ContactLoader.java | 124 final String jsonString = uri.getEncodedFragment(); in loadEncodedContactEntity() local 125 final JSONObject json = new JSONObject(jsonString); in loadEncodedContactEntity()
|
| /packages/apps/Contacts/src/com/android/contacts/model/ |
| D | ContactLoader.java | 358 final String jsonString = uri.getEncodedFragment(); in loadEncodedContactEntity() local 359 final JSONObject json = new JSONObject(jsonString); in loadEncodedContactEntity()
|
| /packages/apps/Nfc/src/com/android/nfc/ |
| D | NfcService.java | 722 String jsonString = in initTagAppPrefList() local 725 if (jsonString != null) { in initTagAppPrefList() 726 JSONObject jsonObject = new JSONObject(jsonString); in initTagAppPrefList() 764 String jsonString = jsonObject.toString(); in storeTagAppPrefList() local 765 editor.remove(userIdStr).putString(userIdStr, jsonString).apply(); in storeTagAppPrefList()
|
| /packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
| D | TelephonyBackupAgentTest.java | 856 private String addRandomDataToJson(String jsonString) throws JSONException { in addRandomDataToJson() argument 857 JSONArray jsonArray = new JSONArray(jsonString); in addRandomDataToJson()
|