Searched defs:mode (Results 226 - 250 of 623) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/
H A DRescueParty.java198 private static void resetAllSettings(Context context, int mode) throws Exception { argument
204 Settings.Global.resetToDefaultsAsUser(resolver, null, mode, UserHandle.USER_SYSTEM);
210 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.
85 mFile = new AtomicFile(new File(systemDir, "packages-compat.xml"), "compat-mode");
112 String mode = parser.getAttributeValue(null, "mode");
114 if (mode != null) {
116 modeInt = Integer.parseInt(mode);
183 // Update -- if the app no longer can run in compat mode, clear
266 public void setFrontActivityScreenCompatModeLocked(int mode) { argument
272 setPackageScreenCompatModeLocked(r.info.applicationInfo, mode);
287 setPackageScreenCompatModeLocked(String packageName, int mode) argument
300 setPackageScreenCompatModeLocked(ApplicationInfo ai, int mode) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
H A DIPv6TetheringCoordinator.java54 public final int mode; // IControlsTethering.STATE_* field in class:IPv6TetheringCoordinator.Downstream
58 Downstream(TetherInterfaceStateMachine tism, int mode, short subnetId) { argument
60 this.mode = mode;
86 public void addActiveDownstream(TetherInterfaceStateMachine downstream, int mode) { argument
90 // We never change the mode of a downstream except by first removing
91 // it and then re-adding it (with its new mode specified);
92 if (mActiveDownstreams.offer(new Downstream(downstream, mode, mNextSubnetId))) {
175 if (ds.mode == IControlsTethering.STATE_LOCAL_ONLY) {
180 // This downstream is in IControlsTethering.STATE_TETHERED mode
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayPowerState.java175 * @param mode The electron beam animation mode to prepare.
178 public boolean prepareColorFade(Context context, int mode) { argument
179 if (mColorFade == null || !mColorFade.prepare(context, mode)) {
H A DDisplayTransformManager.java165 * Returns the current Daltonization mode.
174 * Sets the current Daltonization mode. This adjusts the color space to correct for or simulate
177 * @param mode the new Daltonization mode, or -1 to disable
179 public void setDaltonizerMode(int mode) { argument
181 if (mDaltonizerMode != mode) {
182 mDaltonizerMode = mode;
183 applyDaltonizerMode(mode);
215 * Propagates the provided Daltonization mode to the SurfaceFlinger.
217 private static void applyDaltonizerMode(int mode) { argument
[all...]
/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/services/tests/servicestests/src/com/android/server/am/
H A DLockTaskControllerTest.java143 // THEN current lock task mode should be NONE
152 // WHEN calling setLockTaskMode for LOCKED mode without resuming
155 // THEN the lock task mode state should be LOCKED
160 // THEN lock task mode should be started
170 // WHEN calling setLockTaskMode for LOCKED mode on both tasks
174 // THEN the lock task mode state should be LOCKED
180 // THEN lock task mode should be started
204 // THEN the lock task mode state should be PINNED
209 // THEN lock task mode should be started
217 // GIVEN one task record with whitelisted auth that is in lock task mode
655 verifyLockTaskStopped(VerificationMode mode) argument
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DInCallAdapter.java444 * Sets the RTT audio mode.
445 * @param mode the desired RTT audio mode
447 public void setRttMode(String callId, int mode) { argument
449 mAdapter.setRttMode(callId, mode);
/frameworks/base/telephony/java/android/telephony/ims/
H A DImsCallSessionListener.java451 * @param mode The mode of the USSD message, either
456 public void callSessionUssdMessageReceived(int mode, String ussdMessage) argument
459 mListener.callSessionUssdMessageReceived(mode, ussdMessage);
520 * The TTY mode has been changed by the remote party.
522 * @param mode one of the following: -
528 public void callSessionTtyModeReceived(int mode) { argument
530 mListener.callSessionTtyModeReceived(mode);
/frameworks/base/test-mock/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/aapt2/util/
H A DFiles.cpp105 constexpr const mode_t mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP; local
111 int result = ::android::base::utf8::mkdir(parent_path.c_str(), mode);
117 return ::android::base::utf8::mkdir(path.c_str(), mode) == 0 || errno == EEXIST;
/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/layoutlib/bridge/src/android/graphics/
H A DBitmapShader_Delegate.java210 private int getCoordinate(int i, int size, TileMode mode) { argument
212 switch (mode) {
232 switch (mode) {
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgePowerManager.java43 public boolean setPowerSaveMode(boolean mode) throws RemoteException { argument
171 public void setDozeAfterScreenOff(boolean mode) throws RemoteException { argument
/frameworks/native/cmds/cmd/
H A Dcmd.cpp65 const String16& mode) {
81 if (mode == String16("w")) {
84 } else if (mode == String16("w+")) {
87 } else if (mode == String16("r")) {
90 } else if (mode == String16("r+")) {
94 aerr << "Invalid mode requested: " << mode.string() << endl;
64 openFile(const String16& path, const String16& seLinuxContext, const String16& mode) argument
/frameworks/native/libs/nativewindow/
H A DANativeWindow.cpp89 int mode = NATIVE_WINDOW_SCALING_MODE_FREEZE; local
91 mode = NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW;
93 err = native_window_set_scaling_mode(window, mode);
/frameworks/native/libs/sensor/
H A DISensorServer.cpp94 int mode, const String16& opPackageName)
99 data.writeInt32(mode);
171 int32_t mode = data.readInt32(); local
173 sp<ISensorEventConnection> connection(createSensorEventConnection(packageName, mode,
93 createSensorEventConnection(const String8& packageName, int mode, const String16& opPackageName) argument
H A DSensorManager.cpp228 sp<SensorEventQueue> SensorManager::createEventQueue(String8 packageName, int mode) { argument
234 mSensorServer->createSensorEventConnection(packageName, mode, mOpPackageName);
/frameworks/native/opengl/libs/EGL/
H A DLoader.cpp111 static void* do_dlopen(const char* path, int mode) { argument
113 return dlopen(path, mode);
116 static void* do_android_dlopen_ext(const char* path, int mode, const android_dlextinfo* info) { argument
118 return android_dlopen_ext(path, mode, info);
121 static void* do_android_load_sphal_library(const char* path, int mode) { argument
123 return android_load_sphal_library(path, mode);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
H A DWifiAwareNativeApiTest.java413 private void setSettablePowerParam(String mode, String name, String value, argument
418 mode).thenReturn(name).thenReturn(value);
/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

Completed in 663 milliseconds

1234567891011>>