Searched refs:scope (Results 1 - 20 of 20) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/settings/
H A DSettingsManager.java53 * This API introduces the concept of "scope" for a setting, which is the generality
55 * entire application, have a scope of SCOPE_GLOBAL. They are stored in the default
59 * a custom scope. The specific module can define whatever scope (String) argument
60 * they want, and the settings saved with that scope can only be seen by that third
115 * custom scope.
124 * Open a SharedPreferences file by custom scope.
128 protected SharedPreferences openPreferences(String scope) { argument
132 mPackageName + scope, Context.MODE_PRIVATE);
142 * Close a SharedPreferences file by custom scope
276 getPreferencesFromScope(String scope) argument
364 getString(String scope, String key, String defaultValue) argument
382 getString(String scope, String key) argument
392 getInteger(String scope, String key, Integer defaultValue) argument
404 getInteger(String scope, String key) argument
414 getBoolean(String scope, String key, boolean defaultValue) argument
426 getBoolean(String scope, String key) argument
443 getIndexOfCurrentValue(String scope, String key) argument
466 set(String scope, String key, String value) argument
477 set(String scope, String key, int value) argument
488 set(String scope, String key, boolean value) argument
497 setToDefault(String scope, String key) argument
515 setValueByIndex(String scope, String key, int index) argument
535 isSet(String scope, String key) argument
546 isDefault(String scope, String key) argument
557 remove(String scope, String key) argument
[all...]
H A DSettingObserver.java59 private SettingObserver(SettingsManager manager, String scope, String key, Class<T> tClass) { argument
61 mScope = scope;
67 String scope, String key) {
68 return new SettingObserver<>(manager, scope, key,
73 String scope, String key) {
74 return new SettingObserver<>(manager, scope, key,
79 String scope, String key) {
80 return new SettingObserver<>(manager, scope, key,
66 ofInteger(SettingsManager manager, String scope, String key) argument
72 ofString(SettingsManager manager, String scope, String key) argument
78 ofBoolean(SettingsManager manager, String scope, String key) argument
/packages/apps/DocumentsUI/src/com/android/documentsui/prefs/
H A DScopedPreferences.java40 * @param scope An arbitrary string representitive of the scope
43 public static ScopedPreferences create(Context context, String scope) { argument
45 PreferenceManager.getDefaultSharedPreferences(context), scope);
55 String scope) {
56 assert(!TextUtils.isEmpty(scope));
59 mScope = scope;
54 RuntimeScopedPreferences(Context context, SharedPreferences sharedPrefs, String scope) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
H A DAvrcpHelperClasses.java49 public FolderItemsCmd(byte[] address, byte scope, long startItem, long endItem, argument
52 this.mScope = scope;
61 sb.append("[FolderItemCmd: scope " + mScope);
81 public ItemAttrCmd(byte[] address, byte scope, byte[] uid, int uidCounter, byte numAttr, argument
84 mScope = scope;
93 sb.append("[ItemAttrCmd: scope " + mScope);
166 public FolderItemsRsp(byte Status, short UIDCounter, byte scope, int numItems, argument
171 this.mScope = scope;
H A DBrowsedMediaPlayer.java83 /* store result of getfolderitems with scope="vfs" */
139 * get_folder_items (scope = vfs)
434 /* check scope */
436 Log.e(TAG, "invalid scope");
451 public void getTotalNumOfItems(byte scope) { argument
452 if (DEBUG) Log.d(TAG, "getTotalNumOfItems scope = " + scope);
453 if (scope != AvrcpConstants.BTRC_SCOPE_FILE_SYSTEM) {
454 Log.e(TAG, "getTotalNumOfItems error" + scope);
496 public void playItem(byte[] uid, byte scope) { argument
559 getFolderItemsFilterAttr(byte[] bdaddr, AvrcpCmd.FolderItemsCmd mFolderItemsReqObj, List<MediaBrowser.MediaItem> children, byte scope, long startItem, long endItem) argument
[all...]
H A DAvrcp.java758 Log.e(TAG, "unknown scope for getfolderitems. scope = "
808 byte scope = data.getByte("scope");
810 Log.v(TAG, "MSG_NATIVE_REQ_PLAY_ITEM scope=" + scope + " id="
812 handlePlayItemResponse(bdaddr, uid, scope);
817 if (DEBUG) Log.v(TAG, "MSG_NATIVE_REQ_GET_TOTAL_NUM_OF_ITEMS scope=" + msg.arg1);
818 // argument 1 is scope, object is bdaddr
1337 byte[] address, byte scope, lon
1336 getFolderItemsRequestFromNative( byte[] address, byte scope, long startItem, long endItem, byte numAttr, int[] attrIds) argument
1368 getItemAttrRequestFromNative(byte[] address, byte scope, byte[] itemUid, int uidCounter, byte numAttr, int[] attrs) argument
1384 playItemRequestFromNative(byte[] address, byte scope, int uidCounter, byte[] uid) argument
1395 addToPlayListRequestFromNative(byte[] address, byte scope, byte[] uid, int uidCounter) argument
1401 getTotalNumOfItemsRequestFromNative(byte[] address, byte scope) argument
2256 handlePlayItemResponse(byte[] bdaddr, byte[] uid, byte scope) argument
2303 handleGetTotalNumOfItemsResponse(byte[] bdaddr, byte scope) argument
2855 getFolderItemsRspNative(byte[] address, int rspStatus, short uidCounter, byte scope, int numItems, byte[] folderTypes, byte[] playable, byte[] itemTypes, byte[] itemUidArray, String[] textArray, int[] AttributesNum, int[] AttributesIds, String[] attributesArray) argument
[all...]
H A DAddressedMediaPlayer.java268 @NonNull List<MediaSession.QueueItem> items, byte scope, long startItem, long endItem,
351 scope, folderDataNative.mNumItems, folderDataNative.mFolderTypes,
267 getFolderItemsFilterAttr(byte[] bdaddr, AvrcpCmd.FolderItemsCmd folderItemsReqObj, @NonNull List<MediaSession.QueueItem> items, byte scope, long startItem, long endItem, @NonNull MediaController mediaController) argument
/packages/apps/Camera2/src/com/android/camera/widget/
H A DIndicatorIconController.java298 private void setIndicatorState(String scope, String key, ImageView imageView, argument
302 int valueIndex = settingsManager.getIndexOfCurrentValue(scope, key);
319 if (!showDefault && settingsManager.isDefault(scope, key)) {
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
H A DAvrcpControllerStateMachine.java297 int scope = msg.arg1;
314 mRemoteDevice.getBluetoothAddress(), (byte) scope,
322 currBrPlayer.getID(), playItemUid, scope);
551 public void setScope(int scope) { argument
552 mScope = scope;
809 public void setItemAndScope(String addrPlayerId, String playItemId, int scope) { argument
812 mScope = scope;
1020 int scope = currFolder.isNowPlaying() ?
1025 scope, 0, currItem.getFolderUID());
H A DAvrcpControllerService.java1144 byte[] address, byte scope, byte[] uid, int uidCounter);
1143 playItemNative( byte[] address, byte scope, byte[] uid, int uidCounter) argument
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_avrcp.cpp255 uint8_t scope, uint32_t start_item, uint32_t end_item, uint8_t num_attr,
291 mCallbacksObj, method_getFolderItemsCallback, addr.get(), (jbyte)scope,
327 static void btavrcp_get_item_attr_callback(uint8_t scope, uint8_t* uid, argument
368 addr.get(), (jbyte)scope, attr_uid.get(),
372 static void btavrcp_play_item_callback(uint8_t scope, uint16_t uid_counter, argument
400 addr.get(), (jbyte)scope, (jint)uid_counter,
404 static void btavrcp_get_total_num_items_callback(uint8_t scope, argument
423 addr.get(), (jbyte)scope);
457 static void btavrcp_add_to_play_list_callback(uint8_t scope, uint8_t* uid, argument
486 addr.get(), (jbyte)scope, attr
254 btavrcp_get_folder_items_callback( uint8_t scope, uint32_t start_item, uint32_t end_item, uint8_t num_attr, uint32_t* p_attr_ids, RawAddress* bd_addr) argument
1048 getFolderItemsRspNative( JNIEnv* env, jobject object, jbyteArray address, jint rspStatus, jshort uidCounter, jbyte scope, jint numItems, jbyteArray folderType, jbyteArray playable, jbyteArray itemType, jbyteArray itemUidArray, jobjectArray displayNameArray, jintArray numAttrs, jintArray attributesIds, jobjectArray attributesArray) argument
[all...]
H A Dcom_android_bluetooth_avrcp_controller.cpp1001 jbyte scope, jbyteArray uidArr, jint uidCounter) {
1017 (RawAddress*)addr, (uint8_t)scope, (uint8_t*)uid, (uint16_t)uidCounter);
1000 playItemNative(JNIEnv* env, jobject object, jbyteArray address, jbyte scope, jbyteArray uidArr, jint uidCounter) argument
/packages/apps/Email/provider_src/com/android/email/activity/setup/
H A DAccountSettingsUtils.java131 b.appendQueryParameter("scope", provider.scope);
167 provider.scope = getXmlAttribute(context, xml, "scope");
218 provider.scope = getXmlAttribute(context, xml, "scope");
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
H A DVendorPolicyLoader.java205 public String scope; field in class:VendorPolicyLoader.OAuthProvider
/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DMetrics.java471 * @param scope
475 Context context, @ContextScope int scope, RootInfo info) {
476 switch (scope) {
474 logRootVisited( Context context, @ContextScope int scope, RootInfo info) argument
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
H A Dreader.h399 ClearStackOnExit scope(*this);
1319 // Transit to Finish state if this is the topmost scope.
1344 // Transit to Finish state if this is the topmost scope.
1404 ClearStackOnExit scope(*this);
H A Ddocument.h78 But a compiler (IBM XL C/C++ for AIX) have reported to have problem with that so it moved as a namespace scope struct.
280 By this, e.g. function-scope arrays used to be filled via
303 By this, e.g. function-scope arrays used to be filled via
1892 ClearStackOnExit scope(*this);
/packages/apps/TV/libs/
H A Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...
H A Dexoplayer_v2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer2/ ...
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 400 milliseconds