Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/pm/
DPackageUserState.java73 public boolean suspended; field in PackageUserState
100 suspended = false; in PackageUserState()
116 suspended = o.suspended; in PackageUserState()
396 if (suspended != oldState.suspended) { in equals()
399 if (suspended) { in equals()
477 hashCode = 31 * hashCode + Boolean.hashCode(suspended); in hashCode()
DIPackageManager.aidl289 String[] setPackagesSuspendedAsUser(in String[] packageNames, boolean suspended, in setPackagesSuspendedAsUser() argument
/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/core/java/com/android/server/pm/
DPackageSettingBase.java422 return readUserState(userId).suspended; in getSuspended()
440 existingUserState.suspended = true; in addOrUpdateSuspension()
451 existingUserState.suspended = (existingUserState.suspendParams != null); in removeSuspension()
467 existingUserState.suspended = (existingUserState.suspendParams != null); in removeSuspension()
487 boolean notLaunched, boolean hidden, int distractionFlags, boolean suspended, in setUserState() argument
501 state.suspended = suspended; in setUserState()
518 otherState.distractionFlags, otherState.suspended, otherState.suspendParams, in setUserState()
681 proto.write(PackageProto.UserInfoProto.IS_SUSPENDED, state.suspended); in writeUsersInfoToProto()
682 if (state.suspended) { in writeUsersInfoToProto()
/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/oboeservice/
DAAudioServiceStreamBase.h203 void setSuspended(bool suspended) { in setSuspended() argument
204 mSuspended = suspended; in setSuspended()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DBaseIDevicePolicyManager.java76 public void setPersonalAppsSuspended(ComponentName admin, boolean suspended) { in setPersonalAppsSuspended() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DRankingBuilder.java169 public RankingBuilder setSuspended(boolean suspended) { in setSuspended() argument
170 mIsSuspended = suspended; in setSuspended()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryBuilder.java236 public NotificationEntryBuilder setSuspended(boolean suspended) { in setSuspended() argument
237 mRankingBuilder.setSuspended(suspended); in setSuspended()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyClientImpl.cpp178 bool suspended) in setEffectSuspended() argument
180 mAudioPolicyService->setEffectSuspended(effectId, sessionId, suspended); in setEffectSuspended()
DAudioPolicyService.h328 bool suspended);
522 bool suspended);
714 bool suspended) override;
DAudioPolicyService.cpp1503 bool suspended) in setEffectSuspendedCommand() argument
1510 data->mSuspended = suspended; in setEffectSuspendedCommand()
1513 effectId, sessionId, suspended); in setEffectSuspendedCommand()
1907 bool suspended) in setEffectSuspended() argument
1909 mAudioCommandThread->setEffectSuspendedCommand(effectId, sessionId, suspended); in setEffectSuspended()
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h88 bool suspended __unused) {} in setEffectSuspended()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java193 assertThat(packageUserState1.suspended, is(true)); in testReadPackageRestrictions_noSuspendingPackage()
200 assertThat(packageUserState2.suspended, is(false)); in testReadPackageRestrictions_noSuspendingPackage()
215 assertThat(packageUserState1.suspended, is(true)); in testReadPackageRestrictions_noSuspendParamsMap()
288 assertThat(readPus1.suspended, is(true)); in testReadWritePackageRestrictions_suspendInfo()
309 assertThat(readPus2.suspended, is(true)); in testReadWritePackageRestrictions_suspendInfo()
320 assertThat(readPus3.suspended, is(false)); in testReadWritePackageRestrictions_suspendInfo()
788 assertThat(userState.suspended, is(false)); in verifyUserState()
DPackageUserStateTest.java88 oldUserState.suspended = true; in testPackageUserState01()
239 testUserState1.suspended = true; in testPackageUserState05()
/frameworks/av/services/audioflinger/
DEffects.h132 void setSuspended(bool suspended);
133 bool suspended() const;
DEffects.cpp158 void AudioFlinger::EffectBase::setSuspended(bool suspended) in setSuspended() argument
161 mSuspended = suspended; in setSuspended()
164 bool AudioFlinger::EffectBase::suspended() const in suspended() function in android::AudioFlinger::EffectBase
1666 if (effect->suspended()) { in enable()
1696 if (effect->suspended()) { in disable()
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java635 void onPackagesSuspendedChanged(String[] packages, boolean suspended, int userId) { in onPackagesSuspendedChanged() argument
642 && task.realActivitySuspended != suspended) { in onPackagesSuspendedChanged()
643 task.realActivitySuspended = suspended; in onPackagesSuspendedChanged()
644 if (suspended) { in onPackagesSuspendedChanged()
DActivityTaskManagerInternal.java524 public abstract void onPackagesSuspendedChanged(String[] packages, boolean suspended, in onPackagesSuspendedChanged() argument
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h386 bool suspended) = 0;
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp732 bool suspended) in setEffectSuspended() argument
738 data.writeInt32(suspended ? 1 : 0); in setEffectSuspended()
1426 bool suspended = data.readInt32() == 1; in onTransact() local
1427 setEffectSuspended(effectId, sessionId, suspended); in onTransact()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl173 …nded(in ComponentName admin, in String callerPackage, in String[] packageNames, boolean suspended); in setPackagesSuspended() argument
481 void setPersonalAppsSuspended(in ComponentName admin, boolean suspended); in setPersonalAppsSuspended() argument
/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.h486 bool suspended) = 0;
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2506 public String[] setPackagesSuspended(String[] packageNames, boolean suspended, in setPackagesSuspended() argument
2512 return setPackagesSuspended(packageNames, suspended, appExtras, launcherExtras, dialogInfo); in setPackagesSuspended()
2516 public String[] setPackagesSuspended(String[] packageNames, boolean suspended, in setPackagesSuspended() argument
2520 return mPM.setPackagesSuspendedAsUser(packageNames, suspended, appExtras, in setPackagesSuspended()

12