/frameworks/base/core/java/android/app/role/ |
D | RoleManager.java | 201 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in createRequestRoleIntent() 216 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in isRoleAvailable() 232 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in isRoleHeld() 285 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in getRoleHoldersAsUser() 321 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in addRoleHolderAsUser() 322 Preconditions.checkStringNotEmpty(packageName, "packageName cannot be null or empty"); in addRoleHolderAsUser() 360 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in removeRoleHolderAsUser() 361 Preconditions.checkStringNotEmpty(packageName, "packageName cannot be null or empty"); in removeRoleHolderAsUser() 398 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in clearRoleHoldersAsUser() 563 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in addRoleHolderFromController() [all …]
|
D | RoleControllerService.java | 97 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in onBind() 98 Preconditions.checkStringNotEmpty(packageName, in onBind() 112 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in onBind() 113 Preconditions.checkStringNotEmpty(packageName, in onBind() 126 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in onBind() 146 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in onBind() 147 Preconditions.checkStringNotEmpty(packageName, in onBind() 159 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in onBind()
|
/frameworks/base/services/core/java/com/android/server/role/ |
D | RoleManagerService.java | 432 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in isRoleAvailable() 443 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in isRoleHeld() 444 Preconditions.checkStringNotEmpty(packageName, "packageName cannot be null or empty"); in isRoleHeld() 465 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in getRoleHoldersAsUser() 486 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in addRoleHolderAsUser() 487 Preconditions.checkStringNotEmpty(packageName, "packageName cannot be null or empty"); in addRoleHolderAsUser() 506 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in removeRoleHolderAsUser() 507 Preconditions.checkStringNotEmpty(packageName, "packageName cannot be null or empty"); in removeRoleHolderAsUser() 526 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in clearRoleHoldersAsUser() 589 Preconditions.checkStringNotEmpty(roleName, "roleName cannot be null or empty"); in addRoleHolderFromController() [all …]
|
/frameworks/base/core/java/android/debug/ |
D | PairDevice.java | 48 Preconditions.checkStringNotEmpty(name); in PairDevice() 49 Preconditions.checkStringNotEmpty(guid); in PairDevice()
|
/frameworks/base/core/java/android/printservice/recommendation/ |
D | RecommendationInfo.java | 63 mPackageName = Preconditions.checkStringNotEmpty(packageName); in RecommendationInfo() 64 mName = Preconditions.checkStringNotEmpty(name); in RecommendationInfo()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | Preconditions.java | 79 public static @NonNull <T extends CharSequence> T checkStringNotEmpty(final T string) { in checkStringNotEmpty() method in Preconditions 96 public static @NonNull <T extends CharSequence> T checkStringNotEmpty(final T string, in checkStringNotEmpty() method in Preconditions 114 public static @NonNull <T extends CharSequence> T checkStringNotEmpty( in checkStringNotEmpty() method in Preconditions
|
/frameworks/base/core/java/android/net/nsd/ |
D | NsdManager.java | 21 import static com.android.internal.util.Preconditions.checkStringNotEmpty; 574 checkStringNotEmpty(serviceType, "Service type cannot be empty"); in discoverServices() 653 checkStringNotEmpty(serviceInfo.getServiceName(), "Service name cannot be empty"); in checkServiceInfo() 654 checkStringNotEmpty(serviceInfo.getServiceType(), "Service type cannot be empty"); in checkServiceInfo()
|
/frameworks/base/services/core/java/com/android/server/adb/ |
D | AdbService.java | 283 Preconditions.checkStringNotEmpty(publicKey); in allowDebugging() 335 Preconditions.checkStringNotEmpty(bssid); in allowWirelessDebugging() 361 Preconditions.checkStringNotEmpty(fingerprint); in unpairDevice() 378 Preconditions.checkStringNotEmpty(serviceName); in enablePairingByQrCode() 379 Preconditions.checkStringNotEmpty(password); in enablePairingByQrCode()
|
/frameworks/base/core/java/android/permission/ |
D | PermissionControllerService.java | 30 import static com.android.internal.util.Preconditions.checkStringNotEmpty; 389 checkStringNotEmpty(callerPackageName); in onBind() 390 checkStringNotEmpty(packageName); in onBind() 391 checkStringNotEmpty(permission); in onBind()
|
D | PermissionControllerManager.java | 29 import static com.android.internal.util.Preconditions.checkStringNotEmpty; 302 checkStringNotEmpty(callerPackageName); in setRuntimePermissionGrantStateByDeviceAdmin() 303 checkStringNotEmpty(packageName); in setRuntimePermissionGrantStateByDeviceAdmin() 304 checkStringNotEmpty(permission); in setRuntimePermissionGrantStateByDeviceAdmin()
|
/frameworks/base/core/java/android/net/ |
D | StringNetworkSpecifier.java | 37 Preconditions.checkStringNotEmpty(specifier); in StringNetworkSpecifier()
|
D | Ikev2VpnProfile.java | 24 import static com.android.internal.util.Preconditions.checkStringNotEmpty; 155 checkStringNotEmpty(mServerAddr, MISSING_PARAM_MSG_TMPL, "Server Address"); in validate() 156 checkStringNotEmpty(mUserIdentity, MISSING_PARAM_MSG_TMPL, "User Identity"); in validate()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
D | Preconditions.java | 77 public static @NonNull <T extends CharSequence> T checkStringNotEmpty(final T string) { in checkStringNotEmpty() method in Preconditions 94 public static @NonNull <T extends CharSequence> T checkStringNotEmpty(final T string, in checkStringNotEmpty() method in Preconditions
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/ |
D | VendorConfig.java | 71 this.name = Preconditions.checkStringNotEmpty(name); in VendorConfig() 72 this.packageName = Preconditions.checkStringNotEmpty(packageName); in VendorConfig()
|
/frameworks/base/core/java/android/content/ |
D | LocusId.java | 74 mId = Preconditions.checkStringNotEmpty(id, "id cannot be empty"); in LocusId()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/ |
D | RemotePrintServicePlugin.java | 81 packageName = Preconditions.checkStringNotEmpty(mPlugin.getPackageName(), in RemotePrintServicePlugin()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbDevice.java | 85 mVersion = Preconditions.checkStringNotEmpty(version); in UsbDevice() 390 mVersion = Preconditions.checkStringNotEmpty(version); in Builder()
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutInfo.java | 412 mId = Preconditions.checkStringNotEmpty(b.mId, "Shortcut ID must be provided"); in ShortcutInfo() 520 Preconditions.checkStringNotEmpty(mId, "Shortcut ID must be provided"); in enforceMandatoryFields() 987 mId = Preconditions.checkStringNotEmpty(id, "id cannot be empty"); in setId() 999 mId = Preconditions.checkStringNotEmpty(id, "id cannot be empty"); in Builder() 1099 mTitle = Preconditions.checkStringNotEmpty(shortLabel, "shortLabel cannot be empty"); in setShortLabel() 1127 mText = Preconditions.checkStringNotEmpty(longLabel, "longLabel cannot be empty"); in setLongLabel() 1177 Preconditions.checkStringNotEmpty(disabledMessage, in setDisabledMessage()
|
/frameworks/base/core/java/android/os/ |
D | CoolingDevice.java | 87 mName = Preconditions.checkStringNotEmpty(name); in CoolingDevice()
|
D | Temperature.java | 118 mName = Preconditions.checkStringNotEmpty(name); in Temperature()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageItem.java | 51 mPackageName = Preconditions.checkStringNotEmpty(packageName); in ShortcutPackageItem()
|
/frameworks/base/core/java/android/app/ |
D | DirectAction.java | 59 mID = Preconditions.checkStringNotEmpty(id); in DirectAction()
|
/frameworks/base/core/java/android/print/ |
D | PrintDocumentInfo.java | 151 mName = Preconditions.checkStringNotEmpty(parcel.readString()); in PrintDocumentInfo()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | DeviceChooserActivity.java | 109 String callingPackage = Preconditions.checkStringNotEmpty( in getCallingAppName()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | TransferOwnershipMetadataManager.java | 190 Preconditions.checkStringNotEmpty(adminType); in Metadata()
|