Home
last modified time | relevance | path

Searched refs:isMainThread (Results 1 – 25 of 64) sorted by relevance

123

/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DTaskExecutor.java232 Assert.isMainThread();
249 Assert.isMainThread();
273 Assert.isMainThread();
282 Assert.isMainThread();
292 Assert.isMainThread();
298 Assert.isMainThread();
315 Assert.isMainThread();
423 Assert.isMainThread();
452 Assert.isMainThread();
DBaseTask.java74 Assert.isMainThread(); in setId()
80 Assert.isMainThread(); in hasStarted()
86 Assert.isMainThread(); in hasFailed()
102 Assert.isMainThread(); in addPolicy()
121 Assert.isMainThread(); in setExecutionTime()
DTaskSchedulerJobService.java101 Assert.isMainThread(); in scheduleJob()
166 Assert.isMainThread(); in isFinished()
/packages/apps/Dialer/java/com/android/dialer/duo/stub/
DDuoStub.java61 Assert.isMainThread(); in isReachable()
72 Assert.isMainThread(); in supportsUpgrade()
80 Assert.isMainThread(); in updateReachability()
107 Assert.isMainThread(); in getCallIntent()
130 Assert.isMainThread(); in requestUpgrade()
137 Assert.isMainThread(); in registerListener()
144 Assert.isMainThread(); in unregisterListener()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionService.java70 Assert.isMainThread(); in scheduleNewVoicemailTranscriptionJob()
122 Assert.isMainThread(); in cancelTranscriptions()
130 Assert.isMainThread(); in TranscriptionService()
146 Assert.isMainThread(); in onStartJob()
166 Assert.isMainThread(); in onStopJob()
181 Assert.isMainThread(); in onDestroy()
199 Assert.isMainThread(); in checkForWork()
242 Assert.isMainThread(); in onWorkCompleted()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DLocationHelper.java71 Assert.isMainThread(); in LocationHelper()
133 Assert.isMainThread(); in addLocationListener()
139 Assert.isMainThread(); in removeLocationListener()
145 Assert.isMainThread(); in close()
153 Assert.isMainThread(); in onLocationChanged()
174 Assert.isMainThread(); in LocationHelperInternal()
213 Assert.isMainThread(); in getLocation()
DCallLocationImpl.java39 Assert.isMainThread(); in canGetLocation()
47 Assert.isMainThread(); in getLocationFragment()
59 Assert.isMainThread(); in close()
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/stub/
DEnrichedCallManagerStub.java95 Assert.isMainThread(); in getAllSessionsForDisplay()
124 Assert.isMainThread(); in getAllHistoricalData()
130 Assert.isMainThread(); in hasStoredData()
138 Assert.isMainThread(); in requestAllHistoricalData()
191 Assert.isMainThread(); in getVideoShareSession()
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DPeriodicJobService.java57 Assert.isMainThread(); in schedulePeriodicJob()
82 Assert.isMainThread(); in cancelJob()
91 Assert.isMainThread(); in onStartJob()
110 Assert.isMainThread(); in onStopJob()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DAssert.java32 public static void isMainThread() { in isMainThread() method in Assert
54 public static void setIsMainThreadForTesting(Boolean isMainThread) { in setIsMainThreadForTesting() argument
55 isMainThreadForTest = isMainThread; in setIsMainThreadForTesting()
DOmtpService.java155 Assert.isMainThread(); in onBoot()
163 Assert.isMainThread(); in onShutdown()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowThreadUtils.java46 protected static boolean isMainThread() { in isMainThread() method in ShadowThreadUtils
50 public static void setIsMainThread(boolean isMainThread) { in setIsMainThread() argument
51 sIsMainThread = isMainThread; in setIsMainThread()
/packages/services/Telephony/src/com/android/phone/
DAssert.java35 public static void isMainThread() { in isMainThread() method in Assert
63 public static void setIsMainThreadForTesting(Boolean isMainThread) { in setIsMainThreadForTesting() argument
64 sIsMainThreadForTest = isMainThread; in setIsMainThreadForTesting()
/packages/services/Telephony/src/com/android/phone/vvm/
DRemoteVvmTaskManager.java212 Assert.isMainThread(); in onCreate()
216 Assert.isMainThread(); in onCreate()
231 Assert.isMainThread(); in onStartCommand()
322 Assert.isMainThread(); in runQueue()
339 Assert.isMainThread(); in send()
/packages/apps/Camera2/src/com/android/camera/stats/profiler/
DProfileBase.java79 MainThread.isMainThread() ? "[ui]" : "", in format()
91 MainThread.isMainThread() ? "[ui]" : "", in format()
104 MainThread.isMainThread() ? "[ui]" : "", in format()
/packages/apps/Dialer/java/com/android/dialer/common/
DAssert.java173 public static void isMainThread() { in isMainThread() method in Assert
174 isMainThread(null); in isMainThread()
184 public static void isMainThread(@Nullable String messageTemplate, Object... args) { in isMainThread() method in Assert
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/
DRealtimeRowProcessor.java124 Assert.isMainThread(); in clearCache()
131 Assert.isMainThread(); in queuePhoneLookupHistoryWrite()
139 Assert.isMainThread(); in writePhoneLookupHistory()
/packages/apps/Messaging/src/com/android/messaging/util/
DTypefaces.java31 Assert.isMainThread(); in getRobotoBold()
39 Assert.isMainThread(); in getRobotoNormal()
DSafeAsyncTask.java76 Assert.isMainThread(); // AsyncTask has to be created on the main thread in SafeAsyncTask()
83 Assert.isMainThread(); // AsyncTask requires this in executeOnThreadPool()
/packages/services/Car/car-lib/src/android/car/
DCar.java956 boolean isMainThread = Looper.myLooper() == Looper.getMainLooper(); in createCar()
966 car.dispatchCarReadyToMainThread(isMainThread); in createCar()
1019 car.dispatchCarReadyToMainThread(isMainThread); in createCar()
1032 private void dispatchCarReadyToMainThread(boolean isMainThread) { in dispatchCarReadyToMainThread() argument
1033 if (isMainThread) { in dispatchCarReadyToMainThread()
/packages/apps/Messaging/src/com/android/messaging/widget/
DWidgetConversationProvider.java113 final boolean isMainThread = Looper.myLooper() == Looper.getMainLooper(); in rebuildWidget()
116 final ConversationListItemData convData = isMainThread ? in rebuildWidget()
146 if (isMainThread) { in rebuildWidget()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DRttChatBot.java66 Assert.isMainThread(); in start()
73 Assert.isMainThread(); in stop()
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DVvmAccountManager.java112 Assert.isMainThread(); in addListener()
118 Assert.isMainThread(); in removeListener()
/packages/apps/Dialer/java/com/android/incallui/
DContactInfoCache.java350 Assert.isMainThread(); in findInfo()
603 Assert.isMainThread(); in onImageLoadComplete()
661 Assert.isMainThread(); in sendInfoNotifications()
674 Assert.isMainThread(); in sendImageNotifications()
816 Assert.isMainThread(); in onQueryComplete()
/packages/apps/Dialer/java/com/android/dialer/glidephotomanager/impl/
DGlidePhotoManagerImpl.java59 Assert.isMainThread(); in loadQuickContactBadge()
71 Assert.isMainThread(); in loadContactPhoto()

123