/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | Chunk.h | 41 // Returns the type of the chunk. Caller need not worry about endianness. 42 inline int type() const { return dtohs(device_chunk_->type); } function in class:android::Chunk
|
/frameworks/base/libs/androidfw/tests/ |
H A D | BackupData_test.cpp | 90 int type; local 91 reader->ReadNextHeader(&done, &type); 92 EXPECT_EQ(BACKUP_HEADER_ENTITY_V1, type) 93 << "wrong type from ReadNextHeader"; 129 int type; local 134 reader->ReadNextHeader(&done, &type); 141 reader->ReadNextHeader(&done, &type); 142 EXPECT_EQ(BACKUP_HEADER_ENTITY_V1, type) 143 << "wrong type from ReadNextHeader"; 179 int type; local 231 int type; local 272 int type; local 332 int type; local 398 int type; local [all...] |
/frameworks/base/libs/hwui/ |
H A D | PixelBuffer.cpp | 151 uint32_t width, uint32_t height, BufferType type) { 152 if (type == kBufferType_Auto && Caches::getInstance().gpuPixelBuffersEnabled) { 150 create(GLenum format, uint32_t width, uint32_t height, BufferType type) argument
|
/frameworks/base/media/java/android/media/ |
H A D | AudioDevicePort.java | 22 * The AudioDevicePort is a specialized type of AudioPort 28 * - the device type (e.g AudioManager.DEVICE_OUT_SPEAKER) 41 int[] formats, AudioGain[] gains, int type, String address) { 43 (AudioManager.isInputDevice(type) == true) ? 46 mType = type; 51 * Get the device type (e.g AudioManager.DEVICE_OUT_SPEAKER) 53 public int type() { method in class:AudioDevicePort 58 * Get the device address. Address format varies with the device type. 87 if (mType != other.type()) { 101 String type 39 AudioDevicePort(AudioHandle handle, String deviceName, int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, int[] formats, AudioGain[] gains, int type, String address) argument [all...] |
H A D | AudioRoutesInfo.java | 58 return getClass().getSimpleName() + "{ type=" + typeToString(mainType) 63 private static String typeToString(int type) { argument 64 if (type == MAIN_SPEAKER) return "SPEAKER"; 65 if ((type & MAIN_HEADSET) != 0) return "HEADSET"; 66 if ((type & MAIN_HEADPHONES) != 0) return "HEADPHONES"; 67 if ((type & MAIN_DOCK_SPEAKERS) != 0) return "DOCK_SPEAKERS"; 68 if ((type & MAIN_HDMI) != 0) return "HDMI"; 69 if ((type & MAIN_USB) != 0) return "USB"; 70 return Integer.toHexString(type);
|
/frameworks/base/media/java/android/media/audiopolicy/ |
H A D | AudioPolicyConfig.java | 221 private static String mixTypeId(int type) { argument 222 if (type == AudioMix.MIX_TYPE_PLAYERS) return "p"; 223 else if (type == AudioMix.MIX_TYPE_RECORDERS) return "r";
|
/frameworks/base/media/native/midi/ |
H A D | midi.h | 61 int32_t type; member in struct:__anon1300
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLUtils.java | 55 * Return the type as defined by OpenGL ES of the supplied bitmap, if there 57 * a valid OpenGL ES type. 58 * @throws IllegalArgumentException if the bitmap does not have a type. 60 * @return the OpenGL ES type of the bitmap. 71 throw new IllegalArgumentException("Unknown type"); 112 * A version of texImage2D() that takes an explicit type parameter 113 * as defined by the OpenGL ES specification. The actual type and 115 * type and internalformat parameters. 121 * @param type 125 Bitmap bitmap, int type, in 124 texImage2D(int target, int level, int internalformat, Bitmap bitmap, int type, int border) argument 206 texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument 266 native_texImage2D(int target, int level, int internalformat, Bitmap bitmap, int type, int border) argument 268 native_texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument [all...] |
/frameworks/base/packages/Osu/src/com/android/anqp/eap/ |
H A D | NonEAPInnerAuth.java | 44 public NonEAPInnerAuth(NonEAPType type) { argument 45 mType = type; 69 public static String mapInnerType(NonEAPType type) { argument 70 return sOmaMap.get(type);
|
/frameworks/base/packages/Osu/src/com/android/configparse/ |
H A D | ConfigBuilder.java | 137 throw new IOException("Invalid certificate type for TLS: " + 245 private static int remapInnerMethod(NonEAPInnerAuth.NonEAPType type) throws IOException { argument 246 switch (type) { 255 throw new IOException("Inner method " + type + " not supported");
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | InstrumentationReporter.java | 105 Report(int type, IInstrumentationWatcher watcher, ComponentName name, int resultCode, argument 107 mType = type;
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_lights_LightsService.cpp | 132 Type type, 144 ALOGE("Light requested not available on this device. %d", type); 176 Type type = static_cast<Type>(light); local 182 Return<Status> ret = hal->setLight(type, state); 183 processReturn(ret, type, state); 130 processReturn( const Return<Status> &ret, Type type, const LightState &state) argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | LockSettingsServiceTests.java | 191 private void testCreateCredential(int userId, String credential, int type) argument 193 mService.setLockCredential(credential, type, null, userId); 194 assertVerifyCredentials(userId, credential, type, -1); 205 private void assertVerifyCredentials(int userId, String credential, int type, long sid) argument 208 VerifyCredentialResponse response = mService.verifyCredential(credential, type, challenge, 214 if (type == LockPatternUtils.CREDENTIAL_TYPE_PASSWORD) { 218 } else if (type == LockPatternUtils.CREDENTIAL_TYPE_PATTERN){ 227 // check for bad type 232 type, challenge, userId).getResponseCode()); 235 private void initializeStorageWithCredential(int userId, String credential, int type, lon argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FrameImage2D.java | 116 private static Bitmap convertToFrameType(Bitmap bitmap, FrameType type) { argument 119 switch(type.getElementId()) { 124 throw new RuntimeException("Could not convert bitmap to frame-type " + 130 throw new IllegalArgumentException("Unsupported frame type '" + type + "' for " +
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | TestWebData.java | 109 TestWebData(int length, int lastModified, String name, String type, boolean isDir) { argument 113 testType = type; 126 // The MIME type to assume for this test
|
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/ |
H A D | MusicProvider.java | 185 public MatrixCursor getRootItemCursor(int type) { argument 186 if (type == BrowserService.NOW_PLAYING) { 212 } else if (type == BrowserService.PIANO) { 237 } else if (type == BrowserService.VOICE) {
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
H A D | NetdEventListenerServiceTest.java | 288 void dnsEvent(int netId, int type, int result, int latency) throws Exception { argument 289 mNetdEventListenerService.onDnsEvent(netId, type, result, latency, "", null, 0, 0);
|
/frameworks/base/tools/aapt/ |
H A D | ResourceIdCache.cpp | 48 const android::String16& type, 52 hashable += type; 59 const android::String16& type, 62 const String16 hashedName = makeHashableName(package, type, name, onlyPublic); 85 const android::String16& type, 90 const String16 hashedName = makeHashableName(package, type, name, onlyPublic); 47 makeHashableName(const android::String16& package, const android::String16& type, const android::String16& name, bool onlyPublic) argument 58 lookup(const android::String16& package, const android::String16& type, const android::String16& name, bool onlyPublic) argument 84 store(const android::String16& package, const android::String16& type, const android::String16& name, bool onlyPublic, uint32_t resId) argument
|
/frameworks/base/tools/aapt2/compile/ |
H A D | IdAssigner.cpp | 36 ResourceTableType* type, ResourceEntry* entry) { 38 if (!type->id || type->id.value() == id.type_id()) { 39 type->id = id.type_id(); 48 const ResourceId existing_id(pkg->id.value(), type->id ? type->id.value() : 0, 61 for (auto& type : package->types) { 62 for (auto& entry : type->entries) { 63 const ResourceName name(package->name, type->type, entr 34 AssignId(IDiagnostics* diag, const ResourceId& id, const ResourceName& name, ResourceTablePackage* pkg, ResourceTableType* type, ResourceEntry* entry) argument [all...] |
/frameworks/base/tools/aapt2/flatten/ |
H A D | Archive.cpp | 43 file::FileType type = file::GetFileType(dir_); local 44 if (type == file::FileType::kNonexistant) { 47 } else if (type != file::FileType::kDirectory) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
H A D | AdapterItem.java | 35 protected AdapterItem(DataBindingItem item, int type, int fullPosition, argument 38 mType = type;
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | RefactorClassAdapter.java | 88 String type = (String)elements[i]; 89 if (type.indexOf(';') > 0) { 90 elements[i] = renameTypeDesc(type); 92 elements[i] = renameInternalType(type); 100 public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) { argument 101 super.visitFrame(type, nLocal, renameFrame(local), nStack, renameFrame(stack));
|
/frameworks/base/tools/preload/ |
H A D | Proc.java | 91 Operation.Type type) { 93 this, loadedClass, time, operationCount++, type); 90 startOperation(int threadId, LoadedClass loadedClass, long time, Operation.Type type) argument
|
H A D | Record.java | 95 final Type type; field in class:Record 112 case '>': type = Type.START_LOAD; break; 113 case '<': type = Type.END_LOAD; break; 114 case '+': type = Type.START_INIT; break; 115 case '-': type = Type.END_INIT; break;
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | LDSymbol.h | 36 // FIXME: use SizeTrait<32> or SizeTrait<64> instead of big type 78 unsigned int type() const { function in class:mcld::LDSymbol 80 return m_pResolveInfo->type();
|