Home
last modified time | relevance | path

Searched refs:suspended (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DTestableNetworkCallback.kt279 suspended: Boolean = false, in expectAvailableCallbacks()
284 expectAvailableCallbacksCommon(net, suspended, validated, tmt) in expectAvailableCallbacks()
290 suspended: Boolean, in expectAvailableCallbacks()
295 expectAvailableCallbacksCommon(net, suspended, validated, tmt) in expectAvailableCallbacks()
301 suspended: Boolean, in expectAvailableCallbacksCommon()
306 if (suspended) { in expectAvailableCallbacksCommon()
319 ) = expectAvailableCallbacks(net, suspended = true, validated = validated, tmt = tmt) in expectAvailableAndSuspendedCallbacks()
357 expectAvailableCallbacks(net, validated = false, suspended = false, in expectAvailableThenValidatedCallbacks()
391 suspended: Boolean, in expectCallback()
395 ) = expectAvailableCallbacks(n.network, suspended, validated, blocked, timeoutMs) in expectCallback()
/frameworks/base/services/tests/servicestests/test-apps/SuspendTestApp/src/com/android/servicestests/apps/suspendtestapp/
DSuspendTestReceiver.java48 final boolean suspended = packageManager.isPackageSuspended(); in onReceive()
50 result.putBoolean(EXTRA_SUSPENDED, suspended); in onReceive()
/frameworks/base/core/java/android/content/pm/
DPackageUserState.java74 public boolean suspended; field in PackageUserState
101 suspended = false; in PackageUserState()
115 suspended = o.suspended; in PackageUserState()
424 if (suspended != oldState.suspended) { in equals()
427 if (suspended) { in equals()
503 hashCode = 31 * hashCode + Boolean.hashCode(suspended); in hashCode()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java450 return readUserState(userId).suspended; in getSuspended()
468 existingUserState.suspended = true; in addOrUpdateSuspension()
480 existingUserState.suspended = (existingUserState.suspendParams != null); in removeSuspension()
497 existingUserState.suspended = (existingUserState.suspendParams != null); in removeSuspension()
520 boolean notLaunched, boolean hidden, int distractionFlags, boolean suspended, in setUserState() argument
534 state.suspended = suspended; in setUserState()
551 otherState.distractionFlags, otherState.suspended, otherState.suspendParams, in setUserState()
704 proto.write(PackageProto.UserInfoProto.IS_SUSPENDED, state.suspended); in writeUsersInfoToProto()
705 if (state.suspended) { in writeUsersInfoToProto()
/frameworks/proto_logging/stats/enums/view/
Denums.proto35 // The display is dozing in a suspended low power state; it is still on
41 // The display is in a suspended full power state; it is still on but the
/frameworks/av/services/oboeservice/
DAAudioServiceStreamBase.h208 void setSuspended(bool suspended) { in setSuspended() argument
209 mSuspended = suspended; in setSuspended()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DRankingBuilder.java172 public RankingBuilder setSuspended(boolean suspended) { in setSuspended() argument
173 mIsSuspended = suspended; in setSuspended()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryBuilder.java265 public NotificationEntryBuilder setSuspended(boolean suspended) { in setSuspended() argument
266 mRankingBuilder.setSuspended(suspended); in setSuspended()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DBaseIDevicePolicyManager.java102 public void setPersonalAppsSuspended(ComponentName admin, boolean suspended) { in setPersonalAppsSuspended() argument
/frameworks/av/services/audiopolicy/service/
DAudioPolicyClientImpl.cpp208 bool suspended) in setEffectSuspended() argument
210 mAudioPolicyService->setEffectSuspended(effectId, sessionId, suspended); in setEffectSuspended()
DAudioPolicyService.h318 bool suspended);
531 bool suspended);
725 bool suspended) override;
DAudioPolicyService.cpp1900 bool suspended) in setEffectSuspendedCommand() argument
1907 data->mSuspended = suspended; in setEffectSuspendedCommand()
1910 effectId, sessionId, suspended); in setEffectSuspendedCommand()
2324 bool suspended) in setEffectSuspended() argument
2326 mAudioCommandThread->setEffectSuspendedCommand(effectId, sessionId, suspended); in setEffectSuspended()
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h89 bool suspended __unused) {} in setEffectSuspended()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java212 assertThat(packageUserState1.suspended, is(true)); in testReadPackageRestrictions_noSuspendingPackage()
220 assertThat(packageUserState1.suspended, is(true)); in testReadPackageRestrictions_noSuspendingPackage()
227 assertThat(packageUserState2.suspended, is(false)); in testReadPackageRestrictions_noSuspendingPackage()
251 assertThat(packageUserState1.suspended, is(true)); in testReadPackageRestrictions_noSuspendParamsMap()
336 assertThat(readPus1.suspended, is(true)); in testReadWritePackageRestrictions_suspendInfo()
361 assertThat(readPus2.suspended, is(true)); in testReadWritePackageRestrictions_suspendInfo()
373 assertThat(readPus3.suspended, is(false)); in testReadWritePackageRestrictions_suspendInfo()
903 assertThat(userState.suspended, is(false)); in verifyUserState()
DPackageUserStateTest.java83 oldUserState.suspended = true; in testPackageUserState01()
234 testUserState1.suspended = true; in testPackageUserState05()
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioFlingerService.aidl164 boolean suspended); in setEffectSuspended() argument
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h294 bool suspended) = 0;
421 bool suspended) override;
614 Status setEffectSuspended(int32_t effectId, int32_t sessionId, bool suspended) override;
/frameworks/av/services/audioflinger/
DEffects.h133 void setSuspended(bool suspended);
134 bool suspended() const;
DEffects.cpp182 void AudioFlinger::EffectBase::setSuspended(bool suspended) in setSuspended() argument
185 mSuspended = suspended; in setSuspended()
188 bool AudioFlinger::EffectBase::suspended() const in suspended() function in android::AudioFlinger::EffectBase
1776 if (effect->suspended()) { in enable()
1806 if (effect->suspended()) { in disable()
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java641 void onPackagesSuspendedChanged(String[] packages, boolean suspended, int userId) { in onPackagesSuspendedChanged() argument
648 && task.realActivitySuspended != suspended) { in onPackagesSuspendedChanged()
649 task.realActivitySuspended = suspended; in onPackagesSuspendedChanged()
650 if (suspended) { in onPackagesSuspendedChanged()
DActivityTaskManagerInternal.java543 public abstract void onPackagesSuspendedChanged(String[] packages, boolean suspended, in onPackagesSuspendedChanged() argument
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp607 bool suspended) { in setEffectSuspended() argument
613 mDelegate->setEffectSuspended(effectIdAidl, sessionIdAidl, suspended)); in setEffectSuspended()
1105 bool suspended) { in setEffectSuspended() argument
1109 mDelegate->setEffectSuspended(effectIdLegacy, sessionIdLegacy, suspended); in setEffectSuspended()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h417 bool suspended) = 0;
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl184 …nded(in ComponentName admin, in String callerPackage, in String[] packageNames, boolean suspended); in setPackagesSuspended() argument
501 void setPersonalAppsSuspended(in ComponentName admin, boolean suspended); in setPersonalAppsSuspended() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java842 public String[] setPackagesSuspended(String[] packageNames, boolean suspended, in setPackagesSuspended() argument

12