Home
last modified time | relevance | path

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

/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/
DTvContractUtils.java76 ContentResolver resolver = context.getContentResolver(); in updateChannels() local
78 cursor = resolver.query(channelsUri, projection, null, null, null); in updateChannels()
109 uri = resolver.insert(TvContract.Channels.CONTENT_URI, values); in updateChannels()
112 resolver.update(uri, values, null, null); in updateChannels()
127 resolver.delete(TvContract.buildChannelUri(rowId), null, null); in updateChannels()
131 public static int getChannelCount(ContentResolver resolver, String inputId) { in getChannelCount() argument
137 cursor = resolver.query(uri, projection, null, null, null); in getChannelCount()
153 public static LongSparseArray<ChannelInfo> buildChannelMap(ContentResolver resolver, in buildChannelMap() argument
164 cursor = resolver.query(uri, projection, null, null, null); in buildChannelMap()
185 public static long getLastProgramEndTimeMillis(ContentResolver resolver, Uri channelUri) { in getLastProgramEndTimeMillis() argument
[all …]
/developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
DContactsFragment.java173 ContentResolver resolver = getActivity().getContentResolver(); in insertDummyContact() local
175 resolver.applyBatch(ContactsContract.AUTHORITY, operations); in insertDummyContact()
/developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
DContactsFragment.java173 ContentResolver resolver = getActivity().getContentResolver(); in insertDummyContact() local
175 resolver.applyBatch(ContactsContract.AUTHORITY, operations); in insertDummyContact()
/developers/samples/android/admin/DeviceOwner/Application/src/main/java/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()
/developers/build/prebuilts/gradle/DeviceOwner/Application/src/main/java/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()