Home
last modified time | relevance | path

Searched refs:resolver (Results 1 – 8 of 8) sorted by relevance

/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
DContactManager.java61 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 …]
DBatchOperation.java43 public BatchOperation(Context context, ContentResolver resolver) { in BatchOperation() argument
44 mResolver = resolver; in BatchOperation()
/development/vndk/tools/definition-tool/tests/
Dtest_elf_resolver.py25 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/
DDocumentsSample.java346 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/
DReceiveShare.java46 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/
DContactsFragment.java180 ContentResolver resolver = getActivity().getContentResolver(); in insertDummyContact() local
182 resolver.applyBatch(ContactsContract.AUTHORITY, operations); in insertDummyContact()
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/
DDeviceOwnerFragment.java208 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/
Dvndk_definition_tool.py1935 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 …]