Searched defs:mode (Results 201 - 225 of 567) sorted by relevance

1234567891011>>

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DLocalBluetoothAdapter.java146 public void setScanMode(int mode) { argument
147 mAdapter.setScanMode(mode);
150 public boolean setScanMode(int mode, int duration) { argument
151 return mAdapter.setScanMode(mode, duration);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockscreenWallpaper.java234 public void setXfermode(@Nullable Xfermode mode) { argument
236 getDrawable().setXfermode(mode);
/frameworks/base/services/core/java/com/android/server/
H A DRescueParty.java195 private static void resetAllSettings(Context context, int mode) throws Exception { argument
201 Settings.Global.resetToDefaultsAsUser(resolver, null, mode, UserHandle.USER_SYSTEM);
207 Settings.Secure.resetToDefaultsAsUser(resolver, null, mode, userId);
/frameworks/base/services/core/java/com/android/server/am/
H A DCompatModePackages.java57 // Compatibility state: no longer ask user to select the mode.
59 // Compatibility state: compatibility mode is enabled.
61 // Unsupported zoom state: don't warn the user about unsupported zoom mode.
114 String mode = parser.getAttributeValue(null, "mode");
116 if (mode != null) {
118 modeInt = Integer.parseInt(mode);
185 // Update -- if the app no longer can run in compat mode, clear
282 public void setFrontActivityScreenCompatModeLocked(int mode) { argument
288 setPackageScreenCompatModeLocked(r.info.applicationInfo, mode);
303 setPackageScreenCompatModeLocked(String packageName, int mode) argument
316 setPackageScreenCompatModeLocked(ApplicationInfo ai, int mode) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
H A DIPv6TetheringCoordinator.java56 public final int mode; // IControlsTethering.STATE_* field in class:IPv6TetheringCoordinator.Downstream
60 Downstream(TetherInterfaceStateMachine tism, int mode, short subnetId) { argument
62 this.mode = mode;
88 public void addActiveDownstream(TetherInterfaceStateMachine downstream, int mode) { argument
92 // We never change the mode of a downstream except by first removing
93 // it and then re-adding it (with its new mode specified);
94 if (mActiveDownstreams.offer(new Downstream(downstream, mode, mNextSubnetId))) {
177 if (ds.mode == IControlsTethering.STATE_LOCAL_ONLY) {
182 // This downstream is in IControlsTethering.STATE_TETHERED mode
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayPowerState.java173 * @param mode The electron beam animation mode to prepare.
176 public boolean prepareColorFade(Context context, int mode) { argument
177 if (!mColorFade.prepare(context, mode)) {
/frameworks/base/services/core/java/com/android/server/lights/
H A DLightsService.java69 public void setFlashing(int color, int mode, int onMS, int offMS) { argument
71 setLightLocked(color, mode, onMS, offMS, BRIGHTNESS_MODE_USER);
125 private void setLightLocked(int color, int mode, int onMS, int offMS, int brightnessMode) { argument
132 if (!mInitialized || color != mColor || mode != mMode || onMS != mOnMS ||
139 mMode = mode;
146 setLight_native(mId, color, mode, onMS, offMS, brightnessMode);
215 static native void setLight_native(int light, int color, int mode, argument
/frameworks/base/telecomm/java/android/telecom/
H A DInCallAdapter.java413 * Sets the RTT audio mode.
414 * @param mode the desired RTT audio mode
416 public void setRttMode(String callId, int mode) { argument
418 mAdapter.setRttMode(callId, mode);
/frameworks/base/telephony/java/android/telephony/ims/stub/
H A DImsCallSessionListenerImplBase.java193 public void callSessionUssdMessageReceived(IImsCallSession session, int mode, argument
216 * Notifies the TTY mode change by remote party.
218 * @param mode one of the following: -
225 public void callSessionTtyModeReceived(IImsCallSession session, int mode) { argument
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContentProvider.java88 String callingPackage, Uri url, String mode, ICancellationSignal signal)
90 return MockContentProvider.this.openAssetFile(url, mode);
95 String callingPackage, Uri url, String mode, ICancellationSignal signal,
97 return MockContentProvider.this.openFile(url, mode);
87 openAssetFile( String callingPackage, Uri url, String mode, ICancellationSignal signal) argument
94 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
H A DMockIContentProvider.java71 String callingPackage, Uri url, String mode, ICancellationSignal signal,
78 String callingPackage, Uri uri, String mode, ICancellationSignal signal) {
70 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
77 openAssetFile( String callingPackage, Uri uri, String mode, ICancellationSignal signal) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrame.java37 * frame data in the desired format. You must pass in a {@code mode} indicating whether you wish
58 /** Frame data access mode: Read */
60 /** Frame data access mode: Write */
174 final void assertAccessible(int mode) { argument
175 // Make sure frame is in write-mode
176 if (mReadOnly && mode == MODE_WRITE) {
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapShader_Delegate.java208 private int getCoordinate(int i, int size, TileMode mode) { argument
210 switch (mode) {
230 switch (mode) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgePowerManager.java43 public boolean setPowerSaveMode(boolean mode) throws RemoteException { argument
/frameworks/compile/mclinker/include/mcld/LD/
H A DArchive.h46 char mode[8]; ///< file mode in ASCII octal member in struct:mcld::Archive::MemberHeader
/frameworks/native/libs/nativewindow/
H A DANativeWindow.cpp70 int mode = NATIVE_WINDOW_SCALING_MODE_FREEZE; local
72 mode = NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW;
74 err = native_window_set_scaling_mode(window, mode);
/frameworks/native/libs/sensor/
H A DSensorManager.cpp227 sp<SensorEventQueue> SensorManager::createEventQueue(String8 packageName, int mode) { argument
233 mSensorServer->createSensorEventConnection(packageName, mode, mOpPackageName);
/frameworks/native/libs/vr/libvrsensor/
H A Dpose_client.cpp93 // different mode.
104 // Sets the data mode for the pose service.
105 int SetMode(DvrPoseMode mode) { argument
108 trans.Send<int>(DVR_POSE_SET_MODE, &mode, sizeof(mode), nullptr, 0);
114 // Gets the data mode for the pose service.
116 int mode; local
119 trans.Send<int>(DVR_POSE_GET_MODE, nullptr, 0, &mode, sizeof(mode));
123 *out_mode = DvrPoseMode(mode);
313 dvrPoseSetMode(DvrPose* client, DvrPoseMode mode) argument
317 dvrPoseGetMode(DvrPose* client, DvrPoseMode* mode) argument
[all...]
/frameworks/native/opengl/libs/EGL/
H A DLoader.cpp109 static void* do_dlopen(const char* path, int mode) { argument
111 return dlopen(path, mode);
114 static void* do_android_dlopen_ext(const char* path, int mode, const android_dlextinfo* info) { argument
116 return android_dlopen_ext(path, mode, info);
119 static void* do_android_load_sphal_library(const char* path, int mode) { argument
121 return android_load_sphal_library(path, mode);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCatCmdMessage.java44 public LaunchBrowserMode mode; field in class:CatCmdMessage.BrowserSettings
97 mBrowserSettings.mode = ((LaunchBrowserParams) cmdParams).mMode;
140 mBrowserSettings.mode = LaunchBrowserMode.values()[in.readInt()];
173 dest.writeInt(mBrowserSettings.mode.ordinal());
H A DCommandParams.java75 String url, LaunchBrowserMode mode) {
78 mMode = mode;
74 LaunchBrowserParams(CommandDetails cmdDet, TextMessage confirmMsg, String url, LaunchBrowserMode mode) argument
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DViewfinderProcessor.java143 int mode = -1; field in class:ViewfinderProcessor.ProcessingTask
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
H A DScriptGroupTestActivity.java116 void changeTest(int pos1, int pos2, int mode) { argument
122 mTest = new Filters(mode, index);
/frameworks/support/core-utils/java/android/support/v4/content/
H A DFileProvider.java263 * {@link Uri}, using the desired mode flags. This grants temporary access permission for the
536 * @param mode Access mode for the file. May be "r" for read-only access, "rw" for read and
541 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { argument
544 final int fileMode = modeToMode(mode);
761 private static int modeToMode(String mode) { argument
763 if ("r".equals(mode)) {
765 } else if ("w".equals(mode) || "wt".equals(mode)) {
769 } else if ("wa".equals(mode)) {
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDelegateImplV14.java62 // If we have a icicle and we haven't had a local night mode set yet, try and read
97 // If we're already been started, we may need to setup auto mode again
119 // Make sure we clean up any receivers setup for AUTO mode
126 public void setLocalNightMode(@NightMode final int mode) { argument
127 switch (mode) {
132 if (mLocalNightMode != mode) {
133 mLocalNightMode = mode;
142 Log.i(TAG, "setLocalNightMode() called with an unknown mode");
148 int mapNightMode(@NightMode final int mode) { argument
149 switch (mode) {
190 updateForNightMode(@pplyableNightMode final int mode) argument
[all...]

Completed in 7025 milliseconds

1234567891011>>