Home
last modified time | relevance | path

Searched refs:force (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/core/java/android/os/storage/
DIMountService.java170 public void unmountVolume(String mountPoint, boolean force) throws RemoteException { in unmountVolume() argument
176 _data.writeInt((force ? 1 : 0)); in unmountVolume()
277 public int destroySecureContainer(String id, boolean force) throws RemoteException { in destroySecureContainer() argument
284 _data.writeInt((force ? 1 : 0)); in destroySecureContainer()
345 public int unmountSecureContainer(String id, boolean force) throws RemoteException { in unmountSecureContainer() argument
352 _data.writeInt((force ? 1 : 0)); in unmountSecureContainer()
512 public void unmountObb(String filename, boolean force, IObbActionListener token, in unmountObb() argument
519 _data.writeInt((force ? 1 : 0)); in unmountObb()
707 boolean force; in onTransact()
708 force = 0 != data.readInt(); in onTransact()
[all …]
DStorageManager.java468 public boolean unmountObb(String filename, boolean force, OnObbStateChangeListener listener) { in unmountObb() argument
479 mMountService.unmountObb(filename, force, mObbActionListener, nonce); in unmountObb()
/frameworks/base/include/storage/
DIMountService.h41 unmountVolume(const String16& mountPoint, const bool force) = 0;
54 unmountSecureContainer(const String16& id, const bool force) = 0;
65 virtual void unmountObb(const String16& filename, const bool force,
/frameworks/base/native/android/
Dstorage_manager.cpp135 …void unmountObb(const char* filename, const bool force, AStorageManager_obbCallbackFunc func, void… in unmountObb()
138 mMountService->unmountObb(filename16, force, mObbActionListener, cb->nonce); in unmountObb()
182 void AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force, in AStorageManager_unmountObb() argument
184 mgr->unmountObb(filename, force != 0, cb, data); in AStorageManager_unmountObb()
/frameworks/base/core/java/android/nfc/
DNfcAdapter.java528 void disableForegroundDispatchInternal(Activity activity, boolean force) { in disableForegroundDispatchInternal() argument
531 if (!force && !activity.isResumed()) { in disableForegroundDispatchInternal()
605 void disableForegroundNdefPushInternal(Activity activity, boolean force) { in disableForegroundNdefPushInternal() argument
608 if (!force && !activity.isResumed()) { in disableForegroundNdefPushInternal()
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerBaseTest.java415 protected boolean unmountObb_noThrow(String obbFilePath, boolean force) { in unmountObb_noThrow() argument
421 assertTrue("unmountObb call failed", mSm.unmountObb(obbFilePath, force, obbListener)); in unmountObb_noThrow()
424 if (force) { in unmountObb_noThrow()
438 protected void unmountObb(String obbFilePath, boolean force) { in unmountObb() argument
443 assertTrue("unmountObb call failed", mSm.unmountObb(obbFilePath, force, obbListener)); in unmountObb()
446 if (force) { in unmountObb()
DAsecTests.java108 private int unmountContainer(String localId, boolean force) throws RemoteException { in unmountContainer() argument
113 return ms.unmountSecureContainer(fullId, force); in unmountContainer()
116 private int destroyContainer(String localId, boolean force) throws RemoteException { in destroyContainer() argument
121 return ms.destroySecureContainer(fullId, force); in destroyContainer()
/frameworks/base/libs/storage/
DIMountService.cpp157 int32_t unmountVolume(const String16& mountPoint, const bool force) in unmountVolume() argument
162 data.writeInt32(force ? 1 : 0); in unmountVolume()
306 int32_t unmountSecureContainer(const String16& id, const bool force) in unmountSecureContainer() argument
311 data.writeInt32(force ? 1 : 0); in unmountSecureContainer()
452 void unmountObb(const String16& filename, const bool force, in unmountObb() argument
458 data.writeInt32(force ? 1 : 0); in unmountObb()
/frameworks/base/services/java/com/android/server/
DMountService.java277 final boolean force; field in MountService.UnmountCallBack
280 UnmountCallBack(String path, boolean force) { in UnmountCallBack() argument
283 this.force = force; in UnmountCallBack()
295 UmsEnableCallBack(String path, String method, boolean force) { in UmsEnableCallBack() argument
296 super(path, force); in UmsEnableCallBack()
364 if (!ucb.force) { in handleMessage()
884 private int doUnmountVolume(String path, boolean force) { in doUnmountVolume() argument
901 "volume unmount %s%s", path, (force ? " force" : ""))); in doUnmountVolume()
1236 public void unmountVolume(String path, boolean force) { in unmountVolume() argument
1241 if (DEBUG_UNMOUNT) Slog.i(TAG, "Unmounting " + path + " force = " + force); in unmountVolume()
[all …]
DPowerManagerService.java2176 public void userActivityWithForce(long time, boolean noChangeLights, boolean force) { in userActivityWithForce() argument
2178 userActivity(time, -1, noChangeLights, OTHER_EVENT, force); in userActivityWithForce()
2198 public void userActivity(long time, boolean noChangeLights, int eventType, boolean force) { in userActivity() argument
2199 userActivity(time, -1, noChangeLights, eventType, force); in userActivity()
2213 int eventType, boolean force) { in userActivity() argument
2248 + " force=" + force); in userActivity()
2260 if (mLastEventTime <= time || force) { in userActivity()
2262 if ((mUserActivityAllowed && !mProximitySensorActive) || force) { in userActivity()
/frameworks/base/native/include/android/
Dstorage_manager.h109 void AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force,
/frameworks/base/core/java/android/os/
DIPowerManager.aidl31 void userActivityWithForce(long when, boolean noChangeLights, boolean force); in userActivityWithForce() argument
/frameworks/base/core/java/android/text/
DDynamicLayout.java211 Object[] force = sp.getSpans(where, where + after, in reflow() local
214 for (int i = 0; i < force.length; i++) { in reflow()
215 int st = sp.getSpanStart(force[i]); in reflow()
216 int en = sp.getSpanEnd(force[i]); in reflow()
/frameworks/base/media/libstagefright/include/
DNuCachedSource2.h97 void restartPrefetcherIfNecessary_l(bool force = false);
/frameworks/base/services/audioflinger/
DAudioPolicyManagerBase.cpp248 bool force = false; in setPhoneState() local
255 force = true; in setPhoneState()
260 force = true; in setPhoneState()
265 force = true; in setPhoneState()
297 setOutputDevice(mHardwareOutput, newDevice, force, delayMs); in setPhoneState()
1686 void AudioPolicyManagerBase::setOutputDevice(audio_io_handle_t output, uint32_t device, bool force,… in setOutputDevice() argument
1693 setOutputDevice(outputDesc->mOutput1->mId, device, force, delayMs); in setOutputDevice()
1694 setOutputDevice(outputDesc->mOutput2->mId, device, force, delayMs); in setOutputDevice()
1711 if ((device == 0 || device == prevDevice) && !force) { in setOutputDevice()
1829 …etVolume(int stream, int index, audio_io_handle_t output, uint32_t device, int delayMs, bool force) in checkAndSetVolume() argument
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java394 private static int countAsciiSeptets(CharSequence msg, boolean force) { in countAsciiSeptets() argument
396 if (force) return msgLen; in countAsciiSeptets()
445 private static byte[] encode7bitAscii(String msg, boolean force) in encode7bitAscii() argument
454 if (force) { in encode7bitAscii()
484 private static Gsm7bitCodingResult encode7bitGsm(String msg, int septetOffset, boolean force) in encode7bitGsm() argument
504 byte[] fullData = GsmAlphabet.stringToGsm7BitPacked(msg, septetOffset, !force, 0, 0); in encode7bitGsm()
515 private static void encode7bitEms(UserData uData, byte[] udhData, boolean force) in encode7bitEms() argument
520 Gsm7bitCodingResult gcr = encode7bitGsm(uData.payloadStr, udhSeptets, force); in encode7bitEms()
/frameworks/base/core/java/android/view/
DIWindowManager.aidl86 void stopAppFreezingScreen(IBinder token, boolean force); in stopAppFreezingScreen() argument
DSurfaceView.java402 private void updateWindow(boolean force, boolean redrawNeeded) { in updateWindow() argument
428 if (force || creating || formatChanged || sizeChanged || visibleChanged in updateWindow()
/frameworks/base/media/libstagefright/
DNuCachedSource2.cpp329 void NuCachedSource2::restartPrefetcherIfNecessary_l(bool force) { in restartPrefetcherIfNecessary_l() argument
338 if (!force) { in restartPrefetcherIfNecessary_l()
/frameworks/base/services/java/com/android/server/am/
DActivityRecord.java415 public void stopFreezingScreenLocked(boolean force) { in stopFreezingScreenLocked() argument
416 if (force || frozenBeforeDestroy) { in stopFreezingScreenLocked()
418 service.mWindowManager.stopAppFreezingScreen(this, force); in stopFreezingScreenLocked()
DUsageStatsService.java385 private void writeStatsToFile(final boolean force) { in writeStatsToFile() argument
400 if (!force) { in writeStatsToFile()
/frameworks/base/core/java/android/widget/
DPopupWindow.java1238 public void update(int x, int y, int width, int height, boolean force) {
1255 boolean update = force;
/frameworks/base/docs/html/guide/topics/ui/
Dhow-android-draws.jd25 <p>You can force a View to draw, by calling <code>{@link android.view.View#invalidate()}</code>.
/frameworks/base/core/java/android/content/res/
DAssetManager.java729 /*package*/ native static final void applyThemeStyle(int theme, int styleRes, boolean force); in applyThemeStyle() argument
/frameworks/base/docs/html/guide/topics/manifest/
Dintent-filter-element.jd114 which the broadcasts are received, or want to force Android to prefer

123