/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 | 25 self.resolver = ELFResolver(lib_set, ['/system/lib', '/vendor/lib']) 28 r = self.resolver 58 r = self.resolver
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | DocumentsSample.java | 346 private Uri createDocument(ContentResolver resolver, Uri documentUri, String mimeType, in createDocument() argument 350 uri = DocumentsContract.createDocument(resolver, documentUri, mimeType, displayName); in createDocument() 357 private boolean deleteDocument(ContentResolver resolver, Uri documentUri) { in deleteDocument() argument 359 return DocumentsContract.deleteDocument(resolver, documentUri); in deleteDocument() 365 private Uri renameDocument(ContentResolver resolver, Uri uri, String newName) { in renameDocument() argument 367 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 | 1935 def _resolve_lib_dt_needed(self, lib, resolver): argument 1938 dep = resolver.resolve(dt_needed, lib.elf.dt_rpath, 1941 candidates = list(resolver.get_candidates( 1951 def _resolve_lib_deps(self, lib, resolver, generic_refs): argument 1953 imported_libs = self._resolve_lib_dt_needed(lib, resolver) 1966 def _resolve_lib_set_deps(self, lib_set, resolver, generic_refs): argument 1968 self._resolve_lib_deps(lib, resolver, generic_refs) 2024 resolver = ELFResolver(lib_dict, search_paths) 2025 self._resolve_lib_set_deps(system_libs, resolver, generic_refs) 2034 resolver = ELFResolver(lib_dict, search_paths) [all …]
|