/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
D | ContactManager.java | 61 final ContentResolver resolver = context.getContentResolver(); in ensureSampleGroupExists() local 65 final Cursor cursor = resolver.query(Groups.CONTENT_URI, new String[] { Groups._ID }, in ensureSampleGroupExists() 87 final Uri newGroupUri = resolver.insert(Groups.CONTENT_URI, contentValues); in ensureSampleGroupExists() 109 final ContentResolver resolver = context.getContentResolver(); in updateContacts() local 110 final BatchOperation batchOperation = new BatchOperation(context, resolver); in updateContacts() 137 rawContactId = lookupRawContact(resolver, serverContactId); in updateContacts() 142 updateContact(context, resolver, rawContact, updateServerId, in updateContacts() 178 final ContentResolver resolver = context.getContentResolver(); in getDirtyContacts() local 179 final Cursor c = resolver.query(DirtyQuery.CONTENT_URI, in getDirtyContacts() 229 final ContentResolver resolver = context.getContentResolver(); in updateStatusMessages() local [all …]
|
D | BatchOperation.java | 43 public BatchOperation(Context context, ContentResolver resolver) { in BatchOperation() argument 44 mResolver = resolver; in BatchOperation()
|
/development/vndk/tools/definition-tool/tests/ |
D | test_elf_resolver.py | 22 self.resolver = ELFResolver(lib_set, ['/system/lib', '/vendor/lib']) 26 r = self.resolver 71 r = self.resolver
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | DocumentsSample.java | 387 private Uri createDocument(ContentResolver resolver, Uri documentUri, String mimeType, in createDocument() argument 391 uri = DocumentsContract.createDocument(resolver, documentUri, mimeType, displayName); in createDocument() 398 private boolean deleteDocument(ContentResolver resolver, Uri documentUri) { in deleteDocument() argument 400 return DocumentsContract.deleteDocument(resolver, documentUri); in deleteDocument() 406 private Uri renameDocument(ContentResolver resolver, Uri uri, String newName) { in renameDocument() argument 408 return DocumentsContract.renameDocument(resolver, uri, newName); in renameDocument()
|
/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/ |
D | ReceiveShare.java | 46 static CharSequence buildShareInfo(ContentResolver resolver, Intent intent) { in buildShareInfo() argument 63 AssetFileDescriptor afd = resolver.openAssetFileDescriptor( in buildShareInfo()
|
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/contacts/ |
D | ContactsFragment.java | 180 ContentResolver resolver = getActivity().getContentResolver(); in insertDummyContact() local 182 resolver.applyBatch(ContactsContract.AUTHORITY, operations); in insertDummyContact()
|
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/ |
D | DeviceOwnerFragment.java | 208 private static boolean getBooleanGlobalSetting(ContentResolver resolver, String setting) { in getBooleanGlobalSetting() argument 209 return 0 != Settings.Global.getInt(resolver, setting, 0); in getBooleanGlobalSetting()
|
/development/vndk/tools/definition-tool/ |
D | vndk_definition_tool.py | 2353 def _resolve_lib_dt_needed(self, lib, resolver): argument 2356 dep = resolver.resolve(lib.path, dt_needed, lib.elf.dt_rpath, 2359 candidates = list(resolver.get_candidates( 2371 def _resolve_lib_deps(self, lib, resolver, generic_refs): argument 2373 imported_libs = self._resolve_lib_dt_needed(lib, resolver) 2387 def _resolve_lib_set_deps(self, lib_set, resolver, generic_refs): argument 2389 self._resolve_lib_deps(lib, resolver, generic_refs) 2457 resolver = ELFResolver(lib_dict, search_paths) 2458 self._resolve_lib_set_deps(system_libs, resolver, generic_refs) 2468 resolver = ELFResolver(lib_dict, search_paths) [all …]
|