/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
Test.java | 10 private Bundle mBundle; 19 mBundle = new Bundle(); 25 mBundle.putFloat(key, value); 29 synchronized(mBundle) { 30 mBundle.notify(); 37 synchronized(mBundle) { 39 mBundle.wait(); 44 getInstrumentation().sendStatus(0, mBundle);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaSessionStatus.java | 51 final Bundle mBundle; 86 mBundle = bundle; 96 return mBundle.getLong(KEY_TIMESTAMP); 106 return mBundle.getInt(KEY_SESSION_STATE, SESSION_STATE_INVALIDATED); 115 return mBundle.getBoolean(KEY_QUEUE_PAUSED); 124 return mBundle.getBundle(KEY_EXTRAS); 159 return mBundle; 176 private final Bundle mBundle; 185 mBundle = new Bundle(); 199 mBundle = new Bundle(status.mBundle) [all...] |
MediaItemStatus.java | 67 final Bundle mBundle; 199 mBundle = bundle; 209 return mBundle.getLong(KEY_TIMESTAMP); 222 return mBundle.getInt(KEY_PLAYBACK_STATE, PLAYBACK_STATE_ERROR); 232 return mBundle.getLong(KEY_CONTENT_POSITION, -1); 242 return mBundle.getLong(KEY_CONTENT_DURATION, -1); 251 return mBundle.getBundle(KEY_EXTRAS); 297 return mBundle; 314 private final Bundle mBundle; 323 mBundle = new Bundle() [all...] |
MediaRouteDescriptor.java | 65 final Bundle mBundle; 69 mBundle = bundle; 82 return mBundle.getString(KEY_ID); 95 return mBundle.getStringArrayList(KEY_GROUP_MEMBER_IDS); 106 return mBundle.getString(KEY_NAME); 117 return mBundle.getString(KEY_DESCRIPTION); 127 String iconUri = mBundle.getString(KEY_ICON_URI); 135 return mBundle.getBoolean(KEY_ENABLED, true); 144 return mBundle.getBoolean(KEY_CONNECTING, false); 156 return mBundle.getInt(KEY_CONNECTION_STATE [all...] |
MediaRouteDiscoveryRequest.java | 31 private final Bundle mBundle; 45 mBundle = new Bundle(); 47 mBundle.putBundle(KEY_SELECTOR, selector.asBundle()); 48 mBundle.putBoolean(KEY_ACTIVE_SCAN, activeScan); 52 mBundle = bundle; 65 mSelector = MediaRouteSelector.fromBundle(mBundle.getBundle(KEY_SELECTOR)); 78 return mBundle.getBoolean(KEY_ACTIVE_SCAN); 120 return mBundle;
|
MediaRouteProviderDescriptor.java | 35 private final Bundle mBundle; 39 mBundle = bundle; 53 ArrayList<Bundle> routeBundles = mBundle.<Bundle>getParcelableArrayList(KEY_ROUTES); 103 return mBundle; 120 private final Bundle mBundle; 127 mBundle = new Bundle(); 139 mBundle = new Bundle(descriptor.mBundle); 186 mBundle.remove(KEY_ROUTES); 203 mBundle.putParcelableArrayList(KEY_ROUTES, routeBundles) [all...] |
MediaRouteSelector.java | 49 private final Bundle mBundle; 58 mBundle = bundle; 74 mControlCategories = mBundle.getStringArrayList(KEY_CONTROL_CATEGORIES); 196 return mBundle;
|
/cts/tests/tests/os/src/android/os/cts/ |
BundleTest.java | 56 private Bundle mBundle; 62 mBundle = new Bundle(); 85 mBundle.putBoolean("android", true); 87 mBundle.readFromParcel(p); 88 assertTrue(mBundle.isEmpty()); 93 mBundle.putBoolean("android", true); 94 mBundle.putBoolean(KEY, true); 95 assertFalse(mBundle.isEmpty()); 96 mBundle.clear(); 97 assertTrue(mBundle.isEmpty()) [all...] |
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
RequestUtils.java | 44 private Bundle mBundle; 47 mBundle = new Bundle(); 51 mBundle.putString(EXTRA_KEY_SOURCE, source); 60 mBundle.putBundle(EXTRA_KEY_METADATA, metadata); 65 mBundle.putSerializable(EXTRA_KEY_HEADERS, headers); 70 return mBundle;
|
MediaItem.java | 27 private Bundle mBundle; 34 mBundle = in.readBundle(); 38 return mBundle.getString(MediaMetadata.METADATA_KEY_TITLE); 42 return mBundle.getString(MediaMetadata.METADATA_KEY_ALBUM_ARTIST); 60 dest.writeBundle(mBundle);
|
/packages/services/Car/car-lib/src/android/car/app/menu/ |
RootMenu.java | 26 private final Bundle mBundle; 46 mBundle = extras; 64 return new Bundle(mBundle);
|
/frameworks/base/core/java/android/hardware/radio/ |
RadioMetadata.java | 209 private final Bundle mBundle; 212 mBundle = new Bundle(); 216 mBundle = new Bundle(bundle); 220 mBundle = in.readBundle(); 230 return mBundle.containsKey(key); 241 return mBundle.getString(key); 260 return mBundle.getInt(key, 0); 274 bmp = mBundle.getParcelable(key); 309 clock = mBundle.getParcelable(key); 324 dest.writeBundle(mBundle); [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
ImsCallTest.java | 40 private Bundle mBundle; 47 mBundle = mTestCallProfile.mCallExtras; 60 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, 70 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT, 80 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, 90 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT,
|
/frameworks/support/media-compat/java/android/support/v4/media/ |
MediaMetadataCompat.java | 362 final Bundle mBundle; 367 mBundle = new Bundle(bundle); 371 mBundle = in.readBundle(); 381 return mBundle.containsKey(key); 393 return mBundle.getCharSequence(key); 405 CharSequence text = mBundle.getCharSequence(key); 420 return mBundle.getLong(key, 0); 434 // On platform version 19 or higher, mBundle stores a Rating object. Convert it to 436 rating = RatingCompat.fromRating(mBundle.getParcelable(key)); 438 rating = mBundle.getParcelable(key) [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
BindingTarget.java | 46 ResourceBundle.BindingTargetBundle mBundle; 49 mBundle = bundle; 53 return mBundle.isUsed(); 64 return mBundle.getInterfaceType() == null ? mBundle.getFullClassName() : mBundle.getInterfaceType(); 87 return mBundle.provideScopeLocation(); 91 return mBundle.getId(); 95 return mBundle.getTag(); 99 return mBundle.getOriginalTag() [all...] |
LayoutBinder.java | 66 private ResourceBundle.LayoutFileBundle mBundle; 174 mBundle = layoutBundle; 178 for (ResourceBundle.VariableDeclaration variable : mBundle.getVariables()) { 183 for (ResourceBundle.NameTypeLocation userImport : mBundle.getImports()) { 197 for (BindingTargetBundle targetBundle : mBundle.getBindingTargetBundles()) { 218 Scope.enter(bindingTarget.mBundle); 220 for (BindingTargetBundle.BindingBundle bindingBundle : bindingTarget.mBundle 344 return mBundle.getBindingClassPackage(); 348 return mBundle.isMerge(); 356 return mBundle.getFileName() [all...] |
/frameworks/base/media/java/android/media/ |
MediaMetadata.java | 388 private final Bundle mBundle; 392 mBundle = new Bundle(bundle); 396 mBundle = Bundle.setDefusable(in.readBundle(), true); 406 return mBundle.containsKey(key); 418 return mBundle.getCharSequence(key); 446 return mBundle.getLong(key, 0); 459 rating = mBundle.getParcelable(key); 477 bmp = mBundle.getParcelable(key); 492 dest.writeBundle(mBundle); 501 return mBundle.size() [all...] |
AudioAttributes.java | 346 private Bundle mBundle; // lazy-initialized, may be null 405 if (mBundle == null) { 406 return mBundle; 408 return new Bundle(mBundle); 446 private Bundle mBundle; 485 if (mBundle != null) { 486 aa.mBundle = new Bundle(mBundle); 600 if (mBundle == null) { 601 mBundle = new Bundle(bundle) [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
AdvancedPowerUsageDetailTest.java | 115 private Bundle mBundle; 157 doReturn(APP_LABEL).when(mBundle).getString(nullable(String.class)); 158 doReturn(mBundle).when(mFragment).getArguments(); 209 mBundle = captor.getValue(); 283 assertThat(mBundle.getInt(AdvancedPowerUsageDetail.EXTRA_UID)).isEqualTo(UID); 284 assertThat(mBundle.getLong(AdvancedPowerUsageDetail.EXTRA_BACKGROUND_TIME)).isEqualTo( 286 assertThat(mBundle.getLong(AdvancedPowerUsageDetail.EXTRA_FOREGROUND_TIME)).isEqualTo( 288 assertThat(mBundle.getString(AdvancedPowerUsageDetail.EXTRA_POWER_USAGE_PERCENT)).isEqualTo( 290 assertThat(mBundle.getParcelableArrayList( 302 assertThat(mBundle.getInt(AdvancedPowerUsageDetail.EXTRA_UID)).isEqualTo(UID) [all...] |
/packages/apps/QuickSearchBox/tests/partial/src/com/android/quicksearchbox/tests/partial/ |
PartialSuggestionProvider.java | 63 Bundle mBundle; 71 if (mBundle == null) mBundle = new Bundle(); 72 return mBundle;
|
/frameworks/base/core/tests/coretests/src/android/os/ |
MessageQueueTest.java | 150 Bundle mBundle; 168 mBundle = new Bundle(); 169 msg.data = mBundle; 202 if (newMsg.data == mBundle) { 204 "newMsg.data should NOT be mBundle after copyFrom")); 206 if (!newMsg.data.getString("key").equals(mBundle.getString("key"))) { 209 " mBundle.getString(\"key\") which is %s after copyFrom", 210 newMsg.data.getString("key"), mBundle.getString("key")))); 250 if (!msg.data.getString("key").equals(mBundle.getString("key"))) { 253 " mBundle.getString(\"key\") which is %s when processing # %d" [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
CarrierSignalAgentTest.java | 50 private PersistableBundle mBundle; 61 mBundle = mContextFixture.getCarrierConfigBundle(); 76 mBundle.putStringArray( 120 mBundle.putStringArray( 154 mBundle.putStringArray( 157 mBundle.putStringArray( 221 mBundle.putStringArray( 231 mBundle.putStringArray( 241 mBundle.putStringArray(
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CredentialHelper.java | 69 private HashMap<String, byte[]> mBundle = new HashMap<String, byte[]>(); 99 mBundle.put(key, bytes); 106 outStates.putSerializable(DATA_KEY, mBundle); 127 mBundle = (HashMap) savedStates.getSerializable(DATA_KEY); 186 return mBundle.containsKey(KeyChain.EXTRA_PKCS12); 190 return mBundle.containsKey(Credentials.EXTRA_PUBLIC_KEY) 191 && mBundle.containsKey(Credentials.EXTRA_PRIVATE_KEY); 218 return !mBundle.isEmpty(); 222 return mBundle.get(key); 226 mBundle.put(KeyChain.EXTRA_PKCS12, data) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
RetryManagerTest.java | 127 private PersistableBundle mBundle; 132 mBundle = mContextFixture.getCarrierConfigBundle(); 150 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, 171 mBundle.putStringArray( 194 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, 248 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, 286 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, 334 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, 382 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS, 415 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_DATA_CALL_RETRY_CONFIG_STRINGS [all...] |
ApnSettingTest.java | 52 private PersistableBundle mBundle; 57 mBundle = mContextFixture.getCarrierConfigBundle(); 230 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, 274 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, 284 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, 319 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS, 330 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_IWLAN_APN_TYPES_STRINGS, 367 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_IWLAN_APN_TYPES_STRINGS, 378 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_APN_TYPES_STRINGS, 415 mBundle.putStringArray(CarrierConfigManager.KEY_CARRIER_METERED_ROAMING_APN_TYPES_STRINGS [all...] |