Searched defs:type (Results 151 - 175 of 940) sorted by relevance

1234567891011>>

/frameworks/base/libs/androidfw/include/androidfw/
H A DChunk.h41 // 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 DBackupData_test.cpp90 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 DPixelBuffer.cpp151 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 DAudioDevicePort.java22 * 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 DAudioRoutesInfo.java58 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 DAudioPolicyConfig.java221 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 Dmidi.h61 int32_t type; member in struct:__anon1300
/frameworks/base/opengl/java/android/opengl/
H A DGLUtils.java55 * 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 DNonEAPInnerAuth.java44 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 DConfigBuilder.java137 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 DInstrumentationReporter.java105 Report(int type, IInstrumentationWatcher watcher, ComponentName name, int resultCode, argument
107 mType = type;
/frameworks/base/services/core/jni/
H A Dcom_android_server_lights_LightsService.cpp132 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 DLockSettingsServiceTests.java191 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 DFrameImage2D.java116 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 DTestWebData.java109 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 DMusicProvider.java185 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 DNetdEventListenerServiceTest.java288 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 DResourceIdCache.cpp48 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 DIdAssigner.cpp36 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 DArchive.cpp43 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 DAdapterItem.java35 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 DRefactorClassAdapter.java88 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 DProc.java91 Operation.Type type) {
93 this, loadedClass, time, operationCount++, type);
90 startOperation(int threadId, LoadedClass loadedClass, long time, Operation.Type type) argument
H A DRecord.java95 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 DLDSymbol.h36 // 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();

Completed in 482 milliseconds

1234567891011>>