Home
last modified time | relevance | path

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

12

/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java852 protected void setAppIdle(boolean isIdle) throws Exception { in setAppIdle() argument
853 setAppIdleNoAssert(isIdle); in setAppIdle()
854 assertAppIdle(isIdle); in setAppIdle()
857 protected void setAppIdleNoAssert(boolean isIdle) throws Exception { in setAppIdleNoAssert() argument
861 Log.i(TAG, "Setting app idle to " + isIdle); in setAppIdleNoAssert()
862 final String bucketName = isIdle ? "rare" : "active"; in setAppIdleNoAssert()
866 protected void assertAppIdle(boolean isIdle) throws Exception { in assertAppIdle() argument
869 30 /* maxTries */, 1 /* napTimeSeconds */, "Idle=" + isIdle); in assertAppIdle()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java356 boolean isIdle, boolean rangingEnabled, boolean isInstantCommunicationEnabled, in enableAndConfigure() argument
361 + ", isInteractive=" + isInteractive + ", isIdle=" + isIdle in enableAndConfigure()
378 getPowerParameters(isInteractive, isIdle)); in enableAndConfigure()
908 boolean isInteractive, boolean isIdle) { in getPowerParameters() argument
911 if (isIdle) { in getPowerParameters()
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/
DHandlerIdleSyncCallbackTest.java32 expect.withMessage("isIdle() after called").that(callback.isIdle()).isTrue(); in testCustomMethods()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/
DHandlerIdleSyncCallback.java50 public boolean isIdle() { in isIdle() method in HandlerIdleSyncCallback
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
DJobPreconditions.java51 public static boolean isIdle(Context context) { in isIdle() method in JobPreconditions
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DImsMediaTest.java75 if (!looper.getLooper().getQueue().isIdle()) return false; in areAllTestableLoopersIdle()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiNanIfaceHidlImplTest.java525 boolean initialConfiguration, boolean isInteractive, boolean isIdle, in validateEnableAndConfigure() argument
533 getPowerParams(isInteractive, isIdle, discoveryWindow24Ghz, discoveryWindow5Ghz)); in validateEnableAndConfigure()
576 private WifiNanIface.PowerParameters getPowerParams(boolean isInteractive, boolean isIdle, in getPowerParams() argument
582 if (isInteractive && !isIdle) { in getPowerParams()
DWifiNanIfaceAidlImplTest.java587 boolean initialConfiguration, boolean isInteractive, boolean isIdle, in validateEnableAndConfigure() argument
592 getPowerParams(isInteractive, isIdle, discoveryWindow24Ghz, discoveryWindow5Ghz))); in validateEnableAndConfigure()
625 private WifiNanIface.PowerParameters getPowerParams(boolean isInteractive, boolean isIdle, in getPowerParams() argument
631 if (isInteractive && !isIdle) { in getPowerParams()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DTestUtils.java53 boolean isIdle, boolean rangingEnabled, boolean isInstantCommunicationEnabled, in enableAndConfigure() argument
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DRedirectListenerTest.java105 assertFalse(mLooper.isIdle()); in verifyStopServer()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeDefaults.java286 default void onIdleModeChanged(boolean isIdle) { } in onIdleModeChanged() argument
DClientMode.java370 void onIdleModeChanged(boolean isIdle); in onIdleModeChanged() argument
DConcreteClientModeManager.java1722 public void onIdleModeChanged(boolean isIdle) { in onIdleModeChanged() argument
1723 getClientMode().onIdleModeChanged(isIdle); in onIdleModeChanged()
DActiveModeWarden.java259 public void onIdleModeChanged(boolean isIdle) { in onIdleModeChanged() argument
263 cmm.onIdleModeChanged(isIdle); in onIdleModeChanged()
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DSmsDomainSelectorTest.java423 while (!mTestableLooper.getLooper().getQueue().isIdle()) { in processAllMessages()
DTelephonyDomainSelectionServiceTest.java377 while (!mTestableLooper.getLooper().getQueue().isIdle()) { in processAllMessages()
DCrossSimRedialingControllerTest.java529 while (!mLooper.getLooper().getQueue().isIdle()) { in processAllMessages()
DEmergencySmsDomainSelectorTest.java1034 while (!mTestableLooper.getLooper().getQueue().isIdle()) { in processAllMessages()
DNormalCallDomainSelectorTest.java156 while (!mTestableLooper.getLooper().getQueue().isIdle()) { in processAllMessages()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DMapClientServiceTest.java272 while (mTestLooper.isIdle() && connectedSm.getState() != BluetoothProfile.STATE_CONNECTED) { in disconnect_doesNotCleanUpNewStateMachineOfSameDevice()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbSessionManagerTest.java2144 assertThat(mTestLooper.isIdle()).isFalse(); in testInitSessionWithNonSystemAppInFg()
2160 assertThat(mTestLooper.isIdle()).isFalse(); in testInitSessionWithNonSystemAppNotInFg()
2176 assertThat(mTestLooper.isIdle()).isFalse(); in testInitSessionWithNonSystemAppNotInFg_WhenBgRangingEnabled()
2235 assertThat(mTestLooper.isIdle()).isFalse(); in testOpenRangingWithNonSystemAppInFgInChain()
2452 assertThat(mTestLooper.isIdle()).isFalse(); in testOpenRangingWithNonSystemAppNotInFgInChain()
2462 assertThat(mTestLooper.isIdle()).isFalse(); in prepareExistingUwbSessionCommon()
2508 assertThat(mTestLooper.isIdle()).isFalse(); in prepareExistingCccUwbSession()
2520 assertThat(mTestLooper.isIdle()).isFalse(); in prepareExistingAliroUwbSession()
2566 assertThat(mTestLooper.isIdle()).isTrue(); in startRanging_sessionStateIdle()
2580 assertThat(mTestLooper.isIdle()).isFalse(); in startRanging_sessionStateActive()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBaseLauncherBinder.java267 if (mUiExecutor.getLooper().getQueue().isIdle()) { in newIdleLock()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java2300 if (!phone.getRingingCall().isIdle()) { in hasMultipleTopLevelCalls()
2303 if (!phone.getForegroundCall().isIdle()) { in hasMultipleTopLevelCalls()
2306 if (!phone.getBackgroundCall().isIdle()) { in hasMultipleTopLevelCalls()
/packages/services/Telephony/tests/src/com/android/phone/
DRcsProvisioningMonitorTest.java888 while (!mLooper.getLooper().getQueue().isIdle()) { in processAllMessages()
DImsStateCallbackControllerTest.java966 while (!mLooper.getLooper().getQueue().isIdle()) { in processAllMessages()

12