Searched defs:force (Results 1 - 25 of 72) sorted by path

123

/frameworks/av/media/libmedia/
H A DVisualizer.cpp98 uint32_t rate, bool force)
105 if (force || mEnabled) {
97 setCaptureCallBack(capture_cbk_t cbk, void* user, uint32_t flags, uint32_t rate, bool force) argument
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp81 err = codec->reclaim(true /* force */);
631 status_t MediaCodec::reclaim(bool force) { argument
635 msg->setInt32("force", force ? 1 : 0);
1900 int32_t force = 0; local
1901 msg->findInt32("force", &force);
1902 if (!force && hasPendingBuffer()) {
H A DNuCachedSource2.cpp484 bool ignoreLowWaterThreshold, bool force) {
491 if (!ignoreLowWaterThreshold && !force
499 if (!force) {
608 true); // force
483 restartPrefetcherIfNecessary_l( bool ignoreLowWaterThreshold, bool force) argument
/frameworks/av/media/libstagefright/foundation/
H A DAWakeLock.cpp79 void AWakeLock::release(bool force) { argument
83 if (force) {
H A DColorUtils.cpp560 const ColorAspects &aspects, sp<AMessage> &format, bool force) {
565 if (range != 0 || force) {
568 if (standard != 0 || force) {
571 if (transfer != 0 || force) {
559 setColorAspectsIntoFormat( const ColorAspects &aspects, sp<AMessage> &format, bool force) argument
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioOutputDescriptor.cpp147 bool force)
151 // - the force flag is set
152 if (volume != mCurVolume[stream] || force) {
372 bool force)
374 bool changed = AudioOutputDescriptor::setVolume(volume, stream, device, delayMs, force);
436 bool force)
438 bool changed = AudioOutputDescriptor::setVolume(volume, stream, device, delayMs, force);
143 setVolume(float volume, audio_stream_type_t stream, audio_devices_t device __unused, uint32_t delayMs, bool force) argument
368 setVolume(float volume, audio_stream_type_t stream, audio_devices_t device, uint32_t delayMs, bool force) argument
432 setVolume(float volume, audio_stream_type_t stream, audio_devices_t device, uint32_t delayMs, bool force) argument
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp188 // do not force device change on duplicated output because if device is 0, it will
189 // also force a device 0 for the two outputs it is duplicated to which may override
191 bool force = !desc->isDuplicated() local
193 // always force when disconnecting (a non-duplicated device)
195 setOutputDevice(desc, newDevice, force, 0);
476 // force reevaluating accessibility routing when call stops
481 * Switching to or from incall state or switching between telephony and VoIP lead to force
484 bool force = ((is_state_in_call(oldState) != is_state_in_call(state)) local
522 // force routing command to audio hardware when ending call
539 setOutputDevice(mPrimaryOutput, rxDevice, force,
1158 bool force = !outputDesc->isActive(); local
4598 setOutputDevice(const sp<AudioOutputDescriptor>& outputDesc, audio_devices_t device, bool force, int delayMs, audio_patch_handle_t *patchHandle, const char* address) argument
4748 setInputDevice(audio_io_handle_t input, audio_devices_t device, bool force, audio_patch_handle_t *patchHandle) argument
4958 checkAndSetVolume(audio_stream_type_t stream, int index, const sp<AudioOutputDescriptor>& outputDesc, audio_devices_t device, int delayMs, bool force) argument
5011 applyStreamVolumes(const sp<AudioOutputDescriptor>& outputDesc, audio_devices_t device, int delayMs, bool force) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java2143 boolean force = data.readInt() != 0;
2146 int result = stopUser(userid, force, callback);
5774 public int stopUser(int userid, boolean force, IStopUserCallback callback) argument
5780 data.writeInt(force ? 1 : 0);
H A DActivityThread.java3410 static final void cleanUpPendingRemoveWindows(ActivityClientRecord r, boolean force) { argument
3411 if (r.mPreserveWindow && !force) {
3501 cleanUpPendingRemoveWindows(r, false /* force */);
H A DIActivityManager.java467 public int stopUser(int userid, boolean force, IStopUserCallback callback) throws RemoteException; argument
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java845 /*package*/ native static final void applyThemeStyle(long theme, int styleRes, boolean force); argument
H A DResources.java833 * the drawable returned is not the requested density, then force it
1362 * <p>The semantics of this function depends on the <var>force</var>
1370 * @param force If true, values in the style resource will always be
1374 public void applyStyle(int resId, boolean force) { argument
1375 mThemeImpl.applyStyle(resId, force);
1650 public void append(int resId, boolean force) { argument
1660 mForce = GrowingArrayUtils.append(mForce, mCount, force);
1663 mHashCode = 31 * (31 * mHashCode + resId) + (force ? 1 : 0);
H A DResourcesImpl.java1085 void applyStyle(int resId, boolean force) { argument
1087 AssetManager.applyThemeStyle(mTheme, resId, force);
1090 mKey.append(resId, force);
1203 final boolean force = mKey.mForce[i];
1204 AssetManager.applyThemeStyle(mTheme, resId, force);
/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/java/android/nfc/
H A DNfcAdapter.java1280 void disableForegroundDispatchInternal(Activity activity, boolean force) { argument
1283 if (!force && !activity.isResumed()) {
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java173 public void unmountVolume(String mountPoint, boolean force, boolean removeEncryption) argument
180 _data.writeInt((force ? 1 : 0));
283 public int destroySecureContainer(String id, boolean force) throws RemoteException { argument
290 _data.writeInt((force ? 1 : 0));
352 public int unmountSecureContainer(String id, boolean force) throws RemoteException { argument
359 _data.writeInt((force ? 1 : 0));
514 * Unmounts an Opaque Binary Blob (OBB). When the force flag is
521 String rawPath, boolean force, IObbActionListener token, int nonce)
528 _data.writeInt((force ? 1 : 0));
1593 boolean force
520 unmountObb( String rawPath, boolean force, IObbActionListener token, int nonce) argument
2174 destroySecureContainer(String id, boolean force) argument
2292 unmountObb(String rawPath, boolean force, IObbActionListener token, int nonce) argument
2299 unmountSecureContainer(String id, boolean force) argument
2311 unmountVolume(String mountPoint, boolean force, boolean removeEncryption) argument
[all...]
H A DStorageManager.java458 * <code>force</code> flag is true, it will kill any application needed to
471 * @param force whether to kill any programs using this in order to unmount
476 public boolean unmountObb(String rawPath, boolean force, OnObbStateChangeListener listener) { argument
482 mMountService.unmountObb(rawPath, force, mObbActionListener, nonce);
/frameworks/base/core/java/android/view/
H A DSurfaceView.java439 protected void updateWindow(boolean force, boolean redrawNeeded) { argument
464 if (force || creating || formatChanged || sizeChanged || visibleChanged
502 if (!creating && !force && !mUpdateWindowNeeded && !sizeChanged) {
H A DView.java165 * response to user input. To force focus to a specific view, call
481 * To force a view to draw, call {@link #invalidate()}.
2375 * view to force the quickReject test to run again.
2846 * not set, {@link #SYSTEM_UI_FLAG_HIDE_NAVIGATION} will be force cleared by the system on any
2858 * {@link #SYSTEM_UI_FLAG_HIDE_NAVIGATION} will be force cleared by the system on any user
2859 * interaction, and {@link #SYSTEM_UI_FLAG_FULLSCREEN} will be force-cleared by the system
7728 * in addition to the default behavior. Clients that wish to force a view subtree
10451 void needGlobalAttributesUpdate(boolean force) { argument
10454 if (force || ai.mKeepScreenOn || (ai.mSystemUiVisibility != 0)
11523 * {@link View#invalidate()} on the view's parent to force th
[all...]
H A DViewRootImpl.java138 * Set this system property to true to force the view hierarchy to render
1685 // relaunching), so we need to force a call into window manager to pick up the latest
2297 * to blank containers, and force a second request/measure/layout pass in this frame. If
3302 void updateConfiguration(Configuration config, boolean force) { argument
3325 if (force || mLastConfiguration.diff(config) != 0) {
7225 * need to force a relayout of the window to make sure we get the correct bounds from window
/frameworks/base/core/java/android/widget/
H A DEditor.java4246 * @param forceUpdatePosition whether to force update the position. This should be true
5653 public void update(int x, int y, int w, int h, boolean force) { argument
5654 super.update(x, y, w, h, force);
5830 if (DEBUG_UNDO) Log.d(TAG, "filter: force merge " + edit);
H A DPopupWindow.java885 * <p>Allows the popup window to force the flag
927 * Allows the popup window to force the flag
2023 * @param force {@code true} to reposition the window even if the specified
2027 public void update(int x, int y, int width, int height, boolean force) { argument
2045 boolean update = force;
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java1041 0 /* rightInset */, animate && !disallowAnimate, false /* force */);
1133 int size, boolean verticalBar, int rightMargin, boolean animate, boolean force) {
1137 || force);
1140 && ((mWindow.getAttributes().flags & state.translucentFlag) == 0 || force);
1355 // we would like to assume OPAQUE and let the app force it to
1132 updateColorViewInt(final ColorViewState state, int sysUiVis, int color, int size, boolean verticalBar, int rightMargin, boolean animate, 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
H A Dandroid_util_AssetManager.cpp1051 jboolean force)
1054 theme->applyStyle(styleRes, force ? true : false);
1048 android_content_AssetManager_applyThemeStyle(JNIEnv* env, jobject clazz, jlong themeHandle, jint styleRes, jboolean force) argument

Completed in 4020 milliseconds

123