Home
last modified time | relevance | path

Searched refs:isIdle (Results 1 – 22 of 22) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCallManagerTest.java113 doReturn(true).when(mBgCall).isIdle(); in setUp()
114 doReturn(true).when(mFgCall).isIdle(); in setUp()
115 doReturn(true).when(mRingingCall).isIdle(); in setUp()
173 doReturn(false).when(mFgCall).isIdle(); in testSendDtmf()
181 doReturn(true).when(mFgCall).isIdle(); in testStartDtmf()
186 doReturn(false).when(mFgCall).isIdle(); in testStartDtmf()
194 doReturn(true).when(mFgCall).isIdle(); in testStopDtmf()
199 doReturn(false).when(mFgCall).isIdle(); in testStopDtmf()
207 doReturn(true).when(mFgCall).isIdle(); in testSendBurstDtmf()
212 doReturn(false).when(mFgCall).isIdle(); in testSendBurstDtmf()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DIdleController.java72 taskStatus.setIdleConstraintSatisfied(mIdleTracker.isIdle()); in maybeStartTrackingJobLocked()
84 void reportNewIdleState(boolean isIdle) { in reportNewIdleState() argument
87 task.setIdleConstraintSatisfied(isIdle); in reportNewIdleState()
126 public boolean isIdle() { in isIdle() method in IdleController.IdlenessTracker
194 pw.println(mIdleTracker.isIdle() ? "true" : "false"); in dumpControllerStateLocked()
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooper.java150 public synchronized boolean isIdle() { in isIdle() method in TestLooper
160 if (isIdle()) { in nextMessage()
172 assertTrue(isIdle()); in dispatchNext()
187 while (isIdle()) { in dispatchAll()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockLooper.java150 public synchronized boolean isIdle() { in isIdle() method in MockLooper
160 if (isIdle()) { in nextMessage()
172 assertTrue(isIdle()); in dispatchNext()
187 while (isIdle()) { in dispatchAll()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestHandlerThread.java100 if (queue.isIdle()) { in waitUntilIdle()
107 if (queue.isIdle()) { in waitUntilIdle()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallManager.java339 if (!getFirstActiveRingingCall().isIdle()) { in getPhoneInCall()
341 } else if (!getActiveFgCall().isIdle()) { in getPhoneInCall()
352 if (!getFirstActiveRingingCall(subId).isIdle()) { in getPhoneInCall()
354 } else if (!getActiveFgCall(subId).isIdle()) { in getPhoneInCall()
691 boolean hasBgCall = ! (activePhone.getBackgroundCall().isIdle()); in acceptCall()
943 boolean hasBgCall = !(activePhone.getBackgroundCall().isIdle()); in dial()
1887 if (!call.isIdle()) { in getFirstNonIdleCall()
1903 if (!call.isIdle()) { in getFirstNonIdleCall()
2131 if (!call.isIdle()) { in getFirstActiveCall()
2143 if ((!call.isIdle()) && ((call.getPhone().getSubId() == subId) || in getFirstActiveCall()
DCall.java131 public boolean isIdle() { in isIdle() method in Call
DGsmCdmaCallTracker.java461 if (!mForegroundCall.isIdle()) { in dialThreeWay()
700 !(mForegroundCall.isIdle() && mBackgroundCall.isIdle())) { in updatePhoneState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java514 } else if (getForegroundCall().isIdle() in updatePhoneState()
515 && getBackgroundCall().isIdle()) { in updatePhoneState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java542 } else if (getForegroundCall().isIdle() in updatePhoneState()
543 && getBackgroundCall().isIdle()) { in updatePhoneState()
DImsPhoneCallTracker.java952 } else if (!isPendingMOIdle || !mForegroundCall.isIdle() || !mBackgroundCall.isIdle()) { in updatePhoneState()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java490 final boolean isIdle = isAppIdleFiltered(packageName, in checkIdleStates()
494 userId, isIdle ? 1 : 0, packageName)); in checkIdleStates()
495 if (isIdle) { in checkIdleStates()
999 void informListeners(String packageName, int userId, boolean isIdle) { in informListeners() argument
1001 listener.onAppIdleStateChanged(packageName, userId, isIdle); in informListeners()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl163 boolean isIdle(String callingPackage); in isIdle() method
/frameworks/base/core/java/android/os/
DMessageQueue.java98 public boolean isIdle() { in isIdle() method in MessageQueue
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java3130 final boolean isIdle = !paroled && isUidIdle(uid); in updateRulesForPowerRestrictionsUL()
3131 final boolean restrictMode = isIdle || mRestrictPower || mDeviceIdleMode; in updateRulesForPowerRestrictionsUL()
3154 + ", isIdle: " + isIdle in updateRulesForPowerRestrictionsUL()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java4533 public boolean isIdle() { in isIdle() method in TelephonyManager
4537 return telephony.isIdle(getOpPackageName()); in isIdle()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java2486 boolean isIdle = usm.isAppInactive(packageName, userId);
2487 System.out.println("Idle=" + isIdle);
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsServiceTest.java1301 if (queue.isIdle()) { in waitForIdle()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java170 if (queue.isIdle()) { in waitForIdle()
/frameworks/base/api/
Dsystem-current.txt31353 method public boolean isIdle();
40535 method public boolean isIdle();
Dcurrent.txt28863 method public boolean isIdle();
Dtest-current.txt28937 method public boolean isIdle();