Home
last modified time | relevance | path

Searched refs:uri (Results 1 – 7 of 7) sorted by relevance

/device/google/atv/FrameworkPackageStubs/src/com/android/browser/provider/
DSQLiteContentProvider.java69 public abstract Uri insertInTransaction(Uri uri, ContentValues values, in insertInTransaction() argument
75 public abstract int updateInTransaction(Uri uri, ContentValues values, String selection, in updateInTransaction() argument
81 public abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs, in deleteInTransaction() argument
88 protected void postNotifyUri(Uri uri) { in postNotifyUri() argument
90 mChangedUris.add(uri); in postNotifyUri()
94 public boolean isCallerSyncAdapter(Uri uri) { in isCallerSyncAdapter() argument
107 public Uri insert(Uri uri, ContentValues values) { in insert() argument
109 boolean callerIsSyncAdapter = isCallerSyncAdapter(uri); in insert()
115 result = insertInTransaction(uri, values, callerIsSyncAdapter); in insert()
123 result = insertInTransaction(uri, values, callerIsSyncAdapter); in insert()
[all …]
DBrowserProvider2.java487 public boolean isCallerSyncAdapter(Uri uri) { in isCallerSyncAdapter() argument
488 return uri.getBooleanQueryParameter(BrowserContract.CALLER_IS_SYNCADAPTER, false); in isCallerSyncAdapter()
492 public String getType(Uri uri) { in getType() argument
493 final int match = URI_MATCHER.match(uri); in getType()
519 Object[] getSelectionWithAccounts(Uri uri, String selection, String[] selectionArgs) { in getSelectionWithAccounts() argument
521 String accountType = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_TYPE); in getSelectionWithAccounts()
522 String accountName = uri.getQueryParameter(Bookmarks.PARAM_ACCOUNT_NAME); in getSelectionWithAccounts()
541 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
544 final int match = URI_MATCHER.match(uri); in query()
546 String limit = uri.getQueryParameter(BrowserContract.PARAM_LIMIT); in query()
[all …]
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/
DSlicesUtil.java45 static String getDeviceAddr(Uri uri) { in getDeviceAddr() argument
46 if (uri.getPathSegments().size() >= 2) { in getDeviceAddr()
47 return uri.getPathSegments().get(1).split(" ")[0]; in getDeviceAddr()
52 static boolean isGeneralPath(Uri uri) { in isGeneralPath() argument
53 return GENERAL_PATH.equals(getFirstSegment(uri)); in isGeneralPath()
56 static boolean isBluetoothDevicePath(Uri uri) { in isBluetoothDevicePath() argument
57 return BLUETOOTH_DEVICE_PATH.equals(getFirstSegment(uri)); in isBluetoothDevicePath()
60 static boolean isCecPath(Uri uri) { in isCecPath() argument
61 return CEC_PATH.equals(getFirstSegment(uri)); in isCecPath()
69 private static String getFirstSegment(Uri uri) { in getFirstSegment() argument
[all …]
DSliceBroadcastReceiver.java69 uris.forEach(uri -> { in onReceive()
70 context.getContentResolver().notifyChange(Uri.parse(uri), null); in onReceive()
/device/amlogic/yukawa/services/micmuteprovider/src/com/google/android/tv/hotword/
DHotwordMicToggleProvider.java62 public Cursor query(@NonNull Uri uri, String[] projection, String selection, in query() argument
64 if (HOTWORDMIC_URI.equals(uri) && isAllowedPackage()) { in query()
84 public Uri insert(@NonNull Uri uri, ContentValues values) { in insert() argument
90 public int delete(@NonNull Uri uri, String selection, String[] selectionArgs) { in delete() argument
97 @NonNull Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
103 public String getType(@NonNull Uri uri) { in getType() argument
/device/sample/apps/tv/LeanbackCustomizer/src/com/google/android/leanbacklauncher/partnercustomizer/
DPartnerReceiver.java146 Uri uri = intent.getData(); in getPackageName() local
147 String pkg = uri != null ? uri.getSchemeSpecificPart() : null; in getPackageName()
/device/google/cuttlefish/tools/
Dcreate_base_image.go271 `" --family="`+source_image_family+`" --source-uri="`+cloud_storage_file+