/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/ |
D | AbstractRestrictBackgroundNetworkTestCase.java | 852 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/ |
D | WifiAwareNativeApi.java | 356 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/ |
D | HandlerIdleSyncCallbackTest.java | 32 expect.withMessage("isIdle() after called").that(callback.isIdle()).isTrue(); in testCustomMethods()
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/ |
D | HandlerIdleSyncCallback.java | 50 public boolean isIdle() { in isIdle() method in HandlerIdleSyncCallback
|
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
D | JobPreconditions.java | 51 public static boolean isIdle(Context context) { in isIdle() method in JobPreconditions
|
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/ |
D | ImsMediaTest.java | 75 if (!looper.getLooper().getQueue().isIdle()) return false; in areAllTestableLoopersIdle()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/ |
D | WifiNanIfaceHidlImplTest.java | 525 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()
|
D | WifiNanIfaceAidlImplTest.java | 587 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/ |
D | TestUtils.java | 53 boolean isIdle, boolean rangingEnabled, boolean isInstantCommunicationEnabled, in enableAndConfigure() argument
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ |
D | RedirectListenerTest.java | 105 assertFalse(mLooper.isIdle()); in verifyStopServer()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ClientModeDefaults.java | 286 default void onIdleModeChanged(boolean isIdle) { } in onIdleModeChanged() argument
|
D | ClientMode.java | 370 void onIdleModeChanged(boolean isIdle); in onIdleModeChanged() argument
|
D | ConcreteClientModeManager.java | 1722 public void onIdleModeChanged(boolean isIdle) { in onIdleModeChanged() argument 1723 getClientMode().onIdleModeChanged(isIdle); in onIdleModeChanged()
|
D | ActiveModeWarden.java | 259 public void onIdleModeChanged(boolean isIdle) { in onIdleModeChanged() argument 263 cmm.onIdleModeChanged(isIdle); in onIdleModeChanged()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | SmsDomainSelectorTest.java | 423 while (!mTestableLooper.getLooper().getQueue().isIdle()) { in processAllMessages()
|
D | TelephonyDomainSelectionServiceTest.java | 377 while (!mTestableLooper.getLooper().getQueue().isIdle()) { in processAllMessages()
|
D | CrossSimRedialingControllerTest.java | 529 while (!mLooper.getLooper().getQueue().isIdle()) { in processAllMessages()
|
D | EmergencySmsDomainSelectorTest.java | 1034 while (!mTestableLooper.getLooper().getQueue().isIdle()) { in processAllMessages()
|
D | NormalCallDomainSelectorTest.java | 156 while (!mTestableLooper.getLooper().getQueue().isIdle()) { in processAllMessages()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/ |
D | MapClientServiceTest.java | 272 while (mTestLooper.isIdle() && connectedSm.getState() != BluetoothProfile.STATE_CONNECTED) { in disconnect_doesNotCleanUpNewStateMachineOfSameDevice()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | UwbSessionManagerTest.java | 2144 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/ |
D | BaseLauncherBinder.java | 267 if (mUiExecutor.getLooper().getQueue().isIdle()) { in newIdleLock()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnection.java | 2300 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/ |
D | RcsProvisioningMonitorTest.java | 888 while (!mLooper.getLooper().getQueue().isIdle()) { in processAllMessages()
|
D | ImsStateCallbackControllerTest.java | 966 while (!mLooper.getLooper().getQueue().isIdle()) { in processAllMessages()
|