/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | PreferenceViewHolder.java | 70 * @return true if dividers are allowed above this item 84 * @param allowed false to prevent dividers being drawn above this item 86 public void setDividerAllowedAbove(boolean allowed) { argument 87 mDividerAllowedAbove = allowed; 94 * @return true if dividers are allowed below this item 108 * @param allowed false to prevent dividers being drawn below this item 110 public void setDividerAllowedBelow(boolean allowed) { argument 111 mDividerAllowedBelow = allowed;
|
/frameworks/base/core/java/android/os/ |
H A D | Trace.java | 97 private static native void nativeSetAppTracingAllowed(boolean allowed); argument 98 private static native void nativeSetTracingEnabled(boolean allowed); argument 171 * Set whether application tracing is allowed for this process. This is intended to be set 176 public static void setAppTracingAllowed(boolean allowed) { argument 177 nativeSetAppTracingAllowed(allowed); 179 // Setting whether app tracing is allowed may change the tags, so we update the cached
|
/frameworks/base/core/jni/ |
H A D | android_os_Trace.cpp | 95 jclass clazz, jboolean allowed) { 96 ALOGV("%s: %d", __FUNCTION__, allowed); 98 atrace_set_debuggable(allowed); 94 android_os_Trace_nativeSetAppTracingAllowed(JNIEnv* env, jclass clazz, jboolean allowed) argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | DetailsOverviewRow.java | 241 public void setImageScaleUpAllowed(boolean allowed) { argument 242 if (allowed != mImageScaleUpAllowed) { 243 mImageScaleUpAllowed = allowed;
|
/frameworks/native/cmds/servicemanager/ |
H A D | service_manager.c | 69 bool allowed; local 82 allowed = (result == 0); 85 return allowed; 99 bool allowed; local 116 allowed = check_mac_perms(spid, uid, tctx, perm, name); 118 return allowed;
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothHeadset.aidl | 53 void setAudioRouteAllowed(boolean allowed);
|
H A D | IBluetoothHeadsetClient.aidl | 65 void setAudioRouteAllowed(boolean allowed);
|
H A D | BluetoothHeadset.java | 688 * Sets whether audio routing is allowed. When set to {@code false}, the AG will not route any 694 * @param allowed {@code true} if the profile can reroute audio, {@code false} otherwise. 698 public void setAudioRouteAllowed(boolean allowed) { argument 702 mService.setAudioRouteAllowed(allowed); 711 * Returns whether audio routing is allowed. see {@link #setAudioRouteAllowed(boolean)}. 895 * <p>Currently only {@link #VENDOR_RESULT_CODE_COMMAND_ANDROID} is allowed as {@code command}. 902 * @return {@code false} if there is no headset connected, or if the command is not an allowed
|
H A D | BluetoothHeadsetClient.java | 1062 * Sets whether audio routing is allowed. 1066 public void setAudioRouteAllowed(boolean allowed) { argument 1070 mService.setAudioRouteAllowed(allowed); 1079 * Returns whether audio routing is allowed.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
H A D | TileServiceManager.java | 44 * of when it is allowed to bind based on decisions frome the {@link TileServices}. 137 public void setBindAllowed(boolean allowed) { argument 138 if (mBindAllowed == allowed) return; 139 mBindAllowed = allowed;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
H A D | DcTrackerTest.java | 393 boolean allowed = isDataAllowed(failureReason); 394 assertFalse(failureReason.getDataAllowFailReason(), allowed); 431 allowed = isDataAllowed(failureReason); 432 assertTrue(failureReason.getDataAllowFailReason(), allowed); 456 boolean allowed = isDataAllowed(failureReason); 457 assertFalse(failureReason.getDataAllowFailReason(), allowed); 495 allowed = isDataAllowed(failureReason); 496 assertTrue(failureReason.getDataAllowFailReason(), allowed); 695 boolean allowed = isDataAllowed(failureReason); 696 assertFalse(failureReason.getDataAllowFailReason(), allowed); [all...] |
/frameworks/base/services/core/java/com/android/server/vr/ |
H A D | VrManagerService.java | 208 ArraySet<String> allowed = mAllowedPackages.get(currentUserId); 209 if (allowed == null) { 210 allowed = new ArraySet<>(); 225 for (String pkg : allowed) { 233 if (!allowed.contains(pkg)) { 240 allowed.clear(); 241 allowed.addAll(packageNames); 242 mAllowedPackages.put(currentUserId, allowed); 773 String[] allowed = flat.split(":"); 774 for (String s : allowed) { [all...] |
/frameworks/base/core/java/android/text/util/ |
H A D | Linkify.java | 165 * what is allowed to match and become a link, and what is not. 459 boolean allowed = true; 462 allowed = matchFilter.acceptMatch(spannable, start, end); 465 if (allowed) {
|
/frameworks/base/core/java/com/android/server/ |
H A D | SystemConfig.java | 54 // permission flag, determines which types of configuration are allowed to be read 362 boolean allowed; 364 allowed = true; 367 allowed = !"true".equals(notLowRam); 372 } else if (allowed) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiConnectivityManager.java | 982 * Handler when user toggles whether untrusted connection is allowed 984 public void setUntrustedConnectionAllowed(boolean allowed) { argument 985 Log.i(TAG, "setUntrustedConnectionAllowed: allowed=" + allowed); 987 if (mUntrustedConnectionAllowed != allowed) { 988 mUntrustedConnectionAllowed = allowed;
|
/frameworks/av/drm/drmserver/ |
H A D | DrmManagerService.cpp | 75 bool allowed = (selinux_check_access(sctx, drmserver_context, selinux_class, local 79 return allowed;
|
/frameworks/base/packages/SystemUI/tests/ |
H A D | Android.mk | 57 # sign this with platform cert, so this test is allowed to inject key events into
|
/frameworks/base/core/java/android/view/ |
H A D | LayoutInflater.java | 115 * Hook to allow clients of the LayoutInflater to restrict the set of Views that are allowed 122 * that are allowed to be inflated. 126 * @return True if this class is allowed to be inflated, or false otherwise 343 * that are allowed to be inflated. 351 * which is not allowed by the {@link Filter}, the {@link #inflate(int, ViewGroup)} call will 355 * @param filter The Filter which restricts the set of Views that are allowed to be inflated. 613 boolean allowed = mFilter.onLoadClass(clazz); 614 if (!allowed) { 627 // New class -- remember whether it is allowed 631 boolean allowed [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | ApnContext.java | 251 * Save the state indicating concurrent voice/data allowed. 252 * @param allowed True if concurrent voice/data is allowed 254 public synchronized void setConcurrentVoiceAndDataAllowed(boolean allowed) { argument 255 mConcurrentVoiceAndDataAllowed = allowed; 259 * Get the state indicating concurrent voice/data allowed. 260 * @return True if concurrent voice/data is allowed 331 * @return True if allowed, otherwise false.
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDatabase.java | 288 boolean allowed = false; 290 for (int i = 0; i < mSubDirectories.length && !allowed; i++) { 296 allowed = true; 299 return allowed;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BroadcastQueue.java | 589 final int allowed = mService.checkAllowBackgroundLocked(filter.receiverList.uid, 591 if (allowed == ActivityManager.APP_START_MODE_DISABLED) { 592 Slog.w(TAG, "Background execution not allowed: receiving " 1136 // this information now to evaluate whether it is going to be allowed to run. 1148 final int allowed = mService.checkAllowBackgroundLocked( 1151 if (allowed != ActivityManager.APP_START_MODE_NORMAL) { 1156 if (allowed == ActivityManager.APP_START_MODE_DISABLED) { 1166 Slog.w(TAG, "Background execution not allowed: receiving "
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | BaseStatusBar.java | 332 // point, so make sure new activity switches are now allowed. 1436 final boolean allowed = 0 != Settings.Secure.getIntForUser( 1439 mUsersAllowingNotifications.append(userHandle, allowed); 1440 return allowed; 1460 final boolean allowed = allowedByUser && allowedByDpm; 1461 mUsersAllowingPrivateNotifications.append(userHandle, allowed); 1462 return allowed; 1817 // point, so make sure new activity switches are now allowed. 1928 // point, so make sure new activity switches are now allowed.
|
/frameworks/base/core/java/android/app/ |
H A D | DownloadManager.java | 386 private int mAllowedNetworkTypes = ~0; // default to all network types allowed 675 * By default, all network types are allowed. Consider using 693 * allowed. 694 * @param allowed whether to allow a roaming connection to be used 697 public Request setAllowedOverRoaming(boolean allowed) { argument 698 mRoamingAllowed = allowed; 704 * connection. By default, metered networks are allowed.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 1258 * 4 CLIR temporary mode presentation allowed 2076 public void setDataAllowed(boolean allowed, Message result) { argument 2077 log("setDataAllowed = " + allowed); 2078 mAllowed.set(allowed);
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 416 public void setFixedSizeAllowed(boolean allowed) { argument 417 mFixedSizeAllowed = allowed;
|