/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowUsbManagerTest.java | 71 assertThat(usbManager.hasPermission(usbDevice1)).isFalse(); in hasPermission_device() 76 assertThat(usbManager.hasPermission(usbDevice1)).isFalse(); in hasPermission_device() 77 assertThat(usbManager.hasPermission(usbDevice2)).isFalse(); in hasPermission_device() 81 assertThat(usbManager.hasPermission(usbDevice1)).isTrue(); in hasPermission_device() 82 assertThat(usbManager.hasPermission(usbDevice2)).isFalse(); in hasPermission_device() 87 assertThat(usbManager.hasPermission(usbAccessory)).isFalse(); in hasPermission_accessory() 89 assertThat(usbManager.hasPermission(usbAccessory)).isFalse(); in hasPermission_accessory() 91 assertThat(usbManager.hasPermission(usbAccessory)).isTrue(); in hasPermission_accessory() 94 assertThat(usbManager.hasPermission(usbAccessory)).isFalse(); in hasPermission_accessory() 102 assertThat(usbManager.hasPermission(usbDevice1)).isTrue(); in grantPermission_selfPackage_shouldHavePermission()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowBugreportManager.java | 24 private boolean hasPermission = true; field in ShadowBugreportManager 121 public void setHasPermission(boolean hasPermission) { in setHasPermission() argument 122 this.hasPermission = hasPermission; in setHasPermission() 126 if (!hasPermission) { in enforcePermission()
|
D | ShadowCrossProfileApps.java | 320 return hasPermission(permission.INTERACT_ACROSS_USERS_FULL) in canInteractAcrossProfiles() 321 || hasPermission(permission.INTERACT_ACROSS_PROFILES) in canInteractAcrossProfiles() 322 || hasPermission(permission.INTERACT_ACROSS_USERS) in canInteractAcrossProfiles() 384 private boolean hasPermission(String permission) { in hasPermission() method in ShadowCrossProfileApps 413 if (!hasPermission(permission.INTERACT_ACROSS_USERS) in setInteractAcrossProfilesAppOp() 414 || !hasPermission(permission.CONFIGURE_INTERACT_ACROSS_PROFILES)) { in setInteractAcrossProfilesAppOp()
|
D | ShadowUsbManager.java | 68 protected boolean hasPermission(UsbDevice device) { in hasPermission() method in ShadowUsbManager 80 protected boolean hasPermission(UsbAccessory accessory) { in hasPermission() method in ShadowUsbManager 170 public void addOrUpdateUsbDevice(UsbDevice usbDevice, boolean hasPermission) { in addOrUpdateUsbDevice() argument 174 if (hasPermission) { in addOrUpdateUsbDevice()
|
D | ShadowWifiManager.java | 471 public void setUpdateNetworkPermission(int networkId, boolean hasPermission) { in setUpdateNetworkPermission() argument 472 readOnlyNetworkIds.set(networkId, !hasPermission); in setUpdateNetworkPermission()
|
D | ShadowInstrumentation.java | 371 boolean hasPermission = hasPermissionFromManifest || hasPermissionForBackwardsCompatibility; in broadcastReceiverMatchesIntent() 380 return matchesIntentClass || (hasPermission && matchesAction && matchesDataAndType); in broadcastReceiverMatchesIntent()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowUsbManagerTest.java | 67 public void hasPermission() { in hasPermission() method in ShadowUsbManagerTest 68 assertThat(usbManager.hasPermission(usbDevice1)).isFalse(); in hasPermission() 73 assertThat(usbManager.hasPermission(usbDevice1)).isFalse(); in hasPermission() 74 assertThat(usbManager.hasPermission(usbDevice2)).isFalse(); in hasPermission() 78 assertThat(usbManager.hasPermission(usbDevice1)).isTrue(); in hasPermission() 79 assertThat(usbManager.hasPermission(usbDevice2)).isFalse(); in hasPermission() 87 assertThat(usbManager.hasPermission(usbDevice1)).isTrue(); in grantPermission_selfPackage_shouldHavePermission()
|
/external/glide/library/src/main/java/com/bumptech/glide/manager/ |
D | ConnectivityMonitorFactory.java | 14 final boolean hasPermission = res == PackageManager.PERMISSION_GRANTED; in build() 15 if (hasPermission) { in build()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowUsbManager.java | 59 protected boolean hasPermission(UsbDevice device) { in hasPermission() method in ShadowUsbManager 127 public void addOrUpdateUsbDevice(UsbDevice usbDevice, boolean hasPermission) { in addOrUpdateUsbDevice() argument 131 if (hasPermission) { in addOrUpdateUsbDevice()
|
/external/lottie/sample/src/main/kotlin/com/airbnb/lottie/samples/utils/ |
D | TypeExtensions.kt | 42 fun String.hasPermission(context: Context): Boolean = in urlIntent() method 71 fun Context.hasPermission(permission: String): Boolean { in Float() method
|
/external/lottie/sample/src/main/kotlin/com/airbnb/lottie/samples/ |
D | PreviewFragment.kt | 15 import com.airbnb.lottie.samples.utils.hasPermission in <lambda>() 35 if (requireContext().hasPermission(Manifest.permission.CAMERA)) { in <lambda>()
|
/external/libtextclassifier/java/src/com/android/textclassifier/common/intent/ |
D | LabeledIntent.java | 119 if (!hasPermission(context, resolveInfo.activityInfo)) { in resolve() 234 private static boolean hasPermission(Context context, ActivityInfo info) { in hasPermission() method in LabeledIntent
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/ |
D | CameraActivity.java | 81 if (hasPermission()) { in onCreate() 286 private boolean hasPermission() { in hasPermission() method in CameraActivity
|
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | AppRTCBluetoothManager.java | 237 if (!hasPermission(apprtcContext, android.Manifest.permission.BLUETOOTH)) { in start() 416 protected boolean hasPermission(Context context, String permission) { in hasPermission() method in AppRTCBluetoothManager
|
/external/webrtc/examples/androidjunit/src/org/appspot/apprtc/ |
D | BluetoothManagerTest.java | 116 protected boolean hasPermission(Context context, String permission) { in setUp()
|
/external/ow2-asm/tools/retrofitter/src/main/resources/ |
D | jdk1.5.0.12.txt.gz |
|