Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/pm/
DPackageUserState.java58 public boolean suspended; field in PackageUserState
82 suspended = false; in PackageUserState()
97 suspended = o.suspended; in PackageUserState()
230 if (suspended != oldState.suspended) { in equals()
233 if (suspended) { in equals()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java405 return readUserState(userId).suspended; in getSuspended()
408 void setSuspended(boolean suspended, String suspendingPackage, SuspendDialogInfo dialogInfo, in setSuspended() argument
411 existingUserState.suspended = suspended; in setSuspended()
412 existingUserState.suspendingPackage = suspended ? suspendingPackage : null; in setSuspended()
413 existingUserState.dialogInfo = suspended ? dialogInfo : null; in setSuspended()
414 existingUserState.suspendedAppExtras = suspended ? appExtras : null; in setSuspended()
415 existingUserState.suspendedLauncherExtras = suspended ? launcherExtras : null; in setSuspended()
435 boolean notLaunched, boolean hidden, int distractionFlags, boolean suspended, in setUserState() argument
451 state.suspended = suspended; in setUserState()
470 otherState.distractionFlags, otherState.suspended, otherState.suspendingPackage, in setUserState()
[all …]
/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/services/tests/servicestests/src/com/android/server/pm/
DPackageUserStateTest.java84 oldUserState.suspended = true; in testPackageUserState01()
198 testUserState1.suspended = true; in testPackageUserState05()
222 testUserState2.suspended = testUserState1.suspended = false; in testPackageUserState05()
DPackageManagerSettingsTests.java184 assertThat(packageUserState1.suspended, is(true)); in testReadPackageRestrictions_oldSuspendInfo()
189 assertThat(packageUserState2.suspended, is(false)); in testReadPackageRestrictions_oldSuspendInfo()
232 assertThat(readPus1.suspended, is(true)); in testReadWritePackageRestrictions_newSuspendInfo()
241 assertThat(readPus2.suspended, is(true)); in testReadWritePackageRestrictions_newSuspendInfo()
249 assertThat(readPus3.suspended, is(false)); in testReadWritePackageRestrictions_newSuspendInfo()
743 assertThat(userState.suspended, is(false)); in verifyUserState()
/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestableNetworkCallback.kt248 suspended: Boolean = false, in expectAvailableCallbacks()
254 if (suspended) { in expectAvailableCallbacks()
268 ) = expectAvailableCallbacks(net, suspended = true, validated = validated, tmt = tmt) in expectAvailableAndSuspendedCallbacks()
324 suspended: Boolean, in expectCallback()
328 ) = expectAvailableCallbacks(n.network, suspended, validated, blocked, timeoutMs) in expectCallback()
/frameworks/av/services/oboeservice/
DAAudioServiceStreamBase.h212 void setSuspended(bool suspended) { in setSuspended() argument
213 mSuspended = suspended; in setSuspended()
/frameworks/base/core/proto/android/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/audiopolicy/service/
DAudioPolicyClientImpl.cpp176 bool suspended) in setEffectSuspended() argument
178 mAudioPolicyService->setEffectSuspended(effectId, sessionId, suspended); in setEffectSuspended()
DAudioPolicyService.h313 bool suspended);
500 bool suspended);
692 bool suspended) override;
DAudioPolicyService.cpp1425 bool suspended) in setEffectSuspendedCommand() argument
1432 data->mSuspended = suspended; in setEffectSuspendedCommand()
1435 effectId, sessionId, suspended); in setEffectSuspendedCommand()
1829 bool suspended) in setEffectSuspended() argument
1831 mAudioCommandThread->setEffectSuspendedCommand(effectId, sessionId, suspended); in setEffectSuspended()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationFilterTest.java199 entry.suspended = true; in testShouldFilterHiddenNotifications()
204 entry.suspended = false; in testShouldFilterHiddenNotifications()
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h88 bool suspended __unused) {} in setEffectSuspended()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationFilter.java113 if (entry.suspended) { in shouldFilterOut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntry.java122 public boolean suspended; field in NotificationEntry
203 suspended = ranking.isSuspended(); in populateFromRanking()
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java614 void onPackagesSuspendedChanged(String[] packages, boolean suspended, int userId) { in onPackagesSuspendedChanged() argument
621 && tr.realActivitySuspended != suspended) { in onPackagesSuspendedChanged()
622 tr.realActivitySuspended = suspended; in onPackagesSuspendedChanged()
623 if (suspended) { in onPackagesSuspendedChanged()
DActivityTaskManagerInternal.java541 public abstract void onPackagesSuspendedChanged(String[] packages, boolean suspended, in onPackagesSuspendedChanged() argument
DRootWindowContainer.java436 void updateHiddenWhileSuspendedState(final ArraySet<String> packages, final boolean suspended) { in updateHiddenWhileSuspendedState() argument
439 w.setHiddenWhileSuspended(suspended); in updateHiddenWhileSuspendedState()
/frameworks/av/services/audioflinger/
DEffects.h132 void setSuspended(bool suspended);
133 bool suspended() const;
DEffects.cpp157 void AudioFlinger::EffectBase::setSuspended(bool suspended) in setSuspended() argument
160 mSuspended = suspended; in setSuspended()
163 bool AudioFlinger::EffectBase::suspended() const in suspended() function in android::AudioFlinger::EffectBase
1662 if (effect->suspended()) { in enable()
1692 if (effect->suspended()) { in disable()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h367 bool suspended) = 0;
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp729 bool suspended) in setEffectSuspended() argument
735 data.writeInt32(suspended ? 1 : 0); in setEffectSuspended()
1423 bool suspended = data.readInt32() == 1; in onTransact() local
1424 setEffectSuspended(effectId, sessionId, suspended); in onTransact()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java357 boolean suspended = true; // suspended if all underlying are suspended in applyUnderlyingCapabilities()
387 suspended &= !underlyingCaps.hasCapability(NET_CAPABILITY_NOT_SUSPENDED); in applyUnderlyingCapabilities()
395 suspended = false; in applyUnderlyingCapabilities()
404 caps.setCapability(NET_CAPABILITY_NOT_SUSPENDED, !suspended); in applyUnderlyingCapabilities()
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h468 bool suspended) = 0;
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2343 public String[] setPackagesSuspended(String[] packageNames, boolean suspended, in setPackagesSuspended() argument
2349 return setPackagesSuspended(packageNames, suspended, appExtras, launcherExtras, dialogInfo); in setPackagesSuspended()
2353 public String[] setPackagesSuspended(String[] packageNames, boolean suspended, in setPackagesSuspended() argument
2357 return mPM.setPackagesSuspendedAsUser(packageNames, suspended, appExtras, in setPackagesSuspended()

12