/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | CameraMetadata.cpp | 102 ALOGE("Mismatched tag type when updating entry %s (%d) of type %s; " 103 "got type %s data instead ", 178 int type = get_camera_metadata_tag_type(tag); local 179 if (type == -1) { 183 size_t data_size = calculate_camera_metadata_entry_data_size(type,
|
H A D | JpegProcessor.cpp | 299 // check for arbitrary marker, returns marker type (second byte) 300 // returns 0 if no marker found. Note: 0x00 is not a valid marker type 342 uint8_t type = checkJpegMarker(segment->marker); local 343 if (type == 0) { // invalid marker, no more segments, begin JPEG data 347 if (type == EOI || size > maxSize - sizeof(segment_t)) { 352 ALOGV("JFIF Segment, type %x length %x", type, length);
|
H A D | StreamingProcessor.cpp | 365 status_t StreamingProcessor::startStream(StreamType type, argument 370 if (type == NONE) return INVALID_OPERATION; 375 ALOGV("%s: Camera %d: type = %d", __FUNCTION__, client->getCameraId(), type); 379 CameraMetadata &request = (type == PREVIEW) ? 405 mActiveRequest = type; 549 uint32_t type = kMetadataBufferTypeGrallocSource; local 550 *((uint32_t*)data) = type; 587 uint32_t type = *(uint32_t*)data; local 588 if (type ! [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ApplicationErrorReport.java | 38 * A report has a type, which is one of 91 public int type; field in class:ApplicationErrorReport 121 * If this report is of type {@link #TYPE_CRASH}, contains an instance 127 * If this report is of type {@link #TYPE_ANR}, contains an instance 133 * If this report is of type {@link #TYPE_BATTERY}, contains an instance 139 * If this report is of type {@link #TYPE_RUNNING_SERVICE}, contains an instance 221 dest.writeInt(type); 228 switch (type) { 245 type = in.readInt(); 252 switch (type) { [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupAgent.java | 402 * @param type The kind of file system object being restored. This will be either 411 File destination, int type, long mode, long mtime) 413 FullBackup.restoreFile(data, size, type, mode, mtime, destination); 422 int type, String domain, String path, long mode, long mtime) 426 if (DEBUG) Log.d(TAG, "onRestoreFile() size=" + size + " type=" + type 450 onRestoreFile(data, size, outFile, type, mode, mtime); 456 FullBackup.restoreFile(data, size, type, mode, mtime, null); 572 int type, String domain, String path, long mode, long mtime, 576 BackupAgent.this.onRestoreFile(data, size, type, domai 410 onRestoreFile(ParcelFileDescriptor data, long size, File destination, int type, long mode, long mtime) argument 421 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument 571 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/content/ |
H A D | ContentProviderOperation.java | 260 throw new IllegalStateException("bad type, " + mType); 398 * which {@link Builder} type each is allowed. Call {@link #build} to create the 412 /** Create a {@link Builder} of a given type. The uri must not be null. */ 413 private Builder(int type, Uri uri) { argument 417 mType = type; 445 * This can only be used with builders of type insert, update, or assert. 461 * This can only be used with builders of type insert, update, or assert. 479 * This can only be used with builders of type update, delete, or assert. 498 * This can only be used with builders of type insert, update, or assert. 516 * This can only be used with builders of type inser [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | RegisteredServicesCache.java | 64 * The services are referred to by type V and are made available via the 196 private void notifyListener(final V type, final int userId, final boolean removed) { argument 198 Log.d(TAG, "notifyListener: " + type + " is " + (removed ? "removed" : "added")); 213 listener2.onServiceChanged(type, userId, removed); 219 * Value type that describes a Service. The information within can be used 223 public final V type; field in class:RegisteredServicesCache.ServiceInfo 228 public ServiceInfo(V type, ComponentName componentName, int uid) { argument 229 this.type = type; 236 return "ServiceInfo: " + type 245 getServiceInfo(V type, int userId) argument 392 containsType(ArrayList<ServiceInfo<V>> serviceInfos, V type) argument 402 containsTypeAndUid(ArrayList<ServiceInfo<V>> serviceInfos, V type, int uid) argument [all...] |
/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/net/ |
H A D | NetworkInfo.java | 127 * @param type network type 132 public NetworkInfo(int type) {} argument 137 public NetworkInfo(int type, int subtype, String typeName, String subtypeName) { argument 138 if (!ConnectivityManager.isNetworkTypeValid(type)) { 139 throw new IllegalArgumentException("Invalid network type: " + type); 141 mNetworkType = type; 169 * Reports the type of network to which the 183 * Return a network-type [all...] |
/frameworks/base/core/java/android/view/ |
H A D | Display.java | 146 * Display type: Unknown display type. 152 * Display type: Built-in display. 158 * Display type: HDMI display. 164 * Display type: WiFi display. 170 * Display type: Overlay display. 195 mType = displayInfo.type; 271 * Gets the display type. 273 * @return The display type. 288 * Interpretation varies by display type 601 typeToString(int type) argument [all...] |
H A D | DisplayInfo.java | 42 * Display type. 44 public int type; field in class:DisplayInfo 48 * Interpretation varies by display type. 188 && type == other.type 214 type = other.type; 235 type = source.readInt(); 257 dest.writeInt(type); 320 + ", 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/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/ |
H A D | android_emoji_EmojiFactory.cpp | 280 const char fieldname[], const char type[]) 282 jfieldID id = env->GetFieldID(clazz, fieldname, type); 279 getFieldIDCheck(JNIEnv* env, jclass clazz, const char fieldname[], const char type[]) argument
|
/frameworks/base/core/tests/coretests/src/android/accounts/ |
H A D | AccountManagerServiceTest.java | 63 int result = object1.type.compareTo(object2.type); 177 mAms.invalidateAuthToken(a12.type, "a12_att2"); 202 AuthenticatorDescription type, int userId) { 204 if (service.type.equals(type)) { 201 getServiceInfo( AuthenticatorDescription type, int userId) argument
|
/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/include/androidfw/ |
H A D | CursorWindow.h | 46 * FieldSlot per column, which has the size, offset, and type of the data for that field. 65 /* Opaque type that describes a field slot. */ 68 int32_t type; member in struct:android::CursorWindow::FieldSlot 117 return fieldSlot->type; 188 const void* value, size_t size, int32_t type);
|
/frameworks/base/libs/androidfw/ |
H A D | BackupData.cpp | 124 header.type = tolel(BACKUP_HEADER_ENTITY_V1); 228 BackupDataReader::ReadNextHeader(bool* done, int* type) argument 252 if (type) { 253 *type = m_header.type; 257 m_header.type = fromlel(m_header.type); 258 switch (m_header.type) 288 ALOGD("Chunk header at %d has invalid type: 0x%08x", 289 (int)(m_pos - sizeof(m_header)), (int)m_header.type); [all...] |
H A D | CursorWindow.cpp | 282 const void* value, size_t size, int32_t type) { 299 fieldSlot->type = type; 315 fieldSlot->type = FIELD_TYPE_INTEGER; 330 fieldSlot->type = FIELD_TYPE_FLOAT; 345 fieldSlot->type = FIELD_TYPE_NULL; 281 putBlobOrString(uint32_t row, uint32_t column, const void* value, size_t size, int32_t type) argument
|
H A D | Keyboard.cpp | 143 const String8& name, InputDeviceConfigurationFileType type) { 145 ? getInputDeviceConfigurationFilePathByDeviceIdentifier(deviceIdentifier, type) 146 : getInputDeviceConfigurationFilePathByName(name, type); 142 getPath(const InputDeviceIdentifier& deviceIdentifier, const String8& name, InputDeviceConfigurationFileType type) argument
|
/frameworks/base/libs/hwui/ |
H A D | SkiaShader.h | 57 ANDROID_API SkiaShader(Type type, SkShader* key, SkShader::TileMode tileX, 76 Type type() const { function in struct:android::uirenderer::SkiaShader 196 SkiaSweepGradientShader(Type type, float x, float y, uint32_t* colors, float* positions,
|
/frameworks/base/services/common_time/ |
H A D | common_time_server_packets.h | 44 // type of the packet 57 void initHeader(TimeServicePacketType type, argument 62 packetType = type;
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | PendingIntentRecord.java | 45 final int type; field in class:PendingIntentRecord.Key 63 type = _t; 105 if (type != other.type) { 169 switch (type) { 179 return Integer.toString(type); 228 switch (key.type) { 329 pw.print(" type="); pw.print(key.typeName());
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | InputMonitor.java | 166 final WindowState child, final int flags, final int type, 171 inputWindowHandle.layoutParamsType = type; 264 final int type = child.mAttrs.type; 269 && (type != WindowManager.LayoutParams.TYPE_KEYGUARD); 283 u.mAttrs.type, true, u == mInputFocus, false); 289 addInputWindowHandleLw(inputWindowHandle, child, flags, type, 165 addInputWindowHandleLw(final InputWindowHandle inputWindowHandle, final WindowState child, final int flags, final int type, final boolean isVisible, final boolean hasFocus, final boolean hasWallpaper) argument
|