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

12

/frameworks/av/media/libstagefright/foundation/
H A DAWakeLock.cpp79 void AWakeLock::release(bool force) { argument
83 if (force) {
/frameworks/base/libs/hwui/
H A DTexture.cpp41 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force, argument
44 if (mFirstWrap || force || wrapS != mWrapS || wrapT != mWrapT) {
59 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force, argument
62 if (mFirstFilter || force || min != mMinFilter || mag != mMagFilter) {
H A DCaches.cpp423 bool force = bindIndicesBufferInternal(mMeshIndices); local
428 return force;
439 bool force = bindIndicesBufferInternal(mShadowStripsIndices); local
444 return force;
485 void Caches::bindPositionVertexPointer(bool force, const GLvoid* vertices, GLsizei stride) { argument
486 if (force || vertices != mCurrentPositionPointer || stride != mCurrentPositionStride) {
494 void Caches::bindTexCoordsVertexPointer(bool force, const GLvoid* vertices, GLsizei stride) { argument
495 if (force || vertices != mCurrentTexCoordsPointer || stride != mCurrentTexCoordsStride) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarTransitions.java52 applyMode(getMode(), false /*animate*/, true /*force*/);
77 applyMode(newMode, animate, false /*force*/);
80 private void applyMode(int mode, boolean animate, boolean force) { argument
91 applyLightsOut(isLightsOut(mode), animate, force);
123 private void applyLightsOut(boolean lightsOut, boolean animate, boolean force) { argument
124 if (!force && lightsOut == mLightsOut) return;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNotificationController.java202 * @param force {@code true} to force notification to be shown/not-shown,
207 private void setNotificationVisible(boolean visible, int numNetworks, boolean force, argument
217 if (!visible && !mNotificationShown && !force) {
/frameworks/av/media/libstagefright/
H A DTimedEventQueue.cpp94 releaseWakeLock_l(true /*force*/);
353 void TimedEventQueue::releaseWakeLock_l(bool force) argument
358 if (force) {
376 releaseWakeLock_l(true /*force*/);
H A DNuCachedSource2.cpp473 bool ignoreLowWaterThreshold, bool force) {
480 if (!ignoreLowWaterThreshold && !force
488 if (!force) {
590 true); // force
472 restartPrefetcherIfNecessary_l( bool ignoreLowWaterThreshold, bool force) argument
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java87 * @param force true to disconnect kernel driver if necessary
90 public boolean claimInterface(UsbInterface intf, boolean force) { argument
91 return native_claim_interface(intf.getId(), force);
256 private native boolean native_claim_interface(int interfaceID, boolean force); argument
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDeviceConnection.cpp109 jint interfaceID, jboolean force)
118 if (ret && force && errno == EBUSY) {
108 android_hardware_UsbDeviceConnection_claim_interface(JNIEnv *env, jobject thiz, jint interfaceID, jboolean force) argument
/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/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationContentView.java126 selectLayout(false /* animate */, true /* force */);
137 selectLayout(false /* animate */, true /* force */);
164 selectLayout(mAnimate /* animate */, false /* force */);
194 private void selectLayout(boolean animate, boolean force) { argument
199 if (showContractedChild != mContractedVisible || force) {
247 selectLayout(false /* animate */, true /* force */);
/frameworks/base/services/core/java/com/android/server/wm/
H A DInputMonitor.java229 public void updateInputWindowsLw(boolean force) { argument
230 if (!force && !mUpdateInputWindowsNeeded) {
428 updateInputWindowsLw(false /*force*/);
453 updateInputWindowsLw(true /*force*/);
464 updateInputWindowsLw(true /*force*/);
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUserUsageStatsService.java399 * @param force To force all in-memory stats to be reloaded.
401 private void loadActiveStats(final long currentTimeMillis, boolean force) { argument
407 if (!force && mCurrentStats[intervalType] != null &&
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTabStrip.java278 void updateTextPositions(int position, float positionOffset, boolean force) { argument
287 super.updateTextPositions(position, positionOffset, force);
H A DPagerTitleStrip.java332 void updateTextPositions(int position, float positionOffset, boolean force) { argument
335 } else if (!force && positionOffset == mLastKnownPositionOffset) {
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DAsecTests.java105 private int unmountContainer(String localId, boolean force) throws Exception { argument
110 return ms.unmountSecureContainer(fullId, force);
113 private int destroyContainer(String localId, boolean force) throws Exception { argument
118 return ms.destroySecureContainer(fullId, force);
H A DStorageManagerBaseTest.java412 * @param force true if we shuold force the unmount, false otherwise
415 protected boolean unmountObb_noThrow(String obbFilePath, boolean force) { argument
421 assertTrue("unmountObb call failed", mSm.unmountObb(obbFilePath, force, obbListener));
424 if (force) {
436 * @param force true if we shuold force the unmount, false otherwise
438 protected void unmountObb(String obbFilePath, boolean force) { argument
443 assertTrue("unmountObb call failed", mSm.unmountObb(obbFilePath, force, obbListener));
446 if (force) {
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DBatteryService.java306 private void processValuesLocked(boolean force) { argument
349 if (force || (mBatteryProps.batteryStatus != mLastBatteryStatus ||
412 } else if (force && mBatteryProps.batteryLevel >= mLowBatteryWarningLevel) {
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionManagerService.java233 void switchImplementationIfNeededLocked(boolean force) { argument
246 if (force || mImpl == null || mImpl.mUser != mCurUser
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java1243 void disableForegroundDispatchInternal(Activity activity, boolean force) { argument
1246 if (!force && !activity.isResumed()) {
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java479 * <code>force</code> flag is true, it will kill any application needed to
492 * @param force whether to kill any programs using this in order to unmount
497 public boolean unmountObb(String rawPath, boolean force, OnObbStateChangeListener listener) { argument
503 mMountService.unmountObb(rawPath, force, mObbActionListener, nonce);
H A DIMountService.java170 public void unmountVolume(String mountPoint, boolean force, boolean removeEncryption) argument
177 _data.writeInt((force ? 1 : 0));
280 public int destroySecureContainer(String id, boolean force) throws RemoteException { argument
287 _data.writeInt((force ? 1 : 0));
349 public int unmountSecureContainer(String id, boolean force) throws RemoteException { argument
356 _data.writeInt((force ? 1 : 0));
511 * Unmounts an Opaque Binary Blob (OBB). When the force flag is
518 String rawPath, boolean force, IObbActionListener token, int nonce)
525 _data.writeInt((force ? 1 : 0));
1064 boolean force
517 unmountObb( String rawPath, boolean force, IObbActionListener token, int nonce) argument
1416 destroySecureContainer(String id, boolean force) argument
1534 unmountObb(String rawPath, boolean force, IObbActionListener token, int nonce) argument
1541 unmountSecureContainer(String id, boolean force) argument
1553 unmountVolume(String mountPoint, boolean force, boolean removeEncryption) argument
[all...]
/frameworks/base/core/java/android/view/
H A DSurfaceView.java426 protected void updateWindow(boolean force, boolean redrawNeeded) { argument
450 if (force || creating || formatChanged || sizeChanged || visibleChanged
/frameworks/base/libs/storage/
H A DIMountService.cpp160 int32_t unmountVolume(const String16& mountPoint, const bool force, const bool removeEncryption) argument
165 data.writeInt32(force ? 1 : 0);
312 int32_t unmountSecureContainer(const String16& id, const bool force) argument
317 data.writeInt32(force ? 1 : 0);
459 void unmountObb(const String16& filename, const bool force, argument
465 data.writeInt32(force ? 1 : 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java527 private void finishExpanding(boolean force, float velocity) { argument
537 targetHeight = (force || currentHeight > mSmallSize) ? mNaturalHeight : mSmallSize;
539 targetHeight = (force || currentHeight < mNaturalHeight) ? mSmallSize : mNaturalHeight;

Completed in 1664 milliseconds

12