Searched refs:scope (Results 1 - 19 of 19) 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.java47 FolderItemsCmd(byte[] address, byte scope, long startItem, long endItem, byte numAttr, argument
50 this.mScope = scope;
60 sb.append("[FolderItemCmd: scope " + mScope);
80 ItemAttrCmd(byte[] address, byte scope, byte[] uid, int uidCounter, byte numAttr, argument
83 mScope = scope;
93 sb.append("[ItemAttrCmd: scope " + mScope);
166 FolderItemsRsp(byte status, short uidCounter, byte scope, int numItems, byte[] folderTypes, argument
171 this.mScope = scope;
H A DBrowsedMediaPlayer.java82 /* store result of getfolderitems with scope="vfs" */
143 * get_folder_items (scope = vfs)
455 /* check scope */
457 Log.e(TAG, "invalid scope");
472 public void getTotalNumOfItems(byte scope) { argument
474 Log.d(TAG, "getTotalNumOfItems scope = " + scope);
476 if (scope != AvrcpConstants.BTRC_SCOPE_FILE_SYSTEM) {
477 Log.e(TAG, "getTotalNumOfItems error" + scope);
521 public void playItem(byte[] uid, byte scope) { argument
590 getFolderItemsFilterAttr(byte[] bdaddr, AvrcpCmd.FolderItemsCmd mFolderItemsReqObj, List<MediaBrowser.MediaItem> children, byte scope, long startItem, long endItem) argument
[all...]
H A DAvrcp.java727 Log.e(TAG, "unknown scope for getfolderitems. scope = "
783 byte scope = data.getByte("scope");
785 Log.v(TAG, "MSG_NATIVE_REQ_PLAY_ITEM scope=" + scope + " id="
788 handlePlayItemResponse(bdaddr, uid, scope);
794 Log.v(TAG, "MSG_NATIVE_REQ_GET_TOTAL_NUM_OF_ITEMS scope=" + msg.arg1);
796 // argument 1 is scope, object is bdaddr
1401 private void getFolderItemsRequestFromNative(byte[] address, byte scope, lon argument
1457 getItemAttrRequestFromNative(byte[] address, byte scope, byte[] itemUid, int uidCounter, byte numAttr, int[] attrs) argument
1478 playItemRequestFromNative(byte[] address, byte scope, int uidCounter, byte[] uid) argument
1496 addToPlayListRequestFromNative(byte[] address, byte scope, byte[] uid, int uidCounter) argument
1503 getTotalNumOfItemsRequestFromNative(byte[] address, byte scope) argument
2443 handlePlayItemResponse(byte[] bdaddr, byte[] uid, byte scope) argument
2489 handleGetTotalNumOfItemsResponse(byte[] bdaddr, byte scope) argument
3094 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.java300 @NonNull List<MediaSession.QueueItem> items, byte scope, long startItem, long endItem,
387 new FolderItemsRsp(AvrcpConstants.RSP_NO_ERROR, Avrcp.sUIDCounter, scope,
299 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.java285 int scope = msg.arg1;
301 mRemoteDevice.getBluetoothAddress(), (byte) scope,
310 scope);
581 public void setScope(int scope) { argument
582 mScope = scope;
916 public void setItemAndScope(String addrPlayerId, String playItemId, int scope) { argument
919 mScope = scope;
1140 int scope = currFolder.isNowPlaying() ? AvrcpControllerService.BROWSE_SCOPE_NOW_PLAYING
1144 scope, 0, currItem.getFolderUID());
H A DAvrcpControllerService.java1134 static native void playItemNative(byte[] address, byte scope, byte[] uid, int uidCounter); argument
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_avrcp.cpp256 uint8_t scope, uint32_t start_item, uint32_t end_item, uint8_t num_attr,
292 mCallbacksObj, method_getFolderItemsCallback, addr.get(), (jbyte)scope,
328 static void btavrcp_get_item_attr_callback(uint8_t scope, uint8_t* uid, argument
369 addr.get(), (jbyte)scope, attr_uid.get(),
373 static void btavrcp_play_item_callback(uint8_t scope, uint16_t uid_counter, argument
402 addr.get(), (jbyte)scope, (jint)uid_counter,
406 static void btavrcp_get_total_num_items_callback(uint8_t scope, argument
425 addr.get(), (jbyte)scope);
459 static void btavrcp_add_to_play_list_callback(uint8_t scope, uint8_t* uid, argument
488 addr.get(), (jbyte)scope, attr
255 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, const RawAddress& bd_addr) argument
1054 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.cpp1032 jbyte scope, jbyteArray uidArr, jint uidCounter) {
1050 rawAddress, (uint8_t)scope, (uint8_t*)uid, (uint16_t)uidCounter);
1031 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/Car/Radio/libs/android-arch/room/
H A Dcompiler-1.1.0-beta3.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/arch/ android/arch/persistence/ android/arch/persistence/room/ ...
/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.java469 * @param scope
473 Context context, @ContextScope int scope, RootInfo info) {
474 switch (scope) {
472 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/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 495 milliseconds