Home
last modified time | relevance | path

Searched refs:throwException (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/transformation/
DAnchoredTranslate.kt41 fun throwException(scene: SceneKey?): Nothing { in transform() method
49 val anchor = layoutImpl.elements[anchor] ?: throwException(scene = null) in transform()
58 anchorOffsetIn(transition.fromScene) ?: throwException(transition.fromScene) in transform()
60 anchorOffsetIn(transition.toScene) ?: throwException(transition.toScene) in transform()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java189 throwException(resources, id); in getDrawable()
205 throwException(resources, id); in getDrawable()
236 throwException(resources, id); in getColor()
259 throwException(resources, id); in getColorStateList()
301 throwException(resources, id); in getText()
452 throwException(resources, id); in getArrayResourceValue()
498 throwException(resources, id, "layout"); in getLayout()
521 throwException(resources, id); in getAnimation()
607 throwException(resources, id); in getDimension()
636 throwException(resources, id); in getDimensionPixelOffset()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DInputContentInfo.java125 @NonNull ClipDescription description, @Nullable Uri linkUri, boolean throwException) { in validateInternal() argument
127 if (throwException) { in validateInternal()
133 if (throwException) { in validateInternal()
140 if (throwException) { in validateInternal()
149 if (throwException) { in validateInternal()
/frameworks/base/core/java/android/os/
DPersistableBundle.java128 private PersistableBundle(Bundle b, boolean throwException) { in PersistableBundle() argument
129 this(b.getItemwiseMap(), throwException); in PersistableBundle()
138 private PersistableBundle(ArrayMap<String, Object> map, boolean throwException) { in PersistableBundle() argument
152 new PersistableBundle((ArrayMap<String, Object>) value, throwException)); in PersistableBundle()
154 mMap.setValueAt(i, new PersistableBundle((Bundle) value, throwException)); in PersistableBundle()
158 if (throwException) { in PersistableBundle()
/frameworks/base/packages/PrintSpooler/jni/
Dcom_android_printspooler_util_BitmapSerializeUtils.cpp69 static void throwException(JNIEnv* env, const char* className, const char* message) { in throwException() function
76 throwException(env, className, message); in throwIllegalStateException()
81 throwException(env, className, message); in throwIllegalArgumentException()
/frameworks/base/services/core/jni/
Dcom_android_server_connectivity_Vpn.cpp254 static void throwException(JNIEnv *env, int error, const char *message) in throwException() function
267 throwException(env, tun, "Cannot create interface"); in create()
277 throwException(env, SYSTEM_ERROR, "Cannot get interface name"); in getName()
302 throwException(env, count, "Cannot set address"); in setAddresses()
324 throwException(env, SYSTEM_ERROR, "Cannot reset interface"); in reset()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DContactsQueryHelperTest.java210 public void setThrowSQLiteException(boolean throwException) { in setThrowSQLiteException() argument
211 this.mThrowSQLiteException = throwException; in setThrowSQLiteException()
214 public void setThrowIllegalArgumentException(boolean throwException) { in setThrowIllegalArgumentException() argument
215 this.mThrowIllegalArgumentException = throwException; in setThrowIllegalArgumentException()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/async/
DAsyncResultHelper.java55 public static void throwException( in throwException() method in AsyncResultHelper
/frameworks/base/telephony/common/com/android/internal/telephony/
DGsmAlphabet.java177 charToGsm(char c, boolean throwException) throws EncodeException { in charToGsm() argument
186 if (throwException) { in charToGsm()
398 boolean throwException, int languageTable, int languageShiftTable) in stringToGsm7BitPacked() argument
401 int septetCount = countGsmSeptetsUsingTables(data, !throwException, in stringToGsm7BitPacked()
423 if (throwException) { in stringToGsm7BitPacked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
DApduSender.java112 AsyncResultHelper.throwException( in send()
118 AsyncResultHelper.throwException( in send()
/frameworks/base/tools/traceinjection/src/com/android/traceinjection/
DTraceInjectionMethodAdapter.java125 throwException(); in visitMaxs()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserPermissionManager.java695 boolean throwException = false; in requestPermissionDialog()
704 throwException = true; in requestPermissionDialog()
707 throwException = true; in requestPermissionDialog()
709 if (throwException) in requestPermissionDialog()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelSingleUidTimeReaderTest.java382 public void letReadDataThrowException(boolean throwException) { in letReadDataThrowException() argument
383 mThrowExcpetion = throwException; in letReadDataThrowException()
/frameworks/base/core/java/android/app/
DFragmentManager.java746 private void throwException(RuntimeException ex) { in throwException() method in FragmentManagerImpl
930 throwException(new IllegalStateException("Fragment " + fragment in putFragment()
944 throwException(new IllegalStateException("Fragment no longer exists for key " in getFragment()
963 throwException(new IllegalStateException("Fragment " + fragment in saveFragmentInstanceState()
1282 throwException(new IllegalArgumentException( in moveToState()
1295 throwException(new IllegalArgumentException( in moveToState()
2726 throwException(new IllegalStateException( in saveAllState()
2741 throwException(new IllegalStateException( in saveAllState()
2781 throwException(new IllegalStateException( in saveAllState()
2838 throwException(new IllegalStateException("Could not find active fragment " in restoreAllState()
[all …]
/frameworks/base/core/java/android/provider/
DSettings.java21186 String callingPackage, boolean throwException) { in isCallingPackageAllowedToWriteSettings() argument
21189 throwException, AppOpsManager.OP_WRITE_SETTINGS, PM_WRITE_SETTINGS, in isCallingPackageAllowedToWriteSettings()
21202 @NonNull String callingPackage, boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
21204 throwException); in checkAndNoteWriteSettingsOperation()
21221 boolean throwException) { in checkAndNoteWriteSettingsOperation() argument
21223 callingPackage, callingAttributionTag, throwException, in checkAndNoteWriteSettingsOperation()
21236 String callingPackage, boolean throwException) { in isCallingPackageAllowedToDrawOverlays() argument
21239 throwException, AppOpsManager.OP_SYSTEM_ALERT_WINDOW, PM_SYSTEM_ALERT_WINDOW, in isCallingPackageAllowedToDrawOverlays()
21254 String callingPackage, String callingAttributionTag, boolean throwException) { in checkAndNoteDrawOverlaysOperation() argument
21256 callingPackage, callingAttributionTag, throwException, in checkAndNoteDrawOverlaysOperation()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DComputerEngine.java5537 boolean throwException = in canPackageQuery()
5540 for (int i = 0; !throwException && i < targetSize; i++) { in canPackageQuery()
5543 throwException = in canPackageQuery()
5547 if (throwException) { in canPackageQuery()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt44223 …method public void throwException() throws java.nio.BufferOverflowException, java.nio.BufferUnderf…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt5238 Landroid/app/FragmentManagerImpl;->throwException(Ljava/lang/RuntimeException;)V