/frameworks/base/core/java/android/app/backup/ |
H A D | FullBackup.java | 68 * If the {@code type} parameter indicates that the result should be a directory, 79 * @param type Must be either {@link BackupAgent#TYPE_FILE} for ordinary file data 93 long size, int type, long mode, long mtime, File outFile) throws IOException { 94 if (type == BackupAgent.TYPE_DIRECTORY) { 92 restoreFile(ParcelFileDescriptor data, long size, int type, long mode, long mtime, File outFile) argument
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStore.java | 43 // Nb. bytes Java type Description 108 * @param type SEQUENCE_INVARIANT or SEQUENCE_SENSITIVE 110 public void setSequenceType(int type) { argument 111 mSequenceType = type;
|
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiPortInfo.java | 30 /** HDMI port type: Input */ 33 /** HDMI port type: Output */ 47 * @param type HDMI port input/output type 53 public HdmiPortInfo(int id, int type, int address, boolean cec, boolean mhl, boolean arc) { argument 55 mType = type; 72 * Returns the port type. 74 * @return port type 134 int type = source.readInt(); 139 return new HdmiPortInfo(id, type, addres [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkIdentity.java | 60 int type, int subType, String subscriberId, String networkId, boolean roaming) { 61 mType = type; 87 builder.append("type=").append(getNetworkTypeName(mType)); 159 final int type = state.networkInfo.getType(); 166 if (isNetworkTypeMobile(type)) { 174 } else if (type == TYPE_WIFI) { 185 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming); 59 NetworkIdentity( int type, int subType, String subscriberId, String networkId, boolean roaming) argument
|
/frameworks/base/core/java/android/preference/ |
H A D | RingtonePreference.java | 80 * Returns the sound type(s) that are shown in the picker. 82 * @return The sound type(s) that are shown in the picker. 90 * Sets the sound type(s) that are shown in the picker. 92 * @param type The sound type(s) that are shown in the picker. 95 public void setRingtoneType(int type) { argument 96 mRingtoneType = type; 110 * to use will be deduced from the sound type(s) being shown.
|
/frameworks/base/core/java/android/print/ |
H A D | PrintDocumentInfo.java | 30 * process based on the content type, such as document or photo. 78 * Content type: unknown. 83 * Content type: document. 94 * Content type: photo. 162 * Gets the content type. 164 * @return The content type. 319 * Sets the content type. 324 * @param type The content type. 330 public Builder setContentType(int type) { argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Spanned.java | 50 * 0-length spans with type SPAN_MARK_MARK behave like text marks: 65 * 0-length spans with type SPAN_POINT_POINT behave like cursors: 89 * Non-0-length spans of type SPAN_INCLUSIVE_EXCLUSIVE expand 96 * Spans of type SPAN_INCLUSIVE_INCLUSIVE expand 102 * Spans of type SPAN_EXCLUSIVE_EXCLUSIVE do not expand 110 * Non-0-length spans of type SPAN_EXCLUSIVE_INCLUSIVE expand 164 * slice of this CharSequence and whose type is the specified type 165 * or a subclass of it. Specify Object.class for the type if you 166 * want all the objects regardless of type 168 getSpans(int start, int end, Class<T> type) argument 197 nextSpanTransition(int start, int limit, Class type) argument [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | ReplacementTransformationMethod.java | 183 public <T> T[] getSpans(int start, int end, Class<T> type) { argument 184 return mSpanned.getSpans(start, end, type); 199 public int nextSpanTransition(int start, int end, Class type) { argument 200 return mSpanned.nextSpanTransition(start, end, type);
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceHolder.java | 50 * whose type is SURFACE_TYPE_PUSH_BUFFERS. 149 * Sets the surface's type. 154 public void setType(int type); argument
|
H A D | WindowManagerInternal.java | 178 * Adds a window token for a given window type. 181 * @param type The window type. 183 public abstract void addWindowToken(android.os.IBinder token, int type); argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | JsDialogHelper.java | 57 public JsDialogHelper(JsPromptResult result, int type, String defaultValue, String message, argument 62 mType = type; 70 mType = msg.getData().getInt("type"); 85 throw new IllegalArgumentException("Unexpected type: " + mType);
|
/frameworks/base/core/java/com/android/internal/net/ |
H A D | VpnProfile.java | 51 public int type = TYPE_PPTP; // 1 field in class:VpnProfile 76 type = in.readInt(); 97 out.writeInt(type); 128 profile.type = Integer.valueOf(values[1]); 129 if (profile.type < 0 || profile.type > TYPE_MAX) { 156 builder.append('\0').append(type);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | PowerProfile.java | 228 * @param type the subsystem type 231 public double getAveragePower(String type) { argument 232 if (sPowerMap.containsKey(type)) { 233 Object data = sPowerMap.get(type); 237 return (Double) sPowerMap.get(type); 246 * @param type the subsystem type 252 public double getAveragePower(String type, int level) { argument 253 if (sPowerMap.containsKey(type)) { [all...] |
/frameworks/base/core/java/com/android/server/backup/ |
H A D | SystemBackupAgent.java | 145 int type, String domain, String path, long mode, long mtime) 168 FullBackup.restoreFile(data, size, type, mode, mtime, outFile); 144 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
|
/frameworks/base/core/jni/ |
H A D | android_nio_utils.cpp | 90 const char type[]) { 91 jfieldID f = env->GetFieldID(c, name, type); 89 getFieldID(JNIEnv* env, jclass c, const char name[], const char type[]) argument
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | ParceledListSliceTest.java | 130 // The type/creator to use when unparceling. Here we use the base class 145 protected void writeToParcel(Parcel dest, int flags, int type) { argument 146 dest.writeInt(type); 168 throw new IllegalArgumentException("Unknown type"); 202 // Consume the type (as it is always written out). 252 // Consume the type (as it is always written out).
|
/frameworks/base/include/androidfw/ |
H A D | AssetDir.h | 61 * Get the type of a file (usually regular or directory). 109 void set(const String8& path, FileType type) { argument 111 mFileType = type; 118 void setFileType(FileType type) { mFileType = type; } argument
|
H A D | BackupHelpers.h | 31 int type; // BACKUP_HEADER_ENTITY_V1 member in struct:android::__anon889 110 status_t ReadNextHeader(bool* done, int* type); 128 int type; member in union:android::BackupDataReader::__anon890
|
/frameworks/base/libs/hwui/ |
H A D | Program.cpp | 134 GLuint Program::buildShader(const char* source, GLenum type) { argument 137 GLuint shader = glCreateShader(type);
|
/frameworks/base/location/java/android/location/ |
H A D | Geofence.java | 95 private static void checkType(int type) { argument 96 if (type != TYPE_HORIZONTAL_CIRCLE) { 97 throw new IllegalArgumentException("invalid type: " + type); 104 int type = in.readInt(); 108 checkType(type); 130 private static String typeToString(int type) { argument 131 switch (type) { 135 checkType(type);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaCodecList.java | 101 for (String type: supportedTypes) { 102 caps[typeIx++] = getCodecCapabilities(index, type); 115 getCodecCapabilities(int index, String type); argument 222 // type is not supported
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvInputHardwareInfo.java | 103 b.append(", type=").append(mType); 155 public Builder type(int type) { argument 156 mType = type;
|
H A D | TvStreamConfig.java | 52 type(source.readInt()). 133 public Builder type(int type) { argument 134 mType = type;
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpPropertyGroup.java | 38 // MTP data type 39 int type; field in class:MtpPropertyGroup.Property 43 Property(int code, int type, int column) { argument 45 this.type = type; 93 int type; 98 type = MtpConstants.TYPE_UINT32; 102 type = MtpConstants.TYPE_UINT16; 106 type = MtpConstants.TYPE_UINT16; 110 type [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | DirectoryLoader.java | 80 public DirectoryLoader(Context context, int type, RootInfo root, DocumentInfo doc, Uri uri, argument 83 mType = type;
|