/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbPort.java | 105 * The actual mode of the port may vary depending on what is plugged into it. 134 public static String modeToString(int mode) { argument 135 switch (mode) { 145 return Integer.toString(mode);
|
/frameworks/base/core/java/android/provider/ |
H A D | SearchRecentSuggestions.java | 124 * @param mode You can use mode flags here to determine certain functional aspects of your 131 public SearchRecentSuggestions(Context context, String authority, int mode) { argument 133 ((mode & SearchRecentSuggestionsProvider.DATABASE_MODE_QUERIES) == 0)) { 136 // unpack mode flags 137 mTwoLineDisplay = (0 != (mode & SearchRecentSuggestionsProvider.DATABASE_MODE_2LINES)); 158 * If you did not configure two-line mode, or if a given suggestion does not have any
|
/frameworks/base/core/java/android/view/ |
H A D | WindowCallbackWrapper.java | 147 public void onActionModeStarted(ActionMode mode) { argument 148 mWrapped.onActionModeStarted(mode); 152 public void onActionModeFinished(ActionMode mode) { argument 153 mWrapped.onActionModeFinished(mode);
|
/frameworks/base/core/java/com/android/server/backup/ |
H A D | SystemBackupAgent.java | 138 int type, String domain, String path, long mode, long mtime) 161 FullBackup.restoreFile(data, size, type, mode, mtime, outFile); 137 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | MemoryFileProvider.java | 132 public ParcelFileDescriptor openFile(Uri url, String mode) throws FileNotFoundException { argument 137 return getBlobColumnAsFile(url, mode, sql); 152 private ParcelFileDescriptor getBlobColumnAsFile(Uri url, String mode, String sql) argument 154 if (!"r".equals(mode)) { 155 throw new FileNotFoundException("Mode " + mode + " not supported for " + url);
|
/frameworks/base/include/androidfw/ |
H A D | BackupHelpers.h | 48 int mode; member in struct:android::FileState
|
/frameworks/base/libs/hwui/ |
H A D | AnimationContext.cpp | 57 void AnimationContext::startFrame(TreeInfo::TraversalMode mode) { argument
|
H A D | Caches.cpp | 233 void Caches::flush(FlushMode mode) { argument 234 FLUSH_LOGD("Flushing caches (mode %d)", mode); 236 switch (mode) {
|
H A D | TreeInfo.h | 71 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext) argument 72 : mode(mode) 73 , prepareTextures(mode == MODE_FULL) 77 TraversalMode mode; member in class:android::uirenderer::TreeInfo
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | Camera2CaptureRequestTest.java | 78 * Test AE mode and lock. 82 * For AE modes, each mode should satisfy the per frame controls defined in 103 Log.v(TAG, String.format("AE mode and lock: %d/%d", iteration + 1, 108 for (int mode : aeModes) { 109 aeModeAndLockTestByMode(mode); 123 * For manual AE mode, test iterates through different sensitivities and 125 * CONTROL_AE_MODE_ON_ALWAYS_FLASH mode, the AE lock and flash are tested. 126 * For the rest of the AUTO mode, AE lock is tested. 129 * @param mode 131 private void aeModeAndLockTestByMode(int mode) argument 163 aeAutoModeTestLock(int mode) argument [all...] |
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | AppFuse.java | 93 * @param mode Mode for opening file. 97 public ParcelFileDescriptor openFile(int i, int mode) throws FileNotFoundException { argument 99 mode == ParcelFileDescriptor.MODE_READ_ONLY || 100 mode == (ParcelFileDescriptor.MODE_WRITE_ONLY | 105 mode);
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportStorageProvider.java | 117 String documentId, String mode, CancellationSignal signal) 120 return mArchiveHelper.openDocument(documentId, mode, signal); 123 if (ParcelFileDescriptor.parseMode(mode) != ParcelFileDescriptor.MODE_READ_ONLY) { 124 throw new FileNotFoundException("Failed to open: " + documentId + ", mode = " + mode); 116 openDocument( String documentId, String mode, CancellationSignal signal) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBarTransitions.java | 59 private float getNonBatteryClockAlphaFor(int mode) { argument 60 return isLightsOut(mode) ? ICON_ALPHA_WHEN_LIGHTS_OUT_NON_BATTERY_CLOCK 61 : !isOpaque(mode) ? ICON_ALPHA_WHEN_NOT_OPAQUE 65 private float getBatteryClockAlpha(int mode) { argument 66 return isLightsOut(mode) ? ICON_ALPHA_WHEN_LIGHTS_OUT_BATTERY_CLOCK 67 : getNonBatteryClockAlphaFor(mode); 70 private boolean isOpaque(int mode) { argument 71 return !(mode == MODE_SEMI_TRANSPARENT || mode == MODE_TRANSLUCENT 72 || mode 81 applyMode(int mode, boolean animate) argument [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | SystemAudioAction.java | 49 // The target audio status of the action, whether to enable the system audio mode or not. 61 * @param targetStatus Whether to enable the system audio mode or not 135 protected void setSystemAudioMode(boolean mode) { argument 136 tv().setSystemAudioMode(mode, true); 149 HdmiLogger.debug("Failed to start system audio mode request."); 164 HdmiLogger.debug("Unexpected system audio mode request:" + receivedStatus);
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ProviderTestCase2.java | 86 public File getDir(String name, int mode) { argument 89 return getContext().getDir("mockcontext2_" + name, mode);
|
H A D | RenamingDelegatingContext.java | 146 int mode, SQLiteDatabase.CursorFactory factory) { 152 return mFileContext.openOrCreateDatabase(internalName, mode, factory); 157 int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) { 163 return mFileContext.openOrCreateDatabase(internalName, mode, factory, errorHandler); 198 public FileOutputStream openFileOutput(String name, int mode) argument 201 return mFileContext.openFileOutput(renamedFileName(name), mode); 145 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory) argument 156 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) argument
|
/frameworks/base/tests/RemoteDisplayProvider/src/com/android/media/remotedisplay/test/ |
H A D | RemoteDisplayProviderService.java | 68 public void onDiscoveryModeChanged(int mode) { argument 69 Log.d(TAG, "onDiscoveryModeChanged: mode=" + mode); 71 if (mode != DISCOVERY_MODE_NONE) { 155 if (mode == DISCOVERY_MODE_ACTIVE) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BlendComposite.java | 59 private BlendingMode mode; field in class:BlendComposite 61 private BlendComposite(BlendingMode mode) { argument 62 this(mode, 1.0f); 65 private BlendComposite(BlendingMode mode, float alpha) { argument 66 this.mode = mode; 70 public static BlendComposite getInstance(BlendingMode mode) { argument 71 return mode.getBlendComposite(); 74 public static BlendComposite getInstance(BlendingMode mode, float alpha) { argument 76 return getInstance(mode); [all...] |
H A D | RadialGradient_Delegate.java | 87 * @param tile The Shader tiling mode 102 int[] colors, float[] positions, TileMode mode) { 103 super(colors, positions, mode); 101 RadialGradientPaint(float x, float y, float radius, int[] colors, float[] positions, TileMode mode) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | WindowCallback.java | 136 public void onActionModeStarted(ActionMode mode) { argument 141 public void onActionModeFinished(ActionMode mode) { argument
|
/frameworks/native/libs/gui/ |
H A D | SensorManager.cpp | 213 sp<SensorEventQueue> SensorManager::createEventQueue(String8 packageName, int mode) { argument 219 mSensorServer->createSensorEventConnection(packageName, mode, mOpPackageName);
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
H A D | AudioGroup.java | 54 * allowed to run in a mode other than {@link #MODE_ON_HOLD}. The others will 59 * should set the audio mode to {@link AudioManager#MODE_IN_COMMUNICATION} 67 * This mode is similar to {@link #MODE_NORMAL} except the speaker and 73 * This mode is similar to {@link #MODE_NORMAL} except the microphone is 79 * This mode indicates that the speaker, the microphone, and all 88 * This mode is similar to {@link #MODE_NORMAL} except the echo suppression 120 * Returns the current mode. 127 * Changes the current mode. It must be one of {@link #MODE_ON_HOLD}, 131 * @param mode The mode t 134 setMode(int mode) argument 144 nativeSetMode(int mode) argument 164 nativeAdd(int mode, int socket, String remoteAddress, int remotePort, String codecSpec, int dtmfType, String opPackageName) argument [all...] |
H A D | RtpStream.java | 33 * This mode indicates that the stream sends and receives packets at the 34 * same time. This is the initial mode for new streams. 39 * This mode indicates that the stream only sends packets. 44 * This mode indicates that the stream only receives packets. 117 * Returns the current mode. 124 * Changes the current mode. It must be one of {@link #MODE_NORMAL}, 127 * @param mode The mode to change to. 128 * @throws IllegalArgumentException if the mode is invalid. 132 public void setMode(int mode) { argument [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AmrCodec.cpp | 75 // Handle mode-set and octet-align. 76 const char *modes = strcasestr(fmtp, "mode-set="); 82 int mode = c - '0'; local 83 if (mode > mMode) { 84 mMode = mode; 86 mModeSet |= 1 << mode; 95 // TODO: handle mode-change-*.
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_reduce.java | 263 private Int2 mode(RenderScript RS, final byte[] inputArray) { method in class:UT_reduce 272 private boolean mode(RenderScript RS, ScriptC_reduce s) { method in class:UT_reduce 275 final Int2 javaRslt = mode(RS, inputArray); 278 return result("mode", javaRslt, rsRslt); 297 pass &= mode(pRS, s);
|