Searched refs:type (Results 126 - 150 of 750) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/net/
H A DNetworkIdentity.java53 int type, int subType, String subscriberId, String networkId, boolean roaming) {
54 mType = type;
80 builder.append("type=").append(getNetworkTypeName(mType));
140 final int type = state.networkInfo.getType();
150 if (isNetworkTypeMobile(type)) {
160 } else if (type == TYPE_WIFI) {
171 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming);
52 NetworkIdentity( int type, int subType, String subscriberId, String networkId, boolean roaming) argument
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java137 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/graphics/java/android/graphics/drawable/
H A DLevelListDrawable.java91 int type;
97 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT
99 || type != XmlPullParser.END_TAG)) {
100 if (type != XmlPullParser.START_TAG) {
129 while ((type = parser.next()) == XmlPullParser.TEXT) {
131 if (type != XmlPullParser.START_TAG) {
H A DMipmapDrawable.java136 int type;
140 while ((type = parser.next()) != XmlPullParser.END_DOCUMENT
142 || type != XmlPullParser.END_TAG)) {
143 if (type != XmlPullParser.START_TAG) {
163 while ((type = parser.next()) == XmlPullParser.TEXT) {
165 if (type != XmlPullParser.START_TAG) {
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DLayoutInflater_Delegate.java82 int type;
102 while ((type = childParser.next()) != XmlPullParser.START_TAG &&
103 type != XmlPullParser.END_DOCUMENT) {
107 if (type != XmlPullParser.START_TAG) {
192 while (((type = parser.next()) != XmlPullParser.END_TAG ||
193 parser.getDepth() > currentDepth) && type != XmlPullParser.END_DOCUMENT) {
/frameworks/native/services/sensorservice/
H A DSensorFusion.cpp34 if (list[i].type == SENSOR_TYPE_ACCELEROMETER) {
37 if (list[i].type == SENSOR_TYPE_MAGNETIC_FIELD) {
40 if (list[i].type == SENSOR_TYPE_GYROSCOPE) {
53 if (event.type == SENSOR_TYPE_GYROSCOPE) {
64 } else if (event.type == SENSOR_TYPE_MAGNETIC_FIELD) {
67 } else if (event.type == SENSOR_TYPE_ACCELEROMETER) {
H A DCorrectedGyroSensor.cpp37 if (list[i].type == SENSOR_TYPE_GYROSCOPE) {
47 if (event.type == SENSOR_TYPE_GYROSCOPE) {
75 hwSensor.type = SENSOR_TYPE_GYROSCOPE;
H A DOrientationSensor.cpp41 if (event.type == SENSOR_TYPE_ACCELEROMETER) {
58 outEvent->type = SENSOR_TYPE_ORIENTATION;
79 hwSensor.type = SENSOR_TYPE_ORIENTATION;
/frameworks/compile/mclinker/lib/LD/
H A DELFWriter.cpp57 switch(pOutput.type()) {
68 llvm::errs() << "unspported output file type: " << pOutput.type() << ".\n";
108 switch(pOutput.type()) {
119 llvm::errs() << "unspported output file type: " << pOutput.type() << ".\n";
152 && (pOutput.type() != Output::Object)
153 && (pOutput.type() != Output::DynObj));
202 shdr[sectIdx].sh_type = ld_sect->type();
235 shdr[sectIdx].sh_type = ld_sect->type();
[all...]
/frameworks/av/include/media/stagefright/
H A DMediaCodecList.h35 const char *type, bool encoder, size_t startIndex = 0) const;
51 size_t index, const char *type,
96 void addMediaCodec(bool encoder, const char *name, const char *type = NULL);
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dtypedefs.h27 * defined type meaning corresponding constants
75 ********* define char type
91 #error cannot find 8-bit type
113 #error cannot find 16-bit type
135 #error cannot find 32-bit type
139 ********* define floating point type & constants
155 ********* define complex type
163 ********* define boolean type
/frameworks/base/core/java/android/view/animation/
H A DAnimationUtils.java100 int type;
103 while (((type=parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth)
104 && type != XmlPullParser.END_DOCUMENT) {
106 if (type != XmlPullParser.START_TAG) {
177 int type;
180 while (((type = parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth)
181 && type != XmlPullParser.END_DOCUMENT) {
183 if (type != XmlPullParser.START_TAG) {
294 int type;
297 while (((type
[all...]
/frameworks/base/include/androidfw/
H A DBackupHelpers.h31 int type; // BACKUP_HEADER_ENTITY_V1 member in struct:android::__anon1009
110 status_t ReadNextHeader(bool* done, int* type);
128 int type; member in union:android::BackupDataReader::__anon1010
H A DAssetDir.h61 * 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
/frameworks/compile/mclinker/lib/CodeGen/
H A DSectLinker.cpp106 switch((*input)->type()) {
123 unreachable(diag::err_cannot_trace_file) << (*input)->type()
182 if (Output::Object == pLDInfo.output().type())
203 // already got type - for example, bitcode
204 if ((*input)->type() == Input::Script ||
205 (*input)->type() == Input::Object ||
206 (*input)->type() == Input::DynObj ||
207 (*input)->type() == Input::Archive)
236 ((*option)->type() != PositionDependentOption::INPUT_FILE &&
237 (*option)->type() !
[all...]
/frameworks/native/include/utils/
H A DCondition.h52 Condition(int type);
78 inline Condition::Condition(int type) { argument
79 if (type == SHARED) {
H A DRWLock.h51 RWLock(int type, const char* name = NULL);
90 inline RWLock::RWLock(int type, const char* name) { argument
91 if (type == SHARED) {
/frameworks/base/core/java/android/accounts/
H A DIAccountAuthenticatorCache.java37 * @param type the authenticator type to return
39 * matches the account type or null if none is present
42 AuthenticatorDescription type, int userId);
41 getServiceInfo( AuthenticatorDescription type, int userId) argument
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothHeadset.aidl52 void phoneStateChanged(int numActive, int numHeld, int callState, String number, int type);
55 String number, int type);
/frameworks/base/core/jni/
H A Dandroid_backup_BackupDataInput.cpp56 int type = 0; local
58 err = reader->ReadNextHeader(&done, &type);
67 switch (type) {
83 ALOGD("Unknown header type: 0x%08x\n", type);
/frameworks/base/tools/aidl/
H A Dgenerate_java.h24 Variable* Get(Type* type);
/frameworks/compile/slang/
H A Dslang_rs_export_element.h44 RSExportPrimitiveType::DataType type; member in struct:slang::RSExportElement::__anon1293
H A Dslang_rs_metadata_spec.h32 // All ->type or ->base_type in RS*Type now becomes an index to RSType array.
46 const union RSType *type; member in struct:RSVar
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pServiceResponse.java40 * Service type. It's defined in table63 in Wi-Fi Direct specification.
64 * the service protocol type. The protocol format depends on the service type.
80 /** the service protocol type is not available */
112 * @param serviceType service discovery type.
128 * Return the service type of service discovery response.
130 * @return service discovery type.<br>
160 * <pre>Data format depends on service type
227 int type = dis.readUnsignedByte();
235 respList.add(new WifiP2pServiceResponse(type, statu
[all...]
/frameworks/base/core/java/android/nfc/
H A DNdefRecord.java39 * typed data, such as MIME-type media, a URI, or a custom
53 * <li><em>type</em>: detailed typing for the payload</li>
60 * NDEF Records with correctly set tnf, type, id and payload fields, please
95 * Indicates the type field contains a well-known RTD type name.<p>
98 * The RTD type name format is specified in NFCForum-TS-RTD_1.0.
108 * Indicates the type field contains a media-type BNF
110 * Use this with MIME type names such as {@literal "image/jpeg"}, or
118 * Indicates the type fiel
455 createExternal(String domain, String type, byte[] data) argument
515 NdefRecord(short tnf, byte[] type, byte[] id, byte[] payload) argument
865 validateTnf(short tnf, byte[] type, byte[] id, byte[] payload) argument
[all...]

Completed in 623 milliseconds

1234567891011>>