Searched refs:force (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/base/native/include/android/
H A Dstorage_manager.h109 void AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force,
/frameworks/base/include/storage/
H A 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/
H A Dstorage_manager.cpp135 void unmountObb(const char* filename, const bool force, AStorageManager_obbCallbackFunc func, void* data) { argument
138 mMountService->unmountObb(filename16, force, mObbActionListener, cb->nonce);
182 void AStorageManager_unmountObb(AStorageManager* mgr, const char* filename, const int force, argument
184 mgr->unmountObb(filename, force != 0, cb, data);
/frameworks/base/core/java/android/os/
H A DIPowerManager.aidl31 void userActivityWithForce(long when, boolean noChangeLights, boolean force);
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java170 public void unmountVolume(String mountPoint, boolean force) throws RemoteException { argument
176 _data.writeInt((force ? 1 : 0));
277 public int destroySecureContainer(String id, boolean force) throws RemoteException { argument
284 _data.writeInt((force ? 1 : 0));
345 public int unmountSecureContainer(String id, boolean force) throws RemoteException { argument
352 _data.writeInt((force ? 1 : 0));
506 * Unmounts an Opaque Binary Blob (OBB). When the force flag is
512 public void unmountObb(String filename, boolean force, IObbActionListener token, argument
519 _data.writeInt((force ? 1 : 0));
707 boolean force;
915 destroySecureContainer(String id, boolean force) argument
1032 unmountObb(String filename, boolean force, IObbActionListener token, int nonce) argument
1039 unmountSecureContainer(String id, boolean force) argument
1046 unmountVolume(String mountPoint, boolean force) argument
[all...]
H A DStorageManager.java450 * <code>force</code> flag is true, it will kill any application needed to
463 * @param force whether to kill any programs using this in order to unmount
468 public boolean unmountObb(String filename, boolean force, OnObbStateChangeListener listener) { argument
479 mMountService.unmountObb(filename, force, mObbActionListener, nonce);
/frameworks/base/services/camera/libcameraservice/
H A DAndroid.mk5 # force these builds to use camera stub only
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java528 void disableForegroundDispatchInternal(Activity activity, boolean force) { argument
531 if (!force && !activity.isResumed()) {
605 void disableForegroundNdefPushInternal(Activity activity, boolean force) { argument
608 if (!force && !activity.isResumed()) {
/frameworks/base/media/libstagefright/include/
H A DNuCachedSource2.h97 void restartPrefetcherIfNecessary_l(bool force = false);
/frameworks/base/core/tests/coretests/src/android/os/storage/
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...]
H A DAsecTests.java108 private int unmountContainer(String localId, boolean force) throws RemoteException { argument
113 return ms.unmountSecureContainer(fullId, force);
116 private int destroyContainer(String localId, boolean force) throws RemoteException { argument
121 return ms.destroySecureContainer(fullId, force);
/frameworks/base/libs/storage/
H A DIMountService.cpp157 int32_t unmountVolume(const String16& mountPoint, const bool force) argument
162 data.writeInt32(force ? 1 : 0);
306 int32_t unmountSecureContainer(const String16& id, const bool force) argument
311 data.writeInt32(force ? 1 : 0);
452 void unmountObb(const String16& filename, const bool force, argument
458 data.writeInt32(force ? 1 : 0);
/frameworks/base/services/java/com/android/server/
H A DMountService.java277 final boolean force; field in class:MountService.UnmountCallBack
280 UnmountCallBack(String path, boolean force) { argument
283 this.force = force;
295 UmsEnableCallBack(String path, String method, boolean force) { argument
296 super(path, force);
364 if (!ucb.force) {
876 * If force is not set, we do not unmount if there are
878 * If force is set, all the processes holding references need to be
884 private int doUnmountVolume(String path, boolean force) { argument
1236 unmountVolume(String path, boolean force) argument
1343 destroySecureContainer(String id, boolean force) argument
1409 unmountSecureContainer(String id, boolean force) argument
1586 unmountObb(String filename, boolean force, IObbActionListener token, int nonce) argument
1992 UnmountObbAction(ObbState obbState, boolean force) argument
[all...]
H A DPowerManagerService.java2176 public void userActivityWithForce(long time, boolean noChangeLights, boolean force) { argument
2178 userActivity(time, -1, noChangeLights, OTHER_EVENT, force);
2198 public void userActivity(long time, boolean noChangeLights, int eventType, boolean force) { argument
2199 userActivity(time, -1, noChangeLights, eventType, force);
2213 int eventType, boolean force) {
2248 + " force=" + force);
2260 if (mLastEventTime <= time || force) {
2262 if ((mUserActivityAllowed && !mProximitySensorActive) || force) {
2344 // force light
2212 userActivity(long time, long timeoutOverride, boolean noChangeLights, int eventType, boolean force) argument
[all...]
/frameworks/base/core/java/android/text/
H A DDynamicLayout.java211 Object[] force = sp.getSpans(where, where + after,
214 for (int i = 0; i < force.length; i++) {
215 int st = sp.getSpanStart(force[i]);
216 int en = sp.getSpanEnd(force[i]);
/frameworks/base/core/java/android/view/
H A DIWindowManager.aidl86 void stopAppFreezingScreen(IBinder token, boolean force);
141 * @param alwaysSendConfiguration Flag to force a new configuration to
H A DSurfaceView.java402 private void updateWindow(boolean force, boolean redrawNeeded) { argument
428 if (force || creating || formatChanged || sizeChanged || visibleChanged
/frameworks/base/services/java/com/android/server/am/
H A DActivityRecord.java415 public void stopFreezingScreenLocked(boolean force) { argument
416 if (force || frozenBeforeDestroy) {
418 service.mWindowManager.stopAppFreezingScreen(this, force);
H A DUsageStatsService.java379 * 'force' is false) so it tries to be quick, without writing to
382 * @params force do an unconditional, synchronous stats flush
385 private void writeStatsToFile(final boolean force) { argument
400 if (!force) {
/frameworks/base/media/libstagefright/
H A DNuCachedSource2.cpp329 void NuCachedSource2::restartPrefetcherIfNecessary_l(bool force) { argument
338 if (!force) {
433 restartPrefetcherIfNecessary_l(true /* force */);
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java394 private static int countAsciiSeptets(CharSequence msg, boolean force) { argument
396 if (force) return msgLen;
445 private static byte[] encode7bitAscii(String msg, boolean force) argument
454 if (force) {
484 private static Gsm7bitCodingResult encode7bitGsm(String msg, int septetOffset, boolean force) argument
504 byte[] fullData = GsmAlphabet.stringToGsm7BitPacked(msg, septetOffset, !force, 0, 0);
515 private static void encode7bitEms(UserData uData, byte[] udhData, boolean force) argument
520 Gsm7bitCodingResult gcr = encode7bitGsm(uData.payloadStr, udhSeptets, force);
/frameworks/base/services/audioflinger/
H A DAudioPolicyManagerBase.cpp248 bool force = false; local
253 // force routing command to audio hardware when starting a call
255 force = true;
258 // force routing command to audio hardware when exiting a call
260 force = true;
263 // force routing command to audio hardware when switching between telephony and VoIP
265 force = true;
278 // force routing command to audio hardware when ending call
297 setOutputDevice(mHardwareOutput, newDevice, force, delayMs);
1686 void AudioPolicyManagerBase::setOutputDevice(audio_io_handle_t output, uint32_t device, bool force, in argument
1829 checkAndSetVolume(int stream, int index, audio_io_handle_t output, uint32_t device, int delayMs, bool force) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java729 /*package*/ native static final void applyThemeStyle(int theme, int styleRes, boolean force); argument
H A DResources.java947 * <p>The semantics of this function depends on the <var>force</var>
955 * @param force If true, values in the style resource will always be
959 public void applyStyle(int resid, boolean force) { argument
960 AssetManager.applyThemeStyle(mTheme, resid, force);
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java615 * <p>Allows the popup window to force the flag
1235 * @param force reposition the window even if the specified position
1238 public void update(int x, int y, int width, int height, boolean force) { argument
1255 boolean update = force;

Completed in 635 milliseconds

12