Home
last modified time | relevance | path

Searched refs:newUri (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapIMProvider.java100 Uri newUri = null; in onAccountChanged() local
106 newUri = BluetoothMapContract.buildAccountUri(mAuthority); in onAccountChanged()
108 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); in onAccountChanged()
112 Log.d(TAG, "onAccountChanged() accountId = " + accountId + " URI: " + newUri); in onAccountChanged()
114 mResolver.notifyChange(newUri, null); in onAccountChanged()
126 Uri newUri = null; in onMessageChanged() local
132 newUri = BluetoothMapContract.buildMessageUri(mAuthority); in onMessageChanged()
135 newUri = BluetoothMapContract.buildMessageUri(mAuthority, accountId); in onMessageChanged()
137 newUri = BluetoothMapContract.buildMessageUriWithId(mAuthority, accountId, in onMessageChanged()
143 + " URI: " + newUri); in onMessageChanged()
[all …]
DBluetoothMapEmailProvider.java241 Uri newUri = null; in onAccountChanged() local
247 newUri = BluetoothMapContract.buildAccountUri(mAuthority); in onAccountChanged()
249 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); in onAccountChanged()
252 Log.d(TAG, "onAccountChanged() accountId = " + accountId + " URI: " + newUri); in onAccountChanged()
254 mResolver.notifyChange(newUri, null); in onAccountChanged()
266 Uri newUri = null; in onMessageChanged() local
273 newUri = BluetoothMapContract.buildMessageUri(mAuthority); in onMessageChanged()
276 newUri = BluetoothMapContract.buildMessageUri(mAuthority, accountId); in onMessageChanged()
278 newUri = BluetoothMapContract.buildMessageUriWithId(mAuthority, accountId, in onMessageChanged()
284 + " URI: " + newUri); in onMessageChanged()
[all …]
/packages/providers/ContactsProvider/tests2/src/com/android/providers/contacts/tests2/
DAllUriTest.java673 final Uri newUri = mResolver.insert(uri, cv); in testAllOperations()
674 if (newUri == null) { in testAllOperations()
679 if (!newUri.toString().startsWith( in testAllOperations()
681 checkExecutable("insert -> update", newUri, true, () -> { in testAllOperations()
682 mResolver.update(newUri, cv, null, null); in testAllOperations()
685 checkExecutable("insert -> delete", newUri, true, () -> { in testAllOperations()
686 mResolver.delete(newUri, null, null); in testAllOperations()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentTable.java194 Uri newUri = ContentUris.withAppendedId(uriData.getUri(), rowId); in insertRow() local
196 updateVoicemailUri(db, newUri); in insertRow()
197 return newUri; in insertRow()
221 private void updateVoicemailUri(SQLiteDatabase db, Uri newUri) { in updateVoicemailUri() argument
223 values.put(Calls.VOICEMAIL_URI, newUri.toString()); in updateVoicemailUri()
227 db.update(mTableName, values, UriData.createUriData(newUri).getWhereClause(), null); in updateVoicemailUri()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DAccountImageChangeObserver.java72 String newUri = AccountImageHelper.getAccountPictureUri(mContext, mWatchedAccount); in onChange() local
74 if (TextUtils.equals(mCurrentImageUri, newUri)) { in onChange()
84 mCurrentImageUri = newUri; in onChange()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
DTestProvider.java113 Uri newUri = new Uri.Builder().scheme("content").authority(AUTHORITY).path(table) in insert() local
117 mMockStore.put(newUri.getPath(), values); in insert()
123 return newUri; in insert()
/packages/apps/Settings/src/com/android/settings/slices/
DSlicesFeatureProviderImpl.java78 final Uri newUri = CustomSliceRegistry.removeParameterFromUri(uri); in getSliceableFromUri() local
79 final Class clazz = CustomSliceRegistry.getSliceClassByUri(newUri); in getSliceableFromUri()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSlicesFeatureProviderImpl.java80 final Uri newUri = CustomSliceRegistry.removeParameterFromUri(uri); in getSliceableFromUri() local
81 final Class clazz = CustomSliceRegistry.getSliceClassByUri(newUri); in getSliceableFromUri()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DCarrierProvider.java84 Uri newUri = ContentUris.withAppendedId(CONTENT_URI, row); in insert() local
86 return newUri; in insert()
DCarrierIdProvider.java248 final Uri newUri = ContentUris.withAppendedId( in insert() local
252 return newUri; in insert()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java1658 Uri newUri = uncanonicalize(uri); in safeUncanonicalize() local
1659 if (newUri != null) { in safeUncanonicalize()
1660 return newUri; in safeUncanonicalize()
2997 Uri newUri = null; in insertInternal() local
3017 newUri = ContentUris.withAppendedId( in insertInternal()
3042 newUri = ContentUris.withAppendedId(Images.Thumbnails. in insertInternal()
3067 newUri = ContentUris.withAppendedId(Video.Thumbnails. in insertInternal()
3081 newUri = ContentUris.withAppendedId( in insertInternal()
3100 newUri = ContentUris.withAppendedId(uri, rowId); in insertInternal()
3120 newUri = ContentUris.withAppendedId(uri, rowId); in insertInternal()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewModel.java321 final FolderUri newUri = folder != null ? folder.folderUri : FolderUri.EMPTY; in onFolderUpdated() local
322 if (!old.equals(newUri)) { in onFolderUpdated()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java180 Uri newUri = DocumentsContract.renameDocument( in renameDocument() local
182 return DocumentInfo.fromUri(resolver, newUri); in renameDocument()
/packages/apps/Gallery/src/com/android/camera/
DCropImage.java372 Uri newUri = ImageManager.addImage( in saveOutput() local
383 .setAction(newUri.toString()) in saveOutput()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java3394 Builder newUri = contentUri.buildUpon(); in appendConvoListQueryParameters() local
3399 newUri.appendQueryParameter(BluetoothMapContract.FILTER_ORIGINATOR_SUBSTRING, str); in appendConvoListQueryParameters()
3403 newUri.appendQueryParameter(BluetoothMapContract.FILTER_PERIOD_BEGIN, in appendConvoListQueryParameters()
3408 newUri.appendQueryParameter(BluetoothMapContract.FILTER_PERIOD_END, in appendConvoListQueryParameters()
3415 newUri.appendQueryParameter(BluetoothMapContract.FILTER_READ_STATUS, "false"); in appendConvoListQueryParameters()
3418 newUri.appendQueryParameter(BluetoothMapContract.FILTER_READ_STATUS, "true"); in appendConvoListQueryParameters()
3429 newUri.appendQueryParameter(BluetoothMapContract.FILTER_THREAD_ID, in appendConvoListQueryParameters()
3432 return newUri.build(); in appendConvoListQueryParameters()
/packages/apps/Settings/src/com/android/settings/network/
DApnEditor.java1054 final Uri newUri = getContentResolver().insert(mCarrierUri, values); in updateApnDataToDatabase() local
1055 if (newUri == null) { in updateApnDataToDatabase()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DApnEditor.java1054 final Uri newUri = getContentResolver().insert(mCarrierUri, values); in updateApnDataToDatabase() local
1055 if (newUri == null) { in updateApnDataToDatabase()