/frameworks/base/cmds/bootanimation/ |
H A D | AudioPlayer.cpp | 83 enum mixer_ctl_type type = mixer_ctl_get_type(ctl); local 93 switch (type) { 114 ALOGE("unsupported mixer type %d for %s", type, name);
|
/frameworks/base/cmds/idmap/ |
H A D | inspect.cpp | 148 String8 *package, String8 *type, String8 *name) { 158 if (type) { 159 *type = String8(String16(data.type, data.typeLen)); 250 print("DATA BLOCK", "target type", targetTypeId, ""); 256 print("", "overlay type", static_cast<uint32_t>(data16), ""); 280 String8 type; local 282 err = resource_metadata(am, resID, NULL, &type, &name); 286 print("", "entry", data32, "%s/%s", type.string(), name.string()); 147 resource_metadata(const AssetManager& am, uint32_t res_id, String8 *package, String8 *type, String8 *name) argument
|
H A D | scan.cpp | 129 ResXMLParser::event_code_t type; local 131 type = parser.next(); 132 if (type == ResXMLParser::START_TAG) { 139 } while (type != ResXMLParser::BAD_DOCUMENT && type != ResXMLParser::END_DOCUMENT);
|
/frameworks/base/core/java/android/app/ |
H A D | AlarmManager.java | 155 * Alarm intents are delivered with a data extra of type int called 186 * @param type One of {@link #ELAPSED_REALTIME}, {@link #ELAPSED_REALTIME_WAKEUP}, 189 * off, using the appropriate clock (depending on the alarm type). 207 public void set(int type, long triggerAtMillis, PendingIntent operation) { argument 208 setImpl(type, triggerAtMillis, legacyExactLength(), 0, operation, null, null); 244 * @param type One of {@link #ELAPSED_REALTIME}, {@link #ELAPSED_REALTIME_WAKEUP}, 247 * go off, using the appropriate clock (depending on the alarm type). 267 public void setRepeating(int type, long triggerAtMillis, argument 269 setImpl(type, triggerAtMillis, legacyExactLength(), intervalMillis, operation, null, null); 292 * @param type On 317 setWindow(int type, long windowStartMillis, long windowLengthMillis, PendingIntent operation) argument 356 setExact(int type, long triggerAtMillis, PendingIntent operation) argument 390 set(int type, long triggerAtMillis, long windowMillis, long intervalMillis, PendingIntent operation, WorkSource workSource) argument 395 setImpl(int type, long triggerAtMillis, long windowMillis, long intervalMillis, PendingIntent operation, WorkSource workSource, AlarmClockInfo alarmClock) argument 508 setInexactRepeating(int type, long triggerAtMillis, long intervalMillis, PendingIntent operation) argument [all...] |
H A D | ApplicationErrorReport.java | 39 * A report has a type, which is one of 92 public int type; field in class:ApplicationErrorReport 122 * If this report is of type {@link #TYPE_CRASH}, contains an instance 128 * If this report is of type {@link #TYPE_ANR}, contains an instance 134 * If this report is of type {@link #TYPE_BATTERY}, contains an instance 140 * If this report is of type {@link #TYPE_RUNNING_SERVICE}, contains an instance 232 dest.writeInt(type); 239 switch (type) { 256 type = in.readInt(); 263 switch (type) { [all...] |
H A D | MediaRouteButton.java | 432 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) { argument 437 public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) { argument
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupAgent.java | 498 * @param type The kind of file system object being restored. This will be either 507 File destination, int type, long mode, long mtime) 509 FullBackup.restoreFile(data, size, type, mode, mtime, destination); 518 int type, String domain, String path, long mode, long mtime) 522 if (DEBUG) Log.d(TAG, "onRestoreFile() size=" + size + " type=" + type 560 onRestoreFile(data, size, outFile, type, mode, mtime); 574 FullBackup.restoreFile(data, size, type, mode, mtime, null); 718 int type, String domain, String path, long mode, long mtime, 722 BackupAgent.this.onRestoreFile(data, size, type, domai 506 onRestoreFile(ParcelFileDescriptor data, long size, File destination, int type, long mode, long mtime) argument 517 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument 717 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattServer.java | 401 * Returns a service by UUID, instance and type. 404 /*package*/ BluetoothGattService getService(UUID uuid, int instanceId, int type) { argument 406 if (svc.getType() == type &&
|
/frameworks/base/core/java/android/hardware/ |
H A D | LegacySensorManager.java | 107 private boolean registerLegacyListener(int legacyType, int type, argument 113 Sensor sensor = mSensorManager.getDefaultSensor(type); 160 private void unregisterLegacyListener(int legacyType, int type, argument 165 Sensor sensor = mSensorManager.getDefaultSensor(type); 262 int type = event.sensor.getType(); 263 int legacyType = getLegacySensorType(type); 265 if (type == Sensor.TYPE_ORIENTATION) { 353 private static int getLegacySensorType(int type) { argument 354 switch (type) {
|
/frameworks/base/core/java/android/hardware/location/ |
H A D | ActivityRecognitionHardware.java | 50 public int type; field in class:ActivityRecognitionHardware.Event 149 new ActivityRecognitionEvent(activityName, event.type, event.timestamp);
|
/frameworks/base/core/java/android/net/ |
H A D | RouteInfo.java | 76 * The type of this route; one of the RTN_xxx constants above. 102 public RouteInfo(IpPrefix destination, InetAddress gateway, String iface, int type) { argument 103 switch (type) { 119 throw new IllegalArgumentException("Unknown route type " + type); 156 mType = type; 237 public RouteInfo(IpPrefix destination, int type) { argument 238 this(destination, null, null, type); 305 * Retrieves the type of this route. 307 * @return The type o [all...] |
/frameworks/base/core/java/android/util/ |
H A D | PathParser.java | 266 private PathDataNode(char type, float[] params) { argument 267 mType = type;
|
/frameworks/base/core/java/android/view/ |
H A D | DisplayInfo.java | 46 * Display type. 48 public int type; field in class:DisplayInfo 52 * Interpretation varies by display type. 263 && type == other.type 298 type = other.type; 331 type = source.readInt(); 364 dest.writeInt(type); 503 sb.append(", type "); [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | ScaleAnimation.java | 74 if (tv.type == TypedValue.TYPE_FLOAT) { 78 mFromXType = tv.type; 86 if (tv.type == TypedValue.TYPE_FLOAT) { 90 mToXType = tv.type; 99 if (tv.type == TypedValue.TYPE_FLOAT) { 103 mFromYType = tv.type; 111 if (tv.type == TypedValue.TYPE_FLOAT) { 115 mToYType = tv.type; 122 mPivotXType = d.type; 127 mPivotYType = d.type; 260 resolveScale(float scale, int type, int data, int size, int psize) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | MediaRouteChooserDialog.java | 260 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) { argument
|
H A D | MediaRouteControllerDialog.java | 291 public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) { argument
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | TypedProperties.java | 46 * - type names: [a-zS] 104 * Converts a string to an internal type constant. 106 * @param typeName the type name to convert 107 * @return the type constant that corresponds to {@code typeName}, 108 * or {@code TYPE_ERROR} if the type is unknown 155 // Read the next token, which is either the type or EOF. 161 throw new ParseException(st, "type name"); 163 final int type = interpretType(st.sval); 164 if (type == TYPE_ERROR) { 165 throw new ParseException(st, "valid type nam 233 parseValue(StreamTokenizer st, final int type) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseSurfaceHolder.java | 137 public void setType(int type) { argument 138 switch (type) { 142 type = SURFACE_TYPE_NORMAL; 145 switch (type) { 148 if (mRequestedType != type) { 149 mRequestedType = type; 167 "Surface type is SURFACE_TYPE_PUSH_BUFFERS");
|
/frameworks/base/core/jni/android/graphics/ |
H A D | CreateJavaOutputStreamAdaptor.cpp | 261 const char methodname[], const char type[]) { 262 jmethodID id = env->GetMethodID(clazz, methodname, type); 260 getMethodIDCheck(JNIEnv* env, jclass clazz, const char methodname[], const char type[]) argument
|
/frameworks/base/core/jni/ |
H A D | android_emoji_EmojiFactory.cpp | 269 const char fieldname[], const char type[]) 271 jfieldID id = env->GetFieldID(clazz, fieldname, type); 268 getFieldIDCheck(JNIEnv* env, jclass clazz, const char fieldname[], const char type[]) argument
|
H A D | android_net_TrafficStats.cpp | 58 static uint64_t getStatsType(struct Stats* stats, StatsType type) { argument 59 switch (type) { 153 static jlong getTotalStat(JNIEnv* env, jclass clazz, jint type) { argument 157 return getStatsType(&stats, (StatsType) type); 163 static jlong getIfaceStat(JNIEnv* env, jclass clazz, jstring iface, jint type) { argument 172 return getStatsType(&stats, (StatsType) type); 178 static jlong getUidStat(JNIEnv* env, jclass clazz, jint uid, jint type) { argument 182 return getStatsType(&stats, (StatsType) type);
|
H A D | android_os_SELinux.cpp | 444 static int log_callback(int type, const char *fmt, ...) { argument 448 switch (type) {
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | TextUtilsTest.java | 497 public <T> T[] getSpans(int start, int end, Class<T> type) { argument 517 public int nextSpanTransition(int start, int limit, Class type) { argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Atlas.java | 41 * Each type defines a different packing algorithm that can 82 * @param type The algorithm to use to pack rectangles in the atlas 88 public Atlas(Type type, int width, int height) { argument 89 this(type, width, height, FLAG_DEFAULTS); 97 * @param type The algorithm to use to pack rectangles in the atlas 105 public Atlas(Type type, int width, int height, int flags) { argument 106 mPolicy = findPolicy(type, width, height, flags); 142 private static Policy findPolicy(Type type, int width, int height, int flags) { argument 143 switch (type) {
|
/frameworks/base/include/androidfw/ |
H A D | AssetManager.h | 197 * Get the type of a file in the asset hierarchy. They will either 240 FileType type; member in struct:android::AssetManager::asset_path
|