Searched refs:getInt (Results 1 - 25 of 634) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/os/
H A DFactoryTest.java39 return SystemProperties.getInt("ro.factorytest", FACTORY_TEST_OFF);
47 return SystemProperties.getInt("factory.long_press_power_off", 0) != 0;
/frameworks/base/media/java/android/media/browse/
H A DMediaBrowserUtils.java29 return options2.getInt(MediaBrowser.EXTRA_PAGE, -1) == -1
30 && options2.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1) == -1;
32 return options1.getInt(MediaBrowser.EXTRA_PAGE, -1) == -1
33 && options1.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1) == -1;
35 return options1.getInt(MediaBrowser.EXTRA_PAGE, -1)
36 == options2.getInt(MediaBrowser.EXTRA_PAGE, -1)
37 && options1.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1)
38 == options2.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1);
43 int page1 = options1 == null ? -1 : options1.getInt(MediaBrowser.EXTRA_PAGE, -1);
44 int page2 = options2 == null ? -1 : options2.getInt(MediaBrowse
[all...]
/frameworks/support/media-compat/java/android/support/v4/media/
H A DMediaBrowserCompatUtils.java33 return options2.getInt(MediaBrowserCompat.EXTRA_PAGE, -1) == -1
34 && options2.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1) == -1;
36 return options1.getInt(MediaBrowserCompat.EXTRA_PAGE, -1) == -1
37 && options1.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1) == -1;
39 return options1.getInt(MediaBrowserCompat.EXTRA_PAGE, -1)
40 == options2.getInt(MediaBrowserCompat.EXTRA_PAGE, -1)
41 && options1.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1)
42 == options2.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1);
47 int page1 = options1 == null ? -1 : options1.getInt(MediaBrowserCompat.EXTRA_PAGE, -1);
48 int page2 = options2 == null ? -1 :options2.getInt(MediaBrowserCompa
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DPropConfig.java25 public static int getInt(Context context, String propName, int resId) { method in class:PropConfig
26 return SystemProperties.getInt(propName, context.getResources().getInteger(resId));
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DMtpDatabaseTest.java70 private static int getInt(Cursor cursor, String columnName) { method in class:MtpDatabaseTest
71 return cursor.getInt(cursor.getColumnIndex(columnName));
96 assertEquals(2, getInt(cursor, COLUMN_DOCUMENT_ID));
97 assertEquals(0, getInt(cursor, COLUMN_DEVICE_ID));
98 assertEquals(1, getInt(cursor, COLUMN_STORAGE_ID));
105 assertEquals(R.drawable.ic_root_mtp, getInt(cursor, COLUMN_ICON));
106 assertEquals(Document.FLAG_DIR_SUPPORTS_CREATE, getInt(cursor, COLUMN_FLAGS));
107 assertEquals(1000, getInt(cursor, COLUMN_SIZE));
110 getInt(cursor, COLUMN_DOCUMENT_TYPE));
129 assertEquals(1, getInt(curso
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteGlobal.java66 return SystemProperties.getInt("debug.sqlite.pagesize", sDefaultPageSize);
83 return SystemProperties.getInt("debug.sqlite.journalsizelimit",
110 int value = SystemProperties.getInt("debug.sqlite.wal.autocheckpoint",
120 int value = SystemProperties.getInt("debug.sqlite.wal.poolsize",
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableRect.java50 int left = buffer.getInt();
51 int top = buffer.getInt();
52 int width = buffer.getInt();
53 int height = buffer.getInt();
H A DMarshalQueryableStreamConfiguration.java54 int format = buffer.getInt();
55 int width = buffer.getInt();
56 int height = buffer.getInt();
57 boolean input = buffer.getInt() != 0;
H A DMarshalQueryableHighSpeedVideoConfiguration.java57 int width = buffer.getInt();
58 int height = buffer.getInt();
59 int fpsMin = buffer.getInt();
60 int fpsMax = buffer.getInt();
61 int batchSizeMax = buffer.getInt();
H A DMarshalQueryableMeteringRectangle.java58 int xMin = buffer.getInt();
59 int yMin = buffer.getInt();
60 int xMax = buffer.getInt();
61 int yMax = buffer.getInt();
62 int weight = buffer.getInt();
/frameworks/base/services/net/java/android/net/netlink/
H A DStructNdaCacheInfo.java47 struct.ndm_used = byteBuffer.getInt();
48 struct.ndm_confirmed = byteBuffer.getInt();
49 struct.ndm_updated = byteBuffer.getInt();
50 struct.ndm_refcnt = byteBuffer.getInt();
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
H A DWifiNanHalTest.java161 collector.checkThat("publish_id", argsData.getInt("publish_id"), equalTo(publishId));
217 collector.checkThat("subscribe_id", argsData.getInt("subscribe_id"), equalTo(subscribeId));
235 collector.checkThat("publish_subscribe_id", argsData.getInt("publish_subscribe_id"),
237 collector.checkThat("requestor_instance_id", argsData.getInt("requestor_instance_id"),
240 collector.checkThat("priority", argsData.getInt("priority"), equalTo(0));
241 collector.checkThat("dw_or_faw", argsData.getInt("dw_or_faw"), equalTo(0));
243 argsData.getInt("service_specific_info_len"), equalTo(msg.length()));
606 collector.checkThat("master_pref", argsData.getInt("master_pref"), equalTo(masterPref));
607 collector.checkThat("cluster_low", argsData.getInt("cluster_low"), equalTo(clusterLow));
608 collector.checkThat("cluster_high", argsData.getInt("cluster_hig
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleProfiling.java105 int bufferSize = in.getInt();
106 int flags = in.getInt();
107 int len = in.getInt();
147 int bufferSize = in.getInt();
148 int flags = in.getInt();
200 int bufferSize = in.getInt();
201 int flags = in.getInt();
202 int interval = in.getInt();
H A DDdmHandleViewDebug.java118 int op = in.getInt();
185 int viewRootNameLength = in.getInt();
198 viewLength = in.getInt();
217 boolean skipChildren = in.getInt() > 0;
218 boolean includeProperties = in.getInt() > 0;
219 boolean v2 = in.hasRemaining() && in.getInt() > 0;
320 int l = in.getInt();
329 int nArgs = in.getInt();
355 args[i] = in.getInt();
401 int l = in.getInt();
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/
H A DBridgeBufferIterator.java62 return mByteBuffer.getInt();
68 dst[dstOffset++] = mByteBuffer.getInt();
/frameworks/base/core/java/com/android/internal/util/
H A DScreenShapeHelper.java18 return SystemProperties.getInt(ViewRootImpl.PROPERTY_EMULATOR_WIN_OUTSET_BOTTOM_PX, 0);
/frameworks/base/telephony/java/android/telephony/gsm/
H A DGsmCellLocation.java43 mLac = bundle.getInt("lac", -1);
44 mCid = bundle.getInt("cid", -1);
45 mPsc = bundle.getInt("psc", -1);
/frameworks/base/telephony/java/android/telephony/cdma/
H A DCdmaCellLocation.java69 this.mBaseStationId = bundle.getInt("baseStationId", mBaseStationId);
70 this.mBaseStationLatitude = bundle.getInt("baseStationLatitude", mBaseStationLatitude);
71 this.mBaseStationLongitude = bundle.getInt("baseStationLongitude", mBaseStationLongitude);
72 this.mSystemId = bundle.getInt("systemId", mSystemId);
73 this.mNetworkId = bundle.getInt("networkId", mNetworkId);
/frameworks/multidex/library/test/src/android/support/multidex/
H A DZipEntryReader.java52 int sig = in.getInt();
69 long crc = ((long) in.getInt()) & 0xffffffffL;
70 long compressedSize = ((long) in.getInt()) & 0xffffffffL;
71 long size = ((long) in.getInt()) & 0xffffffffL;
79 long localHeaderRelOffset = ((long) in.getInt()) & 0xffffffffL;
/frameworks/base/core/java/com/android/server/
H A DNetworkManagementSocketTagger.java69 Log.d(TAG, "tagSocket(" + fd.getInt$() + ") with statsTag=0x"
82 Log.i(TAG, "tagSocketFd(" + fd.getInt$() + ", "
92 Log.i(TAG, "untagSocket(" + fd.getInt$() + ")");
104 Log.w(TAG, "untagSocket(" + fd.getInt$() + ") failed with errno " + errno);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DWirelessUtils.java33 return Settings.Global.getInt(context.getContentResolver(),
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportPrefs.java39 return prefs.getInt(KEY_WARNING_STATE, def);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiSettingsStore.java199 return Settings.Global.getInt(mContext.getContentResolver(),
210 return Settings.Global.getInt(cr, Settings.Global.WIFI_ON);
218 return Settings.Global.getInt(mContext.getContentResolver(),
223 return Settings.Global.getInt(mContext.getContentResolver(),
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DWizardManagerHelper.java154 return Settings.Secure.getInt(context.getContentResolver(),
159 return Settings.Secure.getInt(context.getContentResolver(),
175 return Settings.Global.getInt(context.getContentResolver(),
178 return Settings.Secure.getInt(context.getContentResolver(),
/frameworks/opt/telephony/src/java/android/telephony/
H A DCellBroadcastMessage.java130 int geoScope = cursor.getInt(
132 int serialNum = cursor.getInt(
134 int category = cursor.getInt(
140 int format = cursor.getInt(
142 int priority = cursor.getInt(
156 lac = cursor.getInt(lacColumn);
164 cid = cursor.getInt(cidColumn);
175 int warningType = cursor.getInt(etwsWarningTypeColumn);
185 int messageClass = cursor.getInt(cmasMessageClassColumn);
191 cmasCategory = cursor.getInt(cmasCategoryColum
[all...]

Completed in 752 milliseconds

1234567891011>>