Searched defs:force (Results 1 - 25 of 100) sorted by relevance

1234

/frameworks/av/media/libmediaplayer2/nuplayer2/
H A DJWakeLock.cpp80 void JWakeLock::release(bool force) { argument
84 if (force) {
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DAWakeLock.cpp79 void AWakeLock::release(bool force) { argument
83 if (force) {
/frameworks/support/dynamic-animation/src/main/java/androidx/dynamicanimation/animation/
H A DSpringAnimation.java23 * SpringAnimation is an animation that is driven by a {@link SpringForce}. The spring force defines
25 * started, on each frame the spring force will update the animation's value and velocity.
26 * The animation will continue to run until the spring force reaches equilibrium. If the spring used
120 * Uses the given spring as the force that drives this animation. If this spring force has its
124 * @param force a pre-defined spring force that drives the animation
125 * @return the animation that the spring force is set on
127 public SpringAnimation setSpring(SpringForce force) { argument
128 mSpring = force;
[all...]
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
H A DUserLifecycleTests.java249 private void stopUser(int userId, boolean force) throws Exception { argument
251 mIam.stopUser(userId, force /* force */, new IStopUserCallback.Stub() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarTransitions.java87 applyLightsOut(false /*animate*/, true /*force*/);
110 applyLightsOut(animate, false /*force*/);
113 private void applyLightsOut(boolean animate, boolean force) { argument
115 applyLightsOut(isLightsOut(getMode()), animate, force);
118 private void applyLightsOut(boolean lightsOut, boolean animate, boolean force) { argument
119 if (!force && lightsOut == mLightsOut) return;
H A DLockIcon.java121 update(false /* force */);
124 public void update(boolean force) { argument
138 || mScreenOn != mLastScreenOn || force) {
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DFakeGateKeeperService.java188 private void refreshSid(int uid, long sid, boolean force) { argument
189 if (!sidMap.containsKey(uid) || force) {
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DDeviceDescriptor.cpp265 void DeviceDescriptor::importAudioPort(const sp<AudioPort>& port, bool force) { argument
266 if (!force && !port->hasDynamicAudioProfile()) {
H A DAudioOutputDescriptor.cpp148 bool force)
152 // - the force flag is set
153 if (volume != mCurVolume[stream] || force) {
371 bool force)
373 bool changed = AudioOutputDescriptor::setVolume(volume, stream, device, delayMs, force);
583 bool force)
585 bool changed = AudioOutputDescriptor::setVolume(volume, stream, device, delayMs, force);
144 setVolume(float volume, audio_stream_type_t stream, audio_devices_t device __unused, uint32_t delayMs, bool force) argument
367 setVolume(float volume, audio_stream_type_t stream, audio_devices_t device, uint32_t delayMs, bool force) argument
579 setVolume(float volume, audio_stream_type_t stream, audio_devices_t device, uint32_t delayMs, bool force) argument
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java122 * @param force true to disconnect kernel driver if necessary
125 public boolean claimInterface(UsbInterface intf, boolean force) { argument
126 return native_claim_interface(intf.getId(), force);
376 private native boolean native_claim_interface(int interfaceID, boolean force); argument
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDeviceConnection.cpp114 jint interfaceID, jboolean force)
123 if (ret && force && errno == EBUSY) {
113 android_hardware_UsbDeviceConnection_claim_interface(JNIEnv *env, jobject thiz, jint interfaceID, jboolean force) argument
/frameworks/base/libs/hwui/
H A DTexture.cpp54 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force) { argument
55 if (force || wrapS != mWrapS || wrapT != mWrapT) {
68 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force) { argument
69 if (force || min != mMinFilter || mag != mMagFilter) {
282 // force a glTexImage2D to discard the mipmap levels
/frameworks/base/native/android/
H A Dstorage_manager.cpp144 void unmountObb(const char* filename, const bool force, AStorageManager_obbCallbackFunc func, void* data) { argument
147 mMountService->unmountObb(filename16, force, mObbActionListener, cb->nonce);
191 void AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force, argument
193 mgr->unmountObb(filename, force != 0, cb, data);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DLocalBluetoothAdapter.java159 public void startScanning(boolean force) { argument
162 if (!force) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DAppOpsInfo.java199 public boolean handleCloseControls(boolean save, boolean force) { argument
H A DNotificationListContainer.java138 * @param force reset the menu view even if it looks like it is already reset
140 void resetExposedMenuView(boolean animate, boolean force); argument
H A DNotificationGutsManager.java295 * @param force true if guts should be closed regardless of state (used for snooze only).
301 public void closeAndSaveGuts(boolean removeLeavebehinds, boolean force, boolean removeControls, argument
304 mNotificationGutsExposed.closeControls(removeLeavebehinds, removeControls, x, y, force);
307 mListContainer.resetExposedMenuView(false /* animate */, true /* force */);
353 closeAndSaveGuts(false /* removeLeavebehind */, false /* force */,
380 closeAndSaveGuts(true /* removeLeavebehind */, true /* force */,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DMessagingLayoutTransformState.java345 public void setVisible(boolean visible, boolean force) { argument
346 super.setVisible(visible, force);
355 setVisible(child, visible, force);
357 setVisible(ownGroup.getAvatar(), visible, force);
358 setVisible(ownGroup.getSenderView(), visible, force);
361 setVisible(isolatedMessage, visible, force);
367 private void setVisible(View child, boolean visible, boolean force) { argument
372 ownState.setVisible(visible, force);
411 setVisible(true /* visible */, false /* force */);
H A DTransformState.java538 public void setVisible(boolean visible, boolean force) { argument
539 if (!force && mTransformedView.getVisibility() == View.GONE) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationViewHierarchyManagerTest.java251 public void resetExposedMenuView(boolean animate, boolean force) {} argument
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DSecurityLogMonitor.java132 /** Semaphore used to force log fetching on request from adb. */
135 /** The last timestamp when force fetch was used, to prevent abuse. */
220 notifyDeviceOwnerIfNeeded(false /* force */);
420 final boolean force = mForceSemaphore.tryAcquire(POLLING_INTERVAL_MS, MILLISECONDS);
433 notifyDeviceOwnerIfNeeded(force);
454 private void notifyDeviceOwnerIfNeeded(boolean force) throws InterruptedException { argument
462 if (logSize >= BUFFER_ENTRIES_NOTIFICATION_LEVEL || (force && logSize > 0)) {
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
H A DPagerTabStrip.java284 void updateTextPositions(int position, float positionOffset, boolean force) { argument
293 super.updateTextPositions(position, positionOffset, force);
/frameworks/base/core/java/android/content/
H A DSyncStatusInfo.java412 public void maybeResetTodayStats(boolean clockValid, boolean force) { argument
415 if (!force) {
/frameworks/base/core/java/android/os/
H A DRecoverySystem.java691 false /* force */, false /* wipeEuicc */);
696 rebootWipeUserData(context, false /* shutdown */, reason, false /* force */,
703 rebootWipeUserData(context, shutdown, context.getPackageName(), false /* force */,
709 boolean force) throws IOException {
710 rebootWipeUserData(context, shutdown, reason, force, false /* wipeEuicc */);
725 * @param force whether the {@link UserManager.DISALLOW_FACTORY_RESET} user restriction
736 boolean force, boolean wipeEuicc) throws IOException {
738 if (!force && um.hasUserRestriction(UserManager.DISALLOW_FACTORY_RESET)) {
708 rebootWipeUserData(Context context, boolean shutdown, String reason, boolean force) argument
735 rebootWipeUserData(Context context, boolean shutdown, String reason, boolean force, boolean wipeEuicc) argument
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerBaseTest.java384 * @param force true if we shuold force the unmount, false otherwise
387 protected boolean unmountObb_noThrow(String obbFilePath, boolean force) { argument
393 assertTrue("unmountObb call failed", mSm.unmountObb(obbFilePath, force, obbListener));
396 if (force) {
408 * @param force true if we shuold force the unmount, false otherwise
410 protected void unmountObb(String obbFilePath, boolean force) { argument
415 assertTrue("unmountObb call failed", mSm.unmountObb(obbFilePath, force, obbListener));
418 if (force) {
[all...]

Completed in 511 milliseconds

1234