/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
H A D | Engine.h | 69 virtual status_t setPhoneState(audio_mode_t mode) argument 71 return mPolicyEngine->setPhoneState(mode); 160 status_t setPhoneState(audio_mode_t mode);
|
/frameworks/base/cmds/idmap/ |
H A D | scan.cpp | 70 const mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; // 0644 local 71 if (chmod(filename, mode) == -1) {
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | Tracer.java | 116 * @param mode 118 public void setOutputMode(Mode mode) { argument 120 mCurrentMode = mode; 122 switch (mode) {
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderNative.java | 223 String mode = data.readString(); 229 fd = openFile(callingPkg, url, mode, signal, callerToken); 246 String mode = data.readString(); 251 fd = openAssetFile(callingPkg, url, mode, signal); 583 String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder token) 592 data.writeString(mode); 611 String callingPkg, Uri url, String mode, ICancellationSignal signal) 620 data.writeString(mode); 582 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder token) argument 610 openAssetFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument
|
H A D | IContentProvider.java | 51 String callingPkg, Uri url, String mode, ICancellationSignal signal, 55 String callingPkg, Uri url, String mode, ICancellationSignal signal) 50 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument 54 openAssetFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument
|
H A D | SearchRecentSuggestionsProvider.java | 91 // a small set of mode bitflags in the version int. 98 * This mode bit configures the database to record recent queries. <i>required</i> 104 * This mode bit configures the database to include a 2nd annotation line with each entry. 122 * as a mode flags field, and configures the database columns depending on the mode bits 166 * @param mode You can use mode flags here to determine certain functional aspects of your 173 protected void setupSuggestions(String authority, int mode) { argument 175 ((mode & DATABASE_MODE_QUERIES) == 0)) { 178 // unpack mode flag [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteSession.java | 73 * specifying the desired transaction mode. Once an explicit transaction has begun, 173 * Transaction mode: Deferred. 189 * Corresponds to the SQLite <code>BEGIN DEFERRED</code> transaction mode. 195 * Transaction mode: Immediate. 203 * Corresponds to the SQLite <code>BEGIN IMMEDIATE</code> transaction mode. 209 * Transaction mode: Exclusive. 217 * Corresponds to the SQLite <code>BEGIN EXCLUSIVE</code> transaction mode. 277 * @param transactionMode The transaction mode. One of: {@link #TRANSACTION_MODE_DEFERRED}, 935 private Transaction obtainTransaction(int mode, SQLiteTransactionListener listener) { argument 945 transaction.mMode = mode; [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbPort.java | 121 * The actual mode of the port may vary depending on what is plugged into it. 150 public static String modeToString(int mode) { argument 151 switch (mode) { 161 return Integer.toString(mode); 231 public static void checkDataRole(int mode) { argument 232 Preconditions.checkArgumentInRange(mode, Constants.PortDataRole.NONE,
|
/frameworks/base/core/java/android/net/ |
H A D | SntpClient.java | 106 // set mode = 3 (client) and version = 3 107 // mode is in low 3 bits of first byte 126 final byte mode = (byte) (buffer[0] & 0x7); 134 checkValidServerReply(leap, mode, stratum, transmitTime); 200 byte leap, byte mode, int stratum, long transmitTime) 205 if ((mode != NTP_MODE_SERVER) && (mode != NTP_MODE_BROADCAST)) { 206 throw new InvalidServerReplyException("untrusted mode: " + mode); 199 checkValidServerReply( byte leap, byte mode, int stratum, long transmitTime) argument
|
/frameworks/base/core/java/android/os/ |
H A D | MemoryFile.java | 46 private static native long native_mmap(FileDescriptor fd, int length, int mode) argument
|
/frameworks/base/core/java/android/transition/ |
H A D | Visibility.java | 94 int mode = a.getInt(R.styleable.VisibilityTransition_transitionVisibilityMode, 0); 96 if (mode != 0) { 97 setMode(mode); 112 * on <code>mode</code>. 114 * @param mode The behavior supported by this transition, a combination of 118 public void setMode(@VisibilityMode int mode) { argument 119 if ((mode & ~(MODE_IN | MODE_OUT)) != 0) { 122 mMode = mode;
|
/frameworks/base/core/java/android/view/ |
H A D | ActionMode.java | 24 * Represents a contextual mode of the user interface. Action modes can be used to provide 37 * The action mode is treated as a Primary mode. This is the default. 42 * The action mode is treated as a Floating Toolbar. 48 * Default value to hide the action mode for 86 * Set the title of the action mode. This method will have no visible effect if 97 * Set the title of the action mode. This method will have no visible effect if 108 * Set the subtitle of the action mode. This method will have no visible effect if 119 * Set the subtitle of the action mode. This method will have no visible effect if 130 * Set whether or not the title/subtitle display for this action mode 312 onCreateActionMode(ActionMode mode, Menu menu) argument 321 onPrepareActionMode(ActionMode mode, Menu menu) argument 331 onActionItemClicked(ActionMode mode, MenuItem item) argument 338 onDestroyActionMode(ActionMode mode) argument 360 onGetContentRect(ActionMode mode, View view, Rect outRect) argument [all...] |
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/android/webkit/ |
H A D | FindActionModeCallback.java | 197 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument 198 if (!mode.isUiFocusable()) { 199 // If the action mode we're running in is not focusable the user 206 mode.setCustomView(mCustomView); 207 mode.getMenuInflater().inflate(com.android.internal.R.menu.webview_find, 209 mActionMode = mode; 220 public void onDestroyActionMode(ActionMode mode) { argument 228 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument 233 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument 291 public boolean onCreateActionMode(ActionMode mode, Men argument 296 onPrepareActionMode(ActionMode mode, Menu menu) argument 301 onActionItemClicked(ActionMode mode, MenuItem item) argument 306 onDestroyActionMode(ActionMode mode) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarContextView.java | 118 // Allow full screen width in split mode. 201 public void initForMode(final ActionMode mode) { argument 213 mode.finish(); 217 final MenuBuilder menu = (MenuBuilder) mode.getMenu(); 232 // Allow full screen width in split mode. 421 // Action mode started
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
H A D | MockFontProvider.java | 219 public ParcelFileDescriptor openFile(Uri uri, String mode) { argument
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ColorDrawable.java | 220 * @param mode new transfer mode 223 public void setXfermode(@Nullable Xfermode mode) { argument 224 mPaint.setXfermode(mode); 230 * @return current transfer mode
|
/frameworks/base/libs/hwui/ |
H A D | ClipArea.h | 100 explicit ClipBase(ClipMode mode) argument 101 : mode(mode) {} 103 : mode(ClipMode::Rectangle) 105 const ClipMode mode; member in struct:android::uirenderer::ClipBase
|
H A D | FontRenderer.h | 59 int alpha, SkBlendMode mode, const SkPaint* paint) 67 , mode(mode) 80 SkBlendMode mode; member in class:android::uirenderer::TextDrawFunctor 54 TextDrawFunctor( BakedOpRenderer* renderer, const BakedOpState* bakedState, const ClipBase* clip, float x, float y, bool pureTranslate, int alpha, SkBlendMode mode, const SkPaint* paint) argument
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaOpenGLPipeline.cpp | 140 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) { 142 mode, blend); 187 DrawGlInfo::Mode mode = DrawGlInfo::kModeProcessNoContext; local 189 mode = DrawGlInfo::kModeProcess; 192 (*functor)(mode, nullptr); 195 if (mode != DrawGlInfo::kModeProcessNoContext) { 139 createLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) argument
|
H A D | SkiaVulkanPipeline.cpp | 121 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) { 122 return new VkLayer(renderState, layerWidth, layerHeight, colorFilter, alpha, mode, blend); 157 DrawGlInfo::Mode mode = DrawGlInfo::kModeProcessNoContext; local 158 (*functor)(mode, nullptr); 120 createLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) argument
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | VulkanManager.cpp | 459 // If mailbox mode is available, use it, as it is the lowest-latency non- 460 // tearing mode. If not, fall back to FIFO which is always available. 461 VkPresentModeKHR mode = VK_PRESENT_MODE_FIFO_KHR; local 465 mode = presentModes[i]; 494 swapchainCreateInfo.presentMode = mode;
|
/frameworks/base/media/java/android/media/ |
H A D | BufferingParams.java | 36 * is playing back source). {@link BufferingParams} includes mode and corresponding 38 * based (in milliseconds), or time based (in kilobytes) or both, depending on the mode. 70 * This mode indicates that source buffering is not supported. 74 * This mode indicates that only time based source buffering is supported. This means 79 * This mode indicates that only size based source buffering is supported. This means 84 * This mode indicates that both time and size based source buffering are supported, 120 * Return the initial buffering mode used when {@link MediaPlayer} is being prepared. 128 * Return the rebuffering mode used when {@link MediaPlayer} is playing back source. 137 * It is meaningful only when initial buffering mode obatined from 147 * It is meaningful only when initial buffering mode obatine 278 isTimeBasedMode(int mode) argument 282 isSizeBasedMode(int mode) argument 294 setInitialBufferingMode(@ufferingMode int mode) argument 316 setRebufferingMode(@ufferingMode int mode) argument [all...] |
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/ |
H A D | RemoteDisplayProvider.java | 117 * Discovery mode: Do not perform any discovery. 122 * Discovery mode: Passive or low-power periodic discovery. 124 * This mode indicates that an application is interested in knowing whether there 133 * Discovery mode: Active discovery. 135 * This mode indicates that the user is actively trying to connect to a route 136 * and we should perform continuous scans. This mode may use significantly more 174 * Called when the current discovery mode changes. 176 * @param mode The new discovery mode. 178 public void onDiscoveryModeChanged(int mode) { argument 305 setDiscoveryMode(int mode) argument 335 setDiscoveryMode(int mode) argument [all...] |
/frameworks/base/native/android/ |
H A D | asset_manager.cpp | 87 AAsset* AAssetManager_open(AAssetManager* amgr, const char* filename, int mode) argument 90 switch (mode) {
|