/packages/apps/Dialer/java/com/android/dialer/duo/stub/ |
D | DuoStub.java | 61 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/scheduling/ |
D | TaskExecutor.java | 232 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();
|
D | BaseTask.java | 74 Assert.isMainThread(); in setId() 80 Assert.isMainThread(); in hasStarted() 86 Assert.isMainThread(); in hasFailed() 102 Assert.isMainThread(); in addPolicy() 121 Assert.isMainThread(); in setExecutionTime()
|
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
D | LocationHelper.java | 71 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()
|
D | CallLocationImpl.java | 39 Assert.isMainThread(); in canGetLocation() 47 Assert.isMainThread(); in getLocationFragment() 59 Assert.isMainThread(); in close()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/ |
D | TranscriptionService.java | 70 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/Launcher3/quickstep/src/com/android/quickstep/ |
D | BinderTracker.java | 82 if (isMainThread()) { in beginSection() 90 if (!isMainThread()) { in beginAsyncSection() 106 if (isMainThread()) { in endSection() 113 if (!isMainThread()) { in allowIpcs() 130 if (!isMainThread() || (flags & FLAG_ONEWAY) == FLAG_ONEWAY) { 167 private static boolean isMainThread() {
|
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/stub/ |
D | EnrichedCallManagerStub.java | 95 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/voicemail/impl/ |
D | Assert.java | 32 public static void isMainThread() { in isMainThread() method in Assert 54 public static void setIsMainThreadForTesting(Boolean isMainThread) { in setIsMainThreadForTesting() argument 55 isMainThreadForTest = isMainThread; in setIsMainThreadForTesting()
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | PeriodicJobService.java | 57 Assert.isMainThread(); in schedulePeriodicJob() 82 Assert.isMainThread(); in cancelJob() 91 Assert.isMainThread(); in onStartJob() 110 Assert.isMainThread(); in onStopJob()
|
/packages/services/Telephony/src/com/android/phone/ |
D | Assert.java | 35 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/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/ |
D | ShadowThreadUtils.java | 47 protected static boolean isMainThread() { in isMainThread() method in ShadowThreadUtils 51 public static void setIsMainThread(boolean isMainThread) { in setIsMainThread() argument 52 sIsMainThread = isMainThread; in setIsMainThread()
|
/packages/apps/Camera2/src/com/android/camera/stats/profiler/ |
D | ProfileBase.java | 79 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/ |
D | Assert.java | 173 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/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/concurrency/ |
D | SyncCallbackFactory.java | 33 AndroidLogger.getInstance(), SyncCallbackFactory::isMainThread); in newSettingsBuilder() 36 private static boolean isMainThread() { in isMainThread() method in SyncCallbackFactory
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | Typefaces.java | 31 Assert.isMainThread(); in getRobotoBold() 39 Assert.isMainThread(); in getRobotoNormal()
|
D | SafeAsyncTask.java | 76 Assert.isMainThread(); // AsyncTask has to be created on the main thread in SafeAsyncTask() 83 Assert.isMainThread(); // AsyncTask requires this in executeOnThreadPool()
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/concurrency/ |
D | DeviceSideConcurrencyHelperTest.java | 47 boolean isMainThread = callback.assertResultReceived(); in testRunOnMainThread() 48 expect.withMessage("called on main thread").that(isMainThread).isTrue(); in testRunOnMainThread()
|
D | SyncCallbackFactoryTest.java | 58 runOnMainThread(() -> holder.add(settings.isMainThread())); in testIsMainThread_mainThread() 72 .that(settings.isMainThread()) in testIsMainThread_notMainThread()
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | RemoteVvmTaskManager.java | 214 Assert.isMainThread(); in onCreate() 218 Assert.isMainThread(); in onCreate() 233 Assert.isMainThread(); in onStartCommand() 327 Assert.isMainThread(); in runQueue() 344 Assert.isMainThread(); in send()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/ |
D | ThreadUtils.java | 36 public static boolean isMainThread() { in isMainThread() method in ThreadUtils 58 if (!isMainThread()) { in ensureMainThread()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/examplestore/ |
D | FederatedExampleIterator.java | 114 Preconditions.checkState(!isMainThread(), "hasNext() called on main thread"); in hasNext() 125 Preconditions.checkState(!isMainThread(), "next() called on main thread"); in next() 144 Preconditions.checkState(!isMainThread(), "close() called on main thread"); in close() 312 private static boolean isMainThread() { in isMainThread() method in FederatedExampleIterator
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/ |
D | RealtimeRowProcessor.java | 124 Assert.isMainThread(); in clearCache() 131 Assert.isMainThread(); in queuePhoneLookupHistoryWrite() 139 Assert.isMainThread(); in writePhoneLookupHistory()
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | RttChatBot.java | 66 Assert.isMainThread(); in start() 73 Assert.isMainThread(); in stop()
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
D | WidgetConversationProvider.java | 113 final boolean isMainThread = Looper.myLooper() == Looper.getMainLooper(); in rebuildWidget() 116 final ConversationListItemData convData = isMainThread ? in rebuildWidget() 146 if (isMainThread) { in rebuildWidget()
|