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

12

/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDeviceConnection.cpp109 int interfaceID, jboolean force)
118 if (ret && force && errno == EBUSY) {
108 android_hardware_UsbDeviceConnection_claim_interface(JNIEnv *env, jobject thiz, int interfaceID, jboolean force) argument
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java88 * @param force true to disconnect kernel driver if necessary
91 public boolean claimInterface(UsbInterface intf, boolean force) { argument
92 return native_claim_interface(intf.getId(), force);
175 private native boolean native_claim_interface(int interfaceID, boolean force); argument
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardViewManager.java156 private void maybeCreateKeyguardLocked(boolean enableScreenRotation, boolean force, argument
203 if (force || mKeyguardView == null) {
/frameworks/base/services/java/com/android/server/wm/
H A DInputMonitor.java214 public void updateInputWindowsLw(boolean force) { argument
215 if (!force && !mUpdateInputWindowsNeeded) {
390 updateInputWindowsLw(false /*force*/);
415 updateInputWindowsLw(true /*force*/);
426 updateInputWindowsLw(true /*force*/);
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTabStrip.java276 void updateTextPositions(int position, float positionOffset, boolean force) { argument
285 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/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/core/java/android/nfc/
H A DNfcAdapter.java1060 void disableForegroundDispatchInternal(Activity activity, boolean force) { argument
1063 if (!force && !activity.isResumed()) {
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java476 * <code>force</code> flag is true, it will kill any application needed to
489 * @param force whether to kill any programs using this in order to unmount
494 public boolean unmountObb(String rawPath, boolean force, OnObbStateChangeListener listener) { argument
500 mMountService.unmountObb(rawPath, force, mObbActionListener, nonce);
H A DIMountService.java172 public void unmountVolume(String mountPoint, boolean force, boolean removeEncryption) argument
179 _data.writeInt((force ? 1 : 0));
282 public int destroySecureContainer(String id, boolean force) throws RemoteException { argument
289 _data.writeInt((force ? 1 : 0));
350 public int unmountSecureContainer(String id, boolean force) throws RemoteException { argument
357 _data.writeInt((force ? 1 : 0));
512 * Unmounts an Opaque Binary Blob (OBB). When the force flag is
519 String rawPath, boolean force, IObbActionListener token, int nonce)
526 _data.writeInt((force ? 1 : 0));
897 boolean force
518 unmountObb( String rawPath, boolean force, IObbActionListener token, int nonce) argument
1174 destroySecureContainer(String id, boolean force) argument
1291 unmountObb(String rawPath, boolean force, IObbActionListener token, int nonce) argument
1298 unmountSecureContainer(String id, boolean force) argument
1310 unmountVolume(String mountPoint, boolean force, boolean removeEncryption) argument
[all...]
/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/libs/hwui/
H A DCaches.cpp346 void Caches::bindPositionVertexPointer(bool force, GLvoid* vertices, GLsizei stride) { argument
347 if (force || vertices != mCurrentPositionPointer || stride != mCurrentPositionStride) {
355 void Caches::bindTexCoordsVertexPointer(bool force, GLvoid* vertices) { argument
356 if (force || vertices != mCurrentTexCoordsPointer) {
H A DFontRenderer.cpp376 bool force = caches.unbindMeshBuffer(); local
377 caches.bindPositionVertexPointer(force, buffer);
378 caches.bindTexCoordsVertexPointer(force, buffer + offset);
/frameworks/av/media/libstagefright/
H A DNuCachedSource2.cpp434 bool ignoreLowWaterThreshold, bool force) {
441 if (!ignoreLowWaterThreshold && !force
449 if (!force) {
543 true); // force
433 restartPrefetcherIfNecessary_l( bool ignoreLowWaterThreshold, bool force) argument
/frameworks/base/core/java/android/view/
H A DSurfaceView.java418 private void updateWindow(boolean force, boolean redrawNeeded) { argument
442 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);
310 int32_t unmountSecureContainer(const String16& id, const bool force) argument
315 data.writeInt32(force ? 1 : 0);
457 void unmountObb(const String16& filename, const bool force, argument
463 data.writeInt32(force ? 1 : 0);
/frameworks/base/services/java/com/android/server/
H A DWallpaperManagerService.java784 boolean bindWallpaperComponentLocked(ComponentName componentName, boolean force, argument
788 if (!force) {
/frameworks/base/services/java/com/android/server/am/
H A DUsageStatsService.java469 * 'force' is false) so it tries to be quick, without writing to
472 * @params force do an unconditional, synchronous stats flush
476 private void writeStatsToFile(final boolean force, final boolean forceWriteHistoryStats) { argument
491 if (!force) {
H A DActiveServices.java1177 private final void bringDownServiceLocked(ServiceRecord r, boolean force) { argument
1182 if (!force && r.startRequested) {
1186 if (!force) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java526 private void finishExpanding(boolean force) { argument
536 targetHeight = (force || currentHeight > mSmallSize) ? mNaturalHeight : mSmallSize;
538 targetHeight = (force || currentHeight < mNaturalHeight) ? mSmallSize : mNaturalHeight;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarView.java205 public void setNavigationIconHints(int hints, boolean force) { argument
206 if (!force && hints == mNavigationIconHints) return;
235 public void setDisabledFlags(int disabledFlags, boolean force) { argument
236 if (!force && mDisabledFlags == disabledFlags) return;
287 public void setMenuVisibility(final boolean show, final boolean force) { argument
288 if (!force && mShowMenu == show) return;
299 public void setLowProfile(final boolean lightsOut, final boolean animate, final boolean force) { argument
300 if (!force && lightsOut == mLowProfile) return;
378 // force the low profile & disabled states into compliance
379 setLowProfile(mLowProfile, false, true /* force */);
[all...]
/frameworks/base/core/java/android/content/res/
H A DResources.java690 * the drawable returned is not the requested density, then force it
1091 * <p>The semantics of this function depends on the <var>force</var>
1099 * @param force If true, values in the style resource will always be
1103 public void applyStyle(int resid, boolean force) { argument
1104 AssetManager.applyThemeStyle(mTheme, resid, force);
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java653 * <p>Allows the popup window to force the flag
665 * Allows the popup window to force the flag
1367 * @param force reposition the window even if the specified position
1370 public void update(int x, int y, int width, int height, boolean force) { argument
1387 boolean update = force;
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DLockPatternKeyguardView.java827 private void updateScreen(Mode mode, boolean force) { argument
830 + " last mode=" + mMode + ", force = " + force, new RuntimeException());
836 if (force || mLockScreen == null) {
844 if (force || mUnlockScreen == null || unlockMode != mUnlockScreenMode) {

Completed in 7485 milliseconds

12