/aosp12/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/ |
H A D | NodeLooperThreadTest.cc | 68 EXPECT_TRUE(th->isRunning()); in TEST_F() 72 EXPECT_FALSE(th->isRunning()); in TEST_F() 79 EXPECT_TRUE(th->isRunning()); in TEST_F() 95 EXPECT_FALSE(th->isRunning()); in TEST_F() 102 EXPECT_TRUE(th->isRunning()); in TEST_F() 127 EXPECT_FALSE(th->isRunning()); in TEST_F() 134 EXPECT_TRUE(th->isRunning()); in TEST_F() 148 EXPECT_FALSE(th->isRunning()); in TEST_F() 155 EXPECT_TRUE(th->isRunning()); in TEST_F() 191 EXPECT_FALSE(th->isRunning()); in TEST_F()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | ValueAnimatorTests.java | 95 assertFalse(a.isRunning()); in testStartDelay() 99 assertFalse(a.isRunning()); in testStartDelay() 194 assertFalse(a1.isRunning()); in testIsStarted() 195 assertFalse(a2.isRunning()); in testIsStarted() 228 assertTrue(a1.isRunning()); in testIsStarted() 229 assertTrue(a2.isRunning()); in testIsStarted() 268 assertTrue(a1.isRunning()); in testPause() 269 assertTrue(a2.isRunning()); in testPause() 273 assertTrue(a1.isRunning()); in testPause() 285 assertTrue(a1.isRunning()); in testPause() [all …]
|
/aosp12/system/core/libsysutils/src/ |
H A D | ServiceManager.cpp | 54 if (isRunning(name)) { in start() 66 if (isRunning(name)) in start() 84 if (!isRunning(name)) { in stop() 96 if (!isRunning(name)) in stop() 109 bool ServiceManager::isRunning(const char *name) { in isRunning() function in ServiceManager
|
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/ |
H A D | FdEventsReader.java | 207 if (!isRunning() || !handleInput()) { in createAndRegisterFd() 216 private boolean isRunning() { in isRunning() method in FdEventsReader 222 while (isRunning()) { in handleInput() 228 if (isRunning()) logError("Socket closed, exiting", null); in handleInput() 239 if (isRunning()) logError("readPacket error: ", e); in handleInput() 243 if (isRunning()) logError("readPacket error: ", e); in handleInput()
|
/aosp12/frameworks/base/core/java/com/android/internal/os/ |
H A D | CachedDeviceState.java | 123 mStartTimeMillis = isRunning() ? SystemClock.elapsedRealtime() : 0; in reset() 129 if (!isRunning()) { in start() 137 if (isRunning()) { in stop() 145 return isRunning() ? SystemClock.elapsedRealtime() - mStartTimeMillis : 0; in elapsedTime() 149 public boolean isRunning() { in isRunning() method in CachedDeviceState.TimeInStateStopwatch
|
/aosp12/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/ |
H A D | RemotePrintServicePlugin.java | 53 private boolean isRunning; field in RemotePrintServicePlugin 87 isRunning = false; in RemotePrintServicePlugin() 98 isRunning = true; in start() 114 isRunning = false; in stop() 133 Preconditions.checkState(isRunning); in onChanged()
|
/aosp12/frameworks/libs/net/common/device/com/android/net/module/util/ |
H A D | FdEventsReader.java | 204 if (!isRunning() || !handleInput()) { in createAndRegisterFd() 214 private boolean isRunning() { in isRunning() method in FdEventsReader 220 while (isRunning()) { in handleInput() 226 if (isRunning()) logError("Socket closed, exiting", null); in handleInput() 237 if (isRunning()) logError("readPacket error: ", e); in handleInput() 241 if (isRunning()) logError("readPacket error: ", e); in handleInput()
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | BatteryStatsBackgroundStatsTest.java | 51 assertFalse(bgtb.isRunning()); in testBgTimeBase() 58 assertFalse(bgtb.isRunning()); in testBgTimeBase() 65 assertFalse(bgtb.isRunning()); in testBgTimeBase() 73 assertTrue(bgtb.isRunning()); in testBgTimeBase() 80 assertTrue(bgtb.isRunning()); in testBgTimeBase() 87 assertTrue(bgtb.isRunning()); in testBgTimeBase() 95 assertFalse(bgtb.isRunning()); in testBgTimeBase() 102 assertFalse(bgtb.isRunning()); in testBgTimeBase() 119 assertFalse(bgtb.isRunning()); in testScreenOffBgTimeBase() 124 assertFalse(bgtb.isRunning()); in testScreenOffBgTimeBase() [all …]
|
H A D | BatteryStatsNoteTest.java | 304 assertFalse(bi.getOnBatteryTimeBase().isRunning()); in testUpdateTimeBasesLocked() 306 assertFalse(bi.getOnBatteryTimeBase().isRunning()); in testUpdateTimeBasesLocked() 308 assertFalse(bi.getOnBatteryTimeBase().isRunning()); in testUpdateTimeBasesLocked() 311 assertTrue(bi.getOnBatteryTimeBase().isRunning()); in testUpdateTimeBasesLocked() 314 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testUpdateTimeBasesLocked() 316 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testUpdateTimeBasesLocked() 332 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testNoteScreenStateLocked() 342 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testNoteScreenStateLocked() 347 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testNoteScreenStateLocked() 381 assertTrue(bi.getOnBatteryScreenOffTimeBase().isRunning()); in testNoteScreenStateLocked_multiDisplay() [all …]
|
/aosp12/hardware/qcom/gps/msm8909/utils/ |
H A D | LocThread.cpp | 52 inline bool isRunning() { return (NULL != mRunnable); } in isRunning() function in LocThreadDelegate 116 if (thread && !thread->isRunning()) { in create() 182 if (locThread->isRunning()) { in threadMain() 186 while (locThread->isRunning() && runnable->run()); in threadMain() 188 if (locThread->isRunning()) { in threadMain()
|
/aosp12/hardware/qcom/gps/msm8909w_3100/utils/ |
H A D | LocThread.cpp | 53 inline bool isRunning() { return (NULL != mRunnable); } in isRunning() function in LocThreadDelegate 118 if (thread && !thread->isRunning()) { in create() 184 if (locThread->isRunning()) { in threadMain() 188 while (locThread->isRunning() && runnable->run()); in threadMain() 190 if (locThread->isRunning()) { in threadMain()
|
/aosp12/hardware/qcom/gps/msm8996/utils/ |
H A D | LocThread.cpp | 52 inline bool isRunning() { return (NULL != mRunnable); } in isRunning() function in LocThreadDelegate 116 if (thread && !thread->isRunning()) { in create() 182 if (locThread->isRunning()) { in threadMain() 186 while (locThread->isRunning() && runnable->run()); in threadMain() 188 if (locThread->isRunning()) { in threadMain()
|
/aosp12/hardware/qcom/gps/msm8998/utils/ |
H A D | LocThread.cpp | 53 inline bool isRunning() { return (NULL != mRunnable); } in isRunning() function in LocThreadDelegate 118 if (thread && !thread->isRunning()) { in create() 184 if (locThread->isRunning()) { in threadMain() 188 while (locThread->isRunning() && runnable->run()); in threadMain() 190 if (locThread->isRunning()) { in threadMain()
|
/aosp12/hardware/qcom/sm7150/gps/utils/ |
H A D | LocThread.cpp | 53 inline bool isRunning() { return (NULL != mRunnable); } in isRunning() function in LocThreadDelegate 118 if (thread && !thread->isRunning()) { in create() 184 if (locThread->isRunning()) { in threadMain() 188 while (locThread->isRunning() && runnable->run()); in threadMain() 190 if (locThread->isRunning()) { in threadMain()
|
/aosp12/hardware/qcom/sdm845/gps/msm8909/utils/ |
H A D | LocThread.cpp | 52 inline bool isRunning() { return (NULL != mRunnable); } in isRunning() function in LocThreadDelegate 116 if (thread && !thread->isRunning()) { in create() 182 if (locThread->isRunning()) { in threadMain() 186 while (locThread->isRunning() && runnable->run()); in threadMain() 188 if (locThread->isRunning()) { in threadMain()
|
/aosp12/hardware/qcom/sdm845/gps/msm8998/utils/ |
H A D | LocThread.cpp | 53 inline bool isRunning() { return (NULL != mRunnable); } in isRunning() function in LocThreadDelegate 118 if (thread && !thread->isRunning()) { in create() 184 if (locThread->isRunning()) { in threadMain() 188 while (locThread->isRunning() && runnable->run()); in threadMain() 190 if (locThread->isRunning()) { in threadMain()
|
/aosp12/hardware/qcom/sm8150p/gps/utils/ |
H A D | LocThread.cpp | 53 inline bool isRunning() { return (NULL != mRunnable); } in isRunning() function in LocThreadDelegate 118 if (thread && !thread->isRunning()) { in create() 184 if (locThread->isRunning()) { in threadMain() 188 while (locThread->isRunning() && runnable->run()); in threadMain() 190 if (locThread->isRunning()) { in threadMain()
|
/aosp12/hardware/qcom/sdm845/gps/sdm845/utils/ |
H A D | LocThread.cpp | 53 inline bool isRunning() { return (NULL != mRunnable); } in isRunning() function in LocThreadDelegate 118 if (thread && !thread->isRunning()) { in create() 184 if (locThread->isRunning()) { in threadMain() 188 while (locThread->isRunning() && runnable->run()); in threadMain() 190 if (locThread->isRunning()) { in threadMain()
|
/aosp12/hardware/qcom/sdm845/gps/msm8996/utils/ |
H A D | LocThread.cpp | 52 inline bool isRunning() { return (NULL != mRunnable); } in isRunning() function in LocThreadDelegate 116 if (thread && !thread->isRunning()) { in create() 182 if (locThread->isRunning()) { in threadMain() 186 while (locThread->isRunning() && runnable->run()); in threadMain() 188 if (locThread->isRunning()) { in threadMain()
|
/aosp12/packages/modules/NetworkStack/src/android/net/util/ |
H A D | Stopwatch.java | 37 public boolean isRunning() { in isRunning() method in Stopwatch 65 if (isRunning()) { in stop() 78 if (isRunning()) { in lap()
|
/aosp12/packages/apps/TV/common/src/com/android/tv/common/util/ |
H A D | DurationTimer.java | 40 public boolean isRunning() { in isRunning() method in DurationTimer 59 return isRunning() ? SystemClock.elapsedRealtime() - mStartTimeMs : TIME_NOT_SET; in getDuration() 76 if (isRunning() && (!mLogEngOnly || BuildConfig.ENG)) { in log()
|
/aosp12/frameworks/base/core/java/android/permission/ |
H A D | PermissionUsageHelper.java | 330 usage.lastAccessTime, usage.isRunning, isPhone, in getOpUsageData() 384 if (attrOpEntry.isRunning()) { in getOpUsages() 388 if (lastAccessTime < recentThreshold && !attrOpEntry.isRunning()) { in getOpUsages() 392 boolean isRunning = attrOpEntry.isRunning() in getOpUsages() 399 op, proxy.getUid(), lastAccessTime, isRunning, null); in getOpUsages() 404 lastAccessTime, isRunning, proxyUsage); in getOpUsages() 617 public final boolean isRunning; field in PermissionUsageHelper.OpUsage 620 boolean isRunning, OpUsage proxy) { in OpUsage() argument 626 this.isRunning = isRunning; in OpUsage() 640 return Objects.hash(packageName, attributionTag, op, uid, lastAccessTime, isRunning); in hashCode() [all …]
|
/aosp12/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
H A D | FullRestoreEngineThread.java | 36 public boolean isRunning() { in isRunning() method in FullRestoreEngineThread 37 return mEngine.isRunning(); in isRunning() 47 while (mEngine.isRunning()) { in run()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | CachedDeviceStateServiceTest.java | 154 assertThat(stopwatch.isRunning()).isFalse(); in correctlyTracksTimeOnBattery() 157 assertThat(stopwatch.isRunning()).isTrue(); in correctlyTracksTimeOnBattery() 161 assertThat(stopwatch.isRunning()).isTrue(); in correctlyTracksTimeOnBattery() 170 assertThat(stopwatch.isRunning()).isFalse(); in correctlyTracksTimeOnBattery() 178 assertThat(stopwatch.isRunning()).isFalse(); in correctlyTracksTimeOnBattery()
|
/aosp12/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | AsyncRunner.java | 171 if (isRunning()) { in setGraph() 188 if (isRunning()) { in run() 213 if (isRunning()) { in close() 222 synchronized public boolean isRunning() { in isRunning() method in AsyncRunner
|