Home
last modified time | relevance | path

Searched refs:th (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabaseCorruptException.java35 public static boolean isCorruptException(Throwable th) { in isCorruptException() argument
36 while (th != null) { in isCorruptException()
37 if (th instanceof SQLiteDatabaseCorruptException) { in isCorruptException()
40 th = th.getCause(); in isCorruptException()
/frameworks/base/telephony/java/android/telephony/
DTelephonyHistogram.java95 public TelephonyHistogram(TelephonyHistogram th) { in TelephonyHistogram() argument
96 mCategory = th.getCategory(); in TelephonyHistogram()
97 mId = th.getId(); in TelephonyHistogram()
98 mMinTimeMs = th.getMinTime(); in TelephonyHistogram()
99 mMaxTimeMs = th.getMaxTime(); in TelephonyHistogram()
100 mAverageTimeMs = th.getAverageTime(); in TelephonyHistogram()
101 mSampleCount = th.getSampleCount(); in TelephonyHistogram()
102 mInitialTimings = th.getInitialTimings(); in TelephonyHistogram()
103 mBucketCount = th.getBucketCount(); in TelephonyHistogram()
104 mBucketEndPoints = th.getBucketEndPoints(); in TelephonyHistogram()
[all …]
/frameworks/base/core/java/android/content/
DAbstractThreadedSyncAdapter.java231 } catch (RuntimeException | Error th) { in startSync()
233 Log.d(TAG, "startSync() caught exception", th); in startSync()
235 throw th; in startSync()
271 } catch (RuntimeException | Error th) { in cancelSync()
273 Log.d(TAG, "cancelSync() caught exception", th); in cancelSync()
275 throw th; in cancelSync()
351 } catch (RuntimeException | Error th) { in run()
353 Log.d(TAG, "caught exception", th); in run()
355 throw th; in run()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLaunchpadTabActivity.java36 TabHost th = getTabHost(); in onCreate() local
37 TabHost.TabSpec ts = th.newTabSpec("1"); in onCreate()
40 th.addTab(ts); in onCreate()
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
Daccessorychat.c90 pthread_t th; in usb_device_added() local
139 pthread_create(&th, NULL, read_thread, (void *)(uintptr_t)ep1->bEndpointAddress); in usb_device_added()
140 pthread_create(&th, NULL, write_thread, (void *)(uintptr_t)ep2->bEndpointAddress); in usb_device_added()
142 pthread_create(&th, NULL, read_thread, (void *)(uintptr_t)ep2->bEndpointAddress); in usb_device_added()
143 pthread_create(&th, NULL, write_thread, (void *)(uintptr_t)ep1->bEndpointAddress); in usb_device_added()
/frameworks/base/libs/usb/tests/accessorytest/
Dhid.c141 pthread_t th; in open_hid() local
142 pthread_create(&th, NULL, hid_thread, (void *)(uintptr_t)fd); in open_hid()
200 pthread_t th; in init_hid() local
201 pthread_create(&th, NULL, inotify_thread, NULL); in init_hid()
Dusb.c114 pthread_t th; in usb_device_added() local
150 pthread_create(&th, NULL, read_thread, NULL); in usb_device_added()
151 pthread_create(&th, NULL, write_thread, NULL); in usb_device_added()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DParseException.java22 public ParseException(int line, String message, Throwable th) { in ParseException() argument
23 super(message, th); in ParseException()
/frameworks/layoutlib/bridge/src/android/view/
DView_Delegate.java92 } catch (Throwable th) { in layout()
93 Bridge.getLog().error(LayoutLog.TAG_BROKEN, "View layout failed", th, null); in layout()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DImageProcessingActivityJB.java679 int th = mBitmapHeight; in startProcessor() local
681 if (tw > mScreenWidth || th > mScreenHeight) { in startProcessor()
683 float s2 = (float)th / (float)mScreenHeight; in startProcessor()
687 th /= s1; in startProcessor()
690 th /= s2; in startProcessor()
694 android.util.Log.v("rs", "TV sizes " + tw + ", " + th); in startProcessor()
697 mDisplayView.mHeight = th; in startProcessor()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dqisf_ns.tab272 * 4th split: isf8 to isf11
311 * 5th split: isf12 to isf15
Dqpisf_2s.tab937 * 2nd stage codebook; 4th split: isf2_9 to isf2_11
977 * 2nd stage codebook; 5th split: isf2_12 to isf2_15
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DImageProcessingActivity2.java724 int th = mBitmapHeight; in startProcessor() local
726 if (tw > mScreenWidth || th > mScreenHeight) { in startProcessor()
728 float s2 = (float)th / (float)mScreenHeight; in startProcessor()
732 th /= s1; in startProcessor()
735 th /= s2; in startProcessor()
739 android.util.Log.v("rs", "TV sizes " + tw + ", " + th); in startProcessor()
742 mDisplayViewIO.mHeight = th; in startProcessor()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/java/
DSystem_Delegate.java41 public static void log(String message, Throwable th) { in log() argument
/frameworks/compile/slang/tests/F_reflection3264_invokable_mismatch/
Dstderr.txt.expect3 reflection3264_invokable_mismatch.rscript:10:6: error: 4th parameter of invokable function 'b' has …
/frameworks/base/core/java/com/android/internal/app/procstats/
DSparseMappingTable.java652 private static void logOrThrow(String message, Throwable th) { in logOrThrow() argument
653 Slog.e(TAG, message, th); in logOrThrow()
655 throw new RuntimeException(message, th); in logOrThrow()
/frameworks/compile/slang/tests/F_reflection3264_variable_mismatch/
Dstderr.txt.expect7 reflection3264_variable_mismatch.rscript:32:5: error: 10th global variable is 'h32' for 32-bit targ…
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp240 int th = 1 << (31 - __builtin_clz(h)); in initTexture() local
242 if (th < h) th <<= 1; in initTexture()
246 if (!mUseNpotTextures && (tw != w || th != h)) { in initTexture()
247 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA, in initTexture()
258 if (!mUseNpotTextures && (tw != w || th != h)) { in initTexture()
259 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB, in initTexture()
/frameworks/compile/slang/tests/F_reflection3264_reduce_mismatch/
Dstderr.txt.expect3 reflection3264_reduce_mismatch.rscript:37:12: error: 4th input of reduction kernel 'cc' has type 'u…
/frameworks/base/services/core/java/com/android/server/wm/
DWindowStateAnimator.java919 float th = tw; in setSurfaceBoundariesLocked() local
924 th = (surfaceContentHeight - mTmpStackBounds.height()) in setSurfaceBoundariesLocked()
934 posY -= (int) (th * mExtraVScale * mTmpSourceBounds.top); in setSurfaceBoundariesLocked()
944 (int)((insets.top + mTmpSourceBounds.top) * th), in setSurfaceBoundariesLocked()
948 - (th * (surfaceHeight - mTmpSourceBounds.bottom)))); in setSurfaceBoundariesLocked()
/frameworks/base/cmds/incidentd/src/
DBroadcaster.cpp405 thread th([file, writeFd, args]() { file->startFilteringData(writeFd, args); }); in send_to_dropbox() local
407 th.detach(); in send_to_dropbox()
DIncidentService.cpp411 thread th([file, writeFd, args]() { file->startFilteringData(writeFd, args); }); in getIncidentReport() local
413 th.detach(); in getIncidentReport()
/frameworks/hardware/interfaces/displayservice/1.0/
DIDisplayEventReceiver.hal35 * @param count Request to be sent a callback for every <count>th event.
/frameworks/base/packages/SystemUI/res/raw/
Dimage_wallpaper_fragment_shader.glsl6 // The 85th percenile for the luminance histogram of the image (a value between 0 and 1).
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java501 final int th = r.bottom - r.top; in placeNumber() local
508 int dh = r.top + th + r.bottom; in placeNumber()
512 mNumberY = h-r.bottom-((dh-r.top-th-r.bottom)/2); in placeNumber()

12